* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family: Arial, Helvetica, sans-serif;

    background: #0b0d12;

    color: white;

    min-height: 100vh;

    display: flex;

    flex-direction: column;

}


/* =========================
   NAVBAR
========================= */

.navbar {

    min-height: 72px;

    padding: 0 6%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: rgba(13,16,23,0.95);

    border-bottom: 1px solid #222631;

    position: sticky;

    top: 0;

    z-index: 100;

}


.logo {

    display: flex;

    align-items: center;

    gap: 10px;

    text-decoration: none;

    color: white;

    font-size: 22px;

    font-weight: 800;

}


.logo-icon {

    font-size: 25px;

}



nav {

    display: flex;

    gap: 30px;

}


nav a {

    color: #8e94a3;

    text-decoration: none;

    font-weight: 600;

    transition: .2s;

}


nav a:hover,
nav a.active {

    color: white;

}



.account {

    display: flex;

    gap: 10px;

}


.account a {

    text-decoration: none;

    padding: 9px 16px;

    border-radius: 7px;

    font-size: 14px;

    font-weight: bold;

}



.login-button {

    color: white;

    border: 1px solid #303542;

}



.login-button:hover {

    background: #1c2029;

}



.register-button {

    background: white;

    color: black;

}



/* =========================
   HERO
========================= */


.hero {

    min-height: 570px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 80px 20px;

    background:

    radial-gradient(
        circle at center,
        #252b3a,
        #0b0d12 65%
    );

}



.hero-content {

    max-width: 850px;

}



.hero-badge {

    display: inline-block;

    padding: 8px 14px;

    margin-bottom: 25px;

    border-radius: 100px;

    border: 1px solid #303644;

    color: #aaa;

    font-size: 12px;

}



.hero h1 {

    font-size: clamp(42px,7vw,76px);

    line-height: 1.05;

    margin-bottom: 25px;

}



.hero h1 span {

    display: block;

    color: #aeb5c5;

}



.hero p {

    color: #9299a8;

    font-size: 18px;

    max-width: 600px;

    margin: auto;

    line-height: 1.7;

    margin-bottom: 35px;

}



.hero-buttons {

    display: flex;

    justify-content: center;

    gap: 12px;

}



.primary-button,
.secondary-button {

    padding: 14px 23px;

    border-radius: 8px;

    text-decoration: none;

    font-weight: bold;

}



.primary-button {

    background: white;

    color: black;

}



.secondary-button {

    background: #151922;

    border: 1px solid #343a48;

    color: white;

}



/* =========================
   FEATURES
========================= */


.features {

    width: 90%;

    max-width: 1100px;

    margin: auto;

    padding: 70px 0;

    display: grid;

    grid-template-columns: repeat(3,1fr);

    gap: 20px;

}



.feature {

    background: #11151d;

    border: 1px solid #242934;

    padding: 30px;

    border-radius: 12px;

}



.feature-icon {

    font-size: 28px;

    margin-bottom: 15px;

}



.feature p {

    color: #858c9b;

    margin-top: 10px;

    line-height: 1.5;

}



/* =========================
   GAME PREVIEW
========================= */


.games-preview {

    width: 90%;

    max-width: 1100px;

    margin: auto;

    padding-bottom: 90px;

}



.section-heading {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 25px;

}



.section-label {

    color: #777f90;

    font-size: 12px;

    letter-spacing: 2px;

    font-weight: bold;

}



.section-heading h2 {

    font-size: 32px;

}



.empty-games {

    min-height: 280px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    border: 1px dashed #303542;

    border-radius: 14px;

}



.empty-icon {

    font-size: 45px;

}



/* =========================
   GAMES LIBRARY
========================= */


.games-page {

    flex: 1;

    padding: 70px 5%;

}



.games-header {

    text-align: center;

    margin-bottom: 45px;

}



.games-header h1 {

    font-size: 48px;

    margin: 15px 0;

}



.games-header p {

    color: #8c93a2;

}



.game-grid {

    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(7, 1fr);

    gap: 15px;

}



.game-card {

    background:#11151d;

    border:1px solid #242934;

    border-radius:14px;

    overflow:hidden;

    transition:.25s;

}



.game-card:hover {

    transform:translateY(-5px);

}



.game-image {

    height:90px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:38px;

    background:

    radial-gradient(
        circle,
        #252b3a,
        #11151d
    );

}



.game-info {

    padding:12px;

}



.game-info h2 {

    margin-bottom:12px;

}



.game-info p {

    color:#858c9b;

    font-size:12px;

    line-height:1.5;

    margin-bottom:18px;

}



.play-button {

    display:inline-block;

    padding:10px 18px;

    background:white;

    color:black;

    border-radius:7px;

    text-decoration:none;

    font-weight:bold;

}



/* =========================
   FOOTER
========================= */


footer {

    margin-top:auto;

    padding:35px 20px;

    text-align:center;

    border-top:1px solid #222631;

    background:#0d1016;

}



.footer-logo {

    font-weight:bold;

    margin-bottom:8px;

}



footer p {

    color:#666d7b;

    font-size:13px;

}



/* =========================
   MOBILE
========================= */


@media(max-width:800px){


.navbar {

    flex-wrap:wrap;

    padding:18px 20px;

}



nav {

    order:3;

    width:100%;

    justify-content:center;

}



.features {

    grid-template-columns:1fr;

}



.game-grid {

    grid-template-columns: repeat(2, 1fr);

}



.hero-buttons {

    flex-direction:column;

}



}
