:root {
    --primary-color: #e74c3c;
    --secondary-color: #f1c40f;
    --bg-color: #1a1a1a;
    --text-color: #ffffff;
    --card-bg: #2c3e50;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: var(--primary-color);
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

main {
    padding: 2rem 0;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.game-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
    text-align: center;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-card img {
    width: 100%;
    height: 135px;
    object-fit: cover;
}

.game-card h3 {
    font-size: 1rem;
    margin: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-card a {
    text-decoration: none;
    color: white;
}

.hero {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
}

.game-player {
    background-color: #000;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.game-info {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
}

footer {
    background-color: #111;
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #888;
    margin: 0 10px;
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
}

/* Hamburger Menu Styles */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 10px;
    transition: all 0.3s linear;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--primary-color);
        position: absolute;
        top: 60px;
        left: 0;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.3);
        z-index: 9;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        font-size: 1.2rem;
        display: block;
        padding: 10px;
    }

    header .container {
        position: relative;
    }

    .game-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }
    .game-card img {
        height: 100px;
    }
    .hero h1 {
        font-size: 1.5rem;
    }
    .game-player {
        aspect-ratio: 4/3;
    }
    .article-content {
        padding: 15px;
    }
}
