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

body{
    background:#0f1117;
    color:white;
    overflow-x:hidden;
}

body::before{
    content:"";
    position:fixed;
    inset:0;
    background:
    radial-gradient(circle at top,#3d5afe22,transparent 40%),
    radial-gradient(circle at bottom,#9c27b022,transparent 40%);
    z-index:-1;
}

header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
    background:#171b25;
    border-bottom:1px solid #2d3344;
    position:sticky;
    top:0;
    z-index:100;
}

.logo{
    font-size:32px;
    font-weight:bold;
}

nav{
    display:flex;
    gap:18px;
}

nav a{
    color:white;
    text-decoration:none;
    transition:.25s;
}

nav a:hover{
    color:#4ea5ff;
}

.hero{
    text-align:center;
    padding:70px 20px;
}

.hero h1{
    font-size:55px;
    margin-bottom:15px;
}

.hero p{
    color:#b5b5b5;
    font-size:20px;
}

main{
    width:min(1300px,95%);
    margin:auto;
}

main h2{
    margin:40px 0 20px;
    font-size:32px;
}

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

.category{
    background:#181d29;
    border:1px solid #30384d;
    border-radius:18px;
    padding:30px 20px;
    text-align:center;
    cursor:pointer;
    transition:.25s;
    font-size:45px;
}

.category h3{
    margin-top:15px;
    font-size:24px;
}

.category p{
    margin-top:8px;
    color:#999;
    font-size:15px;
}

.category:hover{
    transform:translateY(-8px);
    border-color:#4ea5ff;
    box-shadow:0 0 30px #4ea5ff33;
}

.games{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:25px;
    margin-bottom:60px;
}

.game-card{
    background:#181d29;
    border-radius:18px;
    padding:25px;
    border:1px solid #30384d;
    transition:.25s;
}

.game-card:hover{
    transform:translateY(-8px);
    box-shadow:0 0 35px #4ea5ff33;
    border-color:#4ea5ff;
}

.icon{
    font-size:60px;
    margin-bottom:15px;
}

.game-card h3{
    margin-bottom:10px;
}

.game-card p{
    color:#aaa;
    margin-bottom:20px;
}

button{
    width:100%;
    padding:14px;
    border:none;
    border-radius:12px;
    background:#4ea5ff;
    color:white;
    font-size:17px;
    cursor:pointer;
    transition:.25s;
}

button:hover{
    background:#6eb6ff;
}

footer{
    border-top:1px solid #30384d;
    padding:25px;
    text-align:center;
    color:#777;
}

@media(max-width:900px){

header{
    flex-direction:column;
    gap:20px;
}

nav{
    flex-wrap:wrap;
    justify-content:center;
}

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

}
