*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

.background{
position:fixed;
width:100%;
height:100%;
background:linear-gradient(45deg,#1b1f5f,#08122d,grey,navy);
background-size:400% 400%;
animation:gradient 12s infinite alternate;
z-index:-2;
}

@keyframes gradient{

0%{background-position:left;}
100%{background-position:right;}

}

header{

position:fixed;
width:100%;
padding:20px 8%;
display:flex;
justify-content:space-between;
align-items:center;
background:rgba(255,255,255,.05);
backdrop-filter:blur(15px);
z-index:999;

}

.logo{

font-size:28px;
font-weight:bold;
color:darkblue;

}

nav a{

text-decoration:none;
color:white;
margin-left:25px;
transition:.4s;

}

nav a:hover{

color:blue;

}

body{

    min-height:100vh;

    color:white;

}


header h1{
    font-size:40px;
    color:#3B82F6;
}

header p{
    margin-top:10px;
    color:#cbd5e1;
}

.games{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    padding:40px;
    margin-top:30px;
    max-width:1200px;
    margin-left:auto;
    margin-right:auto;
}

.card{
    background:rgba(255,255,255,0.08);
    backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,0.15);
    border-radius:15px;
    overflow:hidden;
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:0 0 20px rgba(59,130,246,.4);
}

.card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.card-content{
    padding:20px;
}

.card h2{
    color:#60a5fa;
    margin-bottom:10px;
}

.card p{
    color:#d1d5db;
    line-height:1.6;
}

.back{
    text-align:center;
    margin:30px;
}

.back a{
    text-decoration:none;
    color:white;
    background: darkblue;
    padding:12px 25px;
    border-radius:8px;
    transition:.3s;
}

.back a:hover{
    background:#2563eb;
}


.container{
    width:90%;
    max-width:1000px;
    text-align:center;
    padding-top:120px;
    margin:0 auto;
}

.container h1{
    font-size:40px;
    color:mediumblue;
    margin-bottom:15px;
}

.container p{
    color:#ddd;
    margin-bottom:40px;
}