/* =========================
   GAME STATION WEBSITE
   ========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#0b1020;
    color:#fff;
    line-height:1.7;
}

img{
    width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:#fff;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

section{
    padding:90px 0;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    font-size:42px;
    color:#ffffff;
}

.section-title h2::after{
    content:'';
    display:block;
    width:90px;
    height:4px;
    background:#6c63ff;
    margin:15px auto;
    border-radius:20px;
}

/* ================= HEADER ================= */

header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:1000;
    background:rgba(8,10,25,.88);
    backdrop-filter:blur(12px);
    border-bottom:1px solid rgba(255,255,255,.08);
}

header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:80px;
}

.logo{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:26px;
    font-weight:700;
    color:#ffd43b;
}

.logo i{
    color:#6c63ff;
    font-size:32px;
}

nav ul{
    list-style:none;
    display:flex;
    gap:30px;
}

nav a{
    transition:.3s;
    font-weight:500;
}

nav a:hover{
    color:#6c63ff;
}

/* ================= HERO ================= */

.hero{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    position:relative;
    background:
    linear-gradient(rgba(10,10,30,.72),rgba(10,10,30,.72)),
    url("../images/nuts.jpg") center/cover no-repeat;
}

.overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,
    rgba(0,0,0,.2),
    rgba(0,0,0,.55));
}

.hero-content{
    position:relative;
    max-width:850px;
    z-index:2;
    padding:20px;
}

.hero h3{
    letter-spacing:5px;
    color:#ffd43b;
}

.hero h1{
    font-size:72px;
    margin:15px 0;
}

.hero h2{
    color:#6c63ff;
    margin-bottom:20px;
}

.hero p{
    font-size:18px;
    margin-bottom:35px;
}

.buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.btn,
.btn-outline{
    padding:15px 34px;
    border-radius:40px;
    transition:.35s;
    font-weight:600;
}

.btn{
    background:#6c63ff;
}

.btn:hover{
    background:#5548ff;
    transform:translateY(-4px);
}

.btn-outline{
    border:2px solid #6c63ff;
}

.btn-outline:hover{
    background:#6c63ff;
}

/* ================= ABOUT ================= */

.about{
    background:#10162b;
}

.about p{
    max-width:900px;
    margin:auto;
    text-align:center;
    font-size:18px;
    color:#ddd;
}

/* ================= GAMES ================= */

.games{
    background:#0b1020;
}

.game-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:35px;
}

.card{
    background:#141d36;
    border-radius:18px;
    overflow:hidden;
    transition:.35s;
    border:1px solid rgba(255,255,255,.08);
}

.card:hover{
    transform:translateY(-12px);
    box-shadow:0 18px 35px rgba(108,99,255,.35);
}

.card img{
    height:230px;
    object-fit:cover;
}

.card-body{
    padding:25px;
}

.card-body h3{
    margin-bottom:15px;
    color:#ffd43b;
}


/* ================= CONTACT ================= */

.contact{
    background:#0b1020;
}

.contact-box{
    max-width:700px;
    margin:auto;
    text-align:center;
    background:#151f39;
    padding:50px;
    border-radius:20px;
}

.contact-box h3{
    color:#ffd43b;
    margin-bottom:20px;
}

.contact-box p{
    margin:12px 0;
}

/* ================= FOOTER ================= */

footer{
    background:#070b17;
    text-align:center;
    padding:35px 20px;
    border-top:1px solid rgba(255,255,255,.08);
}

footer h3{
    color:#ffd43b;
    margin-bottom:10px;
}

/* ================= RESPONSIVE ================= */

@media(max-width:992px){

nav ul{
    gap:18px;
}

.hero h1{
    font-size:54px;
}

}

@media(max-width:768px){

header .container{
    flex-direction:column;
    height:auto;
    padding:15px 0;
}

nav ul{
    flex-wrap:wrap;
    justify-content:center;
    margin-top:15px;
}

.hero{
    padding-top:120px;
}

.hero h1{
    font-size:42px;
}

.hero h2{
    font-size:22px;
}

.hero p{
    font-size:16px;
}

.section-title h2{
    font-size:32px;
}

.contact-box{
    padding:30px;
}

}

@media(max-width:500px){

.hero h1{
    font-size:34px;
}

.buttons{
    flex-direction:column;
}

.btn,
.btn-outline{
    width:100%;
}

}