* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f7fa;
    line-height: 1.6;
}

/* Navigation */
nav {
    background: white;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.back-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #2980b9;
}

/* Main Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 50px;
}

h1 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2em;
    color: #7f8c8d;
}

/* Game Cards */
.game-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    text-decoration: none;
    color: inherit;
}

.game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.game-image {
    flex: 0 0 300px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-content {
    flex: 1;
    padding: 30px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.game-title {
    font-size: 1.8em;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 700;
}

.game-description {
    color: #7f8c8d;
    font-size: 1.05em;
    line-height: 1.6;
}

.play-arrow {
    display: inline-block;
    margin-top: 15px;
    color: #3498db;
    font-weight: 600;
    font-size: 1.1em;
}

.game-card:hover .play-arrow {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

/* Footer */
footer {
    text-align: center;
    color: #7f8c8d;
    margin-top: 40px;
    padding: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }

    .game-card {
        flex-direction: column;
    }

    .game-image {
        flex: 0 0 200px;
    }

    .game-content {
        padding: 25px;
    }

    .game-title {
        font-size: 1.5em;
    }
}