:root {
    --bg-top: #f8fff5;
    --bg-bottom: #e8f7ff;
    --ink: #15334a;
    --muted: #436075;
    --card: #ffffff;
    --card-border: #c8deef;
    --accent: #ff7a18;
    --accent-2: #0aa37a;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    color: var(--ink);
    background: linear-gradient(165deg, var(--bg-top), var(--bg-bottom));
    position: relative;
    overflow-x: hidden;
}

.bg-shape {
    position: fixed;
    border-radius: 50%;
    z-index: -1;
    filter: blur(1px);
}

.bg-shape-a {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle at 30% 30%, #ffd9b8, #ffc26d);
    top: -120px;
    right: -80px;
}

.bg-shape-b {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle at 30% 30%, #b8ffdb, #75d8ff);
    bottom: -80px;
    left: -70px;
}

.site-header,
.content,
.site-footer {
    width: min(980px, 92vw);
    margin: 0 auto;
}

.site-header {
    padding: 52px 0 24px;
}

.kicker {
    margin: 0;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-2);
    font-size: 0.75rem;
    font-weight: 700;
}

h1 {
    margin: 8px 0;
    font-size: clamp(2rem, 5vw, 3.2rem);
}

.lead {
    margin: 0;
    color: var(--muted);
    max-width: 56ch;
}

h2 {
    margin: 10px 0 16px;
    font-size: 1.35rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.game-card {
    background: var(--card);
    border: 2px solid var(--card-border);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 8px 18px rgba(16, 55, 88, 0.08);
    transform: translateY(14px);
    opacity: 0;
    animation: card-rise 500ms ease forwards;
}

.game-card h3 {
    margin: 0 0 8px;
}

.game-card p {
    margin: 0 0 14px;
    color: var(--muted);
}

.game-card .game-meta {
    margin-bottom: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-2);
}

.play-link {
    display: inline-block;
    text-decoration: none;
    background: var(--accent);
    color: #fff;
    padding: 9px 14px;
    border-radius: 10px;
    font-weight: 700;
}

.play-link:hover {
    filter: brightness(1.05);
}

.site-footer {
    padding: 26px 0 34px;
    color: var(--muted);
}

@keyframes card-rise {
    from {
        transform: translateY(14px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}
