@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    color-scheme: dark;
    --bg: #10120f;
    --surface: #181b17;
    --text: #f4f2e9;
    --muted: #a1a49a;
    --lime: #c7f36b;
    --orange: #ff855b;
    --line: rgba(244, 242, 233, .13);
    --mono: "DM Mono", "Courier New", monospace;
    --sans: "Space Grotesk", "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 5px;
}

.section-wrap,
.site-header {
    width: min(1120px, calc(100% - 64px));
    margin-inline: auto;
}

.site-header {
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
}

.brand-mark {
    width: 33px;
    height: 33px;
    display: grid;
    place-items: center;
    background: var(--lime);
    color: var(--bg);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.08em;
    clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}

.brand-mark.has-logo {
    background: transparent;
    clip-path: none;
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.stamp-logo {
    width: 78px;
    height: 78px;
    object-fit: contain;
}

.brand-light {
    color: var(--muted);
    font-weight: 500;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 36px;
    color: #d7d8d1;
    font-size: 13px;
}

.main-nav a:not(.nav-cta):hover,
.text-link:hover {
    color: var(--lime);
}

.nav-cta {
    padding: 11px 15px;
    border: 1px solid var(--line);
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.nav-cta > span:last-child {
    margin-left: 10px;
    color: var(--lime);
}

.nav-cta:hover {
    border-color: var(--lime);
    background: var(--lime);
    color: var(--bg);
}

.nav-cta:hover span {
    color: var(--bg);
}

.language-toggle {
    padding: 9px 11px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text);
    font: 500 11px var(--mono);
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease;
}

.language-toggle:hover {
    border-color: var(--lime);
    color: var(--lime);
}

.language-toggle:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 4px;
}

.hero {
    min-height: 630px;
    padding-block: 80px 72px;
    position: relative;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 48px;
}

.hero-copy {
    position: relative;
    z-index: 1;
    padding-bottom: 20px;
}

.eyebrow,
.game-category,
.game-art-tag,
.scroll-cue,
.copyright {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .13em;
}

.eyebrow {
    margin: 0 0 23px;
    color: var(--lime);
}

.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 12px rgba(199, 243, 107, .65);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.hero h1 {
    margin-bottom: 22px;
    font-size: clamp(68px, 8.6vw, 112px);
    line-height: .88;
    letter-spacing: -.09em;
}

.hero h1 span {
    color: var(--lime);
}

.hero h1 .hero-title-first {
    color: var(--text);
}

.hero-description {
    max-width: 380px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 15px 18px;
    font-size: 13px;
    font-weight: 600;
}

.button-primary {
    background: var(--lime);
    color: var(--bg);
    transition: transform .2s ease, background .2s ease;
}

.button-primary:hover {
    transform: translateY(-3px);
    background: #d6ff8a;
}

.button-primary span {
    font-size: 17px;
}

.hero-note {
    margin: 21px 0 0;
    color: #74786e;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .04em;
}

.hero-art {
    width: 100%;
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
    background: var(--surface);
}

.hero-art img,
.game-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.hero-art img {
    position: absolute;
    inset: 0;
}

.scroll-cue {
    position: absolute;
    bottom: 26px;
    left: 0;
    display: flex;
    align-items: center;
    gap: 11px;
    color: #777b71;
    font-size: 9px;
}

.scroll-cue > span:last-child,
.section-intro {
    white-space: pre-line;
}

.scroll-cue > span:first-child {
    width: 28px;
    height: 1px;
    background: var(--lime);
}

.games-section {
    padding-block: 87px 108px;
    border-top: 1px solid var(--line);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 35px;
}

.section-heading .eyebrow {
    margin-bottom: 12px;
}

.section-heading h2,
.about-copy h2 {
    margin: 0;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1;
    letter-spacing: -.07em;
}

.accent-dot {
    color: var(--lime);
}

.section-intro {
    margin: 0 0 3px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.game-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
}

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

.game-card-featured {
    grid-column: 1 / -1;
}

.game-art {
    height: clamp(340px, 42vw, 560px);
    position: relative;
    overflow: hidden;
    background: var(--surface);
}

.game-art-tag {
    position: absolute;
    z-index: 2;
    top: 17px;
    left: 17px;
    padding: 8px 10px;
    background: rgba(16, 18, 15, .68);
    color: var(--lime);
    font-size: 8px;
}

.game-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 19px 1px 0;
}

.game-category {
    margin-bottom: 8px;
    color: #858a7d;
    font-size: 8px;
}

.game-info h3 {
    margin: 0;
    font-size: 18px;
    letter-spacing: -.04em;
}

.game-arrow {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    color: var(--lime);
    transition: background .2s ease, color .2s ease;
}

.game-card:hover .game-arrow {
    background: var(--lime);
    color: var(--bg);
}

.about-section {
    background: #191d17;
    border-block: 1px solid var(--line);
}

.about-content {
    min-height: 390px;
    display: grid;
    grid-template-columns: .7fr 1.5fr .5fr;
    align-items: center;
    gap: 45px;
    padding-block: 65px;
}

.about-stamp {
    width: 154px;
    height: 154px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 1px solid rgba(199, 243, 107, .55);
    border-radius: 50%;
    color: var(--lime);
    transform: rotate(-12deg);
}

.about-stamp small {
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: .12em;
    line-height: 1.5;
    text-align: center;
}

.about-copy .eyebrow {
    margin-bottom: 15px;
}

.about-copy h2 {
    margin-bottom: 19px;
    font-size: clamp(36px, 4.3vw, 52px);
}

.about-copy h2 span {
    color: var(--lime);
}

.about-copy > p:not(.eyebrow) {
    max-width: 530px;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.text-link {
    display: inline-flex;
    gap: 10px;
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
    transition: color .2s ease;
}

.text-link span {
    color: var(--lime);
}

.about-number {
    justify-self: end;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #74786e;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: .1em;
    line-height: 1.7;
}

.about-number strong {
    color: rgba(199, 243, 107, .55);
    font-family: var(--sans);
    font-size: 55px;
    font-weight: 500;
    letter-spacing: -.08em;
    line-height: 1;
}

.site-footer {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-footer > p {
    margin: 0;
    color: #777b71;
    font-size: 11px;
}

.copyright {
    color: #777b71;
    font-size: 8px;
}

@media (max-width: 760px) {
    .section-wrap,
    .site-header {
        width: min(100% - 40px, 560px);
    }

    .site-header {
        height: 74px;
    }

    .main-nav {
        gap: 17px;
        font-size: 12px;
    }

    .main-nav > a:not(.nav-cta) {
        display: none;
    }

    .nav-cta {
        padding: 9px 10px;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 38px;
        padding-block: 73px 82px;
    }

    .hero-copy {
        padding: 0;
    }

    .hero h1 {
        font-size: clamp(72px, 17vw, 105px);
    }

    .hero-art {
        aspect-ratio: 16 / 10;
    }

    .scroll-cue {
        bottom: 29px;
    }

    .games-section {
        padding-block: 68px 76px;
    }

    .game-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .game-art {
        height: clamp(280px, 70vw, 440px);
    }

    .about-content {
        grid-template-columns: auto 1fr;
        gap: 26px;
        padding-block: 55px;
    }

    .about-stamp {
        width: 95px;
        height: 95px;
        grid-row: 1;
    }

    .stamp-logo {
        width: 48px;
        height: 48px;
    }

    .about-stamp small {
        font-size: 6px;
    }

    .about-copy {
        grid-column: 1 / -1;
    }

    .about-number {
        display: none;
    }
}

@media (max-width: 480px) {
    .section-wrap,
    .site-header {
        width: calc(100% - 36px);
    }

    .brand {
        gap: 8px;
        font-size: 10px;
    }

    .brand-mark {
        width: 29px;
        height: 29px;
    }

    .main-nav {
        gap: 8px;
    }

    .main-nav .nav-cta {
        font-size: 0;
    }

    .main-nav .nav-cta .nav-cta-label {
        display: none;
    }

    .main-nav .nav-cta span {
        margin: 0;
        font-size: 16px;
    }

    .language-toggle {
        padding: 8px;
    }

    .hero {
        padding-top: 60px;
    }

    .hero-description {
        max-width: 320px;
        font-size: 14px;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
        gap: 16px;
    }

    .section-intro br {
        display: none;
    }

    .site-footer {
        min-height: 118px;
        flex-wrap: wrap;
        justify-content: space-between;
        padding-block: 23px;
    }

    .site-footer > p {
        order: 1;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
