/* Global Styles */
body {
    font-family: 'Oswald', sans-serif;
    background-color: #0c0c14;
    color: #ffffff;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background-color: rgba(12, 12, 20, 0.8);
    width: 100%;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid #d71921;
}

h1, h2 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
    flex-grow: 1;
}

.game-card {
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 20px;
    color: white;
}

footer {
    margin-top: auto;
    padding: 20px;
    text-align: center;
    color: #7f8c8d;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .game-grid {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 1.8rem;
    }
}