*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Orbitron',sans-serif;
}

body{
    background:#050507;
    color:white;
    overflow-x:hidden;
    cursor:none;
}

#bg{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:-1;
}

.container{
    position:relative;
    z-index:2;
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.hero{
    display:flex;
    flex-direction:column;
    align-items:center;
    animation:floatAll 7s ease-in-out infinite;
}

@keyframes floatAll{
    0%{transform:translateY(0px);}
    50%{transform:translateY(-28px);}
    100%{transform:translateY(0px);}
}

.logo{
    --glow:#9b5cff;
    width:220px;
    animation:logoGlow 4.5s ease-in-out infinite;
}

@keyframes logoGlow{
    0%,100%{ filter:drop-shadow(0 0 22px var(--glow)); }
    50%{ filter:drop-shadow(0 0 52px var(--glow)); }
}

h1{
    margin-top:35px;
    font-size:32px;
    letter-spacing:3px;
    background:linear-gradient(90deg,#d4b3ff,#b388ff,#6a00ff,#b388ff);
    background-size:220% 100%;
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
    animation:titleShift 8s linear infinite;
}

@keyframes titleShift{
    to{ background-position:220% 0; }
}

.tagline{
    margin-top:15px;
    font-size:14px;
    letter-spacing:4px;
    opacity:.8;
}

.links{
    margin-top:40px;
    display:flex;
    gap:40px;
    font-size:14px;
    letter-spacing:3px;
}

.links a{
    position:relative;
    text-decoration:none;
    color:white;
    padding-bottom:6px;
    transition:color .3s, text-shadow .3s;
    cursor:none;
}

.links a::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:0;
    width:0;
    height:1px;
    background:#b388ff;
    box-shadow:0 0 10px #9b5cff;
    transition:width .3s ease, left .3s ease;
}

.links a:hover{
    color:#b388ff;
    text-shadow:0 0 16px rgba(155,92,255,.8);
}

.links a:hover::after{
    width:100%;
    left:0;
}

.reseller-panel{
    position:fixed;
    top:-100%;
    left:0;
    width:100%;
    height:100%;
    background:#0a0a12;
    z-index:5;
    transition:0.6s ease;
    padding:120px 10%;
    overflow-y:auto;
}

.reseller-panel.active{
    top:0;
}

.panel-title{
    text-align:center;
    font-size:28px;
    letter-spacing:6px;
    margin-bottom:80px;
    background:linear-gradient(90deg,#b388ff,#6a00ff);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
}

.close-btn{
    position:absolute;
    top:40px;
    right:60px;
    font-size:14px;
    letter-spacing:3px;
    cursor:none;
    color:#b388ff;
}

.close-btn:hover{
    color:white;
}

.reseller-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:40px;
}

.reseller-card{
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(155,92,255,0.3);
    padding:40px 30px;
    text-align:center;
    transition:0.4s;
}

.reseller-card:hover{
    transform:translateY(-10px);
    border-color:#9b5cff;
    box-shadow:0 0 36px rgba(155,92,255,0.45);
    background:rgba(155,92,255,0.06);
}

.reseller-card img{
    width:80px;
    margin-bottom:20px;
    filter:drop-shadow(0 0 15px #9b5cff);
}

.reseller-name{
    font-size:16px;
    letter-spacing:3px;
    margin-bottom:20px;
}

.reseller-links{
    display:flex;
    flex-direction:column;
    gap:12px;
    font-size:13px;
}

.reseller-links a{
    text-decoration:none;
    color:#b388ff;
}

.reseller-links a:hover{
    color:white;
}

.cursor,
.cursor-ring{
    position:fixed;
    top:0;
    left:0;
    pointer-events:none;
    z-index:30;
    border-radius:50%;
}

.cursor{
    width:6px;
    height:6px;
    background:#fff;
    box-shadow:0 0 12px #fff, 0 0 22px #9b5cff;
    transform:translate(-50%,-50%);
    animation:cursorPulse 2.2s ease-in-out infinite;
}

@keyframes cursorPulse{
    0%,100%{ box-shadow:0 0 8px #fff, 0 0 16px #9b5cff; }
    50%{ box-shadow:0 0 14px #fff, 0 0 28px #b388ff; }
}

.cursor-ring{
    width:34px;
    height:34px;
    border:1px solid rgba(179,136,255,.7);
    transform:translate(-50%,-50%);
    transition:width .25s ease, height .25s ease, border-color .25s;
}

.cursor-ring.is-hot{
    width:52px;
    height:52px;
    border-color:#b388ff;
}

.game{
    position:fixed;
    inset:0;
    z-index:20;
    background:rgba(5,5,7,.92);
}
.game[hidden]{ display:none; }

#gameCanvas{
    width:100%;
    height:100%;
    display:block;
}

.game-hud{
    position:absolute;
    top:22px;
    left:28px;
    right:28px;
    display:flex;
    justify-content:space-between;
    font-size:13px;
    letter-spacing:3px;
    color:#b388ff;
    pointer-events:none;
    text-shadow:0 0 12px rgba(155,92,255,.6);
}

.game-msg{
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    pointer-events:none;
}

.game-msg.is-hidden{ display:none; }

.game-title{
    font-size:clamp(36px, 7vw, 64px);
    letter-spacing:8px;
    background:linear-gradient(90deg,#d4b3ff,#6a00ff);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
}

.game-sub{
    margin-top:14px;
    letter-spacing:5px;
    font-size:13px;
    color:#b388ff;
}

.game-hint{
    margin-top:28px;
    font-size:12px;
    letter-spacing:2px;
    opacity:.7;
}

body.playing .cursor,
body.playing .cursor-ring{
    display:none;
}

body.playing{
    overflow:hidden;
}

footer{
    position:fixed;
    left:0;
    right:0;
    bottom:24px;
    z-index:3;
    text-align:center;
    font-size:11px;
    letter-spacing:1px;
    opacity:.45;
}

@media (max-width:720px){
    .links{
        flex-direction:column;
        gap:18px;
    }
    .close-btn{
        top:24px;
        right:24px;
    }
    .reseller-panel{
        padding:90px 8%;
    }
}

@media (hover:none), (pointer:coarse){
    body,
    .links a,
    .close-btn{
        cursor:auto;
    }
    .cursor,
    .cursor-ring{
        display:none;
    }
}

@media (prefers-reduced-motion:reduce){
    .hero,
    .logo,
    h1,
    .cursor{
        animation:none;
    }
}
