* {
    box-sizing: border-box;
}

body {
    font-family: 'Comic Sans MS', 'Marker Felt', 'Trebuchet MS', system-ui, sans-serif;
    background: #fff5f5;
    color: #2a0000;
    margin: 0;
    padding: 20px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    background: linear-gradient(135deg, #e63946, #c1121f);
    color: white;
    padding: 40px 30px;
    border-radius: 24px;
    margin-bottom: 30px;
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.3);
    width: 100%;
    max-width: 800px;
}

h1 {
    font-size: clamp(2em, 6vw, 3.5em);
    margin: 0;
    text-shadow: 3px 3px 0 #780000;
    letter-spacing: 1px;
}

main {
    width: 100%;
    max-width: 800px;
    flex: 1;
}

.games {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.game-card {
    background: white;
    border: 4px solid #e63946;
    border-radius: 20px;
    padding: 28px 22px;
    text-decoration: none;
    color: #2a0000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.15);
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(230, 57, 70, 0.3);
}

.game-icon {
    font-size: 3.5em;
    line-height: 1;
}

.game-card h2 {
    margin: 0;
    font-size: 1.6em;
    color: #c1121f;
}

.game-card p {
    margin: 0;
    font-size: 0.95em;
    color: #666;
    text-align: center;
    line-height: 1.4;
}

.play-btn {
    margin-top: 8px;
    padding: 10px 22px;
    background: #e63946;
    color: white;
    border-radius: 14px;
    font-weight: bold;
    font-size: 1em;
}

footer {
    margin-top: 30px;
    color: #888;
    font-size: 0.9em;
}
