:root {
    --color-bg: #050103; 
    --color-pink: #ff2a6d; 
    --color-pink-glow: rgba(255, 42, 109, 0.5);
    --color-white: #ffffff;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Space Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    color: var(--color-white);
    font-family: var(--font-body);
    overflow: hidden; /* Hide scroll for mysterious vibe */
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* --- Streetwear Vault Doors --- */
.mystery-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.door {
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%;
    background-color: #0a0a0a;
    z-index: 1;
    overflow: hidden;
}

/* Gritty Texture */
.door-texture {
    position: absolute;
    top: 0; left: 0; width: 200%; height: 100%;
    background-image: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.05; /* subtle elegant texture */
    pointer-events: none;
}
.door-left .door-texture { left: 0; }
.door-right .door-texture { left: -100%; }

.door-left {
    left: 0;
    border-right: 1px solid transparent;
    box-shadow: none;
}

.door-right {
    right: 0;
    border-left: 1px solid transparent;
    box-shadow: none;
}

/* Elegant Form */
.elegant-form {
    position: relative;
    z-index: 2;
    background-color: transparent; 
    border: none;
    padding: 40px;
    width: 450px;
    max-width: 90%;
    text-align: center;
}

.elegant-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--color-white);
    letter-spacing: 12px;
    margin-bottom: 5px;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 42, 109, 0.6);
}

.elegant-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-pink);
    letter-spacing: 6px;
    margin-bottom: 40px;
    font-weight: 400;
}

#mystery-email {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 10px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    margin-bottom: 30px;
    text-align: center;
    transition: border-color 0.3s;
    letter-spacing: 2px;
}

#mystery-email::placeholder {
    color: #888;
    letter-spacing: 4px;
}

#mystery-email:focus {
    background-color: transparent;
    border-color: var(--color-pink);
}

.mystery-btn {
    width: 100%;
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-pink);
    border-radius: 40px;
    padding: 15px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mystery-btn:hover {
    background-color: var(--color-pink);
    color: #fff;
    box-shadow: 0 0 25px rgba(255, 42, 109, 0.6);
    transform: translateY(-2px);
}

.epic-dialogue {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: 1.2rem;
    letter-spacing: 12px;
    margin-bottom: 50px;
    font-weight: 300;
    text-shadow: 0 0 15px rgba(255, 42, 109, 0.4);
    text-transform: uppercase;
}

/* --- Main Site --- */

.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000; /* Pure black for perfect blending */
    z-index: -2;
}

#stars-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#main-site {
    opacity: 0; /* Hidden initially, revealed by JS */
    pointer-events: none;
}

.container {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
    z-index: 1;
    align-items: center;
    justify-content: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    width: 100%;
    max-width: 1200px;
}

.top-left-logo {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 120px;
    height: auto;
    z-index: 10;
    mix-blend-mode: screen; /* Removes black background */
    transition: opacity 0.3s ease;
}

.top-left-logo:hover {
    opacity: 0.8;
}

.banner-logo {
    max-width: 100%;
    width: 850px;
    height: auto;
    margin-bottom: 40px;
    filter: drop-shadow(0 0 30px rgba(255, 42, 109, 0.4));
}

.tagline {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 15px;
    color: var(--color-pink);
    text-shadow: 0 0 10px rgba(255, 42, 109, 0.5);
    margin-bottom: 70px;
    text-transform: uppercase;
}

/* Circular Countdown - Fixed look */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.circle-block {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg); 
}

.ring-bg {
    fill: transparent;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 2; /* Thinner background ring */
}

.ring-progress {
    fill: transparent;
    stroke: url(#rainbowGrad);
    stroke-width: 12; /* Thicker bold rainbow ring */
    stroke-dasharray: 465; /* 2 * PI * 74 approx 464.9 */
    stroke-dashoffset: 0; 
    stroke-linecap: round;
    transition: stroke-dashoffset 1s linear;
    filter: drop-shadow(0 0 15px rgba(255, 42, 109, 0.6));
}

.circle-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.digit {
    font-family: var(--font-heading);
    font-size: 3.5rem; /* Larger digits */
    font-weight: 700;
    
    /* Animated Rainbow Text */
    background: linear-gradient(90deg, #ff003c, #ff6a00, #ffea00, #00f422, #00ccff, #b300ff, #ff003c);
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbowShine 3s linear infinite;
    
    line-height: 1;
    margin-bottom: 5px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

@keyframes rainbowShine {
    to {
        background-position: 200% center;
    }
}

.label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: var(--color-pink);
    opacity: 0.9;
}

.svg-defs {
    position: absolute;
    width: 0;
    height: 0;
}

/* CTA */
.cta-container {
    margin-top: 20px;
}

.insta-cta {
    display: inline-block;
    padding: 15px 50px;
    background: transparent;
    color: var(--color-white);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
}

.cta-text {
    position: relative;
    z-index: 2;
}

.cta-hover-layer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #ff0044, #ff7f00, #ff00ff, #00ffff, #8b00ff);
    z-index: 1;
    transition: left 0.5s cubic-bezier(0.86, 0, 0.07, 1);
}

.insta-cta:hover .cta-hover-layer {
    left: 0;
}

.insta-cta:hover {
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 30px rgba(255, 42, 109, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .top-left-logo {
        top: 20px;
        left: 20px;
        width: 60px;
    }
    .banner-logo {
        width: 90%;
        margin-top: 50px;
    }
    .countdown-container {
        gap: 20px;
    }
    .circle-block {
        width: 120px;
        height: 120px;
    }
    .progress-ring {
        width: 120px;
        height: 120px;
    }
    .progress-ring circle {
        cx: 60;
        cy: 60;
        r: 56;
    }
    .digit {
        font-size: 2rem;
    }
    .label {
        font-size: 0.6rem;
    }
    .mystery-title {
        font-size: 1.5rem;
    }
}
