:root {
    --background: 0 0% 100%;
    --foreground: 222.2 84% 4.9%;
    --card: 0 0% 100%;
    --card-foreground: 222.2 84% 4.9%;
    --popover: 0 0% 100%;
    --popover-foreground: 222.2 84% 4.9%;
    --primary: 222.2 47.4% 11.2%;
    --primary-foreground: 210 40% 98%;
    --secondary: 210 40% 96.1%;
    --secondary-foreground: 222.2 47.4% 11.2%;
    --muted: 210 40% 96.1%;
    --muted-foreground: 215.4 16.3% 46.9%;
    --accent: 210 40% 96.1%;
    --accent-foreground: 222.2 47.4% 11.2%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;
    --border: 214.3 31.8% 91.4%;
    --input: 214.3 31.8% 91.4%;
    --ring: 222.2 84% 4.9%;
    --radius: 0.5rem;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: hsl(var(--foreground));
    background-color: hsl(var(--background));
    padding: 2rem;
}

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

h1 {
    font-size: 2.5rem;
    color: hsl(var(--primary));
    margin-bottom: 1rem;
    text-align: center;
}

h2 {
    font-size: 1.8rem;
    color: hsl(var(--primary));
    margin: 2rem 0 1rem;
}

.game-intro {
    font-size: 1.2rem;
    color: hsl(var(--muted-foreground));
    text-align: center;
    margin-bottom: 2rem;
}

.game-container {
    background-color: hsl(var(--card));
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.game-frame {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.game-frame iframe {
    max-width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.game-description {
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
}

.related-games {
    margin-top: 3rem;
}

.related-games-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    list-style: none;
    padding: 0;
}

.related-game-link {
    display: block;
    padding: 1rem;
    text-decoration: none;
    color: hsl(var(--primary));
    background-color: hsl(var(--card));
    border-radius: var(--radius);
    transition: transform 0.2s, box-shadow 0.2s;
}

.related-game-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .game-frame iframe {
        width: 100%;
        height: auto;
        min-height: 300px;
    }

    .related-games-list {
        grid-template-columns: 1fr;
    }
}