:root {
    --font-heading: 'Marcellus', serif;
    --font-tagline: 'Jost', sans-serif;
    --font-body: 'Jost', sans-serif;
    --gold-highlight: #fffdf5;
    --gold-primary: #fae4b2;
    --gold-accent: #e5bd68;
    --gold-dark: #b88d36;
    --cream-text: #f5ead9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #030804;
    font-family: var(--font-body);
    color: #ffffff;
    user-select: none;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Forest Backdrop - Exact Mossy Knoll Environment from reference.jpeg
   ========================================================================== */
.forest-backdrop {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

.forest-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/forest-mound-bg.png');
    background-repeat: no-repeat;
    background-position: center 30%;
    background-size: cover;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transform: translateZ(0);
}

/* Subtle natural ambient vignette */
.ambient-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 95% 85% at 50% 40%,
        transparent 0%,
        rgba(0, 0, 0, 0.08) 60%,
        rgba(1, 4, 2, 0.45) 85%,
        rgba(1, 4, 2, 0.75) 100%
    );
    pointer-events: none;
}

/* Floating Fireflies Canvas */
#particles-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

/* ==========================================================================
   Main Content Layout
   ========================================================================== */
.page-container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 20px 20px clamp(20px, 4.5vh, 44px);
    text-align: center;
}

/* ==========================================================================
   Logo Wrapper & Focused Bright Sunlight Inside the Loop
   ========================================================================== */
.logo-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    margin-bottom: clamp(10px, 1.8vh, 20px);
}

/* Bright sunlight shining directly through the center loop of the logo */
.logo-inner-sun {
    position: absolute;
    top: 36%;
    left: 45%;
    transform: translate(-50%, -50%);
    width: clamp(75px, 11vw, 115px);
    height: clamp(75px, 11vw, 115px);
    background: radial-gradient(
        circle,
        #ffffff 0%,
        rgba(255, 252, 220, 0.95) 25%,
        rgba(255, 225, 120, 0.75) 50%,
        rgba(255, 185, 50, 0.25) 75%,
        transparent 100%
    );
    border-radius: 50%;
    filter: blur(10px);
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 1;
    animation: innerSunBreathe 4s ease-in-out infinite alternate;
}

@keyframes innerSunBreathe {
    0% {
        transform: translate(-50%, -50%) scale(0.92);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.08);
        opacity: 1;
    }
}

.thudangam-logo {
    position: relative;
    z-index: 2;
    display: block;
    width: clamp(300px, 40vw, 480px);
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
    opacity: 0;
    transform: translateY(22px) scale(0.96);
    filter: blur(8px);
    animation: logoEntrance 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

@keyframes logoEntrance {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.thudangam-logo:hover {
    transform: scale(1.02);
}

/* ==========================================================================
   Typography Section - Exact Match to reference.jpeg
   ========================================================================== */
.content-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(10px, 1.8vh, 18px);
    max-width: 820px;
    padding: 0 16px;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* COMING SOON Heading - Exact Typography from reference.jpeg */
.coming-soon-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5.5vw, 4.6rem);
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.1;
    margin: 0;
    
    /* Crisp solid gold with 3D bevel and intense glowing shadow */
    color: #fae4b2;
    text-shadow: 
        1px 1px 0px #e5bd68,
        2px 2px 0px #b88d36,
        0 4px 12px rgba(0, 0, 0, 0.95),
        0 8px 25px rgba(0, 0, 0, 0.8),
        0 0 25px rgba(250, 228, 178, 0.5);
    
    /* Entrance Animation */
    opacity: 0;
    transform: translateY(28px) scale(0.96);
    filter: blur(6px);
    animation: titleReveal 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

@keyframes titleReveal {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Tagline Paragraph - Exact 4-Line Serif from reference.jpeg */
.tagline-text {
    font-family: var(--font-tagline);
    font-size: clamp(1.15rem, 2.3vw, 1.55rem);
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: 0.025em;
    color: var(--cream-text);
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    
    /* Multi-layered shadow guaranteeing 100% contrast directly on the moss */
    text-shadow: 
        0 2px 4px #000000,
        0 3px 10px rgba(0, 0, 0, 0.98),
        0 0 25px rgba(0, 0, 0, 0.95);
    
    /* Entrance Animation */
    opacity: 0;
    transform: translateY(22px);
    filter: blur(4px);
    animation: taglineReveal 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}

@keyframes taglineReveal {
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 768px) {
    .page-container {
        display: block;
        padding: 0;
    }
    
    .logo-wrapper {
        position: absolute;
        top: 50vh; /* Exactly anchors the bottom of the logo to the mossy bump */
        left: 50%;
        transform: translate(-50%, -100%);
        margin: 0;
        width: 100%;
    }

    .content-section {
        position: absolute;
        top: 54vh; /* Anchors the text just below the bump */
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
    }

    .forest-bg-image {
        background-position: center 25%;
    }
    
    .thudangam-logo {
        width: clamp(260px, 80vw, 380px);
    }
    
    .coming-soon-heading {
        letter-spacing: 0.14em;
        font-size: clamp(2rem, 7.5vw, 2.8rem);
    }
    
    .tagline-text {
        font-size: clamp(1.1rem, 4.4vw, 1.35rem);
        line-height: 1.5;
        padding: 0 6px;
    }
}

@media (max-height: 700px) {
    .page-container {
        padding-bottom: 16px;
    }
    
    .thudangam-logo {
        width: clamp(240px, 30vw, 340px);
    }
    
    .coming-soon-heading {
        font-size: clamp(1.8rem, 4vw, 2.4rem);
    }
    
    .tagline-text {
        font-size: clamp(1rem, 1.8vw, 1.2rem);
        line-height: 1.4;
    }
}
