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

body{
    background:#0f172a;
    color:#fff;
}

/* ===== NAVBAR ===== */

.navbar{
    width:100%;
    height:75px;
    background:#111827;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 40px;
    position:sticky;
    top:0;
    z-index:999;
}

.logo{
    flex:1;
}

.logo a{
    color:#fff;
    font-size:32px;
    font-weight:700;
    text-decoration:none;
}

.menu{
    flex:2;
    display:flex;
    justify-content:center;
    gap:35px;
}

.menu a{
    color:#fff;
    text-decoration:none;
    font-size:17px;
    font-weight:600;
    white-space:nowrap;
    transition:.3s;
}

.menu a:hover{
    color:#3b82f6;
}

.user-menu{
    flex:1;
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:12px;
}

.user-info{
    display:flex;
    align-items:center;
    gap:8px;
    font-weight:600;
    white-space:nowrap;
}

.money{
    color:#ffd700;
    font-weight:bold;
}

.icon-btn{
    width:40px;
    height:40px;
    border:none;
    border-radius:10px;
    background:#1f2937;
    color:#fff;
    cursor:pointer;
    font-size:18px;
}

.icon-btn:hover{
    background:#2563eb;
}

/* ===== DROPDOWN ===== */

.dropdown{
    position:relative;
}

.dropdown-menu{
    display:none;
    position:absolute;
    right:0;
    top:48px;
    width:220px;
    background:#1f2937;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.4);
}

.dropdown-menu a{
    display:block;
    color:#fff;
    text-decoration:none;
    padding:14px 18px;
}

.dropdown-menu a:hover{
    background:#2563eb;
}

.dropdown:hover .dropdown-menu{
    display:block;
}

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

.hero{
    text-align:center;
    padding:120px 20px;
    background:linear-gradient(135deg,#2563eb,#dc2626);
}

.hero h1{
    font-size:58px;
    margin-bottom:20px;
}

.hero p{
    font-size:22px;
    margin-bottom:30px;
}

.btn{
    display:inline-block;
    padding:15px 35px;
    border-radius:12px;
    background:white;
    color:#111;
    text-decoration:none;
    font-weight:bold;
}

/* ===== SECTION ===== */

.games,
.feature{
    padding:70px 8%;
}

.games h2,
.feature h2{
    margin-bottom:25px;
}

/* ===== GRID ===== */

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

.card{
    background:#1e293b;
    border-radius:18px;
    padding:28px;
    transition:.3s;
    cursor:pointer;
}

.card:hover{
    transform:translateY(-8px);
    background:#2563eb;
}

.card h3{
    font-size:24px;
}

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

footer{
    margin-top:60px;
    padding:25px;
    background:#08111f;
    text-align:center;
}

/* ===== MOBILE ===== */

@media(max-width:900px){

    .navbar{
        flex-direction:column;
        height:auto;
        padding:20px;
        gap:20px;
    }

    .menu{
        flex-wrap:wrap;
        gap:15px;
    }

    .user-menu{
        justify-content:center;
        flex-wrap:wrap;
    }

    .hero h1{
        font-size:40px;
    }
}
.dropdown{
    position: relative;
}

.dropdown-menu{
    position: absolute;
    top: 60px;
    right: 0;
    width: 230px;
    background: #1f2937;
    border-radius: 15px;
    padding: 10px 0;
    display: none;
    z-index: 99999;
    box-shadow: 0 10px 30px rgba(0,0,0,.4);
}

.dropdown-menu a{
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
}

.dropdown-menu a:hover{
    background: #2563eb;
}

.dropdown.active .dropdown-menu{
    display: block;
}
