*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#08111f;
    color:white;
}

header{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
    background:rgba(12,20,35,.85);
    backdrop-filter:blur(15px);
    position:sticky;
    top:0;
    z-index:1000;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.logo{
    font-size:30px;
    font-weight:700;
    color:#4ea1ff;
}

nav{
    display:flex;
    gap:30px;
}

nav a{
    color:white;
    text-decoration:none;
    transition:.3s;
}

nav a:hover{
    color:#4ea1ff;
}

.search input{
    width:240px;
    padding:12px 18px;
    border:none;
    border-radius:30px;
    background:#111f35;
    color:white;
    outline:none;
}

.hero{
    text-align:center;
    padding:120px 20px;
    background:
    radial-gradient(circle at top,#2563eb 0%,transparent 50%),
    #08111f;
}

.hero h1{
    font-size:64px;
    margin-bottom:20px;
}

.hero p{
    color:#b5c4dc;
    margin-bottom:35px;
    font-size:20px;
}

.hero button{
    background:#2563eb;
    color:white;
    border:none;
    padding:16px 36px;
    border-radius:40px;
    font-size:18px;
    cursor:pointer;
    transition:.3s;
}

.hero button:hover{
    transform:translateY(-4px);
    box-shadow:0 0 30px #2563eb;
}

.games{
    width:85%;
    margin:auto;
    padding:70px 0;
}

.games h2{
    margin-bottom:35px;
    font-size:34px;
}

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
}

.card{
    background:#111827;
    border-radius:18px;
    overflow:hidden;
    transition:.35s;
    cursor:pointer;
    border:1px solid rgba(255,255,255,.06);
}

.card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 25px rgba(37,99,235,.55);
}

.card img{
    width:100%;
    height:180px;
    object-fit:cover;
}

.card h3{
    padding:20px;
    font-size:20px;
}

footer{
    margin-top:80px;
    padding:40px;
    text-align:center;
    background:#0b1527;
    color:#9fb2d0;
}

@media(max-width:900px){

header{
    flex-direction:column;
    gap:20px;
}

nav{
    flex-wrap:wrap;
    justify-content:center;
}

.hero h1{
    font-size:42px;
}

.search input{
    width:100%;
}

}

.game-page{
    width:85%;
    margin:auto;
    padding:60px 0;
    text-align:center;
}

.game-page h1{
    font-size:45px;
    margin-bottom:30px;
}


.game-box{
    width:100%;
    height:600px;
    background:black;
    border-radius:20px;
    overflow:hidden;
}


.game-box iframe{
    width:100%;
    height:100%;
}


.fullscreen{
    margin-top:20px;
    padding:15px 35px;
    background:#2563eb;
    color:white;
    border:none;
    border-radius:30px;
    cursor:pointer;
}


.info{
    margin-top:40px;
    background:#111827;
    padding:30px;
    border-radius:20px;
}