/* ════════════════════════════════════
   RESET & ROOT
════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg:         #f7f4ef;
    --bg-alt:     #f0ece4;
    --bg-dark:    #1c1a17;
    --gold:       #b8963e;
    --gold-light: #d4af6a;
    --gold-pale:  #e8d5a0;
    --green:      #4a5e3a;
    --green-light:#6b7f5a;
    --text:       #2a2318;
    --text-mid:   #5a5043;
    --text-light: #8a7d6a;
    --white:      #ffffff;
    --radius:     20px;
    --ff-display: 'Playfair Display', serif;
    --ff-body:    'EB Garamond', serif;
    --ff-cap:     'Cinzel', serif;
    --shadow:     0 8px 40px rgba(0,0,0,0.10);
    --shadow-lg:  0 20px 60px rgba(0,0,0,0.18);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--ff-body);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body.locked { overflow: hidden; height: 100vh; }

img { display: block; max-width: 100%; }
button { font-family: var(--ff-body); cursor: pointer; border: none; }

/* page max width */
.cover, .hero, .prayer, .identity-section,
.quote-section, .event-section, .countdown-section,
.gallery-section, .form-section, .gift-section, .footer {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ════════════════════════════════════
   SCROLL ANIMATIONS
════════════════════════════════════ */
.fade-in {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════
   COVER
════════════════════════════════════ */
.cover {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    z-index: 9999;
}

.cover-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: blur(2px);
    transform: scale(1.06);
    z-index: 0;
}

.cover-vignette {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,
            rgba(20,16,10,0.55) 0%,
            rgba(20,16,10,0.25) 35%,
            rgba(20,16,10,0.40) 60%,
            rgba(20,16,10,0.80) 100%);
    z-index: 1;
}

.cover-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
}

/* TOP */
.cover-top {
    padding-top: 52px;
    text-align: center;
    width: 100%;
}

.c-ornament-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
}
.c-line {
    display: block;
    width: 50px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-pale));
}
.c-ornament-row:last-child .c-line {
    background: linear-gradient(to left, transparent, var(--gold-pale));
}
.c-diamond {
    font-size: 10px;
    color: var(--gold-pale);
    opacity: 0.9;
}

.c-tagline {
    font-family: var(--ff-cap);
    font-size: 10.5px;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--gold-pale);
    margin-bottom: 14px;
    opacity: 0.9;
}

.c-heading {
    font-family: var(--ff-display);
    font-size: clamp(36px, 9vw, 52px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: 1px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
    margin-bottom: 16px;
}

/* MID */
.cover-mid {
    margin: auto 0;
    text-align: center;
    width: 100%;
    padding: 20px 0;
}

.c-names {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-family: var(--ff-display);
    font-size: clamp(18px, 5vw, 24px);
    font-style: italic;
    color: var(--white);
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
    margin-bottom: 12px;
}
.c-names em {
    font-style: normal;
    font-size: 10px;
    color: var(--gold-pale);
    opacity: 0.8;
}

.c-date {
    font-family: var(--ff-cap);
    font-size: 13px;
    letter-spacing: 5px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 24px;
}

.c-thin-line {
    width: 50px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
    margin: 0 auto 20px;
}

.c-guest-label {
    font-family: var(--ff-cap);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 10px;
}

.c-guest-box {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 12px;
    padding: 12px 36px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
}
.c-guest-box span {
    font-family: var(--ff-display);
    font-size: clamp(22px, 6vw, 30px);
    font-weight: 500;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

/* BOT */
.cover-bot {
    padding-bottom: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.c-btn {
    width: 100%;
    max-width: 320px;
    background: var(--green);
    color: var(--white);
    font-family: var(--ff-cap);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 17px 0;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(74,94,58,0.45);
    transition: all 0.3s;
}
.c-btn:hover { background: var(--green-light); transform: translateY(-2px); }

.c-scroll-arrow {
    width: 22px;
    height: 22px;
    border-right: 1.5px solid rgba(255,255,255,0.5);
    border-bottom: 1.5px solid rgba(255,255,255,0.5);
    transform: rotate(45deg);
    animation: arrowBounce 1.8s infinite;
}
@keyframes arrowBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.5; }
    50% { transform: rotate(45deg) translateY(5px); opacity: 1; }
}

/* ════════════════════════════════════
   HERO
════════════════════════════════════ */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    cursor: pointer;
    background: #000;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1.2s ease;
    animation: kenBurns 18s alternate infinite;
}
@keyframes kenBurns {
    from { transform: scale(1); }
    to { transform: scale(1.12); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 28px;
    gap: 14px;
}

.hero-ornament { font-size: 14px; color: var(--gold-pale); opacity: 0.8; }

.hero-names {
    font-family: var(--ff-display);
    font-size: clamp(28px, 7vw, 42px);
    font-weight: 400;
    color: var(--white);
    line-height: 1.5;
    text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.hero-names em { font-size: 0.65em; opacity: 0.7; color: var(--gold-pale); }

.hero-date {
    font-family: var(--ff-cap);
    font-size: 13px;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.8);
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 3;
}
.hero-wave svg { width: 100%; height: 100%; }

/* ════════════════════════════════════
   PRAYER
════════════════════════════════════ */
.prayer {
    background: var(--bg);
    padding: 80px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.prayer-flower {
    width: 130px;
    margin: 0 auto 28px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.08));
}

.prayer-om {
    font-family: var(--ff-display);
    font-size: 30px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.prayer-rule {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin: 0 auto 28px;
}

.prayer-text {
    font-size: 17px;
    font-style: italic;
    line-height: 1.9;
    color: var(--text-mid);
    max-width: 380px;
    margin: 0 auto;
}

/* ════════════════════════════════════
   SHARED SECTION HEADER
════════════════════════════════════ */
.sec-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
    padding: 0 28px;
}
.sec-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-light));
}
.sec-header > .sec-line:last-child {
    background: linear-gradient(to left, transparent, var(--gold-light));
}
.sec-label {
    font-family: var(--ff-cap);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    white-space: nowrap;
}
.sec-title {
    font-family: var(--ff-display);
    font-size: 32px;
    font-weight: 500;
    color: var(--text);
    text-align: center;
    margin-bottom: 28px;
    padding: 0 28px;
}

/* ════════════════════════════════════
   IDENTITY
════════════════════════════════════ */
.identity-section {
    background: var(--bg-alt);
    padding: 60px 0 70px;
}

.id-card {
    margin: 0 20px;
    border: 1.5px solid rgba(184,150,62,0.35);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

/* gold corner accents */
.id-card::before, .id-card::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border-color: var(--gold);
    border-style: solid;
    z-index: 1;
}
.id-card::before { top: -1px; left: -1px; border-width: 2.5px 0 0 2.5px; border-radius: 6px 0 0 0; }
.id-card::after  { bottom: -1px; right: -1px; border-width: 0 2.5px 2.5px 0; border-radius: 0 0 6px 0; }

.id-person {
    padding: 28px 28px 32px;
    text-align: center;
}

.id-badge {
    display: inline-block;
    font-family: var(--ff-cap);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--green);
    border: 1px solid rgba(74,94,58,0.3);
    border-radius: 50px;
    padding: 5px 18px;
    margin-bottom: 20px;
    background: rgba(74,94,58,0.04);
}

/* arch photo */
.id-photo-arch {
    width: 260px;
    height: 350px;
    margin: 0 auto 20px;
    border-radius: 130px 130px 0 0;
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow: 0 12px 35px rgba(0,0,0,0.14);
    position: relative;
}
.id-photo-arch::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(184,150,62,0.3);
    border-radius: 138px 138px 0 0;
    z-index: 1;
    pointer-events: none;
}
.id-photo-arch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.id-name {
    font-family: var(--ff-display);
    font-size: 24px;
    font-weight: 500;
    color: var(--green);
    margin-bottom: 4px;
}

.id-rule {
    width: 50px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin: 10px auto 14px;
}

.id-from {
    font-size: 14px;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 6px;
}

.id-parent {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    margin: 3px 0;
}

.id-amp {
    font-size: 13px;
    color: var(--gold);
    margin: 4px 0;
}

/* separator between persons */
.id-sep {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 4px 40px;
    background: var(--bg-alt);
}
.id-sep-line { flex: 1; height: 1px; background: linear-gradient(to right, transparent, rgba(184,150,62,0.4), transparent); }
.id-sep span { font-size: 12px; color: var(--gold); }

/* ════════════════════════════════════
   QUOTE
════════════════════════════════════ */
.quote-section {
    background: var(--bg-dark);
    padding: 80px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quote-bg-word {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--ff-display);
    font-size: clamp(80px, 22vw, 130px);
    font-weight: 700;
    color: rgba(255,255,255,0.03);
    pointer-events: none;
    white-space: nowrap;
    letter-spacing: 6px;
}

.q-mark {
    font-family: var(--ff-display);
    font-size: 80px;
    color: var(--gold);
    line-height: 0.5;
    opacity: 0.4;
    margin-bottom: 28px;
}

.q-text {
    font-family: var(--ff-display);
    font-size: 18px;
    font-style: italic;
    line-height: 1.9;
    color: rgba(255,255,255,0.85);
    margin-bottom: 16px;
}

.q-source {
    font-family: var(--ff-cap);
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--gold-pale);
    margin-bottom: 28px;
}

.q-rule {
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin: 0 auto 28px;
}

.q-translation {
    font-size: 16px;
    font-style: italic;
    line-height: 2;
    color: rgba(255,255,255,0.65);
}

/* ════════════════════════════════════
   EVENT
════════════════════════════════════ */
.event-section {
    background: var(--bg);
    padding: 70px 20px;
}

.event-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
    margin-bottom: 40px;
}

.event-photo-wrap {
    position: relative;
    height: 420px;
    overflow: hidden;
}
.event-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}
.event-photo-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 35%;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.98));
}

.event-body { padding: 8px 28px 32px; }

.event-name {
    font-family: var(--ff-display);
    font-size: 38px;
    font-style: italic;
    font-weight: 400;
    color: var(--green);
    margin-bottom: 20px;
    text-align: center;
}

.event-rows { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }

.event-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: var(--text-mid);
}
.event-row svg { flex-shrink: 0; color: var(--gold); margin-top: 2px; }

.map-btn {
    width: 100%;
    background: var(--green);
    color: var(--white);
    font-family: var(--ff-cap);
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 15px;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(74,94,58,0.3);
}
.map-btn:hover { background: var(--green-light); transform: translateY(-2px); }

.event-msg {
    font-size: 16px;
    font-style: italic;
    text-align: center;
    color: var(--text-mid);
    line-height: 1.9;
    padding: 0 8px;
    margin-bottom: 32px;
}

.event-sig { text-align: center; }
.sig-rule { width: 80px; height: 1px; background: linear-gradient(to right, transparent, var(--gold), transparent); margin: 0 auto 16px; }
.event-sig p { font-size: 15px; font-style: italic; color: var(--text-light); margin: 6px 0; }
.sig-name { color: var(--green); font-weight: 500; font-style: normal !important; }

/* ════════════════════════════════════
   COUNTDOWN
════════════════════════════════════ */
.countdown-section {
    background: var(--bg-alt);
    padding: 60px 20px;
    text-align: center;
}

.cd-photo-wrap {
    width: 100%;
    max-width: 360px;
    margin: 0 auto 32px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(184,150,62,0.3);
    padding: 6px;
    background: var(--white);
    box-shadow: var(--shadow);
}
.cd-photo-wrap img {
    width: 100%;
    border-radius: 12px;
    transition: opacity 0.8s ease;
}

.cd-title {
    font-family: var(--ff-display);
    font-size: 22px;
    font-style: italic;
    color: var(--text);
    margin-bottom: 28px;
}

.cd-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 380px;
    margin: 0 auto;
}

.cd-item {
    background: var(--white);
    border: 1px solid rgba(184,150,62,0.25);
    border-radius: 14px;
    padding: 20px 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.cd-num {
    font-family: var(--ff-display);
    font-size: 36px;
    font-weight: 600;
    color: var(--text);
    line-height: 1;
}
.cd-lbl {
    font-family: var(--ff-cap);
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
}

/* ════════════════════════════════════
   GALLERY
════════════════════════════════════ */
.gallery-section {
    background: var(--white);
    padding: 70px 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.g-item {
    aspect-ratio: 1;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0,0,0,0.10);
    transition: transform 0.3s, box-shadow 0.3s;
}
.g-item:hover { transform: scale(1.03); box-shadow: 0 12px 30px rgba(0,0,0,0.18); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.g-item:hover img { transform: scale(1.08); }

/* ════════════════════════════════════
   LIGHTBOX
════════════════════════════════════ */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.93);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
.lightbox.active { display: flex; }

.lb-wrap { max-width: 90vw; max-height: 85vh; display: flex; align-items: center; }
.lb-wrap img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    animation: lbIn 0.3s ease;
    transition: opacity 0.2s;
}
@keyframes lbIn { from { opacity: 0; transform: scale(0.93); } to { opacity: 1; transform: scale(1); } }

.lb-close {
    position: fixed; top: 18px; right: 22px;
    background: rgba(255,255,255,0.12);
    color: #fff; width: 44px; height: 44px;
    border-radius: 50%; font-size: 17px;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s; z-index: 100001;
}
.lb-close:hover { background: rgba(255,255,255,0.25); }

.lb-prev, .lb-next {
    position: fixed; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.10); color: #fff;
    width: 48px; height: 48px; border-radius: 50%;
    font-size: 28px; display: flex; align-items: center; justify-content: center;
    transition: background 0.2s; z-index: 100001;
}
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.25); }

.lb-counter {
    position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,0.65);
    font-family: var(--ff-cap); font-size: 12px; letter-spacing: 2px;
}

/* ════════════════════════════════════
   FORMS
════════════════════════════════════ */
.form-section { background: var(--bg); padding: 70px 20px; }

.form-desc {
    font-size: 16px;
    font-style: italic;
    color: var(--text-mid);
    text-align: center;
    margin-bottom: 28px;
    line-height: 1.8;
    padding: 0 8px;
}

.form-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(184,150,62,0.12);
}

.fg { margin-bottom: 22px; }

.fg label, .form-card > label {
    display: block;
    font-family: var(--ff-cap);
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 10px;
}

.fg input, .fg select, .fg textarea,
.wish-input, .wish-textarea {
    width: 100%;
    font-family: var(--ff-body);
    font-size: 16px;
    padding: 13px 16px;
    border: 1.5px solid #e5dfd4;
    border-radius: 10px;
    background: var(--bg);
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
}
.fg input:focus, .fg select:focus, .fg textarea:focus,
.wish-input:focus, .wish-textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(74,94,58,0.08);
}

.fg textarea { min-height: 110px; resize: vertical; }

.radio-wrap { display: flex; flex-direction: column; gap: 10px; }
.radio-opt {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 16px;
    border: 1.5px solid #e5dfd4;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    font-size: 15px;
    color: var(--text-mid);
}
.radio-opt:hover { border-color: var(--green); background: rgba(74,94,58,0.03); }
.radio-opt input { accent-color: var(--green); flex-shrink: 0; }

.action-btn {
    width: 100%;
    background: var(--green);
    color: var(--white);
    font-family: var(--ff-cap);
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 16px;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(74,94,58,0.28);
    margin-top: 4px;
}
.action-btn:hover { background: var(--green-light); transform: translateY(-2px); }
.action-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* wishes */
.wish-count {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--ff-cap); font-size: 11px; letter-spacing: 2px;
    color: var(--green); text-transform: uppercase;
    margin-bottom: 20px;
}
.wish-input, .wish-textarea {
    display: block;
    margin-bottom: 14px;
}
.wish-textarea { min-height: 100px; resize: vertical; }

.wishes-list {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 420px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-pale) transparent;
}
.wishes-list::-webkit-scrollbar { width: 4px; }
.wishes-list::-webkit-scrollbar-track { background: transparent; }
.wishes-list::-webkit-scrollbar-thumb { background: var(--gold-pale); border-radius: 4px; }
.wish-item {
    padding: 18px 0;
    border-bottom: 1px solid #f0ece4;
}
.wish-item:last-child { border-bottom: none; }
.wish-author { font-family: var(--ff-display); font-size: 17px; font-weight: 500; color: var(--green); margin-bottom: 4px; }
.wish-time { font-size: 12px; color: var(--text-light); margin-bottom: 8px; }
.wish-text { font-size: 15px; color: var(--text-mid); line-height: 1.7; }

/* ════════════════════════════════════
   GIFT
════════════════════════════════════ */
.gift-section {
    background: var(--bg-alt);
    padding: 70px 20px;
}

.gift-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 28px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(184,150,62,0.15);
}

.gift-bank {
    font-family: var(--ff-display);
    font-size: 40px;
    font-weight: 700;
    color: #003d79;
    margin-bottom: 20px;
}
.gift-label {
    font-family: var(--ff-cap);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 12px;
}
.gift-number {
    font-family: var(--ff-display);
    font-size: 28px;
    letter-spacing: 2px;
    color: var(--green);
    margin-bottom: 8px;
}
.gift-name {
    font-size: 15px;
    color: var(--text-mid);
    margin-bottom: 24px;
}

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
.footer {
    background: var(--bg-dark);
    padding: 64px 28px 48px;
    text-align: center;
    color: rgba(255,255,255,0.7);
}

.footer-ornament {
    font-size: 18px;
    color: var(--gold);
    margin-bottom: 24px;
    opacity: 0.7;
}

.footer-thanks {
    font-size: 16px;
    font-style: italic;
    line-height: 1.9;
    margin-bottom: 28px;
    color: rgba(255,255,255,0.75);
}

.footer-rule {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin: 0 auto 24px;
}

.footer-family {
    font-family: var(--ff-cap);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: 10px;
}

.footer-name {
    font-family: var(--ff-display);
    font-size: 20px;
    font-weight: 500;
    color: var(--gold-pale);
    margin-bottom: 36px;
}

.footer-credit {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    line-height: 1.9;
}
.footer-credit strong { color: var(--gold-pale); }

/* ════════════════════════════════════
   MUSIC BUTTON
════════════════════════════════════ */
.music-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 52px;
    height: 52px;
    background: var(--green);
    color: var(--white);
    border: 2.5px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(74,94,58,0.4);
    z-index: 1000;
    transition: all 0.3s;
}
.music-btn:hover { transform: scale(1.1); }
.music-btn.playing { animation: musicPulse 2s infinite; }

@keyframes musicPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 24px rgba(74,94,58,0.4); }
    50% { transform: scale(1.08); box-shadow: 0 12px 32px rgba(74,94,58,0.55); }
}

@media (min-width: 769px) {
    .music-btn { right: calc((100vw - 480px) / 2 + 28px); }
}

/* ════════════════════════════════════
   RESPONSIVE
════════════════════════════════════ */
@media (max-width: 380px) {
    .c-heading { font-size: 32px; }
    .c-names { font-size: 16px; }
    .cd-grid { gap: 7px; }
    .cd-num { font-size: 28px; }
    .id-photo-arch { width: 170px; height: 230px; }
}