* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-teal-dark: #004B5F;
    --color-teal-mid: #00586F;
    --color-teal-light: #006C80;
    --color-rose: #D8B4B4;
    --color-rose-light: #E5CACA;
    --color-cream: #F8F6F4;
    --color-white: #FFFFFF;
    --color-text-dark: #2D2D2D;
    --color-text-light: #FFF8F2;
    --color-accent-rose: #D8B4B4;
    --color-gold: #c7a96b;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', Arial, sans-serif;
    --hero-photo: url('assets/hero-couple.png');
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-cream);
    color: var(--color-text-dark);
    line-height: 1.8;
    overflow-x: hidden;
}

/* ===== Corner Ornaments (subtle restyle) ===== */
.ornament {
    position: fixed;
    width: 300px;
    height: 300px;
    pointer-events: none;
    z-index: 50;
    opacity: 0.35;
}

.ornament g {
    stroke: var(--color-gold) !important;
}

.ornament-tl { top: 0; left: 0; }
.ornament-tr { top: 0; right: 0; }
.ornament-bl { bottom: 0; left: 0; }
.ornament-br { bottom: 0; right: 0; }

.ornament-side {
    position: fixed;
    width: 120px;
    height: 400px;
    pointer-events: none;
    z-index: 50;
    opacity: 0.35;
    top: 50%;
    transform: translateY(-50%);
    right: 16px;
}

.ornament-side g {
    stroke: var(--color-gold) !important;
}

/* ===== Fade-in Animation ===== */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Shared ===== */
.section-content {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(3.2rem, 7vw, 5rem);
    font-weight: 500;
    text-align: center;
    letter-spacing: 5px;
    margin-bottom: 40px;
    color: var(--color-text-dark);
    line-height: 1.2;
}

.decorative-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 0 35px;
}

.decorative-line .line {
    width: 60px;
    height: 1px;
    background: var(--color-gold);
    opacity: 0.45;
}

.decorative-line .diamond {
    display: none;
}

.btn {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-white);
    background: var(--color-teal-mid);
    padding: 22px 60px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 30px rgba(0, 75, 95, 0.25);
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0, 75, 95, 0.35);
    background: var(--color-teal-light);
}

.heart-decor {
    color: var(--color-rose);
    font-size: 1.2rem;
    margin: 0 6px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.heart-decor:nth-child(1) { animation-delay: 0s; }
.heart-decor:nth-child(2) { animation-delay: 0.15s; }
.heart-decor:nth-child(3) { animation-delay: 0.3s; }
.heart-decor:nth-child(4) { animation-delay: 0.45s; }
.heart-decor:nth-child(5) { animation-delay: 0.6s; }

@keyframes float {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(-5px); opacity: 0.9; }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.12); }
    30% { transform: scale(1); }
    45% { transform: scale(1.08); }
    60% { transform: scale(1); }
}

/* ===== Wave Divider (shared) ===== */
.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    background: no-repeat bottom center;
    background-size: 100% 80px;
    pointer-events: none;
    z-index: 3;
}

/* ===== HERO SECTION (Dark) ===== */
.names-hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 25px 120px;
    text-align: center;
    overflow: hidden;
    background: var(--color-teal-dark);
}

.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 32%;
    z-index: 0;
    pointer-events: none;
}

.names-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, transparent 40%, rgba(0, 20, 25, 0.55) 100%),
        linear-gradient(
            to bottom,
            rgba(0, 35, 38, 0.10) 0%,
            rgba(0, 35, 38, 0.40) 50%,
            rgba(0, 45, 50, 0.70) 100%
        );
    z-index: 1;
    pointer-events: none;
}

.names-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 180px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C200,150 380,10 580,90 C780,170 920,140 1100,60 C1240,10 1370,50 1440,80 L1440,180 L0,180 Z' fill='%23004152'/%3E%3Cpath d='M0,60 C200,150 380,10 580,90 C780,170 920,140 1100,60 C1240,10 1370,50 1440,80' fill='none' stroke='%23C7A96B' stroke-width='2' opacity='0.6'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: 100% 180px;
    z-index: 3;
    pointer-events: none;
}

.names-hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.names-hero-title {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--color-text-light);
    margin: 0 0 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.names-hero-title::before {
    content: "&";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-serif);
    font-size: clamp(18rem, 40vw, 30rem);
    color: var(--color-gold);
    opacity: 0.06;
    z-index: -1;
    pointer-events: none;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0;
}

.name-first,
.name-second {
    display: block;
    font-size: clamp(5.5rem, 15vw, 9.5rem);
    letter-spacing: 24px;
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--color-text-light);
    font-weight: 600;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.15);
}

.name-ampersand {
    display: block;
    font-size: clamp(3.2rem, 8vw, 4.5rem);
    font-weight: 300;
    color: var(--color-gold);
    margin: 12px 0 20px;
    letter-spacing: 3px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 20px rgba(199, 169, 107, 0.2);
}

.hero-date {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    margin: 30px 0 0;
}

.date-separator {
    color: var(--color-gold);
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.6;
}

.date-text {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    color: var(--color-text-light);
    letter-spacing: 10px;
}

.hero-invite {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-style: italic;
    color: var(--color-text-light);
    margin: 35px auto 40px;
    opacity: 0.85;
    letter-spacing: 1px;
    max-width: 560px;
    line-height: 1.8;
}

.hero-btn {
    font-size: 1rem;
    padding: 20px 56px;
    background: transparent;
    border: 1.5px solid var(--color-gold);
    color: var(--color-text-light);
    box-shadow: none;
    letter-spacing: 5px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-btn:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-teal-dark);
    box-shadow: 0 10px 40px rgba(199, 169, 107, 0.3);
}

/* ===== STORY SECTION (Teal) ===== */
.story-section {
    padding: 90px 25px 110px;
    background: linear-gradient(135deg, #004152, #01505e);
    text-align: center;
    position: relative;
    color: var(--color-text-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.story-section::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,25 C200,90 380,10 580,70 C780,110 920,5 1100,55 C1240,95 1370,35 1440,60 L1440,0 L0,0 Z' fill='%23004152'/%3E%3Cpath d='M0,25 C200,90 380,10 580,70 C780,110 920,5 1100,55 C1240,95 1370,35 1440,60' fill='none' stroke='%23C7A96B' stroke-width='2' opacity='0.6'/%3E%3C/svg%3E") no-repeat top center;
    background-size: 100% 120px;
    pointer-events: none;
    z-index: 1;
}

.story-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 180px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C260,130 500,20 740,90 C980,160 1220,20 1440,50 L1440,180 L0,180 Z' fill='%23F8F6F4'/%3E%3Cpath d='M0,40 C260,130 500,20 740,90 C980,160 1220,20 1440,50' fill='none' stroke='%23C7A96B' stroke-width='2' opacity='0.6'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: 100% 180px;
    pointer-events: none;
    z-index: 3;
}

.gold-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 20px auto 35px;
    max-width: 360px;
}

.gold-divider .gold-line {
    flex: 1;
    height: 1px;
    background: var(--color-gold);
    opacity: 0.45;
}

.gold-divider .gold-diamond {
    color: var(--color-gold);
    font-size: 0.8rem;
    opacity: 0.7;
    font-family: var(--font-serif);
}

.story-label {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0;
    font-weight: 400;
    opacity: 0.8;
}

.story-section .section-title {
    color: var(--color-text-light);
    font-size: clamp(3.2rem, 7vw, 5rem);
    margin-bottom: 35px;
    letter-spacing: 5px;
}

.story-section .section-content {
    position: relative;
    z-index: 2;
}

.story-text {
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 2.5vw, 1.55rem);
    line-height: 1.9;
    color: var(--color-text-light);
    opacity: 0.85;
    max-width: 700px;
    margin: 0 auto;
    font-style: italic;
}

/* ===== CALENDAR SECTION (Light) ===== */
.calendar-section {
    padding: 75px 25px 110px;
    background: var(--color-cream);
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.calendar-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 180px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180' preserveAspectRatio='none'%3E%3Cpath d='M0,70 C320,20 620,160 920,50 C1120,0 1320,110 1440,60 L1440,180 L0,180 Z' fill='%23004B5F'/%3E%3Cpath d='M0,70 C320,20 620,160 920,50 C1120,0 1320,110 1440,60' fill='none' stroke='%23C7A96B' stroke-width='2' opacity='0.6'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: 100% 180px;
    pointer-events: none;
    z-index: 3;
}

.calendar-month {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 500;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--color-teal-mid);
    margin-bottom: 35px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    max-width: 420px;
    margin: 0 auto;
    padding: 40px 32px;
    background: var(--color-white);
    border-radius: 16px;
    border: 1px solid rgba(0, 75, 95, 0.08);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.04);
}

.calendar-day-name {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-teal-dark);
    text-align: center;
    padding: 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
}

.calendar-date {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--color-text-dark);
    text-align: center;
    padding: 14px 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.calendar-day.wedding-day {
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: var(--color-teal-dark) !important;
    line-height: 1;
    padding: 0 !important;
    margin: 0 !important;
}

.calendar-day.wedding-day .heart-svg {
    position: absolute;
    width: 48px;
    height: 48px;
    pointer-events: none;
    z-index: -1;
    animation: heartbeat 2s ease-in-out infinite;
}

.calendar-day.wedding-day .heart-path {
    fill: var(--color-rose-light);
}

.calendar-day.wedding-day svg + span,
.calendar-day.wedding-day svg + text,
.calendar-day.wedding-day span {
    position: relative;
    z-index: 10 !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: var(--color-teal-dark) !important;
    line-height: 1 !important;
}

.heart-svg {
    width: 42px;
    height: 42px;
    animation: heartPulse 2.5s ease-in-out infinite;
}

.heart-path {
    fill: var(--color-rose-light);
}

.heart-text {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    fill: var(--color-teal-dark);
    dominant-baseline: central;
    text-anchor: middle;
}

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

/* ===== WELCOME SECTION (Dark) ===== */
.welcome-section {
    padding: 75px 25px 110px;
    background: var(--color-teal-dark);
    text-align: center;
    position: relative;
    color: var(--color-text-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.welcome-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 180px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C200,150 380,10 580,90 C780,170 920,140 1100,60 C1240,10 1370,50 1440,80 L1440,180 L0,180 Z' fill='%23004B5F'/%3E%3Cpath d='M0,60 C200,150 380,10 580,90 C780,170 920,140 1100,60 C1240,10 1370,50 1440,80' fill='none' stroke='%23C7A96B' stroke-width='2' opacity='0.6'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: 100% 180px;
    pointer-events: none;
    z-index: 3;
}

.welcome-section .section-title {
    color: var(--color-text-light);
}

.welcome-message {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    font-style: italic;
    color: var(--color-text-light);
    line-height: 1.9;
    margin: 30px auto;
    max-width: 750px;
}

.welcome-hearts {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 35px;
}

.welcome-hearts .heart-decor {
    color: var(--color-rose);
    font-size: 2.2rem;
    margin: 0 12px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

/* ===== PROGRAM SECTION (Light) ===== */
.program-section {
    padding: 75px 25px 110px;
    background: var(--color-cream);
    text-align: center;
    position: relative;
    color: var(--color-text-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.program-section .gold-divider {
    margin: 0 auto 35px;
}

.program-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 180px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C260,130 500,20 740,90 C980,160 1220,20 1440,50 L1440,180 L0,180 Z' fill='%23004B5F'/%3E%3Cpath d='M0,40 C260,130 500,20 740,90 C980,160 1220,20 1440,50' fill='none' stroke='%23C7A96B' stroke-width='2' opacity='0.6'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: 100% 180px;
    pointer-events: none;
    z-index: 3;
}

.program-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 15px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.program-item {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--color-white);
    padding: 28px 32px;
    border-radius: 12px;
    border: 1px solid rgba(199, 169, 107, 0.15);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.program-icon {
    font-size: 1.8rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(199, 169, 107, 0.08);
    border-radius: 50%;
    flex-shrink: 0;
}

.program-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.program-time {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-teal-mid);
    letter-spacing: 1px;
}

.program-text {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--color-text-dark);
    opacity: 0.75;
    font-style: italic;
}

/* ===== DRESS CODE SECTION (Dark) ===== */
.dresscode-section {
    padding: 75px 25px 110px;
    background: var(--color-teal-dark);
    text-align: center;
    position: relative;
    color: var(--color-text-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.dresscode-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 180px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180' preserveAspectRatio='none'%3E%3Cpath d='M0,70 C320,20 620,160 920,50 C1120,0 1320,110 1440,60 L1440,180 L0,180 Z' fill='%23F8F6F4'/%3E%3Cpath d='M0,70 C320,20 620,160 920,50 C1120,0 1320,110 1440,60' fill='none' stroke='%23C7A96B' stroke-width='2' opacity='0.6'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: 100% 180px;
    pointer-events: none;
    z-index: 3;
}

.dresscode-section .section-title {
    color: var(--color-text-light);
}

.dresscode-divider {
    width: 60px;
    height: 1px;
    background: var(--color-gold);
    margin: 0 auto 20px;
    opacity: 0.4;
}

.dresscode-text {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    font-style: italic;
    color: var(--color-text-light);
    margin-top: 30px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.9;
}

.dresscode-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    color: var(--color-rose);
    font-style: italic;
    margin-top: 20px;
}

/* ===== NO CRYK SECTION (Light) ===== */
.no-cryk-section {
    padding: 75px 25px 110px;
    background: var(--color-cream);
    text-align: center;
    position: relative;
    color: var(--color-text-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.no-cryk-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 180px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C200,150 380,10 580,90 C780,170 920,140 1100,60 C1240,10 1370,50 1440,80 L1440,180 L0,180 Z' fill='%23004B5F'/%3E%3Cpath d='M0,60 C200,150 380,10 580,90 C780,170 920,140 1100,60 C1240,10 1370,50 1440,80' fill='none' stroke='%23C7A96B' stroke-width='2' opacity='0.6'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: 100% 180px;
    pointer-events: none;
    z-index: 3;
}

.section-ornament {
    color: var(--color-gold);
    font-size: 1.1rem;
    margin: 20px 0;
    opacity: 0.45;
    font-family: var(--font-serif);
}

.no-cryk-text {
    font-family: var(--font-serif);
    font-size: clamp(1.35rem, 2.8vw, 1.6rem);
    font-style: italic;
    color: var(--color-text-dark);
    line-height: 1.9;
    margin: 25px auto;
    max-width: 650px;
}

/* ===== GIFT SECTION (Dark) ===== */
.gift-section {
    padding: 75px 25px 110px;
    background: var(--color-teal-dark);
    text-align: center;
    position: relative;
    color: var(--color-text-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.gift-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 180px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C260,130 500,20 740,90 C980,160 1220,20 1440,50 L1440,180 L0,180 Z' fill='%23F8F6F4'/%3E%3Cpath d='M0,40 C260,130 500,20 740,90 C980,160 1220,20 1440,50' fill='none' stroke='%23C7A96B' stroke-width='2' opacity='0.6'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: 100% 180px;
    pointer-events: none;
    z-index: 3;
}

.gift-section .section-title {
    color: var(--color-text-light);
}

.gift-text {
    font-family: var(--font-serif);
    font-size: clamp(1.35rem, 2.8vw, 1.6rem);
    font-style: italic;
    color: var(--color-text-light);
    line-height: 1.9;
    margin: 25px auto;
    max-width: 650px;
}

/* ===== WISHES / ORGANIZER SECTION (Light) ===== */
.wishes-section {
    padding: 65px 25px 100px;
    background: var(--color-cream);
    text-align: center;
    position: relative;
    color: var(--color-text-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.wishes-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 180px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180' preserveAspectRatio='none'%3E%3Cpath d='M0,70 C320,20 620,160 920,50 C1120,0 1320,110 1440,60 L1440,180 L0,180 Z' fill='%23004B5F'/%3E%3Cpath d='M0,70 C320,20 620,160 920,50 C1120,0 1320,110 1440,60' fill='none' stroke='%23C7A96B' stroke-width='2' opacity='0.6'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: 100% 180px;
    pointer-events: none;
    z-index: 3;
}

.organizer-info {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.organizer-note {
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 2.5vw, 1.35rem);
    font-style: italic;
    color: var(--color-text-dark);
    margin-bottom: 18px;
}

.organizer-phone {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 3vw, 1.7rem);
    font-weight: 500;
    color: var(--color-teal-mid);
    letter-spacing: 2px;
    text-align: center;
    margin: 0;
}

/* ===== LOCATION SECTION (Dark) ===== */
.location-section {
    padding: 75px 25px 110px;
    background: var(--color-teal-dark);
    text-align: center;
    position: relative;
    color: var(--color-text-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.location-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 180px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C200,150 380,10 580,90 C780,170 920,140 1100,60 C1240,10 1370,50 1440,80 L1440,180 L0,180 Z' fill='%23F8F6F4'/%3E%3Cpath d='M0,60 C200,150 380,10 580,90 C780,170 920,140 1100,60 C1240,10 1370,50 1440,80' fill='none' stroke='%23C7A96B' stroke-width='2' opacity='0.6'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: 100% 180px;
    pointer-events: none;
    z-index: 3;
}

.location-section .section-title {
    color: var(--color-text-light);
}

.location-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    display: inline-block;
}

.location-address {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    color: var(--color-text-light);
    line-height: 1.8;
    margin-top: 15px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.location-hearts {
    margin-top: 35px;
}

.location-hearts .heart-decor {
    color: var(--color-rose);
}

/* ===== COUNTDOWN SECTION (Light) ===== */
.countdown-section {
    padding: 75px 25px 110px;
    background: var(--color-cream);
    text-align: center;
    position: relative;
    color: var(--color-text-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.countdown-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 180px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C260,130 500,20 740,90 C980,160 1220,20 1440,50 L1440,180 L0,180 Z' fill='%23004B5F'/%3E%3Cpath d='M0,40 C260,130 500,20 740,90 C980,160 1220,20 1440,50' fill='none' stroke='%23C7A96B' stroke-width='2' opacity='0.6'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: 100% 180px;
    pointer-events: none;
    z-index: 3;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 40px;
}

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

.countdown-number {
    font-family: var(--font-serif);
    font-size: clamp(3.5rem, 10vw, 5.5rem);
    font-weight: 600;
    color: var(--color-teal-dark);
    line-height: 1;
}

.countdown-label {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-teal-dark);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-top: 14px;
    opacity: 0.6;
}

.countdown-separator {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--color-gold);
    margin-top: -20px;
    opacity: 0.5;
}

/* ===== RSVP SECTION (Dark) ===== */
.rsvp-section {
    padding: 75px 25px 110px;
    background: var(--color-teal-dark);
    text-align: center;
    position: relative;
    color: var(--color-text-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.rsvp-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 180px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180' preserveAspectRatio='none'%3E%3Cpath d='M0,70 C320,20 620,160 920,50 C1120,0 1320,110 1440,60 L1440,180 L0,180 Z' fill='%23F8F6F4'/%3E%3Cpath d='M0,70 C320,20 620,160 920,50 C1120,0 1320,110 1440,60' fill='none' stroke='%23C7A96B' stroke-width='2' opacity='0.6'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: 100% 180px;
    pointer-events: none;
    z-index: 3;
}

.rsvp-section .section-title {
    color: var(--color-text-light);
}

.rsvp-text {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-style: italic;
    color: var(--color-text-light);
    line-height: 1.9;
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.rsvp-btn {
    font-size: 1.15rem;
    padding: 24px 68px;
    background: var(--color-teal-light);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
}

.rsvp-btn:hover {
    background: var(--color-rose);
    color: var(--color-teal-dark);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.25);
}

.rsvp-hearts {
    margin-top: 40px;
}

.rsvp-hearts .heart-decor {
    color: var(--color-rose);
}

/* ===== FINAL SECTION (Light) ===== */
.final-section {
    padding: 75px 25px 100px;
    background: var(--color-cream);
    text-align: center;
    position: relative;
    color: var(--color-text-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.final-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 180px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C200,150 380,10 580,90 C780,170 920,140 1100,60 C1240,10 1370,50 1440,80 L1440,180 L0,180 Z' fill='%23004B5F'/%3E%3Cpath d='M0,60 C200,150 380,10 580,90 C780,170 920,140 1100,60 C1240,10 1370,50 1440,80' fill='none' stroke='%23C7A96B' stroke-width='2' opacity='0.6'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: 100% 180px;
    pointer-events: none;
    z-index: 3;
}

.final-ornament {
    font-size: 1.4rem;
    color: var(--color-gold);
    margin: 0 12px;
    display: inline-block;
    opacity: 0.35;
    font-family: var(--font-serif);
}

.final-message {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    font-style: italic;
    color: var(--color-text-dark);
    margin: 35px auto;
    max-width: 600px;
    line-height: 1.9;
}

.final-names {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-gold);
    letter-spacing: 10px;
    margin-top: 40px;
    opacity: 0.85;
}

.final-year {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--color-teal-dark);
    letter-spacing: 4px;
    margin-top: 18px;
    opacity: 0.5;
}

/* ===== FOOTER ===== */
.footer {
    padding: 40px 25px;
    background: var(--color-teal-dark);
    text-align: center;
}

.footer p {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-text-light);
    opacity: 0.7;
}

/* ===== MOBILE (max-width: 768px) ===== */
@media (max-width: 768px) {
    body {
        line-height: 1.85;
    }

    /* --- Ornaments: below content on mobile --- */
    .ornament {
        width: 160px;
        height: 160px;
        opacity: 0.15;
        z-index: 1;
    }

    .ornament-side {
        width: 80px;
        height: 300px;
        opacity: 0.15;
        z-index: 1;
    }

    /* --- Content safe zone --- */
    .section-content {
        max-width: 360px;
        width: 100%;
        padding: 0 16px;
        position: relative;
        z-index: 5;
    }

    .section-title {
        font-size: clamp(2.2rem, 8vw, 3rem);
        line-height: 1.15;
        letter-spacing: 3px;
        margin-bottom: 28px;
    }

    .btn {
        padding: 18px 40px;
        font-size: 1rem;
        letter-spacing: 3px;
    }

    .decorative-line {
        margin: 0 0 20px;
    }

    .decorative-line .line {
        width: 30px;
    }

    .gold-divider {
        max-width: 280px;
        gap: 14px;
        margin: 16px auto 28px;
    }

    /* --- Wave height reduction (all sections) --- */
    .names-hero::after,
    .story-section::after,
    .calendar-section::after,
    .welcome-section::after,
    .program-section::after,
    .dresscode-section::after,
    .no-cryk-section::after,
    .gift-section::after,
    .wishes-section::after,
    .location-section::after,
    .countdown-section::after,
    .rsvp-section::after,
    .final-section::after {
        height: 90px;
        background-size: 100% 90px;
    }

    .story-section::before {
        height: 70px;
        background-size: 100% 70px;
    }

    /* --- Hero --- */
    .names-hero {
        padding: 60px 16px 100px;
        min-height: 100svh;
    }

    .names-hero-content {
        z-index: 5;
    }

    .hero-photo {
        object-position: center 22%;
    }

    .name-first,
    .name-second {
        font-size: clamp(3rem, 11vw, 4.5rem);
        letter-spacing: 8px;
    }

    .name-ampersand {
        font-size: clamp(1.8rem, 5vw, 2.4rem);
        margin: 10px 0;
    }

    .hero-date {
        margin: 24px 0 0;
        gap: 12px;
    }

    .date-separator {
        font-size: 0.9rem;
    }

    .date-text {
        font-size: 1.1rem;
        letter-spacing: 5px;
    }

    .hero-invite {
        margin: 24px auto 28px;
        font-size: 1.1rem;
        max-width: 360px;
    }

    .hero-btn {
        padding: 16px 40px;
        font-size: 0.85rem;
    }

    /* --- Story (teal + waves) --- */
    .story-section {
        padding: 100px 18px 130px;
    }

    .story-label {
        font-size: 0.8rem;
        letter-spacing: 5px;
    }

    .story-text {
        font-size: 1.2rem;
        max-width: 320px;
    }

    .story-section .section-title {
        font-size: clamp(2.4rem, 9vw, 3.2rem);
    }

    /* --- Calendar --- */
    .calendar-section {
        padding: 90px 18px 110px;
    }

    .calendar-month {
        font-size: 1.1rem;
        margin-bottom: 28px;
        letter-spacing: 5px;
    }

    .calendar-grid {
        max-width: 340px;
        gap: 6px;
        padding: 24px 18px;
    }

    .calendar-day-name {
        font-size: 0.75rem;
    }

    .calendar-date {
        font-size: 1.15rem;
        padding: 10px 3px;
    }

    .calendar-day.wedding-day,
    .calendar-day.wedding-day span {
        font-size: 1.15rem !important;
    }

    .calendar-day.wedding-day .heart-svg {
        width: 38px;
        height: 38px;
    }

    .heart-svg {
        width: 32px;
        height: 32px;
    }

    .heart-text {
        font-size: 14px;
    }

    /* --- Welcome (teal + wave) --- */
    .welcome-section {
        padding: 110px 18px 130px;
    }

    .welcome-message {
        font-size: 1.3rem;
        max-width: 320px;
        margin: 20px auto;
    }

    .welcome-hearts {
        margin-top: 22px;
    }

    .welcome-hearts .heart-decor {
        font-size: 1.6rem;
    }

    /* --- Program --- */
    .program-section {
        padding: 90px 18px 140px;
    }

    .program-list {
        gap: 18px;
        margin-top: 10px;
    }

    .program-item {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        padding: 20px 22px;
        gap: 16px;
    }

    .program-icon {
        width: 46px;
        height: 46px;
        font-size: 1.3rem;
    }

    .program-time {
        font-size: 1.25rem;
    }

    .program-text {
        font-size: 1.05rem;
    }

    /* --- Dress Code (teal + wave) --- */
    .dresscode-section {
        padding: 110px 18px 130px;
    }

    .dresscode-text {
        font-size: 1.3rem;
        max-width: 320px;
    }

    .dresscode-subtitle {
        font-size: 1.1rem;
    }

    /* --- No cryk --- */
    .no-cryk-section {
        padding: 90px 18px 110px;
    }

    .no-cryk-text {
        font-size: 1.2rem;
        max-width: 320px;
    }

    /* --- Gift (teal + wave) --- */
    .gift-section {
        padding: 110px 18px 130px;
    }

    .gift-text {
        font-size: 1.2rem;
        max-width: 320px;
    }

    /* --- Wishes --- */
    .wishes-section {
        padding: 90px 18px 110px;
    }

    .organizer-note {
        font-size: 1.1rem;
    }

    .organizer-phone {
        font-size: 1.3rem;
    }

    /* --- Location (teal + wave) --- */
    .location-section {
        padding: 110px 18px 130px;
    }

    .location-icon {
        font-size: 2rem;
    }

    .location-address {
        font-size: 1.2rem;
        max-width: 320px;
    }

    /* --- Countdown (2×2 grid) --- */
    .countdown-section {
        padding: 90px 18px 110px;
    }

    .countdown {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 14px;
        max-width: 320px;
        margin: 30px auto 0;
    }

    .countdown-item {
        min-width: auto;
    }

    .countdown-number {
        font-size: clamp(2.8rem, 12vw, 4rem);
    }

    .countdown-label {
        font-size: 0.8rem;
        letter-spacing: 3px;
        margin-top: 10px;
    }

    .countdown-separator {
        display: none;
    }

    /* --- RSVP (teal + wave) --- */
    .rsvp-section {
        padding: 110px 18px 130px;
    }

    .rsvp-section .section-title {
        font-size: clamp(2rem, 9vw, 2.8rem);
        line-height: 1.15;
    }

    .rsvp-text {
        font-size: 1.2rem;
        max-width: 320px;
    }

    .rsvp-btn {
        width: 100%;
        max-width: 320px;
        padding: 18px 24px;
        font-size: 0.9rem;
        letter-spacing: 4px;
        line-height: 1.5;
        white-space: normal;
    }

    .rsvp-hearts {
        margin-top: 28px;
    }

    /* --- Final --- */
    .final-section {
        padding: 90px 18px 100px;
    }

    .final-ornament {
        font-size: 1.2rem;
    }

    .final-message {
        font-size: 1.3rem;
        max-width: 320px;
        margin: 24px auto;
    }

    .final-names {
        font-size: 1.8rem;
        letter-spacing: 5px;
        margin-top: 28px;
    }

    .final-year {
        font-size: 0.8rem;
    }

    .footer {
        padding: 28px 18px;
    }

    .footer p {
        font-size: 1.05rem;
    }
}

/* ===== SMALL MOBILE (max-width: 480px) ===== */
@media (max-width: 480px) {
    body {
        line-height: 1.9;
    }

    /* --- Ornaments: below content --- */
    .ornament {
        width: 120px;
        height: 120px;
        opacity: 0.12;
        z-index: 1;
    }

    .ornament-side {
        width: 60px;
        height: 200px;
        opacity: 0.12;
        z-index: 1;
    }

    /* --- Content safe zone --- */
    .section-content {
        max-width: 340px;
        width: 100%;
        padding: 0 14px;
        position: relative;
        z-index: 5;
    }

    .section-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
        margin-bottom: 24px;
        letter-spacing: 2px;
    }

    .btn {
        padding: 16px 36px;
        font-size: 0.85rem;
    }

    .gold-divider {
        max-width: 240px;
        gap: 12px;
        margin: 14px auto 24px;
    }

    /* --- Wave height reduction (all sections) --- */
    .names-hero::after,
    .story-section::after,
    .calendar-section::after,
    .welcome-section::after,
    .program-section::after,
    .dresscode-section::after,
    .no-cryk-section::after,
    .gift-section::after,
    .wishes-section::after,
    .location-section::after,
    .countdown-section::after,
    .rsvp-section::after,
    .final-section::after {
        height: 70px;
        background-size: 100% 70px;
    }

    .story-section::before {
        height: 55px;
        background-size: 100% 55px;
    }

    /* --- Hero --- */
    .names-hero {
        padding: 50px 14px 80px;
        min-height: 100svh;
    }

    .names-hero-content {
        z-index: 5;
    }

    .hero-photo {
        object-position: center 22%;
    }

    .name-first,
    .name-second {
        font-size: clamp(2.5rem, 12vw, 3.5rem);
        letter-spacing: 6px;
    }

    .name-ampersand {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin: 8px 0;
    }

    .hero-date {
        margin: 20px 0 0;
        gap: 10px;
    }

    .date-separator {
        font-size: 0.85rem;
    }

    .date-text {
        font-size: 1rem;
        letter-spacing: 4px;
    }

    .hero-invite {
        margin: 22px auto 24px;
        font-size: 1rem;
        max-width: 300px;
    }

    .hero-btn {
        padding: 14px 32px;
        font-size: 0.8rem;
    }

    /* --- Story (teal + waves) --- */
    .story-section {
        padding: 80px 14px 100px;
    }

    .story-label {
        font-size: 0.75rem;
        letter-spacing: 4px;
    }

    .story-text {
        font-size: 1.1rem;
        max-width: 300px;
    }

    .story-section .section-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
    }

    /* --- Calendar --- */
    .calendar-section {
        padding: 70px 14px 90px;
    }

    .calendar-month {
        font-size: 1rem;
        margin-bottom: 24px;
        letter-spacing: 4px;
    }

    .calendar-grid {
        max-width: 300px;
        gap: 5px;
        padding: 20px 14px;
    }

    .calendar-day-name {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }

    .calendar-date {
        font-size: 1.05rem;
        padding: 8px 2px;
    }

    .calendar-day.wedding-day,
    .calendar-day.wedding-day span {
        font-size: 1.05rem !important;
    }

    .calendar-day.wedding-day .heart-svg {
        width: 34px;
        height: 34px;
    }

    .heart-svg {
        width: 28px;
        height: 28px;
    }

    .heart-text {
        font-size: 12px;
    }

    /* --- Welcome (teal + wave) --- */
    .welcome-section {
        padding: 85px 14px 100px;
    }

    .welcome-message {
        font-size: 1.2rem;
        max-width: 300px;
        margin: 18px auto;
    }

    .welcome-hearts .heart-decor {
        font-size: 1.5rem;
    }

    /* --- Program (extra bottom for cards) --- */
    .program-section {
        padding: 70px 14px 110px;
    }

    .program-list {
        gap: 16px;
        margin-top: 8px;
    }

    .program-item {
        width: 100%;
        max-width: 300px;
        padding: 16px 18px;
        gap: 14px;
    }

    .program-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .program-time {
        font-size: 1.15rem;
    }

    .program-text {
        font-size: 1rem;
    }

    /* --- Dress Code (teal + wave) --- */
    .dresscode-section {
        padding: 85px 14px 100px;
    }

    .dresscode-text {
        font-size: 1.2rem;
        max-width: 300px;
        padding: 0;
    }

    /* --- No cryk --- */
    .no-cryk-section {
        padding: 70px 14px 90px;
    }

    .no-cryk-text {
        font-size: 1.1rem;
        max-width: 300px;
    }

    /* --- Gift (teal + wave) --- */
    .gift-section {
        padding: 85px 14px 100px;
    }

    .gift-text {
        font-size: 1.1rem;
        max-width: 300px;
    }

    /* --- Wishes --- */
    .wishes-section {
        padding: 70px 14px 90px;
    }

    .organizer-note {
        font-size: 1rem;
        max-width: 300px;
    }

    .organizer-phone {
        font-size: 1.2rem;
    }

    /* --- Location (teal + wave) --- */
    .location-section {
        padding: 85px 14px 100px;
    }

    .location-icon {
        font-size: 1.8rem;
    }

    .location-address {
        font-size: 1.15rem;
        max-width: 300px;
    }

    /* --- Countdown (2×2 grid) --- */
    .countdown-section {
        padding: 70px 14px 90px;
    }

    .countdown {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 12px;
        max-width: 280px;
        margin: 24px auto 0;
    }

    .countdown-item {
        min-width: auto;
    }

    .countdown-number {
        font-size: clamp(2.2rem, 12vw, 3rem);
    }

    .countdown-label {
        font-size: 0.7rem;
        letter-spacing: 2px;
        margin-top: 8px;
    }

    .countdown-separator {
        display: none;
    }

    /* --- RSVP (teal + wave) --- */
    .rsvp-section {
        padding: 85px 14px 100px;
    }

    .rsvp-section .section-title {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }

    .rsvp-text {
        font-size: 1.1rem;
        max-width: 300px;
    }

    .rsvp-btn {
        width: 100%;
        max-width: 280px;
        padding: 16px 20px;
        font-size: 0.85rem;
        letter-spacing: 3px;
        white-space: normal;
        line-height: 1.5;
    }

    /* --- Final --- */
    .final-section {
        padding: 70px 14px 80px;
    }

    .final-ornament {
        font-size: 1.1rem;
    }

    .final-message {
        font-size: 1.15rem;
        max-width: 300px;
        margin: 20px auto;
    }

    .final-names {
        font-size: 1.5rem;
        letter-spacing: 4px;
        margin-top: 22px;
    }

    .final-year {
        font-size: 0.75rem;
    }

    .footer {
        padding: 22px 14px;
    }

    .footer p {
        font-size: 1rem;
    }
}

/* ── Floating Music Button ── */
#musicToggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1.5px solid #c7a96b;
    background: #004B5F;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    outline: none;
    line-height: 1;
}

#musicToggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(0,0,0,0.35);
}

#musicToggle:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    #musicToggle {
        width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 18px;
        right: 18px;
    }
}


