* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Chakra Petch', sans-serif;
    background: radial-gradient(circle, #4a2121, #1a0808);
    color: white;
    text-align: center;
    padding: 20px;
    overflow-x: hidden;
    min-height: 100vh;
}

.lang-selector {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 0.9rem;
}

.lang-selector a {
    color: white;
    text-decoration: none;
    border: 1px solid white;
    padding: 5px 10px;
    border-radius: 5px;
}

.main-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    color: #00bfff;
    text-shadow: 0 0 10px #00bfff, 0 0 20px #00bfff;
    margin-bottom: 40px;
}

p {
    font-size: 1.2em;
    color: #ccc;
    margin-bottom: 40px;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.game-item {
    width: 100%;
    padding-bottom: 10px;
}

.game-item a.game-thumbnail {
    display: block;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #555;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.game-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.game-item a.game-thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #ffc107, 0 0 25px #ffc107;
    border-color: #ffc107;
}

.game-name {
    display: block;
    margin-top: 10px;
    color: #ffc107;
    font-size: 0.95rem;
    font-weight: 500;
}

.game-item .review-link {
    font-size: 0.9em;
    color: #ffc107;
    text-decoration: none;
    display: block;
    padding-top: 8px;
    transition: color 0.2s;
    border: none;
    overflow: visible;
}

.game-item .review-link:hover {
    color: #ffffff;
}

@media (max-width: 600px) {
    h1 {
        font-size: 2.5rem;
    }
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* === FOOTER STYLES === */

footer {
    width: 100%;
    padding: 40px 20px;
    margin-top: 60px; /* Adds space above the footer */
    border-top: 1px solid #444; /* A subtle line to separate it */
    background-color: #1a0808; /* Matches your body background */
}

.footer-content {
    max-width: 800px;
    margin: 0 auto; /* Centers the content */
    text-align: center;
}

.footer-description {
    font-size: 0.9rem;
    color: #a00;
    line-height: 1.6;
    margin-bottom: 30px;
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links a {
    color: #a00;           /* This is now dark red */
    text-decoration: none;
    font-size: 0.9rem;
    margin: 0 10px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffc107; /* Kept the yellow highlight for hover */
}

.copyright {
    font-size: 0.8rem;
    color: #a00;           /* This is now dark red */
}