/* RESET */
*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Inter',sans-serif;
min-height:100vh;
overflow-x:hidden;

background: linear-gradient(
to bottom,
#000000 0%,
#000000 100%
);

display:flex;
justify-content:center;
align-items:center;
padding:40px;
}

.bg-glow{
position:fixed;
inset:0;
background:
radial-gradient(
circle at top,
rgba(255,255,255,0.08),
transparent 40%
);
filter:blur(90px);
pointer-events:none;
}

.wrapper{
width:100%;
max-width:1100px;
position:relative;
z-index:5;
text-align:center;
}

/* LOGO */
.logo{
width:140px;
height:140px;
object-fit:cover;
border-radius:50%;
margin-bottom:25px;
filter:
drop-shadow(0 0 18px rgba(255,255,255,0.22))
drop-shadow(0 0 45px rgba(255,255,255,0.12));
transition:0.4s ease;
animation: logoGlowPulse 3.5s ease-in-out infinite;
}

.logo:hover{
transform:scale(1.04);
filter:
drop-shadow(0 0 28px rgba(255,255,255,0.28))
drop-shadow(0 0 60px rgba(255,255,255,0.16));
}

@keyframes logoGlowPulse {
0% {
filter:
drop-shadow(0 0 10px rgba(255,255,255,0.10))
drop-shadow(0 0 20px rgba(255,255,255,0.05));
}
50% {
filter:
drop-shadow(0 0 25px rgba(255,255,255,0.35))
drop-shadow(0 0 60px rgba(255,255,255,0.18));
}
100% {
filter:
drop-shadow(0 0 10px rgba(255,255,255,0.10))
drop-shadow(0 0 20px rgba(255,255,255,0.05));
}
}

/* TITLE */
h1{
color:#fff;
font-size:72px;
font-weight:800;
letter-spacing:3px;
margin-bottom:35px;
animation:floating 5s ease-in-out infinite;
}

@keyframes floating{
0%{transform:translateY(0);}
50%{transform:translateY(-6px);}
100%{transform:translateY(0);}
}

/* TYPEWRITER */
.search-box{
width:100%;
max-width:650px;
margin:auto;
height:62px;
border-radius:18px;
display:flex;
align-items:center;
justify-content:center;
color:#d0d0d0;
background:rgba(255,255,255,0.05);
border:1px solid rgba(255,255,255,0.08);
margin-bottom:30px;
font-size:18px;
font-weight:500;
}

.cursor{
animation:blink 0.8s infinite;
}

@keyframes blink{
50%{opacity:0;}
}

/* TABS */
.tabs{
position:relative;
display:flex;
justify-content:center;
gap:12px;
padding:8px;
border-radius:20px;
background:rgba(255,255,255,0.04);
border:1px solid rgba(255,255,255,0.08);
width:fit-content;
margin:auto;
}

.tab{
border:none;
cursor:pointer;
padding:14px 28px;
border-radius:14px;
color:#fff;
background:transparent;
font-size:15px;
font-weight:600;
transition:0.25s;
z-index:2;
}

.tab:hover{
transform:translateY(-2px);
}

.tab.active{
color:black;
}

.tab-indicator{
position:absolute;
top:8px;
left:8px;
height:calc(100% - 16px);
border-radius:14px;
background:linear-gradient(to bottom,#fff,#bdbdbd);
transition:0.35s ease;
z-index:1;
}

/* CONTENT */
.content{
display:none;
animation:fade 0.3s ease;
}

.content.active{
display:block;
}

@keyframes fade{
from{opacity:0; transform:translateY(10px);}
to{opacity:1; transform:translateY(0);}
}

.content-wrapper{
margin-top:55px;
}

/* CARDS */
.cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
gap:28px;
margin-bottom:45px;
}

.card{
background:rgba(255,255,255,0.04);
border:1px solid rgba(255,255,255,0.08);
border-radius:24px;
padding:40px;
text-align:left;
transition:0.25s ease;
backdrop-filter:blur(18px);
min-height:250px;
}

.card:hover{
transform:translateY(-6px);
background:rgba(255,255,255,0.06);
}

.card h2{
color:white;
font-size:42px;
margin-bottom:35px;
}

.single-card{
width:100%;
max-width:1100px;
margin:auto;
padding:40px;
border-radius:24px;
background:rgba(255,255,255,0.04);
border:1px solid rgba(255,255,255,0.08);
backdrop-filter:blur(18px);
text-align:left;
min-height:250px;
margin-bottom:45px;
}

.single-card h2{
color:white;
font-size:42px;
margin-bottom:35px;
}

.single-card p{
color:#b9b9b9;
font-size:18px;
}

/* BUTTON */
.btn{
display:inline-flex;
align-items:center;
justify-content:center;
width:170px;
height:56px;
border-radius:18px;
text-decoration:none;
color:black;
font-weight:700;
background:linear-gradient(to bottom,#fff,#bdbdbd);
box-shadow:0 0 25px rgba(255,255,255,0.12);
transition:0.25s ease;
}

.btn:hover{
transform:scale(1.04);
}

/* STATUS */
.status{
margin-top:22px;
color:#b9b9b9;
font-size:18px;
}

.online{
color:#56ff7a;
font-weight:700;
}

/* DISCORD */
.discord-box{
width:100%;
max-width:650px;
margin:auto;
padding:28px;
border-radius:22px;
background:rgba(255,255,255,0.05);
border:1px solid rgba(255,255,255,0.08);
display:flex;
justify-content:center;
}

.discord-btn{
position:relative;
display:inline-flex;
align-items:center;
justify-content:center;
width:320px;
height:62px;
border-radius:18px;
text-decoration:none;
color:black;
font-size:20px;
font-weight:700;
background:linear-gradient(to bottom,#fff,#bdbdbd);
}

.discord-icon{
position:absolute;
left:16px;
width:32px;
height:32px;
object-fit:contain;
}

/* RESPONSIVE */
@media(max-width:700px){

body{
padding:20px;
}

.logo{
width:100px;
height:100px;
}

h1{
font-size:42px;
letter-spacing:1px;
}

.search-box{
height:56px;
font-size:16px;
padding:0 15px;
}

.tabs{
width:100%;
max-width:500px;
margin:auto;
display:grid;
grid-template-columns:repeat(3,1fr);
gap:8px;
padding:8px;
}

.tab{
padding:12px 0;
font-size:14px;
}

.card h2,
.single-card h2{
font-size:28px;
margin-bottom:20px;
}

.card,
.single-card{
padding:25px;
min-height:auto;
}

.btn{
width:100%;
}

.discord-box{
padding:20px;
}

.discord-btn{
width:100%;
font-size:18px;
}

.discord-icon{
width:28px;
height:28px;
left:12px;
}

video{
width:100%;
height:auto;
border-radius:12px;
}

}
/* =========================
   SPACE STARS BACKGROUND
========================= */

#stars{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
pointer-events:none;
overflow:hidden;
z-index:1;
}

.star{
position:absolute;
background:white;
border-radius:50%;
opacity:0;
animation:twinkle linear infinite;
}

@keyframes twinkle{

0%{
opacity:0;
transform:scale(0.4);
box-shadow:
0 0 0px rgba(255,255,255,0);
}

25%{
opacity:0.4;
transform:scale(0.7);
box-shadow:
0 0 2px rgba(255,255,255,0.15);
}

50%{
opacity:1;
transform:scale(1);
box-shadow:
0 0 4px rgba(255,255,255,0.35),
0 0 8px rgba(255,255,255,0.15);
}

75%{
opacity:0.4;
transform:scale(0.7);
box-shadow:
0 0 2px rgba(255,255,255,0.15);
}

100%{
opacity:0;
transform:scale(0.4);
box-shadow:
0 0 0px rgba(255,255,255,0);
}

}
#comet{
position:fixed;
inset:0;
pointer-events:none;
z-index:2;
overflow:hidden;
}

.comet{
position:absolute;
width:6px;
height:6px;
border-radius:50%;
background:white;

box-shadow:
0 0 6px white,
0 0 14px rgba(255,255,255,0.8),
0 0 28px rgba(255,255,255,0.4);

/* ВАЖНО: теперь поворот управляется JS */
transform:translate(0,0) rotate(var(--angle)) scale(1);

animation:fly 1.6s ease-out forwards;
}

/* ХВОСТ ВСЕГДА СЗАДИ */
.comet::after{
content:"";
position:absolute;
right:0;
top:50%;
width:180px;
height:2px;
transform:translateY(-50%);
background:linear-gradient(to left, rgba(255,255,255,0.9), transparent);
opacity:0.9;
filter:blur(0.4px);
}

@keyframes fly{
0%{
opacity:0;
transform:translate(0,0) rotate(var(--angle)) scale(0.8);
}

10%{
opacity:1;
}

100%{
opacity:0;
transform:translate(var(--dx), var(--dy)) rotate(var(--angle)) scale(1.2);
}
}
.comet-flash{
position:absolute;
width:6px;
height:6px;
border-radius:50%;
background:white;
box-shadow:
0 0 10px white,
0 0 20px rgba(255,255,255,0.8),
0 0 40px rgba(255,255,255,0.5);
animation:flash 0.25s ease-out forwards;
}

@keyframes flash{
0%{opacity:1; transform:scale(1);}
100%{opacity:0; transform:scale(6);}
}