/* ==========================================================================
   PROJECT 1: MINIMALIST ISLAMIC WEDDING INVITATION
   Farhan Akhtar & Saleha Adil
   Spacious, Elegant, Alive with Ambient Warmth
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
    /* Palette: Obsidian Noir & Muted Satin Gold */
    --bg-base: #070b09;
    --bg-deep: #040706;
    --bg-translucent: rgba(14, 21, 18, 0.6);

    /* Text Colors */
    --text-pure: #faf7f2;
    --text-primary: #ede8df;
    --text-secondary: #b8b0a2;
    --text-muted: #787167;

    /* Satin Gold Metallic */
    --gold: #d4b272;
    --gold-light: #faeccd;
    --gold-dark: #997839;
    --gold-border: rgba(212, 178, 114, 0.28);
    --gold-border-subtle: rgba(212, 178, 114, 0.12);
    --gold-glow: rgba(212, 178, 114, 0.18);

    /* Typography */
    --font-heading: 'Cinzel', Georgia, serif;
    --font-couple: 'Allison', cursive;
    --font-body: 'Tenor Sans', sans-serif;
    --font-arabic: 'Amiri', serif;

    /* Spacing & Layout */
    --content-width: 840px;
    --section-space: clamp(100px, 14vw, 160px);

    /* Subtle Transitions */
    --transition-subtle: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-cinematic: 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. BASE SETUP & STARDUST CANVAS
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    background-color: var(--bg-base);
    color: var(--text-primary);
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.9;
    background: radial-gradient(circle at 50% 0%, #131c17 0%, var(--bg-base) 45%, var(--bg-deep) 100%);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Background Canvas for Floating Gold Stardust */
.stardust-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    opacity: 0.85;
}

.invitation-wrapper {
    position: relative;
    z-index: 2;
}

.container {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 28px;
}

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

.hidden {
    display: none !important;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

body.lock-scroll {
    overflow: hidden !important;
    height: 100vh !important;
    height: 100dvh !important;
    touch-action: none;
    overscroll-behavior: none;
}

/* --------------------------------------------------------------------------
   3. CINEMATIC VIDEO OVERLAY (Smooth Fade)
   -------------------------------------------------------------------------- */
.intro-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 9999;
    background-color: var(--bg-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity var(--transition-cinematic), visibility var(--transition-cinematic);
    will-change: opacity;
}

.intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.intro-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at center, transparent 30%, rgba(4, 7, 6, 0.85) 100%),
        linear-gradient(to bottom, rgba(7, 11, 9, 0.75) 0%, transparent 20%, transparent 70%, rgba(7, 11, 9, 0.95) 100%);
}

/* Touch Gate Screen */
.intro-gate {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at 50% 35%, rgba(20, 30, 24, 0.94) 0%, rgba(6, 9, 8, 0.98) 75%);
    padding: 30px 24px;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.intro-gate.gate-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.gate-bismillah {
    font-family: var(--font-arabic);
    font-size: clamp(2rem, 6vw, 3.2rem);
    color: var(--gold-light);
    line-height: 1.3;
    margin-bottom: 12px;
    text-shadow: 0 0 24px rgba(212, 178, 114, 0.3);
}

.gate-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 4vw, 2.1rem);
    letter-spacing: 0.16em;
    color: var(--text-pure);
    margin-bottom: 32px;
}

.gate-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    position: relative;
    z-index: 30;
    pointer-events: auto;
}

.btn-gate-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 40px;
    border-radius: 999px;
    border: 1px solid rgba(212, 178, 114, 0.45);
    background: rgba(14, 21, 18, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: rgba(245, 228, 190, 0.85);
    font-size: clamp(0.76rem, 2.3vw, 0.84rem);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    z-index: 50;
    pointer-events: auto;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    box-shadow: 0 0 16px rgba(212, 178, 114, 0.15);
    transition: all var(--transition-subtle);
}

.btn-gate-open:hover {
    border-color: rgba(212, 178, 114, 0.85);
    background: rgba(20, 30, 24, 0.85);
    color: #faeccd;
    transform: translateY(-2px);
    box-shadow: 0 0 28px rgba(212, 178, 114, 0.3), 0 4px 16px rgba(0, 0, 0, 0.5);
}

.btn-gate-open:active {
    transform: translateY(0) scale(0.98);
}

/* While video is actively playing */
.intro-playing-controls {
    position: absolute;
    bottom: 40px;
    right: 28px;
    z-index: 15;
}

.btn-skip-video {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 999px;
    background: rgba(14, 21, 18, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--gold-border-subtle);
    color: var(--text-secondary);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: all var(--transition-subtle);
}

.btn-skip-video:hover {
    border-color: var(--gold);
    color: var(--gold-light);
}

.intro-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 15;
}

.intro-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--gold);
    transition: width 0.15s linear;
}

.intro-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   4. MINIMAL UTILITIES (AUDIO & REPLAY)
   -------------------------------------------------------------------------- */
.floating-controls {
    position: fixed;
    top: 24px;
    right: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 900;
}

.control-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(14, 21, 18, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--gold-border-subtle);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: all var(--transition-subtle);
}

.control-btn:hover {
    border-color: var(--gold);
    color: var(--gold-light);
}

.music-halo {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: background var(--transition-subtle);
}

.control-btn.is-playing .music-halo {
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold);
    animation: gentleGlow 2s ease-in-out infinite;
}

@keyframes gentleGlow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.4);
        opacity: 1;
    }
}

/* --------------------------------------------------------------------------
   5. SITE HEADER
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 800;
    padding: 24px 32px;
    transition: all var(--transition-subtle);
}

.site-header.scrolled {
    background: rgba(7, 11, 9, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 14px 32px;
    border-bottom: 1px solid var(--gold-border-subtle);
}

.main-nav {
    max-width: var(--content-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity var(--transition-subtle);
}

.nav-brand:hover {
    opacity: 0.85;
}

.nav-brand-logo {
    height: clamp(46px, 6vw, 56px);
    width: auto;
    display: block;
    opacity: 0.95;
    transition: transform var(--transition-subtle);
}

.nav-brand:hover .nav-brand-logo {
    transform: scale(1.06);
}

.nav-links {
    display: none;
    list-style: none;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color var(--transition-subtle);
}

.nav-links a:hover {
    color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   6. FIRST MOBILE PAGE (HERO VIEWPORT)
   Dedicated exclusively to Couple Names & Islamic Blessing Inscription
   -------------------------------------------------------------------------- */
.hero-screen {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 80px 20px 40px;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 50% 38%, #1a2921 0%, #0d1712 52%, #050806 100%);
}

/* Full-hero wedding scene background with a calm readability veil */
.hero-screen::before,
.hero-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-screen::before {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: url('../assets/images/image-new-bg.png') center center / cover no-repeat;
    width: 100%;
    height: 100dvh;
    opacity: 1;
    filter: saturate(0.72) brightness(0.78) contrast(1.04);
    mix-blend-mode: normal;
    transform: scale(1.02);
}

.hero-screen::after {
    position: fixed;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100dvh;
    background:
        linear-gradient(180deg, rgba(7, 15, 11, 0.38) 0%, rgba(10, 22, 16, 0.16) 38%, rgba(4, 8, 6, 0.58) 100%),
        radial-gradient(circle at 50% 40%, rgba(38, 65, 49, 0.12) 0%, rgba(7, 12, 9, 0.34) 74%);
}

/* Warm Ambient Candlelight */
.hero-candle-glow {
    position: absolute;
    width: 550px;
    height: 550px;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(212, 178, 114, 0.08) 0%, rgba(212, 178, 114, 0.02) 40%, transparent 70%);
    pointer-events: none;
    z-index: 2;
    animation: candleFlicker 6s ease-in-out infinite alternate;
}

@keyframes candleFlicker {
    0% {
        opacity: 0.7;
        transform: translateX(-50%) scale(0.96);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1.04);
    }
}

/* Fine-Line Arch Silhouette Outline */
.arch-wireframe-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 520px;
    height: 640px;
    pointer-events: none;
    z-index: 3;
}

.arch-wireframe {
    width: 100%;
    height: 100%;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 4;
    max-width: 640px;
}

.hero-blessing-block {
    margin-bottom: 24px;
}

.hero-bismillah {
    font-family: var(--font-arabic);
    font-size: clamp(2.4rem, 8vw, 4rem);
    color: var(--gold-light);
    line-height: 1.3;
    margin-bottom: 8px;
    text-shadow: 0 0 28px rgba(212, 178, 114, 0.25);
}

.hero-bismillah-trans {
    font-size: 0.74rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Custom Royal Monogram Crest */
.hero-custom-crest {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 8px auto 28px;
    z-index: 2;
    transition: transform var(--transition-subtle);
}

.hero-custom-crest:hover {
    transform: translateY(-2px) scale(1.02);
}

.crest-halo-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(212, 178, 114, 0.10) 0%, rgba(19, 28, 23, 0.05) 50%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    animation: crestPulse 6s ease-in-out infinite alternate;
}

@keyframes crestPulse {
    0% {
        opacity: 0.35;
        transform: translate(-50%, -50%) scale(0.96);
    }

    100% {
        opacity: 0.55;
        transform: translate(-50%, -50%) scale(1.04);
    }
}

.crest-svg-image {
    position: relative;
    z-index: 2;
    width: clamp(260px, 52vw, 350px);
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    transition: transform var(--transition-subtle);
    opacity: 0.82;
    filter: brightness(0.85) contrast(0.95);
}

.hero-custom-crest:hover .crest-svg-image {
    transform: scale(1.02);
}

/* Metallic Gold Shimmer on Names */
.hero-names-wrap {
    margin-bottom: 32px;
}

.hero-names {
    font-family: var(--font-couple);
    font-weight: 700;
    font-size: clamp(3.6rem, 11.5vw, 6.2rem);
    line-height: 1.25;
    letter-spacing: 0.01em;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
}

.name-shimmer {
    font-family: var(--font-couple);
    font-weight: 700;
    letter-spacing: 0.01em;
    background: linear-gradient(120deg, #faeccd 0%, #d4b272 35%, #fff8eb 50%, #d4b272 65%, #997839 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0.6px rgba(250, 236, 205, 0.7);
    animation: goldShimmerSweep 9s linear infinite;
    text-shadow: 0 0 24px rgba(212, 178, 114, 0.25);
}

@keyframes goldShimmerSweep {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.names-separator {
    font-family: var(--font-couple);
    font-size: clamp(2.4rem, 7vw, 3.6rem);
    color: var(--gold);
    font-style: normal;
    font-weight: 700;
    -webkit-text-stroke: 0.5px currentColor;
    margin: -8px 0;
    opacity: 0.95;
    text-shadow: 0 0 16px rgba(212, 178, 114, 0.3);
}

/* Scroll Prompt */
.hero-scroll-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    opacity: 0.8;
    transition: opacity var(--transition-subtle);
}

.hero-scroll-prompt:hover {
    opacity: 1;
}

.scroll-prompt-text {
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
}

.scroll-prompt-line {
    display: block;
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollLineDrop 2s ease-in-out infinite;
}

@keyframes scrollLineDrop {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    50.1% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* --------------------------------------------------------------------------
   6B. SECTION 2: THE FAMILIES & INVITATION
   -------------------------------------------------------------------------- */
.families-section {
    padding: var(--section-space) 0 40px;
    position: relative;
    border-top: 1px solid var(--gold-border-subtle);
}

.families-content {
    max-width: 680px;
    margin: 0 auto;
}

.families-announcement {
    font-size: 0.82rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
    max-width: 500px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

/* Parents Lineage Block */
.hero-parents-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 44px;
}

.parent-entry {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.person-name {
    font-family: var(--font-couple);
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: 0.02em;
    color: var(--gold-light);
    -webkit-text-stroke: 0.4px currentColor;
    line-height: 1.3;
}

.parent-rel {
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.parents-names {
    font-size: 0.88rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.parent-spacer {
    width: 28px;
    height: 1px;
    background: var(--gold-border-subtle);
}

/* Dual Dates Capsule Summary */
.hero-dates-capsule {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px 36px;
    border-top: 1px solid var(--gold-border-subtle);
    border-bottom: 1px solid var(--gold-border-subtle);
    margin: 0 auto 40px;
    width: 100%;
    max-width: 480px;
}

.capsule-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.capsule-tag {
    font-size: 0.7rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--gold);
}

.capsule-date {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    letter-spacing: 0.08em;
    color: var(--text-pure);
}

.capsule-place {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.capsule-sep {
    width: 24px;
    height: 1px;
    background: var(--gold-border-subtle);
}

.families-actions {
    margin-top: 10px;
}

/* Minimalist Shimmer Buttons */
.btn-shimmer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 32px;
    border-radius: 999px;
    border: 1px solid var(--gold-border);
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-pure);
    background: rgba(14, 21, 18, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all var(--transition-subtle);
}

.btn-maps-icon {
    display: inline-block;
    color: var(--gold-light);
    flex-shrink: 0;
    transition: transform var(--transition-subtle);
}

.btn-shimmer:hover .btn-maps-icon {
    transform: translateY(-1px);
}

.btn-shimmer:hover {
    border-color: var(--gold);
    color: var(--gold-light);
    background: rgba(212, 178, 114, 0.12);
    box-shadow: 0 0 20px var(--gold-glow);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   7. QURANIC VERSE SECTION
   -------------------------------------------------------------------------- */
.verse-section {
    padding: var(--section-space) 0;
    position: relative;
}

.verse-content {
    max-width: 680px;
    margin: 0 auto;
}

.arabic-verse {
    font-family: var(--font-arabic);
    font-size: clamp(1.5rem, 4.8vw, 2.3rem);
    line-height: 2;
    color: var(--gold-light);
    margin-bottom: 24px;
    text-shadow: 0 0 20px rgba(212, 178, 114, 0.15);
}

.verse-translation {
    font-size: clamp(0.92rem, 2.2vw, 1.05rem);
    color: var(--text-secondary);
    line-height: 1.9;
    font-style: italic;
    margin-bottom: 18px;
}

.verse-reference {
    font-size: 0.75rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--gold);
}

/* --------------------------------------------------------------------------
   8. FLOATING LIVE COUNTDOWN
   -------------------------------------------------------------------------- */
.countdown-section {
    padding: 60px 0;
}

.countdown-inner {
    max-width: 600px;
    margin: 0 auto;
}

.countdown-heading {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    letter-spacing: 0.12em;
    color: var(--text-pure);
    margin: 8px 0 28px;
}

.countdown-stream {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: clamp(12px, 3vw, 24px);
    margin-bottom: 18px;
}

.stream-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stream-number {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 6vw, 3.4rem);
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 4px;
}

.stream-label {
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.stream-sep {
    font-size: 1.2rem;
    color: var(--gold-border);
}

.countdown-subtext {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   9. WEDDING OCCASIONS (EVENTS)
   -------------------------------------------------------------------------- */
.events-section {
    padding: var(--section-space) 0;
}

.section-heading-wrap {
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--text-pure);
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.event-item {
    text-align: center;
    max-width: 580px;
    margin: 0 auto;
    width: 100%;
}

.event-arabic-title {
    font-family: var(--font-arabic);
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 4px;
}

.event-name {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    letter-spacing: 0.1em;
    color: var(--text-pure);
    margin-bottom: 14px;
}

.event-hairline {
    width: 40px;
    height: 1px;
    background: var(--gold-border);
    margin: 0 auto 24px;
}

.event-info-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.info-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.info-label {
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.info-value {
    font-size: 0.95rem;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.event-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.85;
    max-width: 460px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   10. VENUE SECTION
   -------------------------------------------------------------------------- */
.venue-section {
    padding: var(--section-space) 0;
    border-top: 1px solid var(--gold-border-subtle);
}

.venue-content {
    max-width: 600px;
    margin: 0 auto;
}

.venue-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--text-pure);
    margin: 10px 0 6px;
}

.venue-address {
    font-size: 0.9rem;
    letter-spacing: 0.14em;
    color: var(--gold);
    margin-bottom: 24px;
}

.venue-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 36px;
}

.venue-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* --------------------------------------------------------------------------
   11. INTERACTIVE SILENT DU'A SECTION
   -------------------------------------------------------------------------- */
.dua-section {
    padding: var(--section-space) 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 178, 114, 0.04) 0%, transparent 60%);
    border-top: 1px solid var(--gold-border-subtle);
}

.dua-touchpoint {
    max-width: 640px;
    margin: 0 auto;
}

.dua-prompt {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    letter-spacing: 0.1em;
    color: var(--text-pure);
    margin: 8px 0 6px;
}

.dua-intro {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.8;
}

.dua-names-nowrap {
    font-family: var(--font-couple);
    font-size: 1.6rem;
    white-space: nowrap;
    color: var(--gold-light);
    font-weight: 700;
    -webkit-text-stroke: 0.4px currentColor;
}

.btn-dua-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(212, 178, 114, 0.2) 0%, rgba(14, 21, 18, 0.6) 100%);
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font-size: 0.82rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    transition: all var(--transition-subtle);
    box-shadow: 0 0 24px var(--gold-glow);
}

.btn-dua-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 36px rgba(212, 178, 114, 0.35);
    background: linear-gradient(135deg, rgba(212, 178, 114, 0.32) 0%, rgba(20, 30, 25, 0.8) 100%);
}

/* Revealed Blessing Card */
.dua-revelation {
    margin-top: 36px;
    padding: 36px 24px;
    border-radius: 24px;
    background: rgba(14, 21, 18, 0.65);
    border: 1px solid var(--gold-border);
    animation: gentleReveal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes gentleReveal {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dua-arabic {
    font-family: var(--font-arabic);
    font-size: clamp(1.5rem, 4.5vw, 2.2rem);
    color: var(--gold-light);
    line-height: 1.9;
    margin-bottom: 12px;
}

.dua-trans {
    font-size: 0.92rem;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 16px;
}

.dua-counter-badge {
    display: inline-block;
    font-size: 0.74rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold-border-subtle);
    padding: 4px 16px;
    border-radius: 999px;
}

/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
    padding: 90px 20px 60px;
    border-top: 1px solid var(--gold-border-subtle);
}

.footer-bismillah {
    font-family: var(--font-arabic);
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.footer-names {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-pure);
    margin-bottom: 8px;
}

.footer-blessing {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 4px;
}

.footer-hashtag {
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.footer-link-btn {
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color var(--transition-subtle);
}

.footer-link-btn:hover {
    color: var(--gold-light);
}

.footer-dot {
    color: var(--gold-border);
}

/* --------------------------------------------------------------------------
   13. SUBTLE ANIMATIONS (GENTLE & MEASURED)
   -------------------------------------------------------------------------- */
.fade-in {
    opacity: 0;
    transform: translateY(14px);
    animation: smoothEntrance 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.fade-in.delay-1 {
    animation-delay: 0.15s;
}

.fade-in.delay-2 {
    animation-delay: 0.3s;
}

.fade-in.delay-3 {
    animation-delay: 0.45s;
}

.fade-in.delay-4 {
    animation-delay: 0.6s;
}

.fade-in.delay-5 {
    animation-delay: 0.75s;
}

@keyframes smoothEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

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

    .stardust-canvas {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   14. LIVE FONT PREVIEW BAR
   -------------------------------------------------------------------------- */
.font-preview-bar {
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9990;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(14, 21, 18, 0.94);
    border: 1px solid var(--gold-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7), 0 0 16px var(--gold-glow);
    max-width: 95vw;
}

.preview-bar-label {
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    white-space: nowrap;
    padding-left: 2px;
    font-weight: 500;
}

.preview-pills {
    display: flex;
    align-items: center;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.preview-pills::-webkit-scrollbar {
    display: none;
}

.font-pill {
    padding: 5px 13px;
    border-radius: 999px;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    transition: all var(--transition-subtle);
    cursor: pointer;
}

.font-pill:hover {
    color: var(--gold-light);
    border-color: var(--gold-border);
}

.font-pill.active {
    color: #070b09;
    background: linear-gradient(135deg, #faeccd 0%, #d4b272 100%);
    font-weight: 600;
    box-shadow: 0 0 12px var(--gold-glow);
}

.preview-bar-close {
    font-size: 1.15rem;
    line-height: 1;
    color: var(--text-muted);
    padding: 0 4px;
    cursor: pointer;
    transition: color var(--transition-subtle);
}

.preview-bar-close:hover {
    color: var(--gold-light);
}
