:root {
    --bg: #08090c;
    --bg-soft: #111318;
    --card: #151820;
    --text: #ffffff;
    --muted: #a9adb7;
    --accent: #d8a326;
    --border: rgba(255,255,255,.1);
    --max-width: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.container {
    width: min(92%, var(--max-width));
    margin: auto;
}


/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(8,9,12,.95);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: bold;
    text-decoration: none;
}

.brand-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    gap: 25px;
}

.main-nav a {
    text-decoration: none;
    color: var(--muted);
}

.main-nav a:hover {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    color: white;
    font-size: 24px;
    padding: 8px 12px;
}


/* HERO */

.hero {
    min-height: 82vh;
    position: relative;
    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(8,9,12,.98),
            rgba(8,9,12,.70)
        ),
        url("../images/backgrounds/hero-games.jpg")
        center/cover no-repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.eyebrow {
    color: var(--accent);
    letter-spacing: .18em;
    font-size: .8rem;
    font-weight: bold;
}

.hero h1,
.section h2 {
    margin-top: 10px;
}

.hero h1 {
    max-width: 900px;
    font-size: clamp(3.2rem, 7vw, 7rem);
    line-height: .95;
}

.hero-description {
    max-width: 680px;
    color: var(--muted);
    line-height: 1.8;
    font-size: 1.1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 35px;
}


/* BUTTONS */

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    padding: 0 26px;

    text-decoration: none;
    font-weight: bold;

    border-radius: 5px;

    transition: .2s;
}

.button-primary {
    background: var(--accent);
    color: #111;
}

.button-secondary {
    border: 1px solid rgba(255,255,255,.4);
}

.button-dark {
    background: #111;
    color: white;
}

.button:hover {
    transform: translateY(-2px);
}


/* SECTIONS */

.section {
    padding: 90px 0;
}

.section-dark {
    background: var(--bg-soft);
}

.section h2 {
    font-size: clamp(2.2rem, 4vw, 4rem);
}

.section-intro {
    color: var(--muted);
    max-width: 760px;
    line-height: 1.8;
}


/* CARDS */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 45px;
}

.game-card,
.development-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.game-card {
    transition: .2s;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.game-image {
    height: 240px;
    background: #222;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--muted);
}

.game-card-body,
.development-card {
    padding: 26px;
}

.status {
    color: var(--accent);
    font-size: .75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.game-card h3,
.development-card h3 {
    font-size: 1.5rem;
}

.game-card p,
.development-card p {
    color: var(--muted);
    line-height: 1.7;
}

.text-link {
    text-decoration: none;
    font-weight: bold;
}

.text-link:hover {
    color: var(--accent);
}


/* PILLARS */

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 50px;
}

.pillar {
    padding-left: 20px;
    border-left: 2px solid var(--accent);
}

.pillar span {
    color: var(--accent);
}

.pillar p {
    color: var(--muted);
    line-height: 1.7;
}


/* UNIVERSE */

.universe-section {
    text-align: center;
    background: var(--bg-soft);
}

.center-content .section-intro {
    margin-left: auto;
    margin-right: auto;
}


/* DEVLOG */

.devlog-list {
    margin-top: 40px;
}

.devlog-item {
    display: grid;
    grid-template-columns: 130px 1fr auto;
    gap: 25px;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding: 25px 0;
}

.devlog-item span {
    color: var(--muted);
}

.devlog-item a {
    text-decoration: none;
}


/* COMMUNITY */

.community-section {
    padding: 70px 0;
    background: var(--accent);
    color: #111;
}

.community-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.community-inner h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    margin: 0;
}


/* FOOTER */

.site-footer {
    padding: 50px 0;
    background: #050608;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
}

.footer-inner nav {
    display: flex;
    gap: 20px;
}

.footer-inner nav a {
    color: var(--muted);
    text-decoration: none;
}


/* MOBILE */

@media (max-width: 900px) {

    .main-nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;

        background: var(--bg-soft);

        padding: 25px;

        flex-direction: column;
    }

    .main-nav.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .cards-grid,
    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .community-inner {
        display: block;
    }

    .community-inner .button {
        margin-top: 20px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .devlog-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}