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

body {
    font-family: 'Poppins', sans-serif;
    background: #0f172a;
    color: white;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: #020617;
    flex-wrap: wrap;
}

.navbar a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
    transition: 0.3s;
}

.navbar a:hover {
    color: #38bdf8;
}

.logo img {
    height: 70px;
    width: auto;
}

/* HERO */
.hero {
    min-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;

    background: 
        linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
        url("/images/bp.jpg");

    background-size: cover;
    background-position: center;
}

.hero h2 {
    font-size: 48px;
}

.hero p {
    margin: 15px 0;
    color: #94a3b8;
}

/* BUTTONS */
.buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 25px;
    background: #38bdf8;
    color: black;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.btn.secondary {
    background: transparent;
    border: 2px solid #38bdf8;
    color: #38bdf8;
}

/* FEATURES */
.features {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 50px 20px;
    flex-wrap: wrap;
}

.feature-box {
    background: #1e293b;
    padding: 20px;
    border-radius: 10px;
    width: 250px;
    text-align: center;
}

/* GAME CARDS */
.games {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.card {
    background: #020617;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    width: 250px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    background: #1e293b;
}

.card-img {
    width: 80px;
    margin-bottom: 15px;
    transition: 0.3s;
}

.card:hover .card-img {
    transform: scale(1.1);
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    background: #020617;
    color: #94a3b8;
}

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

/* Tablet */
@media (max-width: 992px) {
    .navbar {
        padding: 20px;
    }

    .hero h2 {
        font-size: 36px;
    }

    .features {
        gap: 20px;
    }

    .games {
        gap: 30px;
    }
}

/* Mobile */
@media (max-width: 768px) {

    /* Navbar */
    .navbar {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .navbar a {
        margin: 8px 0;
    }

    .logo img {
        height: 50px;
    }

    /* Hero */
    .hero {
        min-height: 70vh;
    }

    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
    }

    /* Buttons */
    .buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn {
        width: 90%;
        text-align: center;
    }

    /* Features */
    .features {
        flex-direction: column;
        align-items: center;
    }

    .feature-box {
        width: 90%;
    }

    /* Cards */
    .games {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
    }
}
