:root {
    --bg: #07080b;
    --panel: #0b0d13;
    --text: #e8e8ee;
    --muted: #898b98;
    --line: #292c38;
    --red: #ff2458;
    --blue: #7fa7e9;
    --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--mono);
    font-size: 14px;
    line-height: 1.65
}

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

.wrap {
    width: min(1400px, calc(100% - 64px));
    margin: auto
}

header {
    height: 82px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ffffff0b;
    position: absolute;
    inset: 0 0 auto;
    z-index: 5;
    background: linear-gradient(#07080bd9, transparent)
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px
}

.brand {
    font-weight: 900;
    font-size: 21px;
    letter-spacing: .2em;
    line-height: 1.15
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .08em;
    margin-top: 7px
}

.links {
    display: flex;
    gap: 34px;
    align-items: center;
    color: #aaaab5;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .09em
}

.links a:hover,
.links a.active {
    color: var(--red)
}

.links a.active:before {
    content: "■ ";
    font-size: 9px
}

.hero {
    height: 520px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 65px
}

.hero-image {
    position: absolute;
    inset: 0 0 0 30%;
    background-image: linear-gradient(90deg, var(--bg) 0%, #07080b50 35%, #07080b0a 70%, #07080b55 100%), linear-gradient(0deg, var(--bg), transparent 32%), url("/img/website/hero-pixel-city.jpg");
    background-position: center, center, center 48%;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: .78
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 570px;
    padding: 20px 0
}

.kicker {
    font-size: 11px;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: .16em
}

.hero h1 {
    font-size: clamp(35px, 4.2vw, 59px);
    line-height: 1.14;
    letter-spacing: .07em;
    font-weight: 500;
    margin: 18px 0 17px;
    text-transform: uppercase
}

.hero p {
    color: #a4a5b0;
    max-width: 380px;
    font-size: 14px;
    margin: 0
}

.rule {
    height: 2px;
    width: 22px;
    background: var(--red);
    margin: 20px 0
}

.hero-foot {
    margin-top: 22px;
    color: #646774;
    font-size: 10px;
    letter-spacing: .13em
}

.games {
    padding: 12px 0 70px
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin: 0 0 20px
}

.section-head h2 {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin: 0
}

.section-head span {
    color: #656875;
    font-size: 10px;
    letter-spacing: .08em
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.game {
    padding: 0 16px 24px;
    border-right: 1px solid var(--line);
    min-width: 0
}

.game:first-child {
    padding-left: 0
}

.game:last-child {
    border-right: 0;
    padding-right: 0
}

.shot {
    display: block;
    width: 100%;
    aspect-ratio: 1.91;
    object-fit: cover;
    image-rendering: auto;
    filter: saturate(.88) contrast(1.05);
    border: 1px solid #353746;
    background: #10131c;
    transition: filter .2s
}

.game:hover .shot {
    filter: saturate(1.1) contrast(1.08)
}

.game h3 {
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: .075em;
    font-weight: 500;
    margin: 17px 0 8px;
    text-transform: uppercase
}

.tags {
    font-size: 10px;
    letter-spacing: .07em;
    color: #8c8e9a;
    text-transform: uppercase
}

.game p {
    font-family: var(--mono);
    font-size: 12px;
    line-height: 1.7;
    color: #9a9ba6;
    min-height: 62px;
    margin: 13px 0 22px
}

.game-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--red);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase
}

.game-link:after {
    content: "";
    height: 1px;
    background: #702238;
    flex: 1
}

.game-link span {
    font-size: 18px
}

.game-link:hover {
    color: #ff7896
}

.spotlight {
    padding: 70px 0 78px;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, #0b0d13, #07080b)
}

.spot-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 38px;
    align-items: center
}

.spot-image {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border: 1px solid #383b4a;
    filter: contrast(1.05)
}

.spot-copy h2 {
    font-size: clamp(25px, 3vw, 38px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .04em;
    margin: 14px 0
}

.spot-copy p {
    color: #a0a2ad;
    font-size: 12px;
    max-width: 470px
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0
}

.feature {
    border-top: 1px solid #343744;
    padding-top: 11px
}

.feature strong {
    display: block;
    color: #e8e8ee;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase
}

.feature span {
    display: block;
    color: #888b98;
    font-size: 11px;
    margin-top: 5px
}

.cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 25px
}

.cta {
    display: inline-block;
    border: 1px solid var(--red);
    color: var(--red);
    padding: 11px 14px;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase
}

.cta.primary {
    background: var(--red);
    color: #08090d
}

.cta:hover {
    filter: brightness(1.2)
}

.gallery {
    padding: 58px 0 70px;
    border-top: 1px solid #ffffff0b
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 12px;
    margin-top: 22px
}

.gallery-grid img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border: 1px solid #292c38
}

.note {
    font-size: 10px;
    color: #656875;
    margin-top: 12px
}

.about {
    border-top: 1px solid #ffffff0b;
    padding: 45px 0 55px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 45px
}

.about h2 {
    font-size: 19px;
    letter-spacing: .1em;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0
}

.about p {
    color: #9294a0;
    font-size: 12px;
    max-width: 670px;
    margin: 0
}

.about .kicker {
    margin-bottom: 12px
}

footer {
    border-top: 1px solid var(--line);
    padding: 19px 0 26px;
    color: #686b78;
    font-size: 10px;
    letter-spacing: .06em
}

.foot {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center
}

.social {
    display: flex;
    gap: 22px;
    text-transform: uppercase
}

.social a:hover {
    color: var(--red)
}

@media(max-width:800px) {
    .spot-grid {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr
    }

    .gallery-grid img:first-child {
        grid-column: 1/-1;
        height: 220px
    }

    .wrap {
        width: calc(100% - 36px)
    }

    .hero {
        height: 420px
    }

    .hero-image {
        left: 8%;
        opacity: .55
    }

    .grid {
        grid-template-columns: 1fr
    }

    .game,
    .game:first-child,
    .game:last-child {
        padding: 20px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

    .game:last-child {
        border-bottom: 0
    }

    .shot {
        aspect-ratio: 2.1
    }

    .game p {
        min-height: 0;
        max-width: 560px
    }

    .about {
        grid-template-columns: 1fr;
        gap: 15px
    }

    .section-head {
        align-items: start;
        gap: 10px;
        flex-direction: column
    }

    .links {
        gap: 16px
    }

    .brand {
        font-size: 17px
    }
}

@media(max-width:480px) {
    .wrap {
        width: calc(100% - 28px)
    }

    header {
        height: 72px
    }

    .brand {
        font-size: 15px;
        letter-spacing: .14em
    }

    .brand small {
        font-size: 8px
    }

    .links {
        font-size: 10px;
        gap: 12px
    }

    .links a:nth-child(2) {
        display: none
    }

    .hero {
        height: 390px
    }

    .hero h1 {
        font-size: 35px
    }

    .hero-image {
        left: -15%;
        background-position: center, center, 58% center
    }

    .hero p {
        font-size: 12px
    }

    .social {
        gap: 12px
    }

    .foot {
        align-items: flex-start;
        flex-direction: column
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    * {
        transition: none !important
    }
}