*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{

    --bg:#050507;
    --purple:#d8c9ff;

}

html,
body{

    width:100%;
    min-height:100%;

    overflow:hidden;

    background:#050507;

    font-family:'Inter',sans-serif;

    color:white;

    -webkit-font-smoothing:antialiased;

}

body{

    position:relative;

    opacity:0;

    transition:
    opacity 1.4s ease,
    background 2s ease;

}

body.loaded{

    opacity:1;

}

body.revealed{

    background:
    radial-gradient(
        circle at center,
        #12081b 0%,
        #050507 72%
    );

}

/* BACKGROUND */

.background{

    position:absolute;

    inset:-20%;

    overflow:visible;

}

.glow{

    position:absolute;

    width:1000px;
    height:1000px;

    left:50%;
    top:42%;

    transform:translate(-50%,-50%);

    border-radius:50%;

    background:
    radial-gradient(
        circle,
        rgba(140,110,255,0.12) 0%,
        rgba(140,110,255,0.04) 24%,
        rgba(140,110,255,0.01) 48%,
        transparent 72%
    );

    filter:blur(140px);

    animation:
    pulse 10s ease-in-out infinite;

}

.secondary-glow{

    position:absolute;

    width:700px;
    height:700px;

    right:-220px;
    top:-220px;

    border-radius:50%;

    background:
    radial-gradient(
        circle,
        rgba(255,255,255,0.025) 0%,
        transparent 70%
    );

    filter:blur(180px);

}

.grid-lines{

    position:absolute;
    inset:0;

    opacity:0.008;

    background-image:
    linear-gradient(
        rgba(255,255,255,0.02) 1px,
        transparent 1px
    ),
    linear-gradient(
        90deg,
        rgba(255,255,255,0.02) 1px,
        transparent 1px
    );

    background-size:
    80px 80px;

}

.noise{

    position:absolute;
    inset:0;

    opacity:0.012;

    background-image:
    repeating-radial-gradient(
        circle at 0 0,
        transparent 0,
        #000 3px
    );

}

.vignette{

    position:absolute;
    inset:0;

    background:
    radial-gradient(
        circle,
        transparent 18%,
        rgba(0,0,0,0.95) 100%
    );

}

/* FLASH */

.flash-screen{

    position:fixed;

    inset:0;

    background:white;

    z-index:9998;

    opacity:0;

    pointer-events:none;

    mix-blend-mode:screen;

}

.revealed .flash-screen{

    animation:
    screenFlash 1s ease forwards;

}

/* PARTICLES */

.particles{

    position:absolute;
    inset:0;

}

.particles span{

    position:absolute;

    bottom:-140px;

    width:2px;
    height:2px;

    background:
    rgba(255,255,255,0.82);

    border-radius:50%;

    box-shadow:
    0 0 18px rgba(255,255,255,0.35),
    0 0 30px rgba(190,170,255,0.08);

    animation:
    float linear infinite;

    opacity:0;

}

.particles span:nth-child(3n){

    width:3px;
    height:3px;

    opacity:0.8;

}

.particles span:nth-child(5n){

    width:1px;
    height:1px;

    opacity:0.5;

}

/* MAIN */

.container{

    position:relative;

    width:100%;
    height:100vh;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    text-align:center;

    z-index:10;

    padding:
    120px 20px 60px;

}

/* COUNTDOWN */

.countdown-wrap{

    position:absolute;

    top:7%;

    left:50%;

    transform:translateX(-50%);

    z-index:30;

    display:flex;
    flex-direction:column;
    align-items:center;

    gap:16px;

    transition:
    opacity 1.5s ease,
    transform 1.5s ease;

}

.countdown-wrap::before{

    content:"";

    position:absolute;

    width:420px;
    height:180px;

    left:50%;
    top:50%;

    transform:
    translate(-50%,-50%);

    background:
    radial-gradient(
        circle,
        rgba(180,160,255,0.06) 0%,
        transparent 72%
    );

    filter:blur(70px);

    z-index:-1;

}

.countdown-label{

    font-size:8px;

    letter-spacing:0.7em;

    color:
    rgba(255,255,255,0.14);

    text-transform:uppercase;

}

.countdown{

    display:flex;

    align-items:flex-start;

    gap:30px;

    position:relative;

    animation:
    countdownFloat 7s ease-in-out infinite;

}

.time-box{

    position:relative;

    min-width:60px;

    transition:
    transform 1.4s ease,
    opacity 1.4s ease,
    filter 1.4s ease;

}

.time-box span{

    font-size:28px;

    font-weight:300;

    color:
    rgba(230,220,255,0.96);

    letter-spacing:0.28em;

    line-height:1;

    text-shadow:
    0 0 24px rgba(210,190,255,0.06);

}

.time-box small{

    display:block;

    margin-top:8px;

    font-size:7px;

    font-weight:400;

    letter-spacing:0.38em;

    text-transform:uppercase;

    color:
    rgba(255,255,255,0.14);

}

.time-box:not(:last-child)::after{

    content:":";

    position:absolute;

    right:-18px;
    top:-2px;

    font-size:18px;

    font-weight:200;

    color:
    rgba(255,255,255,0.10);

}

/* CLEAN REVEAL */

.revealed .countdown-wrap{

    opacity:0;

    transform:
    translateX(-50%)
    translateY(-60px);

}

.revealed .time-box{

    opacity:0;

    transform:
    translateY(-80px)
    scale(0.8);

    filter:
    blur(12px);

}

/* LOGO */

.logo-wrap{

    position:relative;

    width:100%;

    height:340px;

    display:flex;
    justify-content:center;
    align-items:center;

    margin-top:30px;

    margin-bottom:24px;

}

.logo-atmosphere{

    position:absolute;

    width:620px;
    height:620px;

    border-radius:50%;

    background:
    radial-gradient(
        circle,
        rgba(190,170,255,0.05) 0%,
        rgba(190,170,255,0.015) 42%,
        transparent 72%
    );

    filter:blur(120px);

}

.revealed .logo-atmosphere{

    animation:
    atmosphereBloom 2.8s cubic-bezier(.16,1,.3,1);

}

.logo-particles{

    position:absolute;

    inset:0;

    pointer-events:none;

    z-index:8;

}

.logo-particles span{

    position:absolute;

    left:50%;
    top:50%;

    width:4px;
    height:4px;

    border-radius:50%;

    background:
    rgba(255,255,255,0.9);

    opacity:0;

}

.revealed .logo-particles span{

    animation:
    explode 1.8s ease forwards;

}

.logo-blur{

    position:absolute;

    width:min(46vw,540px);

    z-index:4;

    opacity:1;

    object-fit:contain;

    filter:
    brightness(1.04);

    transition:
    opacity 2.2s ease,
    transform 2.2s ease,
    filter 2.2s ease;

    animation:
    logoFloat 7s ease-in-out infinite;

    will-change:
    transform,
    opacity,
    filter;

}

.logo-clear{

    position:absolute;

    width:min(46vw,540px);

    opacity:0;

    z-index:3;

    transform:scale(0.96);

    object-fit:contain;

    filter:
    brightness(1.1);

    transition:
    opacity 2.4s ease,
    transform 2.4s ease,
    filter 2.4s ease;

    will-change:
    transform,
    opacity,
    filter;

}

.revealed .logo-blur{

    opacity:0;

    transform:
    scale(1.04);

    filter:
    brightness(1.25);

}

.revealed .logo-clear{

    opacity:1;

    transform:
    scale(1);

    filter:
    brightness(1.08)
    drop-shadow(
        0 0 80px rgba(220,200,255,0.22));

    animation:
    logoReveal 2.2s cubic-bezier(.16,1,.3,1);

}

/* LIGHT SWEEP */

.light-sweep{

    position:absolute;

    width:140px;
    height:500px;

    background:
    linear-gradient(
        to right,
        transparent,
        rgba(255,255,255,0.10),
        transparent
    );

    transform:
    rotate(20deg)
    translateX(-900px);

    opacity:0;

    filter:blur(10px);

}

.revealed .light-sweep{

    animation:
    sweep 1.8s cubic-bezier(.16,1,.3,1) forwards;

}

.reveal-flash{

    position:absolute;

    width:520px;
    height:520px;

    border-radius:50%;

    background:
    radial-gradient(
        circle,
        rgba(255,255,255,0.08) 0%,
        transparent 70%
    );

    filter:blur(90px);

    opacity:0;

}

.revealed .reveal-flash{

    animation:
    revealFlash 1.8s ease forwards;

}

/* TEXT */

.eyebrow{

    font-size:9px;

    letter-spacing:0.7em;

    color:
    rgba(255,255,255,0.20);

}

.school{

    margin-top:14px;

    font-size:14px;

    font-weight:300;

    letter-spacing:0.62em;

    color:
    rgba(220,205,255,0.92);

    text-transform:uppercase;

}

.divider{

    width:100%;

    display:flex;
    justify-content:center;
    align-items:center;

    gap:14px;

    margin:26px 0;

}

.divider span{

    width:min(180px,24vw);

    height:1px;

    background:
    linear-gradient(
        to right,
        transparent,
        rgba(255,255,255,0.08),
        transparent
    );

}

.diamond{

    width:6px;
    height:6px;

    background:var(--purple);

    transform:rotate(45deg);

}

.headline{

    font-size:22px;

    font-weight:700;

    letter-spacing:0.32em;

    text-transform:uppercase;

    margin-top:4px;

}

.tagline{

    margin-top:14px;

    font-size:9px;

    letter-spacing:0.24em;

    color:
    rgba(255,255,255,0.42);

    transition:
    opacity 0.8s ease,
    transform 0.8s ease;

}

.tagline-show{

    opacity:1;

}

.tagline-hide{

    opacity:0;

    transform:translateY(10px);

}

/* SOCIAL */

.socials{

    margin-top:30px;

    position:relative;

    z-index:100;

}

.social{

    width:48px;
    height:48px;

    border-radius:50%;

    border:
    1px solid rgba(255,255,255,0.08);

    background:
    rgba(255,255,255,0.02);

    display:flex;
    justify-content:center;
    align-items:center;

    text-decoration:none;

    color:white;

    font-size:16px;

    transition:0.3s ease;

}

.social:hover{

    transform:
    translateY(-4px);

    background:white;

    color:black;

}

/* FOOTER */

.footer{

    position:absolute;

    bottom:16px;

    left:50%;

    transform:translateX(-50%);

    font-size:7px;

    letter-spacing:0.28em;

    color:
    rgba(255,255,255,0.10);

}

/* BUTTON */

#testReveal{

    position:fixed;

    top:16px;
    right:16px;

    z-index:999;

    padding:
    10px 14px;

    border:
    1px solid rgba(255,255,255,0.06);

    border-radius:999px;

    background:
    rgba(255,255,255,0.03);

    color:
    rgba(255,255,255,0.55);

    font-size:8px;

    letter-spacing:0.22em;

    cursor:pointer;

}

/* CURSOR GLOW */

.cursor-glow{

    position:fixed;

    width:240px;
    height:240px;

    border-radius:50%;

    pointer-events:none;

    background:
    radial-gradient(
        circle,
        rgba(170,140,255,0.06) 0%,
        transparent 70%
    );

    filter:blur(40px);

    z-index:2;

    transform:
    translate(-50%,-50%);

}

/* ANIMATIONS */

@keyframes pulse{

    0%{
        transform:
        translate(-50%,-50%)
        scale(1);
    }

    50%{
        transform:
        translate(-50%,-50%)
        scale(1.04);
    }

    100%{
        transform:
        translate(-50%,-50%)
        scale(1);
    }

}

@keyframes countdownFloat{

    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-5px);
    }

    100%{
        transform:translateY(0px);
    }

}

@keyframes logoFloat{

    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-6px);
    }

    100%{
        transform:translateY(0px);
    }

}

@keyframes revealFlash{

    0%{

        opacity:0;

        transform:
        scale(0.8);

    }

    30%{

        opacity:1;

    }

    100%{

        opacity:0;

        transform:
        scale(1.3);

    }

}

@keyframes screenFlash{

    0%{
        opacity:0;
    }

    10%{
        opacity:0.75;
    }

    100%{
        opacity:0;
    }

}

@keyframes explode{

    0%{

        transform:
        translate(0,0)
        scale(0.2);

        opacity:1;

    }

    100%{

        transform:
        translate(
            calc(var(--x) * 1px),
            calc(var(--y) * 1px)
        )
        scale(0);

        opacity:0;

    }

}

@keyframes atmosphereBloom{

    0%{

        opacity:0;

        transform:
        scale(0.6);

        filter:
        blur(180px);

    }

    100%{

        opacity:1;

        transform:
        scale(1);

        filter:
        blur(120px);

    }

}

@keyframes logoReveal{

    0%{

        opacity:0;

        transform:
        scale(0.88);

        filter:
        blur(14px)
        brightness(1.4);

    }

    45%{

        opacity:1;

    }

    100%{

        opacity:1;

        transform:
        scale(1);

        filter:
        blur(0px)
        brightness(1.08);

    }

}

@keyframes sweep{

    0%{

        opacity:0;

        transform:
        rotate(20deg)
        translateX(-900px);

    }

    20%{

        opacity:1;

    }

    100%{

        opacity:0;

        transform:
        rotate(20deg)
        translateX(900px);

    }

}

@keyframes float{

    0%{

        transform:
        translate3d(0,0,0);

        opacity:0;

    }

    8%{

        opacity:1;

    }

    100%{

        transform:
        translate3d(-120px,-120vh,0);

        opacity:0;

    }

}
#audioToggle{

    position:fixed;

    top:18px;
    left:18px;

    z-index:1000;

    border:none;

    outline:none;

    background:
    rgba(255,255,255,0.03);

    border:
    1px solid rgba(255,255,255,0.08);

    color:
    rgba(255,255,255,0.55);

    padding:
    10px 14px;

    border-radius:999px;

    font-size:8px;

    letter-spacing:0.24em;

    font-family:'Inter',sans-serif;

    cursor:pointer;

    backdrop-filter:blur(20px);

    transition:
    background 0.3s ease,
    color 0.3s ease,
    border 0.3s ease,
    transform 0.3s ease;

}

#audioToggle:hover{

    transform:
    translateY(-2px);

    background:
    rgba(255,255,255,0.06);

    color:
    rgba(255,255,255,0.82);

}

#audioToggle.muted{

    background:
    rgba(255,255,255,0.02);

    color:
    rgba(255,255,255,0.28);

    border:
    1px solid rgba(255,255,255,0.04);

}

/* MOBILE */

@media(max-width:768px){

    .container{

        padding:
        110px 18px 50px;

    }

    .glow{

        width:145vw;
        height:145vw;

        top:42%;

        filter:blur(120px);

    }

    .logo-wrap{

        height:250px;

        margin-top:40px;

        margin-bottom:10px;

    }

    .logo-blur,
    .logo-clear{

        width:88vw;

    }

    .countdown{

        gap:16px;

    }

    .time-box{

        min-width:auto;

    }

    .time-box span{

        font-size:18px;

        letter-spacing:0.18em;

    }

    .time-box small{

        font-size:4px;

        letter-spacing:0.22em;

    }

    .time-box:not(:last-child)::after{

        right:-10px;

        top:-1px;

        font-size:13px;

    }

    .school{

        font-size:10px;

        letter-spacing:0.34em;

    }

    .headline{

        font-size:17px;

        letter-spacing:0.16em;

    }

    .tagline{

        font-size:7px;

        letter-spacing:0.14em;

        padding:0 12px;

    }

}