/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #f0f0f0;
    line-height: 1.6;
}

/* Links */
a {
    color: #f0f0f0;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #ff4500;
}

/* Header & Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1f1f1f;
    padding: 15px 50px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo h1 {
    color: #ff4500;
    font-size: 1.8rem;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

header nav ul li a {
    color: #f0f0f0;
    font-weight: 600;
    transition: color 0.3s, transform 0.3s;
    padding: 5px 0;
}

header nav ul li a:hover {
    color: #ff6347;
    transform: scale(1.05);
}

/* Mobile Responsive Nav */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
    }

    header nav ul {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        margin-top: 10px;
    }

    header nav ul li {
        width: 100%;
    }

    header nav ul li a {
        display: block;
        width: 100%;
    }
}

/* Footer */
footer {
    background-color: #1f1f1f;
    padding: 20px;
    text-align: center;
}

footer .footer-content p {
    margin-bottom: 10px;
}

footer .social-links a {
    margin: 0 5px;
    color: #f0f0f0;
    transition: color 0.3s;
}

footer .social-links a:hover {
    color: #ff6347;
}

.back-to-top {
    color: #ff4500;
    cursor: pointer;
    transition: color 0.3s;
}

.back-to-top:hover {
    color: #ffa500;
}

/* Hero Section */
.hero {
    background: url('images/hero-bg.jpg') no-repeat center center/cover;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 3rem;
    color: #ff4500;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
}

/* Game List Section */
.game-list {
    padding: 50px 20px;
    max-width: 1200px;
    margin: auto;
}

.game-list h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ff4500;
    text-align: center;
}

.games {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.game-card {
    background-color: #1f1f1f;
    border-radius: 10px;
    overflow: hidden;
    width: 250px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.game-card img {
    width: 100%;
    display: block;
}

.game-card h3 {
    font-size: 1.2rem;
    margin: 15px;
}

.game-card p {
    font-size: 0.95rem;
    margin: 0 15px 15px;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 69, 0, 0.5);
}

/* Latest News Section */
.latest-news {
    padding: 50px 20px;
    max-width: 800px;
    margin: auto;
}

.latest-news h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ff4500;
    text-align: center;
}

.latest-news ul {
    list-style: none;
}

.latest-news li {
    padding: 10px 0;
    border-bottom: 1px solid #333;
}

.latest-news li a:hover {
    color: #ff6347;
}

/* Game Info Page */
.game-info {
    padding: 50px 20px;
    max-width: 900px;
    margin: auto;
}

.game-info h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ff4500;
}

.game-info h2 {
    font-size: 2rem;
    margin: 20px 0 10px;
    color: #ffa500;
}

.game-info p, .game-info ul {
    margin-bottom: 15px;
}

.game-info ul li {
    margin-left: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .games {
        flex-direction: column;
        align-items: center;
    }

    .game-card {
        width: 90%;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}
