@font-face {
    font-family: "Barlow Condensed";
    src: url("fonts/BarlowCondensed-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --night: #09131c;
    --ink: #f1f6f7;
    --muted: #b7c8d0;
    --accent: #ffcb89;
    --rule: #435960;
    --teal: #90e2de;
    --armor-art: url("art/armor-panels.webp");
    --display: "Barlow Condensed", "Arial Narrow", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ink); font-family: system-ui, sans-serif; line-height: 1.6; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.shell { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.skip-link { position: absolute; z-index: 3; left: 1rem; top: 1rem; padding: .5rem .85rem; background: var(--accent); color: var(--night); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.site-header { position: relative; border-bottom: 1px solid #6f6b60; background: linear-gradient(180deg, #1a252c, #0b141a 75%); }
.site-header::after {
    position: absolute;
    inset: auto 0 -2px;
    height: 2px;
    background: linear-gradient(90deg, #348e8d, transparent 38%, transparent 64%, #986438);
    content: "";
}
.header-layout, .footer-layout { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-layout { min-height: 4.5rem; }
.brand { display: block; min-width: 0; padding-block: .35rem; }
.brand img { display: block; width: clamp(9.5rem, 27vw, 19.375rem); max-width: 100%; height: auto; }
.site-header nav, .site-footer nav { display: flex; align-items: center; gap: clamp(.85rem, 3vw, 2rem); }
.site-header nav a { font-size: .88rem; font-weight: 700; text-decoration: none; }
.nav-support { color: var(--muted); }
.nav-download, .back-link { color: var(--accent); }
.nav-download { padding: .5rem .85rem; border: 1px solid #9a724c; border-radius: .2rem .65rem .2rem .65rem; background: linear-gradient(#372a21, #1d1b19); }
.nav-download:hover { background: #493524; }

.hero { position: relative; display: grid; align-items: center; min-height: clamp(28rem, 59svh, 40rem); isolation: isolate; overflow: hidden; }
.hero-art, .hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art { z-index: -2; }
.hero-art img { display: block; object-fit: cover; object-position: 70% center; }
.hero::after { content: ""; z-index: -1; position: absolute; inset: 0; background:
    linear-gradient(90deg, #09131cee 0%, #09131c97 34%, transparent 76%),
    linear-gradient(0deg, var(--night), transparent 25%); }
.hero-body { padding-block: 4rem 5rem; }
.hero-genre { display: flex; align-items: center; gap: .65rem; margin: 0 0 1.05rem; color: var(--teal); font-size: .875rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 720; }
.hero-genre::before { width: 1.4rem; height: 2px; background: currentColor; content: ""; }
.hero h1, .gameplay h2, .download h2, .information h1 { margin: 0; font-family: var(--display); font-weight: 700; line-height: .95; text-transform: uppercase; }
.hero h1 { max-width: 42rem; font-size: clamp(3rem, 5.5vw, 4.85rem); letter-spacing: -.015em; }
.hero h1 span { display: block; color: var(--accent); }
.hero-copy { max-width: 30rem; margin-block: 1.4rem; color: #dfebed; font-size: clamp(1rem, 1.6vw, 1.15rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.primary-button, .secondary-button { display: inline-flex; min-height: 3rem; align-items: center; padding: .55rem 1rem; border: 1px solid transparent; border-radius: .25rem .85rem .25rem .85rem; font-weight: 750; text-decoration: none; }
.primary-button { color: #1d1510; border-color: #ffd9a1; background: linear-gradient(#ffdca3, #da9956); box-shadow: inset 0 -3px #8a4c2b55, 0 .4rem 1rem #060b10a6; }
.primary-button:hover { background: linear-gradient(#ffe8c7, #edb47a); }
.secondary-button { border-color: #739c9d; background: linear-gradient(#20353bd9, #101c24ed); }
.secondary-button:hover { background: #21424a; }

.armor-panel {
    padding: clamp(1.05rem, 4vw, 3.25rem);
    border: 1px solid #796c57;
    border-radius: .25rem 1.4rem .25rem 1.4rem;
    background: linear-gradient(115deg, #0b171bcc, #0b171b45 70%, #0b171b80), var(--armor-art) center / cover #101b20;
    box-shadow: inset 0 2px #d4bc8d45, inset 0 -4px #071116a6, 0 1.2rem 2.5rem #050a10a6;
}
.download { position: relative; margin-top: -1rem; scroll-margin-block-start: 1rem; }
.download-intro { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 1.25rem; }
.gameplay h2, .download h2 { font-size: clamp(2.45rem, 5vw, 4rem); letter-spacing: -.015em; }
.gameplay-copy p, .download-intro p { margin: .8rem 0 0; color: var(--muted); }
.gameplay {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.5rem, 6vw, 4.75rem);
    margin-block: clamp(2.25rem, 6vw, 5rem);
    border-color: #42636a;
    background-position: center, right center;
    scroll-margin-block-start: 1rem;
}
.gameplay-copy p { max-width: 26rem; }
.gameplay-frame {
    display: grid;
    place-items: center;
    justify-self: center;
    width: min(100%, 22rem);
    padding: clamp(.55rem, 1.5vw, .95rem);
    border: 1px solid #628f8e;
    border-radius: .35rem 1rem;
    background: linear-gradient(150deg, #243e44, #0a141a 38%, #293439);
    box-shadow: inset 0 2px #9fb6b338, 0 .75rem 2rem #050b12b3;
}
.gameplay-frame video { display: block; width: 100%; height: auto; aspect-ratio: 390 / 760; border: 1px solid #365157; border-radius: .35rem .7rem; background: #050d13; }

.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.65rem, 2vw, 1.35rem); margin-top: 1.35rem; }
.platform {
    --store-color: var(--teal);
    --store-edge: #5e9291;
    --store-glow: #1b3e45;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(.75rem, 2.5vw, 1.5rem);
    min-width: 0;
    min-height: 9.5rem;
    padding: clamp(.85rem, 2.8vw, 1.7rem);
    border: 1px solid var(--store-edge);
    border-radius: .2rem 1.05rem .2rem 1.05rem;
    background: linear-gradient(145deg, var(--store-glow), #112026 55%, #091419);
    box-shadow: inset 0 2px #c6e7dc29, inset 0 -4px #0610129c, 0 .55rem 1rem #05090fb3;
}
.platform::before {
    position: absolute;
    inset: -1px auto auto 1rem;
    width: 2.6rem;
    height: 2px;
    background: var(--store-color);
    content: "";
}
.platform--android { --store-color: var(--accent); --store-edge: #a57c52; --store-glow: #433228; }
.platform h3 { margin: 0; color: var(--store-color); font-family: var(--display); font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1; }
.platform p { margin: .45rem 0 0; color: var(--muted); font-size: .9rem; }
.store-link { display: inline-block; margin-top: .55rem; color: var(--store-color); font-size: .95rem; font-weight: 650; }
.store-code { display: block; flex-shrink: 0; padding: .25rem; border: 1px solid #c8d3d5; border-radius: .32rem .62rem; background: #fff; box-shadow: 0 0 0 3px #ffffff18, 0 .4rem 1rem #050b1280; }
.store-code img { display: block; width: clamp(4.5rem, 11vw, 7rem); height: auto; border-radius: .28rem; }

.information {
    max-width: 47rem;
    min-height: 65svh;
    margin-block: clamp(1.5rem, 5vw, 4rem);
    padding: clamp(1rem, 5vw, 3.25rem);
    border: 1px solid var(--rule);
    border-top-color: #a4815d;
    border-radius: .3rem 1.15rem;
    background: linear-gradient(150deg, #17282d, #0c171c 62%);
    box-shadow: inset 0 2px #d4bc8d35, 0 .75rem 1.75rem #060b1099;
}
.information h1 { font-size: clamp(3rem, 7vw, 5rem); line-height: .87; letter-spacing: -.015em; }
.information h2 { margin: 1.85rem 0 .4rem; font-size: 1.19rem; }
.information p { margin: .4rem 0; color: var(--muted); }
.information .intro { margin-block: 1.3rem 2rem; color: var(--ink); font-size: 1.05rem; }
.information p a { color: var(--accent); overflow-wrap: anywhere; }
.back-link { display: inline-block; margin-top: 2.1rem; }
.site-footer { color: var(--muted); border-top: 1px solid #665744; background: linear-gradient(#172329, #0b151a); font-size: .9rem; }
.footer-layout { min-height: 5.2rem; }
.site-footer a:hover, .nav-support:hover { color: var(--ink); }

@media (max-width: 700px) {
    .shell { width: calc(100% - 2rem); }
    .header-layout { min-height: 3.9rem; }
    .nav-support { display: none; }
    .hero { min-height: clamp(27rem, 65svh, 35rem); align-items: end; }
    .hero-art img { object-position: 74% center; }
    .hero::after { background: linear-gradient(0deg, var(--night), #09131cdd 25%, #09131c33 78%), linear-gradient(90deg, #09131c70, transparent); }
    .hero-body { padding-block: 9rem 2.7rem; }
    .hero h1 { font-size: clamp(2.4rem, 8.6vw, 4rem); }
    .hero-copy { margin-block: 1.3rem; max-width: 24rem; }
    .armor-panel { background-position: center, 72% center; }
    .gameplay { grid-template-columns: minmax(0, 1fr); gap: 1.35rem; }
    .platform { flex-direction: column; align-items: flex-start; }
    .store-code { align-self: center; }
    .footer-subtitle { display: none; }
}

@media (max-width: 340px) {
    .nav-download { padding-inline: .5rem; }
    .armor-panel { padding-inline: .75rem; }
    .platform { padding-inline: .65rem; }
}

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