:root {
    --bg: #0b0d12;
    --panel: #11141b;
    --panel-2: #0e1117;
    --text: #e8ecf1;
    --muted: #a7b0be;
    --brand: #6C63FF;
    --card: #121621;
    --card-border: #1c2231;
    --shadow: rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Inter", "SF Pro Text", Roboto, Arial, sans-serif;
    background: radial-gradient(1200px 800px at 20% -10%, #1c2140 0%, #0b0d12 50%), var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: linear-gradient(180deg, rgba(14,17,23,0.9), rgba(14,17,23,0.6) 70%, rgba(14,17,23,0));
    border-bottom: 1px solid rgba(255,255,255,0.04);
    backdrop-filter: blur(6px);
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px clamp(16px, 4vw, 28px);
}
.logo {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand), #9a8bff);
    color: white;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.titles { display: grid; }
.site-title { margin: 0; font-size: clamp(18px, 2.8vw, 24px); font-weight: 700; }
.site-subtitle { margin: 0; color: var(--muted); font-size: clamp(12px, 2.3vw, 14px); }

.content { padding: 20px clamp(16px, 4vw, 28px) 48px; max-width: 1100px; margin: 0 auto; }
.hero { text-align: center; margin: 18px 0 24px; }
.hero h2 { margin: 8px 0 6px; font-size: clamp(18px, 4.4vw, 28px); }
.hero p { margin: 0; color: var(--muted); }

.games-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 16px;
}
@media (min-width: 540px) { .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 900px) { .games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }

.game-card {
    display: grid;
    grid-template-columns: 68px 1fr;
    align-items: center;
    gap: 14px;
    padding: 14px;
    text-decoration: none;
    color: inherit;
    background: linear-gradient(180deg, var(--card), var(--panel-2));
    border: 1px solid var(--card-border);
    border-radius: 14px;
    box-shadow: 0 10px 24px var(--shadow);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.game-card:hover { transform: translateY(-2px); border-color: rgba(108,99,255,.45); box-shadow: 0 16px 32px rgba(108,99,255,0.15), 0 10px 24px var(--shadow); }
.game-card:active { transform: translateY(0); }

.card-media.emoji {
    font-size: 36px;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(108,99,255,0.12);
    border: 1px solid rgba(108,99,255,0.35);
}
.card-title { margin: 0; font-weight: 700; font-size: 16px; }
.card-desc { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.35; }

.site-footer { text-align: center; color: var(--muted); padding: 28px 0 40px; font-size: 12px; }

