/* ==========================================================================
   DESIGN TOKENS — mirroring hafeez-hussain-and-fasila.skenllp.com
   ========================================================================== */
:root {
    /* Page & surface colours — #36040b and its variants */
    --bg:            #36040b;   /* Deep Velvet Wine Red / Maroon background */
    --surface:       #45060e;   /* Section background variant */
    --card-bg:       #4d0711;   /* Card surface variant */
    --card-border:   rgba(205, 164, 94, 0.25);

    /* Gold palette */
    --gold:          #cda45e;   /* primary gold */
    --gold-bright:   #e9c883;   /* highlight / hover */
    --gold-dim:      rgba(205, 164, 94, 0.18);
    --gold-line:     rgba(205, 164, 94, 0.35);

    /* Text */
    --text-ivory:    #f2ecdc;   /* headings / primary text */
    --text-muted:    #b0a59f;   /* subtext */
    --text-gold:     #cda45e;

    /* Fonts — exact match to reference site */
    --font-display:  'Cormorant Garamond', serif;   /* large headings, names */
    --font-cinzel:   'Cinzel', serif;               /* eyebrows, section titles */
    --font-body:     'EB Garamond', serif;          /* body paragraphs */
    --font-arabic:   'Amiri', serif;                /* bismillah */

    /* Shadows */
    --shadow-card:   0 8px 40px rgba(0, 0, 0, 0.55);
    --shadow-glow:   0 0 30px rgba(205, 164, 94, 0.10);

    --transition:    all 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
   GLOBAL RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

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

.container {
    width: 90%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 90px 0;
}

.text-center { text-align: center; }

/* Scroll reveal */
.fade-in-element {
    opacity: 0;
    transform: translateY(28px);
    transition: var(--transition);
}
.fade-in-element.visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   TWINKLING STAR BACKGROUND
   ========================================================================== */
.stars-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.stars-layer {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.8) 1px, transparent 1px),
        radial-gradient(circle, rgba(205,164,94,0.4) 1px, transparent 1px);
    background-size: 200px 200px, 350px 350px;
}

.stars-layer.s1 {
    background-size: 180px 180px;
    animation: twinkle1 8s ease-in-out infinite alternate;
    opacity: 0.3;
}
.stars-layer.s2 {
    background-size: 280px 280px;
    background-position: 90px 90px;
    animation: twinkle2 12s ease-in-out infinite alternate;
    opacity: 0.18;
}
.stars-layer.s3 {
    background-size: 420px 420px;
    background-position: 40px 200px;
    animation: twinkle1 18s ease-in-out infinite alternate;
    opacity: 0.12;
}

@keyframes twinkle1 {
    0%   { opacity: 0.10; transform: scale(1); }
    50%  { opacity: 0.35; }
    100% { opacity: 0.10; transform: scale(1.04); }
}
@keyframes twinkle2 {
    0%   { opacity: 0.08; }
    60%  { opacity: 0.28; }
    100% { opacity: 0.08; }
}

/* ==========================================================================
   FLOATING MUSIC BUTTON
   ========================================================================== */
.music-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: 1px solid var(--gold-line);
    color: var(--gold);
    cursor: pointer;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: var(--transition);
    font-size: 0.95rem;
}
.music-btn.hidden { opacity: 0; transform: scale(0); pointer-events: none; }
.music-btn:hover  { border-color: var(--gold); transform: scale(1.1); }
.music-btn.playing i { animation: spinIcon 4s linear infinite; }
@keyframes spinIcon { to { transform: rotate(360deg); } }

/* ==========================================================================
   SECTION 1: ENVELOPE OVERLAY — KEPT IDENTICAL TO ORIGINAL
   ========================================================================== */
.envelope-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #260207 0%, #36040b 50%, #4d0711 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s cubic-bezier(0.77,0,0.175,1),
                visibility 1s cubic-bezier(0.77,0,0.175,1),
                transform 1.2s cubic-bezier(0.77,0,0.175,1);
}
.envelope-overlay.hide-envelope {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    pointer-events: none;
}

.envelope-wrapper {
    position: relative;
    width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.envelope {
    position: relative;
    width: 360px;
    height: 250px;
    background-color: #36040b;
    box-shadow: 0 15px 40px rgba(54,4,11,0.6);
    border-radius: 4px;
    transform-style: preserve-3d;
    perspective: 1000px;
    margin-bottom: 20px;
}

.envelope-flap {
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 0;
    border-left: 180px solid transparent;
    border-right: 180px solid transparent;
    border-top: 130px solid #4d0711;
    transform-origin: top;
    transition: transform 0.6s ease-in-out;
    z-index: 30;
}

.envelope-pocket {
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 0;
    border-left: 180px solid #5a0914;
    border-right: 180px solid #5a0914;
    border-bottom: 125px solid #36040b;
    border-top: 125px solid transparent;
    z-index: 20;
    border-radius: 0 0 4px 4px;
}

.envelope-card {
    position: absolute;
    bottom: 10px; left: 15px;
    width: 330px; height: 220px;
    background-color: #fff;
    border-radius: 4px;
    z-index: 10;
    padding: 15px;
    transition: transform 0.8s cubic-bezier(0.25,1,0.5,1);
    border: 1px solid rgba(212,175,55,0.2);
}

.envelope-card-content {
    border: 1px solid rgba(54,4,11,0.15);
    height: 100%; width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-align: center;
}

.card-ornament { color: #d4af37; font-size: 1.2rem; margin-bottom: 5px; }

.envelope-card-content h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #36040b;
    margin-bottom: 3px;
    font-family: 'Cinzel', serif;
}

.envelope-card-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.1rem;
    color: #36040b;
    margin-bottom: 8px;
    white-space: nowrap;
}

.envelope-date {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: #d4af37;
    margin-bottom: 0;
}

/* Open button — positioned absolutely on top */
.open-btn {
    position: absolute;
    top: 60%; left: 50%;
    transform: translate(-50%, -50%);
    background-color: #4d0711;
    color: #fff;
    border: 2px solid #d4af37;
    padding: 12px 24px;
    border-radius: 30px;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    z-index: 40;
    white-space: nowrap;
}
.open-btn:hover {
    background-color: #36040b;
    border-color: #f3e5ab;
    transform: translate(-50%, -55%);
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}
.envelope.flap-open .open-btn {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.7);
}

.seal-icon { font-size: 0.9rem; color: #f3e5ab; }

.tap-hint {
    color: rgba(255,255,255,0.6);
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 15px;
    animation: pulseHint 2s infinite ease-in-out;
    font-family: 'Cinzel', serif;
}

.envelope.flap-open .envelope-flap   { transform: rotateX(180deg); z-index: 5; }
.envelope.card-slide-up .envelope-card { transform: translateY(-130px); z-index: 25; }

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

/* ==========================================================================
   MAIN CONTENT REVEAL
   ========================================================================== */
.main-content-container { opacity: 1; transition: opacity 1.5s ease-in-out; position: relative; z-index: 1; }
.main-content-container.hidden-content { opacity: 0; height: 100vh; overflow: hidden; }

/* ==========================================================================
   SECTION 2: HERO — FULL-BLEED 100vh IMAGE
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: var(--bg);
}

.hero-content {
    position: relative;
    width: 100%;
    height: 100vh;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-banner-card {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-picture { width: 100%; height: 100vh; display: block; }

.hero-picture img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    display: block;
}

.mobile-break { display: none; }

/* Text overlay inside image — centered vertically & horizontally */
.hero-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    padding: 20px;
    text-align: center;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bismillah {
    font-family: var(--font-arabic);
    font-size: 1.8rem;
    color: #36040b;
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: 0;
}

.hero-sub {
    font-family: var(--font-cinzel);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #4d0711;
    font-weight: 600;
    margin-bottom: 14px;
}

.hero-names {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.8rem);
    font-weight: 600;
    color: #800020; /* Maroon */
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    width: 260px;
}
.hero-divider .line {
    height: 1px;
    flex-grow: 1;
    background: linear-gradient(to right, transparent, #36040b, transparent);
}
.hero-divider .heart {
    color: #4d0711;
    font-size: 0.85rem;
    animation: heartbeat 1.6s infinite alternate;
}

.hero-date {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: #36040b;
    font-weight: 600;
    margin-bottom: 8px;
}

.hero-venue {
    font-family: var(--font-cinzel);
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #4d0711;
    font-weight: 600;
}

/* Gold corner ornaments on hero */
.frame-corners span {
    position: absolute;
    width: 20px; height: 20px;
    border: 1.5px solid var(--gold);
    z-index: 8;
    opacity: 0.7;
}
.frame-corners span:nth-child(1) { top: 18px; left: 18px; border-right: none; border-bottom: none; }
.frame-corners span:nth-child(2) { top: 18px; right: 18px; border-left: none; border-bottom: none; }
.frame-corners span:nth-child(3) { bottom: 18px; left: 18px; border-right: none; border-top: none; }
.frame-corners span:nth-child(4) { bottom: 18px; right: 18px; border-left: none; border-top: none; }

/* Scroll-down arrow */
.scroll-down {
    position: absolute;
    bottom: 22px; left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: var(--gold);
    font-size: 1.4rem;
    text-decoration: none;
    animation: bounceDown 2s infinite;
}

@keyframes heartbeat { 0% { transform: scale(1); } 100% { transform: scale(1.25); } }
@keyframes bounceDown {
    0%,20%,50%,80%,100% { transform: translateX(-50%) translateY(0); }
    40%   { transform: translateX(-50%) translateY(-9px); }
    60%   { transform: translateX(-50%) translateY(-4px); }
}

/* ==========================================================================
   SHARED SECTION DECORATORS
   ========================================================================== */
.section-eyebrow {
    font-family: var(--font-cinzel);
    font-size: 0.72rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
    display: block;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 400;
    color: var(--text-ivory);
    margin-bottom: 18px;
    position: relative;
}

.gold-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 40px;
}
.gold-ornament span {
    display: block;
    width: 60px; height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-line));
}
.gold-ornament span:last-child {
    background: linear-gradient(to left, transparent, var(--gold-line));
}
.gold-ornament i { color: var(--gold); font-size: 0.6rem; }

/* ==========================================================================
   SECTION 3: QUOTE
   ========================================================================== */
.quote-section {
    background-color: var(--surface);
    border-top: 1px solid var(--gold-line);
    border-bottom: 1px solid var(--gold-line);
    position: relative;
}

.quote-card {
    max-width: 720px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 50px 48px;
    box-shadow: var(--shadow-card), var(--shadow-glow);
    position: relative;
}

.quote-decor {
    color: var(--gold-dim);
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 8px;
}
.quote-decor.right { margin-top: 8px; margin-bottom: 0; text-align: right; }

.quote-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 300;
    color: var(--text-ivory);
    line-height: 1.85;
}

/* ==========================================================================
   SECTION 4: FAMILIES
   ========================================================================== */
.families-section { background-color: var(--bg); }

.family-grid {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

/* Dark luxury card */
.dark-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 48px 36px;
    box-shadow: var(--shadow-card), var(--shadow-glow);
    position: relative;
    transition: var(--transition);
    text-align: center;
}
.dark-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.dark-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-line);
    box-shadow: 0 16px 50px rgba(0,0,0,0.65), 0 0 40px rgba(205,164,94,0.12);
}

.dark-card-tag {
    font-family: var(--font-cinzel);
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    display: block;
}

.name-heading {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 400;
    color: var(--gold-bright);
    margin-bottom: 18px;
    line-height: 1;
}

.card-divider {
    width: 40px; height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin: 0 auto 22px;
}

.relation-label {
    font-family: var(--font-cinzel);
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.parents-names {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-ivory);
    margin-bottom: 24px;
}

.address-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    padding-top: 20px;
    border-top: 1px solid rgba(205,164,94,0.1);
}
.address-row i { color: var(--gold); font-size: 0.9rem; margin-top: 4px; }

/* Vertical divider between cards */
.family-divider-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}
.vert-line {
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--gold-line), transparent);
}
.divider-heart {
    color: var(--gold);
    font-size: 1.3rem;
    margin: 16px 0;
    animation: heartbeat 2s infinite alternate;
}

/* ==========================================================================
   SECTION 5: CEREMONY DETAILS
   ========================================================================== */
.details-section { background-color: var(--surface); border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line); }

.details-dark-card {
    max-width: 680px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 52px 44px;
    box-shadow: var(--shadow-card), var(--shadow-glow);
    text-align: center;
    position: relative;
}
.details-dark-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.event-icon-wrap {
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 34px;
}

.details-rows { margin-bottom: 36px; }

.detail-row {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    padding: 16px 0;
}

.row-sep {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-line), transparent);
}

.detail-icon {
    width: 42px; height: 42px;
    border: 1px solid var(--gold-line);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1rem;
    flex-shrink: 0;
}

.detail-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.detail-label {
    font-family: var(--font-cinzel);
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
}

.detail-value {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--text-ivory);
}

.ceremony-note {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 30px;
}

/* Gold button — exactly matches reference site */
.gold-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
    color: #1a0a0b;
    border: none;
    padding: 14px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-family: var(--font-cinzel);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(205,164,94,0.30);
}
.gold-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(205,164,94,0.45);
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
}

/* ==========================================================================
   SECTION 6: COUNTDOWN
   ========================================================================== */
.countdown-section { background-color: var(--bg); }

.countdown-subtitle {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 44px;
    margin-top: -28px;
}

.countdown-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 660px;
    margin: 0 auto;
}

/* Each countdown box — matching reference site gold-corner style */
.count-box {
    flex: 1;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    padding: 30px 12px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    min-width: 110px;
}

/* Gold corner accents on countdown boxes */
.count-box::before, .count-box::after {
    content: '';
    position: absolute;
    width: 12px; height: 12px;
}
.count-box::before {
    top: 8px; left: 8px;
    border-top: 1px solid var(--gold);
    border-left: 1px solid var(--gold);
}
.count-box::after {
    bottom: 8px; right: 8px;
    border-bottom: 1px solid var(--gold);
    border-right: 1px solid var(--gold);
}

.count-box:hover {
    transform: translateY(-4px);
    border-color: var(--gold-line);
    box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 20px rgba(205,164,94,0.1);
}

.count-box .number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
    display: block;
    margin-bottom: 10px;
}

.count-box .label {
    font-family: var(--font-cinzel);
    font-size: 0.62rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
}

/* ==========================================================================
   SECTION 7: FOOTER
   ========================================================================== */
.footer-section {
    background-color: var(--surface);
    border-top: 1px solid var(--gold-line);
    padding: 0;
}

.footer-section .container { padding: 70px 0 50px; }

.footer-logo {
    font-family: var(--font-display);
    font-size: 3.8rem;
    font-weight: 400;
    color: var(--gold);
    margin-bottom: 18px;
    line-height: 1;
}
.footer-logo span { font-style: italic; }

.footer-verse {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--text-ivory);
    margin-bottom: 4px;
}

.footer-verse-ref {
    font-family: var(--font-cinzel);
    font-size: 0.68rem;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 28px;
}

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

.footer-families {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--gold-bright);
    margin-bottom: 8px;
}

.footer-thanks {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 22px;
}

.footer-copy {
    font-family: var(--font-cinzel);
    font-size: 0.62rem;
    letter-spacing: 2px;
    color: rgba(176,165,159,0.4);
    text-transform: uppercase;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
    .family-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .family-divider-col {
        flex-direction: row;
        height: auto;
        justify-content: center;
    }
    .vert-line {
        width: 80px; height: 1px;
        background: linear-gradient(to right, transparent, var(--gold-line), transparent);
    }
    .divider-heart { margin: 0 14px; }
}

@media (max-width: 600px) {
    .container { padding: 60px 0; width: 92%; }
    .hero-text-overlay { padding: 15px; width: 95%; top: 43%; transform: translate(-50%, -50%); }
    .mobile-break { display: block; }
    .bismillah { font-size: 1.5rem; }
    .hero-names { font-size: 2.8rem; }
    .hero-date { font-size: 1.15rem; transform: translateY(-10px); }
    .hero-venue { font-size: 0.65rem; transform: translateY(-10px); }
    .quote-card { padding: 32px 24px; }
    .dark-card { padding: 36px 22px; }
    .details-dark-card { padding: 36px 22px; }

    .countdown-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        max-width: 320px;
    }
    .count-box { padding: 24px 10px; min-width: unset; }
    .count-box .number { font-size: 2.4rem; }

    .envelope-wrapper { width: 310px; }
    .envelope { width: 295px; height: 205px; }
    .envelope-flap { border-left-width: 147px; border-right-width: 147px; border-top-width: 108px; }
    .envelope-pocket { border-left-width: 147px; border-right-width: 147px; border-bottom-width: 100px; border-top-width: 100px; }
    .envelope-card { width: 265px; height: 180px; left: 15px; bottom: 10px; }
    .envelope-card-content h1 { font-size: 1.65rem; }
    .envelope.card-slide-up .envelope-card { transform: translateY(-105px); }
}
