:root {
    --black: #000000;
    --white: #ffffff;
    --soft-white: #f4f4f4;
    --blue: #47a6dc;
    --blue-light: #78c4ef;
    --muted: #b8b8b8;
    --line: #303030;
    --content: 1324px;
    --reading: 840px;
    --font-rounded: "Avenir Next Rounded", "Arial Rounded MT Bold", "Avenir Next", "Trebuchet MS", sans-serif;
    --font-body: "Avenir Next", "Trebuchet MS", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--black);
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--white);
    background: var(--black);
    font-family: var(--font-rounded);
    font-size: 18px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

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

h1,
h2,
h3 {
    font-family: var(--font-rounded);
    font-weight: 500;
    line-height: 1.04;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-shell {
    width: 100%;
}

.section-shell {
    width: min(calc(100% - 112px), var(--content));
    margin-inline: auto;
}

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    width: 100%;
    min-height: 79px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 14px clamp(24px, 4vw, 58px);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0));
}

.site-header-solid {
    position: relative;
    background: var(--black);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
    color: var(--white);
    text-decoration: none;
    font-size: 24px;
}

.brand img {
    width: auto;
    height: 50px;
    object-fit: contain;
}

.brand span {
    font-weight: 600;
}

.site-nav {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(18px, 2.2vw, 34px);
}

.site-nav a {
    position: relative;
    padding: 3px 0;
    color: var(--soft-white);
    text-decoration: none;
    font-size: clamp(16px, 1.5vw, 21px);
    font-weight: 400;
    line-height: 1.6;
    white-space: nowrap;
}

.site-nav a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    content: "";
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-current::after {
    transform: scaleX(1);
    transform-origin: left;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 11px 8px;
    border: 0;
    color: var(--white);
    background: transparent;
    cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
    display: block;
    height: 2px;
    margin: 6px 0;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.home-hero {
    position: relative;
    min-height: min(825px, 100vh);
    overflow: hidden;
    background: #111;
}

.home-hero-background,
.home-hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-hero-background {
    object-fit: cover;
    object-position: center;
}

.home-hero-shade {
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.28), transparent 28%, rgba(0, 0, 0, 0.2)),
        linear-gradient(90deg, rgba(0, 0, 0, 0.24), transparent 52%, rgba(0, 0, 0, 0.12));
}

.home-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    width: min(calc(100% - 112px), var(--content));
    min-height: min(825px, 100vh);
    margin-inline: auto;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    align-items: center;
    gap: 60px;
    padding-top: 88px;
}

.home-store-stack {
    display: flex;
    max-width: 660px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.home-hero-label,
.section-label,
.article-byline {
    margin-bottom: 14px;
    color: var(--blue);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-store-link {
    display: block;
    width: 100%;
    transition: transform 160ms ease, filter 160ms ease;
}

.hero-store-link:hover,
.hero-store-link:focus-visible,
.home-game-icon:hover,
.home-game-icon:focus-visible {
    transform: translateY(-4px);
    filter: brightness(1.08);
}

.hero-store-link img {
    width: min(100%, 565px);
    max-height: 220px;
    object-fit: contain;
}

.hero-store-link-apple {
    width: 84%;
    margin-left: 8%;
}

.hero-store-link-apple img {
    width: 100%;
    max-height: 150px;
}

.home-game-icon {
    display: block;
    width: min(100%, 434px);
    justify-self: center;
    transition: transform 160ms ease, filter 160ms ease;
}

.home-game-icon img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.home-news,
.game-news {
    padding-block: 110px;
}

.section-title-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 52px;
}

.section-title-row h2,
.simple-contact h2 {
    margin-bottom: 0;
    font-size: clamp(48px, 6vw, 78px);
}

.text-link {
    display: inline-block;
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    border-bottom: 1px solid currentColor;
    transition: color 150ms ease;
}

.text-link:hover,
.text-link:focus-visible {
    color: var(--blue);
}

.home-news-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 28px;
    align-items: start;
}

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

.editorial-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #111;
}

.editorial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 240ms ease;
}

.editorial-image:hover img,
.editorial-image:focus-visible img {
    transform: scale(1.02);
}

.editorial-copy {
    padding-top: 22px;
}

.editorial-copy h3 {
    margin-bottom: 20px;
    font-size: clamp(28px, 3.2vw, 44px);
}

.editorial-copy h3 a {
    text-decoration: none;
}

.about-contact {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.about-contact-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(56px, 8vw, 110px);
    padding-block: 110px 84px;
}

.about-logo {
    width: min(100%, 520px);
    margin-bottom: 34px;
}

.about-column > p {
    max-width: 550px;
    color: var(--soft-white);
    font-size: clamp(22px, 2.1vw, 27px);
    line-height: 1.6;
}

.social-links,
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 26px;
}

.social-links {
    margin-top: 32px;
}

.social-links a,
.footer-links a {
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.social-links a:hover,
.footer-links a:hover,
.social-links a:focus-visible,
.footer-links a:focus-visible {
    border-bottom-color: currentColor;
}

.contact-column h2 {
    margin-bottom: 48px;
    font-size: clamp(52px, 6vw, 78px);
}

.pill-button,
.button {
    display: inline-flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    border: 1px solid var(--white);
    border-radius: 999px;
    color: var(--white);
    background: transparent;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.pill-button:hover,
.pill-button:focus-visible,
.button:hover,
.button:focus-visible {
    color: var(--black);
    background: var(--white);
}

.button-primary {
    border-color: var(--blue);
    background: var(--blue);
}

.button-warm {
    border-color: var(--white);
}

.site-footer {
    display: flex;
    min-height: 120px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-block: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--muted);
    font-size: 16px;
}

.game-banner-section {
    position: relative;
    min-height: 1015px;
    padding-top: 79px;
    text-align: center;
}

.game-banner {
    width: 100%;
    height: 621px;
    object-fit: cover;
    object-position: center;
}

.game-app-icon {
    position: relative;
    z-index: 2;
    width: 265px;
    height: 265px;
    margin: -148px auto 0;
    object-fit: cover;
}

.game-banner-section h1 {
    max-width: 1100px;
    margin: 82px auto 0;
    padding-inline: 30px;
    font-size: clamp(58px, 6.5vw, 84px);
}

.game-intro {
    min-height: 742px;
    padding-block: 106px 82px;
    text-align: center;
}

.game-store-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(48px, 7vw, 90px);
    margin-bottom: 64px;
}

.game-store-row a:first-child {
    width: min(42%, 434px);
}

.game-store-row a:last-child {
    width: min(37%, 379px);
}

.game-store-row img {
    width: 100%;
    max-height: 170px;
    object-fit: contain;
    transition: transform 160ms ease;
}

.game-store-row a:hover img,
.game-store-row a:focus-visible img {
    transform: translateY(-4px);
}

.game-intro h2 {
    margin-bottom: 18px;
    color: var(--blue);
    font-size: clamp(34px, 3.8vw, 50px);
}

.game-intro > p {
    max-width: 1000px;
    margin-inline: auto;
    color: var(--blue);
    font-size: clamp(27px, 3.1vw, 44px);
    font-weight: 500;
    line-height: 1.13;
}

.game-trailer {
    padding: 70px clamp(20px, 6vw, 90px) 92px;
}

.video-frame {
    position: relative;
    overflow: hidden;
    width: min(100%, 1300px);
    margin-inline: auto;
    aspect-ratio: 16 / 9;
    background: #111;
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.game-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 0 6px;
}

.game-gallery a {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #111;
}

.game-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease, filter 220ms ease;
}

.game-gallery a:hover img,
.game-gallery a:focus-visible img {
    transform: scale(1.015);
    filter: brightness(1.05);
}

.simple-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding-block: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.simple-contact-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.news-hero {
    padding-top: 170px;
    padding-bottom: 90px;
}

.news-hero h1 {
    margin-bottom: 24px;
    font-size: clamp(64px, 8vw, 108px);
}

.news-hero > p:last-child {
    max-width: 760px;
    color: var(--muted);
    font-size: 24px;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 80px 34px;
    padding-bottom: 120px;
}

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

.blog-card-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #111;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.blog-card-image:hover img,
.blog-card-image:focus-visible img {
    transform: scale(1.018);
}

.blog-logo-image img {
    padding: 10%;
    object-fit: contain;
    background: #fff;
}

.blog-card-copy {
    padding-top: 22px;
}

.blog-card-copy h2 {
    margin-bottom: 22px;
    font-size: clamp(30px, 3.3vw, 48px);
}

.blog-card-copy h2 a {
    text-decoration: none;
}

@media (max-width: 980px) {
    .section-shell,
    .home-hero-content {
        width: min(calc(100% - 48px), var(--content));
    }

    .site-nav {
        gap: 16px;
    }

    .site-nav a {
        font-size: 15px;
    }

    .home-hero-content {
        grid-template-columns: 1fr 0.7fr;
        gap: 28px;
    }

    .about-contact-inner {
        grid-template-columns: 1fr;
    }

    .about-column,
    .contact-column {
        max-width: 720px;
    }

    .home-news-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .section-shell,
    .home-hero-content {
        width: min(calc(100% - 32px), var(--content));
    }

    .site-header {
        min-height: 84px;
        padding: 16px 20px;
    }

    .brand img {
        height: 42px;
        max-width: 230px;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 3;
    }

    .menu-toggle[aria-expanded="true"] > span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .site-nav {
        position: fixed;
        inset: 0;
        display: flex;
        padding: 120px 28px 40px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 20px;
        background: rgba(0, 0, 0, 0.98);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .site-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-nav a {
        font-size: 26px;
        white-space: normal;
    }

    .home-hero {
        min-height: 960px;
    }

    .home-hero-content {
        display: flex;
        min-height: 960px;
        padding: 132px 0 54px;
        flex-direction: column;
        justify-content: flex-start;
        gap: 42px;
    }

    .home-game-icon {
        order: 1;
        width: min(82vw, 360px);
    }

    .home-store-stack {
        order: 2;
        width: 100%;
        align-items: center;
    }

    .home-hero-label {
        display: none;
    }

    .hero-store-link img {
        width: 100%;
    }

    .hero-store-link-apple {
        width: 82%;
        margin-left: 0;
    }

    .home-news,
    .game-news {
        padding-block: 76px;
    }

    .section-title-row,
    .simple-contact,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-news-grid,
    .news-list {
        grid-template-columns: 1fr;
    }

    .blog-card-featured {
        grid-column: auto;
    }

    .about-contact-inner {
        padding-block: 76px 54px;
    }

    .about-logo {
        width: min(100%, 420px);
    }

    .game-banner-section {
        min-height: auto;
        padding-top: 84px;
        padding-bottom: 68px;
    }

    .game-banner {
        height: 310px;
    }

    .game-app-icon {
        width: 190px;
        height: 190px;
        margin-top: -92px;
    }

    .game-banner-section h1 {
        margin-top: 52px;
        font-size: 48px;
    }

    .game-intro {
        min-height: auto;
        padding-block: 76px;
    }

    .game-store-row {
        flex-direction: column;
        gap: 26px;
        margin-bottom: 52px;
    }

    .game-store-row a:first-child,
    .game-store-row a:last-child {
        width: min(100%, 380px);
    }

    .game-intro > p {
        font-size: 29px;
    }

    .game-trailer {
        padding: 24px 0 72px;
    }

    .game-gallery {
        grid-template-columns: 1fr;
        padding-inline: 0;
    }

    .simple-contact-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .news-hero {
        padding-top: 140px;
        padding-bottom: 64px;
    }

    .news-list {
        gap: 58px;
    }
}
