:root {
    --cream: #faf5ee;
    --warm-white: #fdf9f4;
    --gold: #c9a96e;
    --gold-light: #e2c994;
    --gold-dark: #a07840;
    --brown: #7a5c3a;
    --brown-light: #c4a882;
    --brown-dark: #4a3520;
    --rose: #d4a5a5;
    --rose-light: #f0ddd8;
    --text-dark: #2c1a0e;
    --text-mid: #6b4c30;
    --text-light: #a08060;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--text-dark);
    font-family: 'Jost', sans-serif;
    overflow-x: hidden;
}

/* ===== COVER ===== */
#cover {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: var(--brown-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

#cover.hide {
    opacity: 0;
    transform: scale(1.04);
    pointer-events: none;
}

.section-greeting {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text-mid);
    margin-bottom: 0.5rem;
}

.cover-guest {
    color: rgba(255, 255, 255, 0.75);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(201, 169, 110, 0.3);
    padding: 0.8rem 1.8rem;
    background: rgba(255, 255, 255, 0.04);
    letter-spacing: 0.05em;
}

.cover-guest strong {
    color: var(--gold-light);
    font-weight: 500;
}

.floral-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(ellipse at 20% 20%, rgba(201, 169, 110, 0.15) 0%, transparent 50%), radial-gradient(ellipse at 80% 80%, rgba(201, 169, 110, 0.12) 0%, transparent 50%), radial-gradient(ellipse at 50% 50%, rgba(122, 92, 58, 0.1) 0%, transparent 70%);
}

.floral-corner {
    position: absolute;
    width: 260px;
    height: 260px;
    opacity: 0.35;
}

.watermark {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: #c9a96e;
    z-index: 999;
    pointer-events: auto;
    text-align: center;
    backdrop-filter: blur(3px);
}

.arabic-font {
    font-family: 'Amiri', serif;
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .arabic-font {
        font-size: 2rem;
    }
}

.watermark a {
    color: #c9a96e;
    text-decoration: none;
    transition: 0.3s;
}

.watermark a:hover {
    color: #fff;
}

.floral-corner svg {
    width: 100%;
    height: 100%;
}

.fc-tl {
    top: 0;
    left: 0;
    transform-origin: top left;
}

.fc-tr {
    top: 0;
    right: 0;
    transform: scaleX(-1);
    transform-origin: top right;
}

.fc-bl {
    bottom: 0;
    left: 0;
    transform: scaleY(-1);
    transform-origin: bottom left;
}

.fc-br {
    bottom: 0;
    right: 0;
    transform: scale(-1);
    transform-origin: bottom right;
}

.cover-border {
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(201, 169, 110, 0.4);
    pointer-events: none;
}

.cover-border::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(201, 169, 110, 0.2);
}

.cover-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.cover-bismillah {
    color: var(--gold-light);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.cover-subtitle {
    color: var(--brown-light);
    font-family: 'Jost', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.cover-names {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(3.5rem, 10vw, 6rem);
    color: var(--gold-light);
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(201, 169, 110, 0.3);
}

.cover-amp {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--gold);
    display: block;
    margin: -0.3rem 0;
}

.cover-divider {
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 1.5rem auto;
}

.cover-invite-text {
    color: var(--brown-light);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    letter-spacing: 0.1em;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.cover-date {
    color: var(--gold-light);
    font-family: 'Jost', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.btn-open {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font-family: 'Jost', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    cursor: pointer;
    background: transparent;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
}

.btn-open::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: -1;
}

.btn-open:hover {
    color: var(--brown-dark);
}

.btn-open:hover::before {
    transform: translateX(0);
}

/* ===== MAIN CONTENT ===== */
#main {
    display: none;
}

#main.show {
    display: block;
}

/* ===== SECTION BASE ===== */
section {
    padding: 5rem 1.5rem;
}

.section-label {
    font-family: 'Jost', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--brown);
    line-height: 1.2;
}

.section-title-serif {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--brown);
    font-weight: 300;
}

.gold-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem auto;
    max-width: 300px;
}

.gold-divider span {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.gold-divider span:last-child {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.gold-divider i {
    color: var(--gold);
    font-size: 1rem;
}

/* ===== FADE IN ANIMATION ===== */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

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

.fade-up-delay-1 {
    transition-delay: 0.1s;
}

.fade-up-delay-2 {
    transition-delay: 0.2s;
}

.fade-up-delay-3 {
    transition-delay: 0.3s;
}

.fade-up-delay-4 {
    transition-delay: 0.4s;
}

/* ===== SECTION INTRO ===== */
#intro {
    background: var(--warm-white);
    text-align: center;
}

.photo-frame {
    position: relative;
    display: inline-block;
    width: 220px;
    height: 280px;
    margin-bottom: 2rem;
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-frame::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid var(--gold-light);
    z-index: 0;
}

.photo-frame::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--brown-light);
    z-index: 0;
    opacity: 0.5;
}

.photo-frame img {
    position: relative;
    z-index: 1;
}

.quran-verse {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-mid);
    max-width: 500px;
    margin: 0 auto 0.5rem;
    line-height: 1.8;
}

.quran-source {
    font-size: 0.75rem;
    color: var(--gold-dark);
    letter-spacing: 0.15em;
}

.countdown-wrap {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    min-width: 70px;
}

.countdown-num {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 300;
    color: var(--brown);
    line-height: 1;
    border: 1px solid var(--gold-light);
    padding: 0.5rem 0.8rem;
    background: linear-gradient(135deg, var(--warm-white), var(--rose-light));
    min-width: 72px;
}

.countdown-label {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-top: 0.4rem;
}

/* ===== SECTION MEMPELAI ===== */
#mempelai {
    background: var(--cream);
}

.mempelai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .mempelai-grid {
        grid-template-columns: 1fr;
    }
}

.mempelai-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--warm-white);
    border: 1px solid rgba(201, 169, 110, 0.3);
    position: relative;
}

.mempelai-card::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid rgba(201, 169, 110, 0.15);
    pointer-events: none;
}

.mempelai-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--cream);
    box-shadow:
        0 0 0 2px var(--gold),
        0 0 0 6px var(--cream),
        0 0 0 7px var(--gold-light);
    margin-bottom: 1.2rem;
}

.mempelai-putra-putri {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.3rem;
}

.mempelai-name {
    font-family: 'Great Vibes', cursive;
    font-size: 2.2rem;
    color: var(--brown);
    margin-bottom: 0.2rem;
}

.mempelai-fullname {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.9rem;
    color: var(--text-mid);
    font-style: italic;
    margin-bottom: 1rem;
}

.mempelai-parents {
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.8;
}

.mempelai-parents strong {
    color: var(--text-mid);
    font-weight: 500;
}

.mempelai-separator {
    font-family: 'Great Vibes', cursive;
    font-size: 3rem;
    color: var(--gold-light);
    text-align: center;
    margin: 0 0 1rem;
}

/* ===== SECTION DATE & MAPS ===== */
#savethedate {
    background: linear-gradient(160deg, var(--brown-dark), #3a2510);
    color: var(--cream);
    text-align: center;
}

#savethedate .section-label {
    color: var(--gold-light);
}

#savethedate .section-title {
    color: var(--gold-light);
}

.event-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 700px;
    margin: 2rem auto;
}

@media (max-width: 600px) {
    .event-cards {
        grid-template-columns: 1fr;
    }
}

.event-card {
    border: 1px solid rgba(201, 169, 110, 0.4);
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    position: relative;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 1px solid rgba(201, 169, 110, 0.15);
    pointer-events: none;
}

.event-type {
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.6rem;
}

.event-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--gold-light);
    margin-bottom: 0.8rem;
}

.event-time {
    font-family: 'Jost', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--brown-light);
    margin-bottom: 0.3rem;
}

.event-venue {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.btn-maps {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        background 0.3s,
        color 0.3s;
    cursor: pointer;
    background: transparent;
}

.btn-maps:hover {
    background: var(--gold);
    color: var(--brown-dark);
}

.map-embed {
    max-width: 700px;
    margin: 2rem auto 0;
    overflow: hidden;
    border: 2px solid rgba(201, 169, 110, 0.3);
}

.map-embed iframe {
    width: 100%;
    height: 260px;
    display: block;
    filter: sepia(0.3) saturate(0.8);
}

/* ===== SECTION OUR STORY ===== */
#ourstory {
    background: var(--warm-white);
}

.timeline {
    position: relative;
    max-width: 600px;
    margin: 3rem auto 0;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--gold-light), var(--gold), var(--gold-light), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 2rem;
}

.timeline-dot {
    position: absolute;
    left: -2.45rem;
    top: 0.3rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--warm-white);
    border: 2px solid var(--gold);
    box-shadow: 0 0 0 4px var(--warm-white);
}

.timeline-year {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 0.3rem;
}

.timeline-event {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: var(--brown);
    margin-bottom: 0.3rem;
}

.timeline-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== SECTION GALLERY ===== */
#gallery {
    background: var(--cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 0.6rem;
    max-width: 900px;
    margin: 2rem auto 0;
}

.gallery-item {
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition:
        transform 0.6s ease,
        filter 0.4s ease;
    filter: sepia(0.1) saturate(0.9);
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: sepia(0) saturate(1.1);
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.2), rgba(74, 53, 32, 0.2));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item {
    cursor: pointer;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(15, 11, 9, 0.78);
    padding: 1rem;
}

.lightbox.show {
    display: flex;
}

.lightbox-body {
    position: relative;
    width: min(100%, 1024px);
    max-height: 90vh;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 1rem;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.lightbox-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.lightbox-button {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: var(--gold-light);
    padding: 0.55rem 0.95rem;
    border-radius: 0.65rem;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.2s ease;
}

.lightbox-button:hover {
    background: rgba(255, 255, 255, 0.22);
}

.lightbox-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.lightbox-inner {
    width: 100%;
    height: calc(80vh - 4.2rem);
    overflow: hidden;
    position: relative;
    border-radius: 1rem;
    background: rgba(0, 0, 0, 0.17);
}

.lightbox-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
    touch-action: none;
    transform-origin: center center;
    transition: transform 0.15s ease;
    cursor: grab;
}

.lightbox-img.dragging {
    cursor: grabbing;
}

.lightbox-caption {
    margin-top: 0.75rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
}

.rsvp-alert {
    display: none;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
    border-radius: 0.55rem;
    border: 1px solid transparent;
    font-size: 0.92rem;
}

.rsvp-alert.show {
    display: block;
}

.rsvp-alert.alert-success {
    color: #0f5132;
    background: #d1e7dd;
    border-color: #badbcc;
}

.rsvp-alert.alert-danger {
    color: #842029;
    background: #f8d7da;
    border-color: #f5c2c7;
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.tall {
        grid-row: span 1;
    }

    .gallery-item.wide {
        grid-column: span 1;
    }
}

/* ===== GALLERY PLACEHOLDER COLORS ===== */
.gp1 {
    background: linear-gradient(135deg, #d4b896, #b8906a);
}

.gp2 {
    background: linear-gradient(135deg, #c9a580, #a07855);
}

.gp3 {
    background: linear-gradient(135deg, #e8d5bc, #c4a080);
}

.gp4 {
    background: linear-gradient(135deg, #bfa882, #9a7855);
}

.gp5 {
    background: linear-gradient(135deg, #d8c4a8, #b89878);
}

.gp6 {
    background: linear-gradient(135deg, #c4b090, #a08060);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
}

.gallery-item.tall .gallery-placeholder {
    min-height: 380px;
}

.gallery-placeholder svg {
    opacity: 0.4;
}

.gallery-placeholder span {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.15em;
}

/* ===== SECTION GIFT ===== */
#gift {
    background: var(--warm-white);
}

.gift-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 700px;
    margin: 2rem auto;
}

@media (max-width: 600px) {
    .gift-cards {
        grid-template-columns: 1fr;
    }
}

.bank-card {
    border: 1px solid rgba(201, 169, 110, 0.4);
    padding: 1.8rem;
    background: var(--cream);
    position: relative;
}

.bank-card::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 1px solid rgba(201, 169, 110, 0.15);
    pointer-events: none;
}

.bank-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold-dark);
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
}

.bank-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: var(--brown);
    letter-spacing: 0.1em;
    margin-bottom: 0.3rem;
}

.bank-owner {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 1.2rem;
}

.btn-copy {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border: 1px solid var(--gold);
    color: var(--gold-dark);
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    background: transparent;
    transition:
        background 0.3s,
        color 0.3s;
}

.btn-copy:hover,
.btn-copy.copied {
    background: var(--gold);
    color: var(--brown-dark);
}

.gift-address {
    max-width: 700px;
    margin: 0 auto;
    padding: 1.8rem;
    border: 1px solid rgba(201, 169, 110, 0.4);
    background: var(--cream);
    text-align: center;
}

.gift-address-title {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.8rem;
}

.gift-address-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.8;
}

/* ===== SECTION RSVP ===== */
#rsvp {
    background: var(--cream);
}

.rsvp-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 2rem auto;
}

@media (max-width: 700px) {
    .rsvp-wrap {
        grid-template-columns: 1fr;
    }
}

.rsvp-form-wrap {
    background: var(--warm-white);
    border: 1px solid rgba(201, 169, 110, 0.3);
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(201, 169, 110, 0.4);
    background: var(--cream);
    color: var(--text-dark);
    font-family: 'Jost', sans-serif;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--gold);
}

.form-textarea {
    resize: vertical;
    min-height: 90px;
}

.radio-group {
    display: flex;
    gap: 1rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-mid);
}

.radio-label input {
    accent-color: var(--gold);
}

.btn-submit {
    width: 100%;
    padding: 0.85rem;
    background: var(--brown-dark);
    color: var(--gold-light);
    border: none;
    font-family: 'Jost', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: var(--brown);
}

.wishes-wrap {
    background: var(--warm-white);
    border: 1px solid rgba(201, 169, 110, 0.3);
    padding: 1.5rem;
}

.wishes-title {
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.wishes-list {
    max-height: 380px;
    overflow-y: auto;
    padding-right: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wishes-list::-webkit-scrollbar {
    width: 4px;
}

.wishes-list::-webkit-scrollbar-track {
    background: transparent;
}

.wishes-list::-webkit-scrollbar-thumb {
    background: var(--gold-light);
    border-radius: 2px;
}

.wish-item {
    padding: 1rem;
    background: var(--cream);
    border-left: 2px solid var(--gold-light);
}

.wish-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.95rem;
    color: var(--brown);
    margin-bottom: 0.2rem;
}

.wish-hadir {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 0.4rem;
}

.wish-msg {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.6;
    font-style: italic;
}

/* ===== SECTION TURUT MENGUNDANG ===== */
#mengundang {
    background: var(--warm-white);
    text-align: center;
}

.undang-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 700px;
    margin: 2rem auto;
}

@media (max-width: 600px) {
    .undang-grid {
        grid-template-columns: 1fr;
    }
}

.undang-card {
    border: 1px solid rgba(201, 169, 110, 0.3);
    padding: 2rem 1.5rem;
    background: var(--cream);
}

.undang-from {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.undang-family {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 2.2;
}

.undang-family strong {
    color: var(--brown);
    font-size: 1.05rem;
}

/* ===== SECTION THANKYOU ===== */
#thankyou {
    background: var(--brown-dark);
    color: var(--cream);
    text-align: center;
    padding: 6rem 1.5rem;
    position: relative;
    overflow: hidden;
}

#thankyou::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(201, 169, 110, 0.1) 0%, transparent 70%);
}

.thankyou-content {
    position: relative;
    z-index: 1;
}

.thankyou-sub {
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.thankyou-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 480px;
    margin: 0 auto 1.5rem;
    line-height: 1.9;
    font-style: italic;
}

.thankyou-names {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(3rem, 7vw, 5rem);
    color: var(--gold-light);
    line-height: 1.1;
}

.thankyou-deco {
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 2rem auto;
}

/* ===== MUSIC BUTTON ===== */
#music-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 200;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--brown-dark);
    border: 2px solid var(--gold);
    color: var(--gold-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition:
        transform 0.3s,
        background 0.3s;
    display: none;
}

#music-btn:hover {
    transform: scale(1.1);
    background: var(--gold);
    color: var(--brown-dark);
}

#music-btn.spin svg {
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-light);
}