:root {
    --bg: #000000;
    --bg-alt: #060606;
    --bg-alt-2: #101010;
    --text: #ffffff;
    --muted: #b3b3b3;
    --line: #333333;
    --line-strong: #ffffff;
    --radius-lg: 18px;
    --radius-xl: 26px;
    --shadow-soft: 0 22px 50px rgba(0, 0, 0, 0.8);
    --shadow-card: 0 18px 40px rgba(0, 0, 0, 0.85);
    --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mark: "Rock Salt", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html,
body {
    margin: 0;
    padding: 0;
    background: #000;
    color: var(--text);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--text);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1120px;
    padding: 0 1.5rem;
    margin: 0 auto;
}

/* Dock interactions */

[data-dock-group] {
    position: relative;
    overflow: visible;
}

.dock-button {
    --dock-scale: 1;
    --dock-raise: 0px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transform: translateY(var(--dock-raise)) scale(var(--dock-scale));
    transform-origin: center bottom;
    transition: transform 0.15s ease;
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .dock-button {
        transition: none;
    }
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(0, 0, 0, 0.94);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.brand-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.brand-name {
    font-family: var(--font-mark);
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav {
    display: flex;
    gap: 0.75rem;
}

.nav-link {
    font-size: 0.9rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    color: var(--muted);
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.nav-link:hover {
    color: var(--text);
    background: #111;
    border-color: var(--line);
    --dock-raise: -1px;
}

.nav-link-active {
    color: #000;
    background: #ffffff;
    border-color: #ffffff;
}

/* Hero */

.hero {
    padding: 3.5rem 0 3rem;
    border-bottom: 1px solid var(--line);
}

.hero-compact {
    padding: 2.4rem 0 1.9rem;
}

.hero-centered {
    text-align: center;
}

.hero-center-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
}

.hero-logo {
    width: 170px;
    max-width: 60vw;
    image-rendering: auto;
    filter: drop-shadow(0 0 32px rgba(0, 0, 0, 0.9));
}

.hero-title-mark {
    margin: 0;
    font-family: var(--font-mark);
    font-size: clamp(2.4rem, 3vw + 1.6rem, 3.4rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-title-mark {
    margin: 0 0 0.5rem;
    font-family: var(--font-mark);
    font-size: clamp(2rem, 2.4vw + 1.4rem, 2.8rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-tagline {
    margin: 0 0 1.7rem;
    color: var(--muted);
    max-width: 32rem;
    line-height: 1.6;
    font-size: 0.96rem;
}

/* Button */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    border: 1px solid #ffffff;
    background: transparent;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: var(--shadow-soft);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary:hover {
    --dock-raise: -1px;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 1);
    background: #ffffff;
    color: #000000;
}

/* Sections */

.section-block {
    padding: 2.6rem 0 2.9rem;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
}

.section-block-last {
    border-bottom: none;
}

.section-title {
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.92rem;
}

.section-block p {
    color: var(--muted);
    line-height: 1.6;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2.4rem;
}

/* Lists */

.bullet-list {
    list-style: none;
    padding-left: 0;
    margin: 0.4rem 0 0;
}

.bullet-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.4rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.bullet-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    border: 2px solid #ffffff;
}

/* Contact */

.contact-grid {
    align-items: flex-start;
}

.contact-email a {
    display: inline-flex;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid #ffffff;
    background: #000;
    font-weight: 500;
}

.note {
    margin-top: 0.8rem;
    font-size: 0.86rem;
    color: var(--muted);
}

/* Games grid */

.games-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
}

.game-card {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 1.3rem 1.4rem 1.2rem;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
}


.game-card-with-media {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    gap: 2.4rem;
    align-items: center;
}

.game-card-content {
    min-width: 0;
}

.game-card-media {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.game-card-logo {
    width: 100%;
    max-width: 420px;
    height: auto;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 32px rgba(0, 0, 0, 0.9));
}

.game-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.45rem;
}

.game-tag {
    font-size: 0.72rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.game-tag-accent {
    border-color: var(--line-strong);
    color: #ffffff;
}

.game-title {
    margin: 0.15rem 0 0.35rem;
    font-size: 1.15rem;
    font-weight: 500;
}

.game-subtitle {
    margin: 0 0 0.8rem;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.game-card .bullet-list {
    margin-top: 0.15rem;
}

.game-meta {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    font-size: 0.82rem;
    color: var(--muted);
}

/* Footer */

.site-footer {
    padding: 1.5rem 0 1.8rem;
    background: #000000;
    border-top: 1px solid var(--line);
}

.footer-inner {
    text-align: center;
    font-size: 0.86rem;
    color: var(--muted);
}

/* Responsive */

@media (max-width: 900px) {
    .split {
        grid-template-columns: minmax(0, 1fr);
    }

    .header-inner {
        gap: 1rem;
    }

    .nav {
        gap: 0.5rem;
    }
    .game-card-with-media {
        grid-template-columns: minmax(0, 1fr);
    }

    .game-card-media {
        justify-content: center;
        margin-top: 1.2rem;
    }

    .game-card-logo {
        max-width: 360px;
    }

}

@media (max-width: 600px) {
    .header-inner {
        height: auto;
        padding: 0.6rem 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav {
        margin-top: 0.5rem;
    }

    .hero {
        padding-top: 2.4rem;
    }

    .container {
        padding: 0 1.1rem;
    }

    .hero-logo {
        width: 140px;
    }
    .game-card-logo {
        max-width: 280px;
    }

}
