:root {
    --primary-color: #f7e7ce; /* Champagne Cream */
    --accent-color: #d4af37; /* Gold Accent */
    --bg-color: #020617; /* Deepest Slate */
    --text-color: #f8fafc; /* Slate 50 */
    --text-muted: #94a3b8; /* Slate 400 */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Outfit', sans-serif;
    --transition: all 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Base Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body.no-scroll {
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    background-color: var(--bg-color);
    font-family: var(--font-sans);
    color: var(--text-color);
}

/* Moving Background */
.liquid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.blob-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    filter: blur(120px);
}

.blob {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: color-dodge;
    animation: ultimateFlow 25s infinite alternate ease-in-out;
    opacity: 0.3;
}

.blob-1 { width: 700px; height: 700px; background: rgba(16, 185, 129, 0.3); top: -15%; left: -10%; }
.blob-2 { width: 600px; height: 600px; background: rgba(212, 175, 55, 0.25); bottom: -10%; right: -10%; animation-delay: -5s; }
.blob-3 { width: 500px; height: 500px; background: rgba(2, 132, 199, 0.2); top: 30%; right: 15%; animation-delay: -10s; }
.blob-4 { width: 400px; height: 400px; background: rgba(255, 255, 255, 0.05); bottom: 20%; left: 25%; }

@keyframes ultimateFlow {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(15vw, 10vh) scale(1.1) rotate(15deg); }
    66% { transform: translate(-10vw, 25vh) scale(0.9) rotate(-20deg); }
    100% { transform: translate(5vw, -5vh) scale(1.1) rotate(0deg); }
}

/* Layout - Center Focused */
.hero-container {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(1rem, 5vw, 4rem);
    position: relative;
    perspective: 1500px;
}

/* Glass Card - Multi-Layered */
.glass-card {
    background: rgba(255, 255, 255, 0.015);
    backdrop-filter: blur(60px);
    -webkit-backdrop-filter: blur(60px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4rem;
    padding: clamp(3rem, 7vh, 8rem) clamp(2rem, 5vw, 7rem) clamp(2rem, 4vh, 4rem);
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 50px 150px -40px rgba(0, 0, 0, 0.9);
    transition: transform 0.2s cubic-bezier(0.2, 0, 0.2, 1), background 0.7s var(--transition), border-color 0.7s var(--transition);
    transform-style: preserve-3d;
    will-change: transform;
    pointer-events: auto;
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

/* 3D Depth Layers */
.depth-high { transform: translateZ(90px); }
.depth-mid { transform: translateZ(50px); }
.depth-max { transform: translateZ(120px); }
.depth-low { transform: translateZ(30px); }

/* Branding */
.brand-group {
    margin-bottom: 3.5rem;
    transition: var(--transition);
}

.main-brand {
    font-family: var(--font-serif);
    font-size: clamp(3.5rem, 9vh, 6.5rem);
    font-weight: 900;
    letter-spacing: -2px;
    --sh-x: 0px;
    --sh-y: 5px;
    color: var(--primary-color);
    line-height: 1;
    text-shadow: 
        var(--sh-x) var(--sh-y) 15px rgba(0,0,0,0.4),
        calc(var(--sh-x) * 1.5) calc(var(--sh-y) * 1.5) 30px rgba(0,0,0,0.3);
}

.main-brand .thin { font-weight: 300; opacity: 0.6; }

.sub-badge {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.4rem 1.8rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 6px;
    border-radius: 3rem;
}

/* Content Area */
.content-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    width: 100%;
}

.headline-box {
    max-width: 800px;
}

.title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vh, 3.2rem);
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    --sh-x: 0px;
    --sh-y: 5px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 
        var(--sh-x) var(--sh-y) 10px rgba(0,0,0,0.5),
        calc(var(--sh-x) * 1.2) calc(var(--sh-y) * 1.2) 20px rgba(0,0,0,0.4);
}

.highlight {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.serif-italic { font-style: italic; font-weight: 800; }

.subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 450px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

/* Timer */
.timer {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 4vw, 3.5rem);
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.6));
}

.timer-item {
    position: relative;
    text-align: center;
    min-width: 85px;
}

.timer-item::after {
    content: attr(data-label);
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    font-weight: 700;
}

.timer-item .number {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.8rem, 7vh, 4.8rem);
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.timer-item.slide-up .number {
    animation: numberSlideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

@keyframes numberSlideUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); text-shadow: 0 0 30px rgba(212, 175, 55, 0.5); }
}

/* Footer (Now inside Card) */
.footer {
    width: 100%;
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.credits {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.dev-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.dev-link:hover { color: var(--accent-color); text-shadow: 0 0 10px var(--accent-color); }

/* Responsive Overrides */
@media (max-width: 640px) {
    .glass-card {
        padding: 4rem 1.5rem 3rem;
        border-radius: 2rem;
        margin: 0.5rem;
    }
    
    .depth-high, .depth-mid, .depth-max, .depth-low {
        transform: translateZ(20px); /* Reduce depth on mobile */
    }

    .main-brand { font-size: 3rem; }
    .title { font-size: 1.8rem; }
    
    .timer { gap: 0.8rem; }
    .timer-item { min-width: 55px; }
    .timer-item .number { font-size: 2rem; }
    
    .footer { margin-top: 3rem; padding-top: 1.5rem; }
}
