:root {
    --bg-dark: #02033E;
    --bg-bright: #000290;
    --accent-blue: #4A5DFF;
    --accent-light: #8E9BFF;
    --text-primary: #FFFFFF;
    --text-dim: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.03);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background: radial-gradient(circle at center, var(--bg-bright) 0%, var(--bg-dark) 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
}

/* Base Elements */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.05;
    pointer-events: none;
    z-index: 100;
}

/* Scroll Panel Architecture */
/* Scroll Panel Architecture - Absolute Stacking */
#smooth-content {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.scroll-panel {
    height: 100vh;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: transparent;
    will-change: transform, opacity;
}

.panel-content {
    max-width: 1400px;
    width: 100%;
    padding: 0 60px;
    z-index: 2;
    position: relative;
}

.panel-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
    opacity: 0.1;
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
}

/* Section Specifics */
.section-intro .intro-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    /* More dramatic spacing */
}

.intro-main-title {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 18px;
    /* Extreme spaciousness */
    opacity: 0.9;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 0 40px rgba(142, 155, 255, 0.6);
    line-height: 1.8;
    max-width: 800px;
    margin-bottom: 20px;
}

.smile-line-container {
    width: 520px;
    /* Dominating size */
    height: 140px;
    filter: drop-shadow(0 0 70px rgba(142, 155, 255, 0.4));
    position: relative;
    z-index: 5;
}

.smile-line-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.smile-path {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    stroke: #FFFFFF;
    /* Pure white for teeth glow */
    stroke-width: 3.5;
    filter: drop-shadow(0 0 10px #FFFFFF) drop-shadow(0 0 30px var(--accent-blue)) drop-shadow(0 0 60px var(--accent-blue));
    animation: smile-aura 3s infinite ease-in-out;
}

@keyframes smile-aura {

    0%,
    100% {
        filter: drop-shadow(0 0 15px #FFFFFF) drop-shadow(0 0 40px var(--accent-blue));
        opacity: 0.9;
        stroke-width: 3.5;
    }

    50% {
        filter: drop-shadow(0 0 30px #FFFFFF) drop-shadow(0 0 80px var(--accent-blue));
        opacity: 1;
        stroke-width: 4.5;
    }
}

.scroll-indicator.fixed-global {
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0.6;
    z-index: 2000;
    pointer-events: none;
    transition: opacity 1s ease;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
    margin-bottom: 5px;
}

.wheel {
    width: 3px;
    height: 3px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

.scroll-text {
    font-size: 9px;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-weight: 300;
    opacity: 0.7;
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* Typography Overhaul - Universal Hero Theme (Base) */
.hero-text-theme,
.main-title,
.para-kinetic,
.manifesto-text,
.rsvp-text,
.closing-sub,
.detail-value {
    /* Base styles inherited, but font-family overridden below for non-heroes */
    font-size: 14px !important;
    font-weight: 300 !important;
    letter-spacing: 16px !important;
    opacity: 0.9 !important;
    text-align: center;
    text-transform: uppercase !important;
    text-shadow: 0 0 10px rgba(142, 155, 255, 0.2) !important;
    /* Glow reduced significantly */
    line-height: 2 !important;
    color: var(--text-primary) !important;
}


/* Hero Section - Switch to Poppins (Unified) */
.section-intro .intro-main-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(24px, 4vw, 40px) !important;
    letter-spacing: 4px !important;
    line-height: 1.4 !important;
    text-shadow: 0 0 25px rgba(142, 155, 255, 0.4) !important;
}

/* Narrative Sections - Switch to Poppins (Modern Readability & Impact) */
.section-shine,
.section-manifesto,
.section-details,
.section-closing {
    font-family: 'Poppins', sans-serif;
}

/* Narrative Sections - Typography sizing */
/* Narrative Sections - Typography sizing */
.section-shine .main-title,
.section-closing .closing-sub {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(24px, 4vw, 40px) !important;
    /* Large impact for short text */
    letter-spacing: 4px !important;
    line-height: 1.4 !important;
    text-shadow: 0 0 25px rgba(142, 155, 255, 0.4) !important;
}

/* Manifesto Specific - Smaller Size */
.section-manifesto .para-kinetic,
.section-manifesto .manifesto-text {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(16px, 2.5vw, 26px) !important;
    /* Reduced size for longer text */
    letter-spacing: 4px !important;
    line-height: 1.8 !important;
    /* Relaxed line-height for elegance */
    text-shadow: 0 0 20px rgba(142, 155, 255, 0.3) !important;
}

/* Highlight Logic - Bold & Bright (No Glow) */
.highlight {
    font-weight: 600 !important;
    color: #FFFFFF !important;
    opacity: 1 !important;
    text-shadow: none !important;
    /* Glow removed */
    display: inline-block;
}

.title-architecture {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    gap: 40px;
}

.title-subtext {
    display: none;
    /* Removing subtext to keep it strictly uniform with Hero */
}

/* Shine Unified */
.section-shine .main-title {
    max-width: 800px;
    margin: 0 auto;
}

/* Manifesto Panel */
.manifesto-inner {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.para-kinetic {
    /* Inherits hero-text-theme */
    margin-bottom: 60px;
}

.manifesto-text {
    /* Inherits hero-text-theme */
    opacity: 0.9;
}

/* Details Panel - List Layout */
.details-list-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.detail-row {
    display: grid;
    grid-template-columns: 1fr 2px 1fr;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.detail-label {
    text-align: right;
    font-size: 14px;
    letter-spacing: 6px;
    opacity: 0.6;
    color: var(--accent-light);
    text-transform: uppercase;
}

.detail-separator {
    width: 2px;
    height: 100%;
    min-height: 30px;
    background: linear-gradient(to bottom, transparent, var(--glass-border), transparent);
}

.detail-value {
    text-align: left;
    /* Inherits hero-text-theme base but overridden by highlight class */
    font-size: clamp(16px, 1.5vw, 22px) !important;
    line-height: 1.4 !important;
    letter-spacing: 2px !important;
}

/* Footer Sign-off */
.rsvp-footer {
    text-align: center;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

/* RSVP & Sign-off */
.rsvp-text {
    /* Inherits hero-text-theme */
    margin-bottom: 0 !important;
    /* Resetting margin since we use gap */
}

.signature-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.warm-regards {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    letter-spacing: 4px;
    opacity: 0.6;
    text-transform: uppercase;
}

.team-glaze {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    letter-spacing: 6px;
    font-weight: 600;
    text-transform: uppercase;
    color: #FFFFFF;
}

/* Closing Section */
.closing-sub {
    font-size: 16px;
    letter-spacing: 6px;
    opacity: 0.8;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.closing-logo {
    height: 100px;
    width: auto;
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.3));
    opacity: 0.9;
}

/* Meta */
.top-meta {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
}

.tagline {
    font-size: 12px;
    letter-spacing: 6px;
    opacity: 0.8;
    color: var(--accent-light);
}

.separator {
    width: 40px;
    height: 1px;
    background: var(--glass-border);
}

.date-tag {
    font-size: 12px;
    letter-spacing: 4px;
    opacity: 0.3;
}

.text-center {
    text-align: center;
}

@media (max-width: 1024px) {

    .title-architecture,
    .asymmetric-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .scroll-panel {
        /* On tablet/mobile, we keep absolute, but ensure content fits */
        padding: 50px 20px;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: clamp(30px, 8vw, 50px) !important;
        letter-spacing: 2px !important;
    }

    .intro-main-title {
        font-size: 24px !important;
        letter-spacing: 2px !important;
    }

    .smile-line-container {
        width: 300px;
        height: 80px;
    }

    /* Details Stack */
    .details-list-container {
        gap: 40px;
        margin-bottom: 40px;
    }

    .detail-row {
        grid-template-columns: 1fr;
        /* Stack vertically */
        gap: 10px;
        text-align: center;
        justify-items: center;
    }

    .detail-separator {
        display: none;
        /* Hide vertical line on mobile */
    }

    .detail-label {
        text-align: center;
        font-size: 12px;
    }

    .detail-value {
        text-align: center;
        width: 100%;
    }

    /* Footer */
    .rsvp-footer {
        margin-top: 40px;
        gap: 30px;
    }

    .rsvp-text {
        font-size: 16px !important;
        /* Ensure readable size */
        letter-spacing: 2px !important;
        /* Reduced from default high spacng */
        line-height: 1.6 !important;
    }

    .panel-content {
        padding: 0 20px;
    }

    /* Closing Section Mobile */
    .closing-sub {
        font-size: 14px !important;
        letter-spacing: 4px !important;
        margin-bottom: 30px;
    }

    .closing-logo {
        height: auto;
        width: 150px;
        /* Reduced from auto/100px height to fixed width control */
        max-width: 60%;
    }
}