*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg:           #0d0f0d;
    --surface:      #111411;
    --border:       #2a3d2a;
    --text:         #c8d8c8;
    --muted:        #8a9e8a;
    --dim:          #5a7a5a;
    --accent:       #7fff5f;
    --accent-dim:   rgba(127, 255, 95, 0.10);
    --accent-glow:  rgba(127, 255, 95, 0.25);
    --font:         ui-monospace, 'Courier New', monospace;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.6;
}

/* ── Nav ── */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 15, 13, 0.92);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    color: var(--accent);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-shadow: 0 0 14px var(--accent-glow);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: .82rem;
    letter-spacing: .07em;
    transition: color .15s;
}

.nav-links a:hover { color: var(--accent); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: .25rem;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--muted);
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
}

/* ── Hero ── */
.hero {
    padding: 8rem 1.5rem 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(127, 255, 95, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    font-size: .68rem;
    letter-spacing: .2em;
    color: var(--accent);
    border: 1px solid var(--border);
    padding: .28rem .9rem;
    border-radius: 100px;
    margin-bottom: 2rem;
    background: var(--accent-dim);
}

.hero-title {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--accent);
    text-shadow: 0 0 50px var(--accent-glow);
    margin-bottom: 1rem;
    line-height: 1;
}

.hero-sub {
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 2.5rem;
    letter-spacing: .06em;
}

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: .7rem 1.75rem;
    background: var(--accent);
    color: var(--bg);
    text-decoration: none;
    border-radius: .5rem;
    font-family: inherit;
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .05em;
    cursor: pointer;
    transition: background .15s, box-shadow .15s;
}

.btn:hover {
    background: #9fff80;
    box-shadow: 0 0 24px var(--accent-glow);
}

.btn-sm {
    padding: .5rem 1.2rem;
    font-size: .8rem;
}

/* ── Section shared ── */
.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.section-title {
    font-size: .7rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

/* ── Games ── */
.games { border-top: 1px solid var(--border); }

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

.game-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}

.game-card:hover {
    border-color: #4a8a4a;
    box-shadow: 0 0 32px rgba(127, 255, 95, 0.08);
}

.game-img-wrap {
    background: var(--bg);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
    min-height: 180px;
}

.game-img {
    width: 96px;
    height: 96px;
    border-radius: 1rem;
    object-fit: cover;
}

.game-info { padding: 1.5rem; }

.game-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: .1em;
    margin-bottom: .75rem;
    text-shadow: 0 0 12px var(--accent-glow);
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: 1rem;
}

.tag {
    font-size: .68rem;
    letter-spacing: .08em;
    padding: .2rem .65rem;
    background: var(--accent-dim);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--dim);
}

.game-desc {
    font-size: .85rem;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

/* ── About ── */
.about {
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.about-text {
    max-width: 640px;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.9;
}

/* ── Contact ── */
.contact {
    border-top: 1px solid var(--border);
    text-align: center;
}

.contact-text {
    color: var(--muted);
    font-size: .875rem;
    margin-bottom: 1.5rem;
}

/* ── Footer ── */
.footer {
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
}

.footer-logo {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: .14em;
    font-size: .88rem;
}

.footer-copy {
    color: var(--dim);
    font-size: .72rem;
}

/* ── Mobile ── */
@media (max-width: 600px) {
    .nav { position: relative; }

    .nav-toggle { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: 3.5rem;
        left: 0;
        right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 1rem;
        z-index: 99;
    }

    .nav-links.open { display: flex; }

    .hero { padding: 5rem 1.5rem 4rem; }
}
