/* Default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0f0f0f;
    color: #fff;
    font-family: Arial, sans-serif;
}

header {
    text-align: center;
    padding: 30px;
}

header h1 {
    color: #ff4757;
}

.sections {
    width: 95%;
    margin: auto;
}

.game-section {
    margin-bottom: 50px;
}

.game-section h2 {
    margin-bottom: 15px;
    color: #ffa502;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* desktop 4 per row */
    gap: 20px;
}

.game-card {
    background: #1c1c1c;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: 0.3s;
}

.game-card:hover {
    transform: translateY(-6px);
    background: #222;
}

.game-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.game-card h3 {
    margin-bottom: 10px;
}

button {
    background: #444a51;
    border: none;
    color: #fff;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
}

button i {
    margin-right: 5px;
}

button:hover {
    background: #1b4f72;
}

/* Mobile Layout - 2 per row on tablet & mobile */
@media (max-width: 1024px) {
    .game-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 per row */
        gap: 15px;
    }
    button {
        font-size: 0.9rem;
        padding: 8px;
    }
}

@media (max-width: 600px) {
    .game-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 per row still */
        gap: 12px;
    }
    .game-card h3 {
        font-size: 0.95rem;
    }
    button {
        font-size: 0.85rem;
        padding: 7px;
    }
}

/* Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1c1c1c;
    padding: 15px 50px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 50px;
    height: 50px;
}

.logo h1 {
    color: #ffdd00;
    font-size: 1.8rem;
}

.nav-panel a {
    color: #fff;
    text-decoration: none;
    margin-left: 25px;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-panel a:hover {
    color: #ff4757;
}

/* Hero Section */
.hero {
    background: url('images/hero-bg.jpg') center/cover no-repeat;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.hero-text button {
    background: #ff4757;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.hero-text button:hover {
    background: #ffa502;
}

/* Slider Section */
.slider-section {
    padding: 40px 50px;
    background: #0f0f0f;
}

.slider-section h2 {
    color: #ffa502;
    margin-bottom: 20px;
}

.game-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}

.slider-card {
    min-width: 300px;
    background: #1c1c1c;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    flex-shrink: 0;
}

.slider-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.slider-card h3 {
    margin-bottom: 10px;
}

.slider-card button {
    background: #2e86de;
    border: none;
    color: #fff;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
}

.slider-card button:hover {
    background: #1b4f72;
}

