*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: Arial, sans-serif;
}

body{
    background:#f4f4f4;
    color:#333;
}

/* HEADER */

header{
    background:#111;
    color:white;
    padding:20px 50px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:sticky;
    top:0;
    z-index:100;
}

.logo{
    font-size:28px;
    font-weight:bold;
}

nav a{
    color:white;
    text-decoration:none;
    margin-left:20px;
    transition:0.3s;
}

nav a:hover{
    color:#00bfff;
}

/* HERO */

.hero{
    height:80vh;
    background:linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url('https://m.gjcdn.net/game-header/950/750764-m5fubsws-v4.jpg') center/cover;
    
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
    padding:20px;
}

.hero-content h1{
    font-size:60px;
    margin-bottom:20px;
}

.hero-content p{
    font-size:20px;
    margin-bottom:30px;
}

.hero-content button{
    padding:15px 30px;
    border:none;
    background:#00bfff;
    color:white;
    font-size:18px;
    border-radius:8px;
    cursor:pointer;
    transition:0.3s;
}

.hero-content button:hover{
    background:#009acd;
}

/* PRODUCTS */

.products{
    padding:60px 40px;
}

.products h2{
    text-align:center;
    margin-bottom:40px;
    font-size:40px;
}

.product-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(250px,1fr));
    gap:30px;
}

.card{
    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 4px 12px rgba(0,0,0,0.1);
    transition:0.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.card img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.card-content{
    padding:20px;
}

.card-content h3{
    margin-bottom:10px;
}

.price{
    color:#00bfff;
    font-size:22px;
    margin:10px 0;
}

.card-content button{
    width:100%;
    padding:12px;
    border:none;
    background:#111;
    color:white;
    border-radius:8px;
    cursor:pointer;
    transition:0.3s;
}

.card-content button:hover{
    background:#00bfff;
}

/* CART */

.cart{
    position:fixed;
    bottom:20px;
    right:20px;
    background:#111;
    color:white;
    padding:15px 20px;
    border-radius:50px;
    box-shadow:0 4px 10px rgba(0,0,0,0.3);
}

footer{
    background:#111;
    color:white;
    text-align:center;
    padding:30px;
    margin-top:50px;
}

/* RESPONSIVE */

@media(max-width:768px){

.hero-content h1{
    font-size:40px;
}

.hero-content p{
    font-size:18px;
}

header{
    flex-direction:column;
    gap:15px;
}

}