:root {
    --bg-from: #f1edfb;
    --bg-to: #f8f7fc;
    --card-bg: #ffffff;
    --primary: #7c3aed;
    --primary-dark: #6025c9;
    --accent: #a855f7;
    --text: #1e293b;
    --muted: #64748b;
    --border: #e5e0f5;
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text);
    background: linear-gradient(135deg, var(--bg-from), var(--bg-to));
    min-height: 100vh;
}

.page-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 28px 20px 48px;
}

/* Header, logo, wordmark and breadcrumb styles now live in common/header.css */

/* ---------- Hero ---------- */
.hero {
    text-align: center;
    padding: 28px 16px 40px;
}
.hero h1 {
    margin: 0 0 12px;
    font-size: 2.3em;
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05em;
}

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

.game-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
a.game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(124, 58, 237, 0.18);
    border-color: var(--accent);
}

.game-card-icon {
    font-size: 2.1em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.game-card-icon svg { display: block; }
.game-card-title {
    margin: 0 0 8px;
    font-size: 1.2em;
    font-weight: 700;
    color: var(--text);
}
.game-card-desc {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 0.94em;
    line-height: 1.5;
    flex-grow: 1;
}
.game-card-cta {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95em;
}

.game-card-soon,
.game-card-placeholder {
    cursor: default;
    opacity: 0.7;
    border-style: dashed;
}
.game-card-cta-soon {
    color: var(--muted);
}

/* ---------- More-games note ---------- */
.more-games-note {
    text-align: center;
    margin-top: 40px;
    color: var(--muted);
    font-size: 0.9em;
}
/* .site-footer-bar / shared footer styles now live in common/footer.css */

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
    .hero h1 { font-size: 1.8em; }
    .game-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .game-card { padding: 16px; }
}
