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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    text-align: center;
    max-width: 1000px;
    width: 100%;
}

h1 {
    color: white;
    margin-bottom: 10px;
    font-size: 3em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2em;
    margin-bottom: 50px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.game-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px 30px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 1);
}

.game-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.game-card h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: #667eea;
}

.game-card p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #666;
    flex-grow: 1;
}

.play-button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s;
}

.game-card:hover .play-button {
    background-color: #45a049;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5em;
    }

    .subtitle {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .game-card {
        padding: 30px 20px;
    }

    .game-icon {
        font-size: 3em;
    }

    .game-card h2 {
        font-size: 1.5em;
    }
}
