/*==================================================
 GOOGLE FONT
==================================================*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

/*==================================================
 RESET
==================================================*/

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

html{
    scroll-behavior:smooth;
}

body{

    background:#08111d;

    color:#fff;

    font-family:"Inter",sans-serif;

    overflow-x:hidden;

}

/*==================================================
VOTE PAGE
==================================================*/

.vote-page{

    padding:90px 20px 120px;

}

.vote-container{

    width:min(700px,92%);

    margin:auto;

    text-align:center;

}

/*==================================================
USERNAME
==================================================*/

.username-input{

    width:100%;

    height:64px;

    padding:0 24px;

    margin-bottom:35px;

    border-radius:14px;

    border:1px solid rgba(90,220,255,.22);

    background:

        rgba(18,30,48,.82);

    color:white;

    font-size:18px;

    outline:none;

    transition:.3s;

    box-shadow:

        inset 0 1px 0 rgba(255,255,255,.05);

}

.username-input::placeholder{

    color:#8faecc;

}

.username-input:focus{

    border-color:var(--cyan);

    box-shadow:

        0 0 20px rgba(90,220,255,.25);

}

/*==================================================
VOTE CARD
==================================================*/

.vote-card{

    position:relative;

    display:block;

    text-decoration:none;

    overflow:hidden;

    padding:50px 35px;

    border-radius:18px;

    background:

        linear-gradient(

            180deg,

            rgba(22,35,55,.92),

            rgba(10,18,30,.96)

        );

    border:1px solid rgba(90,220,255,.20);

    transition:.35s;

    box-shadow:

        0 15px 35px rgba(0,0,0,.45);

}

.vote-card:hover{

    transform:

        translateY(-8px);

    border-color:var(--cyan);

    box-shadow:

        0 0 35px rgba(90,220,255,.35);

}

.vote-card::before{

    content:"";

    position:absolute;

    top:-40px;

    left:-120px;

    width:60px;

    height:220px;

    transform:rotate(25deg);

    background:

        linear-gradient(

            transparent,

            rgba(255,255,255,.18),

            transparent

        );

    animation:buttonSweep 4s linear infinite;

}

.vote-card .card-icon{

    font-size:70px;

    color:var(--cyan);

    margin-bottom:25px;

    filter:

        drop-shadow(

            0 0 18px rgba(90,220,255,.55)

        );

}

.vote-card h3{

    font-family:"Cinzel",serif;

    font-size:32px;

    color:white;

    margin-bottom:18px;

}

.vote-card p{

    color:var(--muted);

    line-height:1.8;

}

/*==================================================
NOTE
==================================================*/

.vote-note{

    margin-top:35px;

    padding:18px 25px;

    border-radius:14px;

    background:

        rgba(18,30,48,.78);

    border:1px solid rgba(90,220,255,.15);

    color:var(--muted);

    line-height:1.8;

}

.vote-note i{

    color:var(--cyan);

    margin-right:10px;

}

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:900px){

    .vote-card{

        padding:35px 25px;

    }

    .vote-card h3{

        font-size:26px;

    }

}

/*==================================================
 COLORS
==================================================*/

:root{

    --bg:#08111d;

    --panel:#13233a;

    --panel2:#1b304d;

    --blue:#2b8cff;

    --cyan:#6ee2ff;

    --purple:#845dff;

    --gold:#ffd36a;

    --text:#eaf6ff;

    --muted:#9fb9d9;

}

/*==================================================
 CONTAINER
==================================================*/

.container{

    width:min(1200px,92%);

    margin:auto;

}

/*==================================================
 BACKGROUND
==================================================*/

#background{

    position:fixed;

    inset:0;

    overflow:hidden;

    z-index:-5;

}

#bg{

    position:absolute;

    width:110%;

    height:110%;

    top:-5%;

    left:-5%;

    object-fit:cover;

    animation:bgMove 18s ease-in-out infinite alternate;

}

/*==================================================
 VIGNETTE
==================================================*/

#vignette{

    position:absolute;

    inset:0;

    background:

    radial-gradient(

        circle,

        transparent 25%,

        rgba(0,0,0,.82) 100%

    );

}

/*==================================================
 STARS
==================================================*/

#stars,
#stars::before,
#stars::after{

    position:absolute;

    inset:0;

    content:"";

    background-image:

    radial-gradient(

        rgba(255,255,255,.9) 1px,

        transparent 1px

    );

    background-size:34px 34px;

    opacity:.18;

}

#stars{

    animation:stars1 18s linear infinite;

}

#stars::before{

    animation:stars2 24s linear infinite;

}

#stars::after{

    animation:stars3 28s linear infinite;

}

/*==================================================
 FOG
==================================================*/

#fog{

    position:absolute;

    inset:0;

    background:

    linear-gradient(

        90deg,

        transparent,

        rgba(120,220,255,.06),

        transparent

    );

    filter:blur(22px);

    animation:fogMove 10s linear infinite;

}

/*==================================================
 METEOR
==================================================*/

#meteor{

    position:absolute;

    width:220px;

    height:3px;

    background:

    linear-gradient(

        90deg,

        transparent,

        white,

        cyan

    );

    transform:rotate(-25deg);

    box-shadow:

        0 0 10px white,

        0 0 25px cyan;

    animation:meteor 8s linear infinite;

}

/*==================================================
 HEADER
==================================================*/

header{

    position:fixed;

    width:100%;

    top:0;

    z-index:1000;

    backdrop-filter:blur(16px);

    background:

    rgba(8,16,30,.72);

    border-bottom:

    1px solid rgba(90,220,255,.15);

}

header .container{

    height:90px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

/*==================================================
 LOGO
==================================================*/

.logo img{

    width:180px;

    animation:

    logoFloat 5s ease-in-out infinite;

    filter:

    drop-shadow(

        0 0 15px rgba(90,220,255,.55)

    );

}

/*==================================================
 NAVIGATION
==================================================*/

nav{

    display:flex;

    gap:34px;

}

nav a{

    color:var(--text);

    text-decoration:none;

    font-weight:600;

    transition:.3s;

    position:relative;

}

nav a:hover{

    color:var(--cyan);

}

nav a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-6px;

    width:0;

    height:2px;

    background:var(--cyan);

    transition:.3s;

}

nav a:hover::after{

    width:100%;

}

/*======================================
SERVER
======================================*/

.server{

padding:130px 0;

}

.server-box{

width:min(1200px,92%);

margin:auto;

padding:70px;

border-radius:20px;

background:

linear-gradient(

180deg,

rgba(22,35,55,.92),

rgba(10,18,30,.96)

);

border:1px solid rgba(90,220,255,.2);

box-shadow:

0 0 30px rgba(90,220,255,.15);

}

.server-box h2{

text-align:center;

font-family:"Cinzel",serif;

font-size:48px;

margin-bottom:60px;

}

.server-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:35px;

text-align:center;

}

.server-grid h3{

font-size:48px;

color:var(--cyan);

margin-bottom:12px;

}

.server-grid span{

color:var(--muted);

font-size:18px;

}

/*======================================
FINAL CTA
======================================*/

.cta{

padding:140px 20px;

text-align:center;

}

.cta h2{

font-family:"Cinzel",serif;

font-size:60px;

margin-bottom:20px;

}

.cta p{

font-size:20px;

color:var(--muted);

margin-bottom:50px;

}

/*==================================================
 HERO
==================================================*/
.hero-info{

margin-top:45px;

display:grid;

gap:18px;

}

.hero-info div{

display:flex;

align-items:center;

gap:12px;

color:var(--text);

}

.hero-info i{

color:var(--cyan);

}

.hero{

min-height:100vh;

display:grid;

grid-template-columns:1fr 1fr;

align-items:center;

gap:60px;

width:min(1350px,92%);

margin:auto;

padding-top:15px;

}

.hero-left{

z-index:2;

}

.hero-right{

display:flex;

justify-content:flex-end;

align-items:center;

}

.hero-character{

width:520px;

max-width:100%;

margin-top:60px;

animation:

characterFloat 5s ease-in-out infinite;

filter:

drop-shadow(

0 0 45px rgba(90,220,255,.45)

);

}

.hero-content{

    max-width:850px;

}

.hero h1{

    font-family:"Cinzel",serif;

    font-size:68px;

    font-weight:900;

    line-height:1.15;

    color:#ffffff;

    text-shadow:

        0 0 15px rgba(90,220,255,.35),

        0 0 40px rgba(70,120,255,.25);

}

.hero p{

    margin-top:22px;

    color:var(--muted);

    font-size:22px;

    line-height:1.8;

}

/*==================================================
 HERO BUTTONS
==================================================*/

.buttons{

    margin-top:45px;

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

.primary,
.secondary{

    position:relative;

    overflow:hidden;

    display:flex;

    justify-content:center;

    align-items:center;

    text-decoration:none;

    font-weight:700;

    transition:.35s;

}

.primary{

    width:240px;

    height:58px;

    border-radius:12px;

    color:white;

    font-size:20px;

    background:

        linear-gradient(
            180deg,
            #2b8cff,
            #0f58b8
        );

    border:2px solid var(--cyan);

    box-shadow:

        0 0 20px rgba(90,220,255,.45);

}

.primary:hover{

    transform:
        translateY(-3px)
        scale(1.03);

    box-shadow:

        0 0 35px rgba(90,220,255,.75);

}

.secondary{

    width:240px;

    height:58px;

    border-radius:12px;

    color:var(--text);

    font-size:20px;

    border:2px solid rgba(90,220,255,.35);

    background:

        rgba(25,40,60,.55);

    backdrop-filter:blur(16px);

}

.secondary:hover{

    border-color:var(--cyan);

    color:white;

    transform:
        translateY(-3px);

}

/* Button shine */

.primary::before,
.secondary::before{

    content:"";

    position:absolute;

    top:-25px;

    left:-80px;

    width:50px;

    height:130px;

    transform:rotate(25deg);

    background:

        linear-gradient(

            rgba(255,255,255,0),

            rgba(255,255,255,.45),

            rgba(255,255,255,0)

        );

    animation:buttonSweep 3.5s linear infinite;

}
/*==================================================
 STATS
==================================================*/

.stats{

    margin-top:50px;

    display:flex;

    justify-content:center;

    gap:40px;

    flex-wrap:wrap;

}

.stats div{

    display:flex;

    align-items:center;

    gap:10px;

    padding:14px 22px;

    border-radius:12px;

    background:

        rgba(18,30,48,.65);

    backdrop-filter:blur(18px);

    border:1px solid rgba(90,220,255,.18);

    color:var(--text);

    box-shadow:

        inset 0 1px 0 rgba(255,255,255,.05),

        0 8px 20px rgba(0,0,0,.35);

}

.stats i{

    color:var(--cyan);

    font-size:18px;

}
/*==================================================
 HERO ANIMATIONS
==================================================*/

@keyframes cardSweep{

    from{

        left:-120px;

    }

    to{

        left:420px;

    }

}

@keyframes logoFloat{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-6px);

    }

    100%{

        transform:translateY(0);

    }

}

@keyframes buttonSweep{

    0%{

        left:-80px;

    }

    100%{

        left:320px;

    }

}

@keyframes bgMove{

    from{

        transform:scale(1);

    }

    to{

        transform:

            scale(1.08)

            translateX(-20px);

    }

}

@keyframes fogMove{

    from{

        transform:translateX(-60px);

    }

    to{

        transform:translateX(60px);

    }

}

@keyframes stars1{

    from{transform:translateY(0);}
    to{transform:translateY(-40px);}

}

@keyframes stars2{

    from{transform:translateY(20px);}
    to{transform:translateY(-25px);}

}

@keyframes stars3{

    from{transform:translateY(-15px);}
    to{transform:translateY(20px);}

}

@keyframes meteor{

    0%{

        left:-240px;
        top:0;

        opacity:0;

    }

    10%{

        opacity:1;

    }

    55%{

        left:110%;
        top:240px;

    }

    100%{

        opacity:0;

    }

}
/*==================================================
FEATURES
==================================================*/

.features{

    padding:120px 0;

}

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-title h2{

    font-family:"Cinzel",serif;

    font-size:52px;

    color:white;

    margin-bottom:15px;

    text-shadow:
        0 0 20px rgba(90,220,255,.35);

}

.section-title p{

    color:var(--muted);

    font-size:20px;

}

/* GRID */

.feature-grid{

    width:min(1300px,92%);

    margin:auto;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

/* CARD */

.feature-card{

    background:

        linear-gradient(

            180deg,

            rgba(22,35,55,.92),

            rgba(10,18,30,.95)

        );

    border:1px solid rgba(90,220,255,.18);

    border-radius:18px;

    padding:35px;

    text-align:center;

    transition:.35s;

    box-shadow:

        0 12px 30px rgba(0,0,0,.4);

}

.feature-card:hover{

    transform:translateY(-8px);

    border-color:var(--cyan);

    box-shadow:

        0 0 25px rgba(90,220,255,.35);

}

.feature-card img{

    width:64px;

    height:64px;

    object-fit:contain;

    margin-bottom:20px;

    filter:

        drop-shadow(

            0 0 15px rgba(90,220,255,.55)

        );

}

.feature-card h3{

    font-family:"Cinzel",serif;

    color:var(--cyan);

    margin-bottom:15px;

}

.feature-card p{

    color:var(--muted);

    line-height:1.7;

}
/*==================================================
FOOTER
==================================================*/

footer{

    padding:80px 20px;

    text-align:center;

    background:

        linear-gradient(

            rgba(10,18,30,.95),

            rgba(4,8,15,1)

        );

    border-top:

        1px solid rgba(90,220,255,.20);

}

footer img{

    width:220px;

    margin-bottom:25px;

    filter:

        drop-shadow(

            0 0 18px rgba(90,220,255,.45)

        );

}

footer p{

    color:var(--muted);

    line-height:1.8;

}
/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:1000px){

.cards{

grid-template-columns:1fr;

}

.hero h1{

font-size:48px;

}

nav{

display:none;

}

.stats{

flex-direction:column;

gap:15px;

}

.buttons{

flex-direction:column;

align-items:center;

}

}
/*=========================================
 PARTICLES
=========================================*/

.particle{

position:absolute;

width:4px;

height:4px;

border-radius:50%;

background:white;

box-shadow:

0 0 10px white,

0 0 20px cyan;

opacity:0;

pointer-events:none;

animation:particleFloat linear forwards;

}

/*=========================================
 SCROLL REVEAL
=========================================*/

.card{

opacity:0;

transform:

translateY(60px);

}

.card.show{

opacity:1;

transform:

translateY(0);

transition:

1s cubic-bezier(.2,.7,.2,1);

}

/*=========================================
 ANIMATIONS
=========================================*/
@keyframes characterFloat{

0%{

transform:translateY(0);

}

50%{

transform:translateY(-10px);

}

100%{

transform:translateY(0);

}

@keyframes particleFloat{

0%{

opacity:0;

transform:

translateY(0)

scale(.4);

}

20%{

opacity:1;

}

100%{

opacity:0;

transform:

translateY(-220px)

translateX(20px)

scale(1.5);

}

}