/* style.css — свадебный сайт, мобильная верстка */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Убрать фон из body */
html, body {
    width: 100%;
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    background: #ffffff;
    color: #4a3f3a;
}

/* Hero секция — занимает 100% высоты экрана */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 480px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem 1.5rem 1.5rem;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    height: 100%;
}

.names-wrapper {
    width: 100%;
    padding-top: 3.5rem;
    flex-shrink:0;
}

.names {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(2.2rem, 9vw, 4rem);
    font-weight: 300;
    letter-spacing: 4px;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    word-break: break-word;
    margin: 0;
}

/* Мобильная адаптация Hero */
@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        height: 100vh;
    }
    .hero-content {
        padding: 1.5rem 1.2rem 1.2rem;
    }
    .names {
        font-size: 2.6rem;
        letter-spacing: 2px;
    }
}
@media (max-height: 640px) {
    .hero {
        min-height: 100vh;
        height: 100vh;
    }
    .names {
        font-size: 2rem;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .names {
        font-size: 3.8rem;
    }
}
@media (min-width: 1200px) {
    .hero-content {
        max-width: 700px;
    }
    .names {
        font-size: 4.5rem;
        letter-spacing: 6px;
    }
}

/* Секция приглашения */
.invitation {
    background: #ffffff;
    padding: 3rem 1.5rem 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.invitation-content {
    max-width: 600px;
    width: 100%;
    text-align: center;
}
.invitation-title {
    font-family: 'Great Vibes', 'Cormorant Garamond', cursive;
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 400;
    color: #c4b59a;
    margin-bottom: 1.5rem;
}
.invitation-text {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(1rem, 3vw, 1.3rem);
    font-weight: 400;
    line-height: 1.8;
    color: #5a4f45;
    margin-bottom: 2.5rem;
    padding: 0 0.5rem;
}
.calendar-wrapper {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}
.calendar {
    background: #f5efe8;
    padding: 1.5rem 1.2rem 1.8rem;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.calendar-header {
    text-align: center;
    margin-bottom: 1.2rem;
}
.calendar-month {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #c4b59a;
    letter-spacing: 2px;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 1.2rem;
}
.calendar-weekday {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #c4b59a;
    text-align: center;
    padding: 0.4rem 0;
    letter-spacing: 0.5px;
}
.calendar-day {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1rem;
    font-weight: 400;
    color: #4a3f3a;
    text-align: center;
    padding: 0.5rem 0;
    border-radius: 50%;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.calendar-day.empty {
    visibility: hidden;
}
.calendar-day.highlight {
    background: #d4c5a9;
    color: #ffffff;
    font-weight: 600;
}
.calendar-event {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding-top: 1rem;
    border-top: 2px solid rgba(196, 181, 154, 0.3);
}
.event-date {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    color: #c4b59a;
    font-weight: 400;
}
.event-label {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.1rem;
    color: #c4b59a;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Мобильная адаптация приглашения */
@media (max-width: 480px) {
    .invitation {
        padding: 2rem 1rem 3rem;
    }
    .calendar {
        padding: 1.2rem 0.8rem 1.5rem;
    }
    .calendar-day {
        font-size: 0.85rem;
        padding: 0.3rem 0;
    }
    .calendar-weekday {
        font-size: 0.75rem;
    }
    .event-date {
        font-size: 1.6rem;
    }
    .event-label {
        font-size: 0.95rem;
    }
}

/* Секция детали дня */
.schedule {
    position: relative;
    background: #ffffff;
    padding: 3rem 1.5rem 4rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}
.schedule-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.15;
}
.schedule-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    width: 100%;
}
.schedule-title {
    font-family: 'Great Vibes', 'Cormorant Garamond', cursive;
    font-size: clamp(4rem, 12vw, 5.5rem);
    font-weight: 400;
    color: #d4c5a9;
    text-align: center;
    margin-bottom: 4rem;
    margin-top: 0;
    padding-top: 1rem;
}
.timeline {
    width: 100%;
}
.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    padding: 0 0.5rem;
    gap: 2rem;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-time {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(3.5rem, 8vw, 5rem);
    font-weight: 700;
    color: #d4c5a9;
    min-width: 160px;
    text-align: right;
    flex-shrink: 0;
    line-height: 1.1;
    padding-top: 0.2rem;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}
.timeline-info {
    flex: 1;
    padding-top: 0.5rem;
}
.timeline-text {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 500;
    color: #4a3f3a;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}
.timeline-sub {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 300;
    color: #8a7a6a;
    font-style: italic;
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}

/* Мобильная адаптация детали дня */
@media (max-width: 480px) {
    .schedule {
        padding: 2rem 1rem 3rem;
    }
    .schedule-title {
        font-size: 3.5rem;
        margin-bottom: 3rem;
    }
    .timeline-item {
        gap: 1.2rem;
        margin-bottom: 2.5rem;
    }
    .timeline-time {
        min-width: 100px;
        font-size: 2.8rem;
    }
    .timeline-text {
        font-size: 1.8rem;
    }
    .timeline-sub {
        font-size: 1rem;
    }
}
@media (max-width: 380px) {
    .timeline-item {
        gap: 0.8rem;
    }
    .timeline-time {
        min-width: 80px;
        font-size: 2.2rem;
    }
    .timeline-text {
        font-size: 1.5rem;
    }
    .timeline-sub {
        font-size: 0.9rem;
    }
}

/* Секция локация */
.location {
    position: relative;
    background: #ffffff;
    padding: 4rem 1.5rem 5rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.location-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}
.location-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    width: 100%;
    text-align: center;
}
.location-title {
    font-family: 'Great Vibes', 'Cormorant Garamond', cursive;
    font-size: clamp(4rem, 12vw, 5.5rem);
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 2rem;
    margin-top: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.location-text {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 400;
    line-height: 1.8;
    color: #ffffff;
    margin-bottom: 2.5rem;
    padding: 0 0.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.location-btn {
    display: inline-block;
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 500;
    color: #000000;
    background: #d4c5a9;
    padding: 1rem 3.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}
.location-btn:hover {
    background: #c4b59a;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}
.location-btn:active {
    transform: translateY(0px);
}

/* Мобильная адаптация локации */
@media (max-width: 480px) {
    .location {
        padding: 2rem 1rem 3rem;
    }
    .location-title {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
    }
    .location-text {
        font-size: 1.3rem;
        line-height: 1.6;
    }
    .location-btn {
        padding: 0.8rem 2.5rem;
        font-size: 1.3rem;
        width: 100%;
        max-width: 300px;
    }
}
@media (max-width: 380px) {
    .location-title {
        font-size: 2.8rem;
    }
    .location-text {
        font-size: 1.1rem;
    }
    .location-btn {
        font-size: 1.1rem;
        padding: 0.7rem 2rem;
    }
}

/* Секция дресс-код */
.dresscode {
    position: relative;
    background: #ffffff;
    padding: 4rem 2rem 5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.dresscode-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.15;
}
.dresscode-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
}
.dresscode-title {
    font-family: 'Great Vibes', 'Cormorant Garamond', cursive;
    font-size: clamp(5rem, 15vw, 7rem);
    font-weight: 400;
    color: #d4c5a9;
    text-align: center;
    margin-bottom: 3rem;
    margin-top: 0;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}
.dresscode-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}
.dresscode-left {
    flex: 1;
    max-width: 50%;
}
.dresscode-text {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 400;
    line-height: 1.8;
    color: #4a3f3a;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}
.dresscode-right {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.5rem;
    padding-right: 2rem;
}
.color-square {
    width: 120px;
    height: 120px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    /* border: 2px solid rgba(212, 197, 169, 0.3); */
}
.color-square:hover {
    transform: scale(1.05);
}

/* Мобильная адаптация дресс-код */
@media (max-width: 768px) {
    .dresscode {
        padding: 3rem 1.5rem 4rem;
    }
    .dresscode-title {
        font-size: clamp(3.5rem, 10vw, 4.5rem);
        margin-bottom: 2rem;
    }
    .dresscode-content {
        flex-direction: row;
        gap: 2rem;
    }
    .dresscode-left {
        max-width: 50%;
    }
    .dresscode-text {
        font-size: clamp(1.2rem, 3vw, 1.6rem);
    }
    .dresscode-right {
        max-width: 50%;
        gap: 1rem;
        padding-right: 1rem;
    }
    .color-square {
        width: 80px;
        height: 80px;
    }
}
@media (max-width: 480px) {
    .dresscode {
        padding: 2rem 1rem 3rem;
    }
    .dresscode-title {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
    }
    .dresscode-content {
        flex-direction: row;
        gap: 1.5rem;
    }
    .dresscode-text {
        font-size: 1rem;
        line-height: 1.5;
    }
    .color-square {
        width: 60px;
        height: 60px;
    }
}

/* Секция RSVP */
.rsvp {
    position: relative;
    background: #ffffff;
    padding: 4rem 2rem 5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.rsvp-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.15;
}
.rsvp-container {
    position: relative;
    z-index: 1;
    max-width: 600px;
    width: 100%;
}
.rsvp-title {
    font-family: 'Great Vibes', 'Cormorant Garamond', cursive;
    font-size: clamp(4rem, 12vw, 5.5rem);
    font-weight: 400;
    color: #d4c5a9;
    text-align: center;
    margin-bottom: 3rem;
    margin-top: 0;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}
.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.form-label {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 500;
    color: #4a3f3a;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}
.form-input {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    padding: 0.8rem 1.2rem;
    border: 2px solid #e8ddd0;
    outline: none;
    transition: border-color 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.form-input:focus {
    border-color: #d4c5a9;
}
.form-input::placeholder {
    color: #bbaa99;
    font-style: italic;
}
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding-top: 0.3rem;
}
.radio-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: #4a3f3a;
    cursor: pointer;
    padding: 0.5rem 0;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}
.radio-label input[type="radio"] {
    display: none;
}
.radio-custom {
    width: 22px;
    height: 22px;
    border: 2px solid #d4c5a9;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}
.radio-custom::after {
    content: '';
    width: 12px;
    height: 12px;
    background: #d4c5a9;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
}
.radio-label input[type="radio"]:checked + .radio-custom::after {
    transform: translate(-50%, -50%) scale(1);
}
.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: #d4c5a9;
}
.rsvp-btn {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 500;
    color: #000000;
    background: #d4c5a9;
    padding: 1rem 3rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(212, 197, 169, 0.3);
    margin-top: 1rem;
    width: 100%;
}
.rsvp-btn:hover {
    background: #c4b59a;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(212, 197, 169, 0.4);
}
.rsvp-btn:active {
    transform: translateY(0px);
}

/* Мобильная адаптация RSVP */
@media (max-width: 480px) {
    .rsvp {
        padding: 3rem 1rem 4rem;
    }
    .rsvp-title {
        font-size: 3.5rem;
        margin-bottom: 2rem;
    }
    .form-input {
        font-size: 1.1rem;
        padding: 0.7rem 1rem;
    }
    .radio-label {
        font-size: 1.1rem;
    }
    .rsvp-btn {
        font-size: 1.3rem;
        padding: 0.8rem 2rem;
    }
}


/* Секция таймер */
.timer {
    position: relative;
    background: #ffffff;
    padding: 4rem 2rem 5rem;
    min-height: 100vh;
    display: flex;
    align-items: flex-start; /* ← прижимаем к верху */
    justify-content: center;
    overflow: hidden;
}

/* Фоновое изображение */
.timer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.timer-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    width: 100%;
    margin-top: 0; /* ← убираем отступ */
    padding-top: 8rem; /* ← небольшой отступ сверху */
}

.timer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.timer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timer-number {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(4rem, 12vw, 7rem);
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.timer-label {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Мобильная адаптация */
@media (max-width: 480px) {
    .timer {
        padding: 3rem 1rem 4rem;
    }
    
    .timer-grid {
        gap: 1rem;
    }
    
    .timer-number {
        font-size: 3.5rem;
    }
    
    .timer-label {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 380px) {
    .timer-grid {
        gap: 0.5rem;
    }
    
    .timer-number {
        font-size: 2.8rem;
    }
    
    .timer-label {
        font-size: 0.7rem;
    }
}

.timer-title {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 400;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    margin-bottom: 1.5rem;
    letter-spacing: 4px;
}

.timer-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    width: 100%;
    padding-top: 10rem;
}


/* Музыкальная кнопка */
.music-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.music-btn {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 0;
}

.music-btn:hover {
    transform: scale(1.05);
}

.music-btn.playing {
    background: rgba(212, 197, 169, 0.2);
    border-color: #d4c5a9;
}

.music-icon {
    font-size: 1.4rem;
    color: #ffffff;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
    line-height: 1;
}

.orbit-text {
    position: absolute;
    top: -4px;
    left: -4px;
    width: 78px;
    height: 78px;
    z-index: 1;
    animation: spin-orbit 12s linear infinite;
}

@keyframes spin-orbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.music-btn.playing .orbit-text {
    animation-duration: 8s;
}

/* Мобильная адаптация */
@media (max-width: 480px) {
    .music-btn {
        width: 58px;
        height: 58px;
    }
    .music-icon {
        font-size: 1.1rem;
    }
    .orbit-text {
        width: 66px;
        height: 66px;
        top: -4px;
        left: -4px;
    }
    .orbit-text text {
        font-size: 6.5px;
        letter-spacing: 2px;
    }
}


/* Убираем синее выделение при нажатии на всех устройствах */
button,
a,
input,
textarea,
select,
[role="button"],
[type="submit"],
[type="button"],
[type="reset"],
.clickable {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
    outline: none !important;
}

/* Для Safari на iOS также убираем выделение */
* {
    -webkit-tap-highlight-color: transparent !important;
}

/* Но оставляем возможность выделять текст в формах */
input:focus,
textarea:focus {
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
}



/* Секция Подарки */
.gifts {
    position: relative;
    background: #ffffff;
    padding: 4rem 2rem 5rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gifts-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.12;
}

.gifts-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.gifts-title {
    font-family: 'Great Vibes', 'Cormorant Garamond', cursive;
    font-size: clamp(4rem, 12vw, 5.5rem);
    font-weight: 400;
    color: #d4c5a9;
    text-align: center;
    margin-bottom: 2.5rem;
    margin-top: 0;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

.gifts-text {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 400;
    line-height: 1.8;
    color: #4a3f3a;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.gifts-heart {
    margin-top: 1.5rem;
    opacity: 0.6;
    animation: pulse-heart 2s ease-in-out infinite;
}

@keyframes pulse-heart {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Мобильная адаптация */
@media (max-width: 480px) {
    .gifts {
        padding: 3rem 1rem 4rem;
        min-height: 50vh;
    }
    
    .gifts-title {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
    }
    
    .gifts-text {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .gifts-heart svg {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 380px) {
    .gifts-title {
        font-size: 2.8rem;
    }
    
    .gifts-text {
        font-size: 1rem;
    }
    
    .gifts-heart svg {
        width: 35px;
        height: 35px;
    }
}

/* Контакт под формой RSVP */
.rsvp-contact {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(212, 197, 169, 0.3);
}

.rsvp-phone {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 500;
    color: #4a3f3a;
    display: block;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

.rsvp-hint {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(0.8rem, 1.8vw, 1.1rem);
    font-weight: 300;
    color: #8a7a6a;
    font-style: italic;
    display: block;
    margin-top: 0.2rem;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

/* Мобильная адаптация */
@media (max-width: 480px) {
    .rsvp-contact {
        margin-top: 1rem;
        padding-top: 1rem;
    }
    
    .rsvp-phone {
        font-size: 1.1rem;
    }
    
    .rsvp-hint {
        font-size: 0.8rem;
    }
}

/* Текст с дедлайном в RSVP */
.rsvp-deadline {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    /* background: rgba(255, 255, 255, 0.5); */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    /* border-radius: 8px; */
    /* border: 1px solid rgba(212, 197, 169, 0.2); */
}

.deadline-text {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(1.2rem, 2.8vw, 1.6rem);
    font-weight: 400;
    color: #4a3f3a;
    margin-bottom: 0.3rem;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

.deadline-date {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 600;
    color: #d4c5a9;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
}

.deadline-date strong {
    font-weight: 700;
    color: #c4b59a;
}

/* Мобильная адаптация */
@media (max-width: 480px) {
    .rsvp-deadline {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .deadline-text {
        font-size: 1.1rem;
    }
    
    .deadline-date {
        font-size: 1.3rem;
    }
}

/* Секция Чат гостей */
.guest-chat {
    position: relative;
    background: #ffffff;
    padding: 4rem 2rem 5rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.guest-chat-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.12;
}

.guest-chat-container {
    position: relative;
    z-index: 1;
    max-width: 700px;
    width: 100%;
    text-align: center;
}

.guest-chat-title {
    font-family: 'Great Vibes', 'Cormorant Garamond', cursive;
    font-size: clamp(4rem, 12vw, 5.5rem);
    font-weight: 400;
    color: #d4c5a9;
    text-align: center;
    margin-bottom: 2.5rem;
    margin-top: 0;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

.guest-chat-text {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 400;
    line-height: 1.8;
    color: #4a3f3a;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

.guest-chat-btn {
    display: inline-block;
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 500;
    color: #ffffff;
    background: #d4c5a9;
    padding: 1rem 3.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(212, 197, 169, 0.3);
    border: none;
    cursor: pointer;
}

.guest-chat-btn:hover {
    background: #c4b59a;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(212, 197, 169, 0.4);
}

.guest-chat-btn:active {
    transform: translateY(0px);
}

.guest-chat-hint {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: 300;
    color: #8a7a6a;
    margin-top: 1.5rem;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

/* Мобильная адаптация */
@media (max-width: 480px) {
    .guest-chat {
        padding: 3rem 1rem 4rem;
        min-height: 50vh;
    }
    
    .guest-chat-title {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
    }
    
    .guest-chat-text {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .guest-chat-btn {
        font-size: 1.3rem;
        padding: 0.8rem 2.5rem;
        width: 100%;
        max-width: 300px;
    }
    
    .guest-chat-hint {
        font-size: 0.8rem;
    }
}

@media (max-width: 380px) {
    .guest-chat-title {
        font-size: 2.8rem;
    }
    
    .guest-chat-text {
        font-size: 1rem;
    }
    
    .guest-chat-btn {
        font-size: 1.1rem;
        padding: 0.7rem 2rem;
    }
}

/* Фото внизу секции */
.dresscode-footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    /* border-top: 1px solid rgba(212, 197, 169, 0.2); */
}

.dresscode-footer-text {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 400;
    color: #8a7a6a;
    font-style: italic;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
}

.dresscode-footer-image {
    max-width: 80%;
    height: auto;
    /* border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); */
    display: block;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .dresscode-footer-text {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .dresscode-footer-image {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .dresscode-footer {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .dresscode-footer-text {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .dresscode-footer-image {
        max-width: 100%;
        border-radius: 8px;
    }
}

/* Музыкальная кнопка */
.music-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.music-btn {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 0;
}

.music-btn:hover {
    transform: scale(1.05);
}

.music-btn.playing {
    background: rgba(212, 197, 169, 0.2);
    border-color: #d4c5a9;
}

/* Иконки музыки - SVG */
.music-icon {
    width: 28px;
    height: 28px;
    color: #ffffff;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.3));
    z-index: 2;
}

/* Когда музыка играет - показываем паузу, прячем play */
.music-btn.playing .play-icon {
    display: none;
}

.music-btn.playing .pause-icon {
    display: block !important;
}

.orbit-text {
    position: absolute;
    top: -4px;
    left: -4px;
    width: 78px;
    height: 78px;
    z-index: 1;
    animation: spin-orbit 12s linear infinite;
}

@keyframes spin-orbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.music-btn.playing .orbit-text {
    animation-duration: 8s;
}

/* Мобильная адаптация */
@media (max-width: 480px) {
    .music-btn {
        width: 58px;
        height: 58px;
    }
    .music-icon {
        width: 22px;
        height: 22px;
    }
    .orbit-text {
        width: 66px;
        height: 66px;
        top: -4px;
        left: -4px;
    }
}
