/* ============================
   WEDDING INVITATION — STYLE
   ============================ */

/* --- RESET & BASE --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    background: #f5f1eb;
    color: #2b2b2b;
    overflow-x: hidden;
    line-height: 1.7;
    font-size: 15px;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f5f1eb;
}
::-webkit-scrollbar-thumb {
    background: #c7a88b;
    border-radius: 3px;
}

/* ============================
   INTRO SCREEN
   ============================ */
.intro {
    position: fixed;
    inset: 0;
    background: #f5f1eb;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    text-align: center;
}

.intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.intro-ornament {
    font-size: 28px;
    color: #c7a88b;
    letter-spacing: 8px;
    margin-bottom: 10px;
}

.intro-names {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 2px;
    margin: 0;
}

.intro-date {
    font-size: 13px;
    letter-spacing: 4px;
    color: #8b7b6b;
    margin: 0 0 20px;
    text-transform: uppercase;
}

.intro button {
    padding: 16px 40px;
    border-radius: 30px;
    border: 1px solid #c7a88b;
    background: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #2b2b2b;
    transition: all 0.4s ease;
}

.intro button:hover {
    background: #c7a88b;
    color: white;
}

/* ============================
   HERO SECTION
   ============================ */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 120%;
    top: -10%;
    object-fit: cover;
    filter: brightness(0.65);
}

.hero-content {
    position: relative;
    color: white;
    z-index: 2;
    padding: 20px;
}

.hero-label {
    font-size: 12px;
    letter-spacing: 8px;
    margin-bottom: 10px;
    opacity: 0.85;
    font-weight: 300;
}

.hero-date {
    font-size: 14px;
    letter-spacing: 6px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 64px;
    font-weight: 300;
    line-height: 1.1;
    margin: 0;
}

.hero h1 .amp {
    font-family: 'Great Vibes', cursive;
    font-size: 50px;
    display: inline-block;
    margin: 5px 0;
    opacity: 0.8;
}

/* ============================
   MARQUEE
   ============================ */
.marquee-section {
    background: #9e7662;
    padding: 16px 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
}

.marquee-track span {
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    flex-shrink: 0;
    padding-right: 0;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================
   COMMON SECTION STYLES
   ============================ */
section {
    padding: 100px 24px;
    text-align: center;
    max-width: 700px;
    margin: auto;
}

.heart-icon {
    font-size: 28px;
    color: #c7a88b;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 300;
    margin: 0 0 20px;
    letter-spacing: 1px;
}

.section-text {
    font-size: 15px;
    line-height: 1.8;
    color: #5a5a5a;
    max-width: 520px;
    margin: 0 auto;
}

/* ============================
   TEXT SECTION
   ============================ */
.text-section {
    padding: 100px 24px 60px;
}

/* ============================
   IMAGE SECTION
   ============================ */
.image-section {
    padding: 40px 24px;
    max-width: 800px;
}

.image-section img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* ============================
   LOCATION
   ============================ */
.location-section {
    padding: 50px 24px;
    max-width: 700px;
}

.location-card {
    background: white;
    padding: 60px 40px;
    border-radius: 24px;
    box-shadow: 0 12px 50px rgba(0,0,0,0.06);
}

.location-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    margin: 0 0 8px;
    font-weight: 400;
}

.location-address {
    color: #8b7b6b;
    font-size: 14px;
    margin: 0 0 30px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border: 1px solid #c7a88b;
    border-radius: 30px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    color: #2b2b2b;
}

.btn-outline:hover {
    background: #c7a88b;
    color: white;
}

.btn-outline svg {
    width: 18px;
    height: 18px;
}

/* ============================
   TIMELINE
   ============================ */
.timeline-section {
    padding: 50px 24px;
    max-width: 600px;
}

.timeline {
    position: relative;
    margin-top: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #d4c5b0;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-time {
    width: 50%;
    text-align: right;
    padding-right: 30px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 600;
    color: #9e7662;
    line-height: 1;
    flex-shrink: 0;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #6b7b5e;
    border: 3px solid #f5f1eb;
    position: absolute;
    left: 50%;
    top: 4px;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 2px #6b7b5e;
}

.timeline-desc {
    width: 50%;
    text-align: left;
    padding-left: 30px;
}

.timeline-desc h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    margin: 0 0 6px;
    font-weight: 400;
}

.timeline-desc p {
    font-size: 13px;
    color: #8b7b6b;
    margin: 0;
    line-height: 1.6;
}

/* ============================
   DRESSCODE
   ============================ */
.dresscode-section {
    padding: 100px 24px;
}

.color-palette {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.color-swatch {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.color-swatch:hover {
    transform: scale(1.15);
}

/* ============================
   DETAILS
   ============================ */
.details-section {
    padding: 50px 24px;
    max-width: 800px;
}

.details-grid {
    display: grid;
    gap: 24px;
    margin-top: 40px;
}

.detail-card {
    background: white;
    padding: 40px 32px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
    text-align: left;
    transition: transform 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-4px);
}

.detail-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 600;
    color: #c7a88b;
    line-height: 1;
    margin-bottom: 12px;
}

.detail-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    margin: 0 0 12px;
    font-weight: 400;
}

.detail-card p {
    font-size: 14px;
    color: #6b6b6b;
    margin: 0;
    line-height: 1.7;
}

/* ============================
   RSVP FORM
   ============================ */
.form-section {
    padding: 100px 24px;
    max-width: 600px;
}

.rsvp-form {
    margin-top: 40px;
    text-align: left;
}

.form-group {
    margin-bottom: 28px;
}

.form-group > label:first-child {
    display: block;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #4a4a4a;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #d4c5b0;
    background: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #2b2b2b;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

input[type="text"]:focus,
textarea:focus {
    border-color: #c7a88b;
    box-shadow: 0 0 0 3px rgba(199, 168, 139, 0.15);
}

textarea {
    min-height: 100px;
    resize: vertical;
}

/* ============================
FORM CONTROLS (RADIO + CHECKBOX)
============================ */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #e8e0d5;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    background: white;
}

.radio-label:hover {
    border-color: #c7a88b;
}

/* Скрываем все стандартные инпуты */
.radio-label input[type="radio"],
.radio-label input[type="checkbox"] {
    display: none;
}

/* === РАДИО-КНОПКИ (Еда, Участие) — КРУГЛЫЕ === */
.radio-label input[type="radio"] + .radio-custom {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #d4c5b0;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: #6b7b5e;
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: #6b7b5e;
}

/* === ЧЕКБОКСЫ (Напитки) — КВАДРАТНЫЕ С ГАЛОЧКОЙ === */
.radio-label input[type="checkbox"] + .radio-custom {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid #d4c5b0;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.radio-label input[type="checkbox"]:checked + .radio-custom {
    border-color: #6b7b5e;
    background: #6b7b5e;
}

.radio-label input[type="checkbox"]:checked + .radio-custom::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
    font-weight: bold;
}

/* Подсветка всей плашки при выборе (для обоих типов) */
.radio-label:has(input:checked) {
    border-color: #6b7b5e;
    background: rgba(107, 123, 94, 0.04);
}

/* Submit button */
.btn-submit {
    display: block;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 30px;
    background: #9e7662;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    background: #5a6a4e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 123, 94, 0.3);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Success message */
.form-success {
    margin-top: 40px;
    animation: fadeInUp 0.6s ease;
}

.success-icon {
    font-size: 40px;
    color: #6b7b5e;
    margin-bottom: 16px;
}

.form-success h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    margin: 0 0 10px;
}

.form-success p {
    color: #8b7b6b;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================
   COUNTDOWN
   ============================ */
.countdown-section {
    padding: 100px 24px 80px;
    background: #9e7662;
    max-width: 100%;
    color: white;
}

.countdown-section .section-title {
    color: white;
    margin-bottom: 40px;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}

.countdown-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 54px;
    font-weight: 300;
    line-height: 1;
}

.countdown-label {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.7;
    margin-top: 6px;
}

.countdown-separator {
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px;
    font-weight: 300;
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 18px;
}

/* ============================
   FOOTER
   ============================ */
.footer {
    padding: 60px 24px;
    text-align: center;
    background: #f5f1eb;
}

.footer-names {
    font-family: 'Great Vibes', cursive;
    font-size: 36px;
    margin: 0 0 8px;
    color: #9e7662;
}

.footer-date {
    font-size: 13px;
    letter-spacing: 3px;
    color: #8b7b6b;
    margin: 0;
    text-transform: uppercase;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 48px;
    }

    .hero h1 .amp {
        font-size: 36px;
    }

    .section-title {
        font-size: 30px;
    }

    /* Timeline stacked on mobile */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column;
        padding-left: 50px;
    }

    .timeline-time {
        width: auto;
        text-align: left;
        padding-right: 0;
        font-size: 28px;
        margin-bottom: 6px;
    }

    .timeline-dot {
        left: 20px;
        top: 6px;
    }

    .timeline-desc {
        width: auto;
        padding-left: 0;
    }

    .countdown-number {
        font-size: 40px;
    }

    .countdown-separator {
        font-size: 30px;
    }

    .countdown-item {
        min-width: 56px;
    }

    .location-card {
        padding: 40px 24px;
    }

    .detail-card {
        padding: 30px 24px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-label {
        font-size: 10px;
        letter-spacing: 5px;
    }

    .intro-names {
        font-size: 26px;
    }

    section {
        padding: 80px 20px;
    }

    .color-swatch {
        width: 44px;
        height: 44px;
    }
}
/* === ЧЕКБОКСЫ ДЛЯ НАПИТКОВ (вместо радио) === */
.radio-label input[type="checkbox"] + .radio-custom::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.radio-label input[type="checkbox"]:checked + .radio-custom::after {
    opacity: 1;
}

/* Сохраняем цвет границы при ховере */
.radio-label:has(input[type="checkbox"]:checked) {
    border-color: #6b7b5e;
    background: rgba(107, 123, 94, 0.04);
}

/* ============================
   WOW UPGRADE LAYER
   ============================ */
body {
    position: relative;
    background:
        radial-gradient(circle at top, rgba(255,255,255,0.55), transparent 42%),
        linear-gradient(180deg, #f8f4ef 0%, #f5f1eb 28%, #f1ece5 100%);
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.06;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(0,0,0,0.4) 0.6px, transparent 0.7px),
        radial-gradient(circle at 70% 60%, rgba(0,0,0,0.35) 0.5px, transparent 0.6px);
    background-size: 26px 26px, 34px 34px;
    z-index: 0;
}

.scroll-progress {
    position: fixed;
    inset: 0 0 auto;
    height: 3px;
    background: rgba(255,255,255,0.25);
    z-index: 10000;
    backdrop-filter: blur(8px);
}

.scroll-progress span {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, #6b7b5e, #c7a88b, #efe2d1);
    box-shadow: 0 0 18px rgba(199, 168, 139, 0.65);
}

.ambient {
    position: fixed;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

.ambient-1 {
    width: 220px;
    height: 220px;
    top: 10vh;
    left: -70px;
    background: rgba(199, 168, 139, 0.38);
}

.ambient-2 {
    width: 260px;
    height: 260px;
    right: -90px;
    top: 45vh;
    background: rgba(107, 123, 94, 0.20);
}

.ambient-3 {
    width: 180px;
    height: 180px;
    left: 50%;
    bottom: 8vh;
    background: rgba(239, 226, 209, 0.55);
}

section,
.footer,
.marquee-section {
    position: relative;
    z-index: 1;
}

.hero {
    max-width: 100%;
    isolation: isolate;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(255,255,255,0.08), transparent 40%),
        linear-gradient(180deg, rgba(15,15,15,0.18) 0%, rgba(15,15,15,0.34) 100%);
    z-index: 1;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.32;
    z-index: 1;
    pointer-events: none;
}

.hero-glow-1 {
    width: 220px;
    height: 220px;
    left: 12%;
    top: 18%;
    background: rgba(255,255,255,0.30);
}

.hero-glow-2 {
    width: 280px;
    height: 280px;
    right: 10%;
    bottom: 12%;
    background: rgba(199, 168, 139, 0.32);
}

.hero-content {
    max-width: 760px;
    will-change: transform;
}

.hero-subtitle {
    margin-top: 18px;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.78;
}

.scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 38px;
    transform: translateX(-50%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 0;
    color: rgba(255,255,255,0.88);
    cursor: pointer;
    z-index: 3;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.scroll-hint-text {
    font-size: 10px;
}

.scroll-hint-line {
    width: 1px;
    height: 46px;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.95));
    animation: scrollPulse 1.7s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(0.55); opacity: 0.45; }
    50% { transform: scaleY(1); opacity: 1; }
}

.image-section {
    overflow: hidden;
}

.image-section img {
    transform: scale(1.05);
    will-change: transform;
}

.image-section::after {
    content: '';
    position: absolute;
    inset: auto 6% 0;
    height: 28%;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.10));
    border-radius: 0 0 20px 20px;
    pointer-events: none;
}

.location-card,
.detail-card {
    border: 1px solid rgba(199, 168, 139, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
}

.location-card::before,
.detail-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.22) 35%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.9s ease;
    pointer-events: none;
}

.location-card:hover::before,
.detail-card:hover::before {
    transform: translateX(120%);
}

.timeline {
    overflow: hidden;
}

.timeline-line-fill {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%) scaleY(0);
    background: linear-gradient(180deg, rgba(199, 168, 139, 0), #98b084 20%, #6b7b5e 100%);
    box-shadow: 0 0 18px rgba(107, 123, 94, 0.22);
    z-index: 1;
}

.timeline-dot {
    z-index: 2;
}

.color-swatch {
    position: relative;
}

.color-swatch::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.45);
    opacity: 0.75;
}

.form-group.is-disabled {
    opacity: 0.45;
}

.form-note {
    margin: 2px 0 18px;
    font-size: 13px;
    color: #8b7b6b;
    line-height: 1.6;
	text-align: center
}

.form-note.is-error {
    color: #8b3b3b;
}

.countdown-section {
    position: relative;
    overflow: hidden;
}

.countdown-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,0.12), transparent 20%),
        radial-gradient(circle at 85% 70%, rgba(255,255,255,0.10), transparent 22%);
    pointer-events: none;
}

.countdown-number {
    text-shadow: 0 8px 26px rgba(0,0,0,0.16);
}

.btn-outline,
.btn-submit,
#enter {
    will-change: transform;
}

@media (max-width: 768px) {
    .scroll-hint {
        bottom: 24px;
    }

    .hero-subtitle {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .hero-glow-1,
    .hero-glow-2,
    .ambient {
        opacity: 0.22;
    }
	
	.timeline-line-fill {
    left: 20px;
    transform: translateX(-50%) scaleY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track,
    .scroll-hint-line {
        animation: none;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ============================
   MUSIC TOGGLE
   ============================ */
.music-toggle {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 12000;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.32);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
    box-shadow: 0 14px 30px rgba(43, 43, 43, 0.12);
    color: #6c584c;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.music-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(43, 43, 43, 0.16);
}

.music-toggle.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.music-toggle-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #9e7662, #c7a88b);
    color: #fff;
    font-size: 14px;
    box-shadow: 0 8px 18px rgba(158, 118, 98, 0.28);
}

.music-toggle.is-playing .music-toggle-icon {
    animation: musicPulse 1.6s ease-in-out infinite;
}

.music-toggle-text {
    white-space: nowrap;
}

@keyframes musicPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}

/* ============================
   DRESSCODE GALLERY
   ============================ */
.dresscode-section {
    max-width: 1040px;
}

.dress-top-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 42px;
}

.dress-photo-card,
.dress-man-card,
.dress-slide {
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255,255,255,0.75);
    box-shadow: 0 18px 45px rgba(43, 43, 43, 0.08);
    border: 1px solid rgba(199, 168, 139, 0.22);
}

.dress-photo-card img,
.dress-man-card img,
.dress-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3 / 5;
    transform: scale(1.02);
    animation: softZoom 9s ease-in-out infinite alternate;
    will-change: transform;
}

.dress-subtitle {
    margin: 38px 0 18px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    font-weight: 400;
    color: #6c584c;
}

.dress-man-card {
    max-width: 360px;
    margin: 0 auto;
}

.dress-carousel-wrap {
    position: relative;
    margin-top: 10px;
    padding: 0 64px;
}

.dress-carousel-window {
    overflow: hidden;
}

.dress-carousel-track {
    display: flex;
    gap: 18px;
    will-change: transform;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.dress-slide {
    flex: 0 0 calc((100% - 36px) / 3);
}

.dress-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.88);
    color: #8d6c59;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
    z-index: 3;
}

.dress-carousel-btn:hover {
    transform: translateY(-50%) scale(1.05);
    background: #fff;
}

.dress-carousel-btn.prev { left: 0; }
.dress-carousel-btn.next { right: 0; }

.dress-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.dress-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(158, 118, 98, 0.28);
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease;
}

.dress-dot.is-active {
    background: #9e7662;
    transform: scale(1.2);
}

.reveal-soft {
    opacity: 0;
    transform: translateY(28px);
}


@keyframes softZoom {
    from {
        transform: scale(1.02);
    }
    to {
        transform: scale(1.06);
    }
}

@media (max-width: 991px) {
    .dress-slide {
        flex-basis: calc((100% - 18px) / 2);
    }

    .dress-subtitle {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .music-toggle {
        right: 14px;
        bottom: 14px;
        padding: 11px 14px;
        gap: 8px;
    }

    .music-toggle-text {
        font-size: 11px;
        letter-spacing: 0.14em;
    }

    .dress-top-grid {
        grid-template-columns: 1fr;
    }

    .dress-carousel-wrap {
        padding: 0 48px;
    }

    .dress-slide {
        flex-basis: 100%;
    }
}

@media (max-width: 480px) {
    .dress-subtitle {
        font-size: 24px;
        margin: 30px 0 16px;
    }

    .dress-carousel-wrap {
        padding: 0 42px;
    }

    .dress-carousel-btn {
        width: 38px;
        height: 38px;
        font-size: 22px;
    }

    .music-toggle {
        right: 10px;
        bottom: 10px;
    }

    .music-toggle-text {
        display: none;
    }
}
