:root {
    --bg: #0e0f14;
    --bg-soft: #161822;
    --text: #e6e8ee;
    --text-muted: #a0a4b8;
    --accent: #7aa2ff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(180deg, #0e0f14, #11131b);
    color: var(--text);
    line-height: 1.6;
}

/* ---------- HERO ---------- */

.hero {
    padding: 64px 24px 48px;
    text-align: center;
}

.hero h1 {
    font-size: 2.4rem;
    margin: 0;
}

.tagline {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ---------- LAYOUT ---------- */

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px;
}

section {
    margin-bottom: 56px;
}

h2 {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

/* ---------- ABOUT ---------- */

.about p {
    max-width: 700px;
}

/* ---------- GAMES ---------- */

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.game-card {
    background: var(--bg-soft);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.game-card img {
    width: 96px;
    height: 96px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.game-card h3 {
    margin: 12px 0 8px;
}

.game-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.button {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--accent);
    color: #000;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(122,162,255,0.4);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

a:hover {
    color: #9ab6ff;
    text-decoration: underline;
    text-decoration-color: rgba(154, 182, 255, 0.6);
}

a:active {
    color: #c3d3ff;
}

a:visited {
    color: var(--accent);
}
.container p a,
.container li a {
    font-weight: 500;
}
.links {
    margin-top: 24px;
    font-size: 0.95rem;
}

.links a {
    color: var(--accent);
    padding: 4px 8px;
    border-radius: 6px;
}

.links a:hover {
    background: rgba(122, 162, 255, 0.12);
    text-decoration: none;
}
.back a,
.container > p > a {
    display: inline-block;
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.back a:hover,
.container > p > a:hover {
    color: var(--accent);
    text-decoration: none;
}
.button {
    background: var(--accent);
    color: #000;
}
a.button:visited { color: #000; }
/* ---------- CONTACT ---------- */

.email {
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ---------- FOOTER ---------- */

.footer {
    text-align: center;
    padding: 32px 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
}
