/* =========================
GLOBAL
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#020617;
    color:#ffffff;
    overflow-x:hidden;
}

/* =========================
NAVBAR
========================= */

.navbar{
    width:100%;
    position:fixed;
    top:0;
    left:0;
    z-index:999;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:16px 70px;
    background:rgba(3,7,18,0.92);
    backdrop-filter:blur(14px);
    border-bottom:1px solid rgba(255,255,255,0.05);
}

.logo{
    display:flex;
    align-items:center;
    gap:14px;
}

.logo a{
    text-decoration:none;
}

.logo img{
    width:55px;
    height:55px;
    object-fit:contain;
}

.logo h2{
    font-size:22px;
    color:#00ffd5;
    font-weight:800;
    letter-spacing:1px;
}

.nav-links{
    display:flex;
    align-items:center;
    gap:40px;
}

.nav-links a{
    color:#ffffff;
    text-decoration:none;
    font-size:17px;
    font-weight:600;
    transition:0.3s;
}

.nav-links a:hover{
    color:#00ffd5;
}

.auth-buttons{
    display:flex;
    align-items:center;
    gap:15px;
}

.login-btn{
    background:#101a34;
    color:#ffffff;
    padding:14px 30px;
    border-radius:16px;
    text-decoration:none;
    font-weight:700;
    transition:0.3s;
}

.register-btn{
    background:#ff2f87;
    color:#ffffff;
    padding:14px 30px;
    border-radius:16px;
    text-decoration:none;
    font-weight:700;
    transition:0.3s;
}

.login-btn:hover,
.register-btn:hover{
    transform:translateY(-3px);
}

/* =========================
HERO VIDEO
========================= */

.hero-video{
    position:relative;
    width:100%;
    height:100vh;
    overflow:hidden;
    background:#000;
}

.bg-video{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
}

.video-overlay{
    position:absolute;
    inset:0;
    background:
    linear-gradient(
    to right,
    rgba(0,0,0,0.88),
    rgba(0,0,0,0.45)
    );
}

/* =========================
HERO CONTENT
========================= */

.hero-content{
    position:absolute;
    top:54%;
    left:80px;
    transform:translateY(-50%);
    z-index:10;
    max-width:760px;
}

.hero-badge{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:14px 28px;
    border-radius:60px;
    background:rgba(0,255,213,0.08);
    border:2px solid #00ffd5;
    color:#00ffd5;
    font-size:18px;
    font-weight:700;
    margin-bottom:35px;
    backdrop-filter:blur(12px);
    box-shadow:0 0 25px rgba(0,255,213,0.25);
}

.hero-content h1{
    font-size:110px;
    line-height:0.9;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:-4px;
    margin-bottom:28px;
    color:#ffffff;
    text-shadow:0 0 30px rgba(0,0,0,0.8);
}

.hero-content h1 span{
    color:#00d9ff;
    text-shadow:
    0 0 20px #00d9ff,
    0 0 40px #00d9ff;
}

.hero-content p{
    font-size:25px;
    line-height:1.7;
    color:#f1f5f9;
    margin-bottom:22px;
    text-shadow:0 0 15px rgba(0,0,0,0.8);
}

.retro-line{
    font-size:22px;
    font-weight:700;
    color:#ffffff;
    margin-bottom:40px;
}

/* =========================
BUTTONS
========================= */

.hero-buttons{
    display:flex;
    align-items:center;
    gap:25px;
    margin-bottom:45px;
}

.play-btn{
    background:#1ff5d2;
    color:#000000;
    padding:20px 42px;
    border-radius:18px;
    text-decoration:none;
    font-size:22px;
    font-weight:800;
    transition:0.3s;
    box-shadow:0 0 25px rgba(31,245,210,0.4);
}

.join-btn{
    background:#ff2f87;
    color:#ffffff;
    padding:20px 42px;
    border-radius:18px;
    text-decoration:none;
    font-size:22px;
    font-weight:800;
    transition:0.3s;
    box-shadow:0 0 25px rgba(255,47,135,0.4);
}

.play-btn:hover,
.join-btn:hover{
    transform:translateY(-6px) scale(1.03);
}

/* =========================
STATS
========================= */

.hero-stats{
    display:flex;
    flex-wrap:wrap;
    gap:22px;
}

.stat-box{
    background:rgba(13,17,34,0.72);
    border:1px solid rgba(255,255,255,0.08);
    padding:18px 28px;
    border-radius:18px;
    font-size:19px;
    font-weight:700;
    color:#ffffff;
    backdrop-filter:blur(10px);
    box-shadow:0 0 20px rgba(0,0,0,0.35);
}

/* =========================
GAMES SECTION
========================= */

.games-section{
    width:100%;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
    padding:100px 70px;
    background:#081226;
}

.game-card{
    background:#101b33;
    border-radius:24px;
    overflow:hidden;
    transition:0.3s;
    box-shadow:0 0 25px rgba(0,0,0,0.3);
}

.game-card:hover{
    transform:translateY(-10px);
}

.game-card img{
    width:100%;
    height:230px;
    object-fit:cover;
}

.game-card h2{
    font-size:34px;
    padding:25px;
}

.game-card a{
    display:inline-block;
    margin:0 25px 30px;
    padding:14px 30px;
    background:#19f5d1;
    color:#000000;
    text-decoration:none;
    border-radius:14px;
    font-weight:700;
}

/* =========================
FOOTER
========================= */

.footer{
    background:#050b18;
    padding-top:90px;
}

.footer-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:50px;
    padding:0 70px 70px;
}

.footer-box h2{
    font-size:34px;
    margin-bottom:20px;
}

.footer-box h3{
    font-size:24px;
    margin-bottom:20px;
}

.footer-box p{
    color:#94a3b8;
    line-height:1.8;
    margin-bottom:20px;
}

.footer-box a{
    display:block;
    margin-bottom:14px;
    color:#cbd5e1;
    text-decoration:none;
    transition:0.3s;
}

.footer-box a:hover{
    color:#00ffd5;
    transform:translateX(5px);
}

.footer-social{
    display:flex;
    gap:14px;
    margin-top:20px;
}

.footer-social a{
    width:50px;
    height:50px;
    background:#131b2e;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#ffffff;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,0.05);
    padding:30px 70px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:15px;
}

.footer-bottom p{
    color:#94a3b8;
}

/* =========================
RESPONSIVE
========================= */

@media(max-width:992px){

    .navbar{
        padding:16px 20px;
    }

    .nav-links{
        display:none;
    }

    .hero-content{
        left:25px;
        right:25px;
        max-width:100%;
    }

    .hero-content h1{
        font-size:58px;
    }

    .hero-content p{
        font-size:18px;
    }

    .retro-line{
        font-size:18px;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:flex-start;
    }

    .hero-stats{
        flex-direction:column;
    }

    .games-section{
        padding:70px 20px;
    }

    .footer-container{
        padding:0 20px 50px;
    }

    .footer-bottom{
        padding:20px;
        flex-direction:column;
        text-align:center;
    }

}