/* vorblo.com. The same black and grey as the launcher: one grey ladder for everything, white kept
   for the one thing you press. Anton stands in for the game's display face, as in the launcher. */

@font-face { font-family: Geist; src: url(/fonts/Geist-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Geist; src: url(/fonts/Geist-Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: Geist; src: url(/fonts/Geist-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: Anton; src: url(/fonts/Anton-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }

:root {
    --page: #000;
    --panel: #0a0a0a;
    --fill: rgba(255, 255, 255, 0.03);
    --line: rgba(255, 255, 255, 0.06);
    --ring: rgba(255, 255, 255, 0.1);
    --text: #ededed;
    --muted: #a1a1a1;
    --faint: #6b6b6b;
    --ok: #3ecf8e;
    --radius: 20px;
}

* { box-sizing: border-box; }

/* the hidden attribute means hidden, whatever display a class gives the element */
[hidden] { display: none !important; }

html { background: var(--page); color-scheme: dark; }

body {
    margin: 0;
    color: var(--text);
    font: 15px/1.6 Geist, "Segoe UI", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap { width: min(1120px, 100% - 48px); margin: 0 auto; }

/* ---- the bar along the top ---- */

.bar { position: absolute; inset: 0 0 auto; z-index: 2; }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.bar .links { display: flex; gap: 10px; align-items: center; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.brand svg { width: 22px; height: 22px; }

/* ---- buttons ---- */

.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 46px; padding: 0 22px; border-radius: 999px;
    font: 600 14.5px/1 Geist, system-ui, sans-serif; text-decoration: none; white-space: nowrap;
    transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button.primary { background: #fff; color: #000; }
.button.primary:hover { background: #e6e6e6; }
.button.ghost { border: 1px solid var(--ring); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.button.ghost:hover { border-color: rgba(255, 255, 255, 0.22); }
.button.small { height: 38px; padding: 0 16px; font-size: 13.5px; }
.button svg { width: 16px; height: 16px; flex: none; }

/* ---- the opening: the season's art behind the words ---- */

.hero { position: relative; min-height: 640px; display: flex; align-items: flex-end; overflow: hidden; border-bottom: 1px solid var(--line); }

.hero .art {
    position: absolute; inset: 0;
    background: #050505 url(/media/season-keyart.jpg) 80% 30% / cover no-repeat;
    transform-origin: 70% 40%;
    animation: drift 30s ease-in-out infinite alternate;
}

/* black from the left and the bottom, so the words always sit on black and the art stays art */
.hero .art::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.94) 34%, rgba(0, 0, 0, 0.5) 64%, rgba(0, 0, 0, 0.15) 100%),
        linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0) 45%);
}

@keyframes drift { from { transform: scale(1); } to { transform: scale(1.07); } }

.hero .wrap { position: relative; padding: 150px 0 80px; }

.eyebrow { font: 500 12px/1 "Geist", monospace; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

h1, h2, .display {
    font-family: Anton, Impact, "Arial Narrow", sans-serif; font-weight: 400;
    text-transform: uppercase; letter-spacing: 0.005em; line-height: 0.95; margin: 0;
}

.hero h1 { font-size: clamp(52px, 8vw, 104px); margin: 18px 0 22px; max-width: 9.5em; }
.hero p.lead { max-width: 34em; margin: 0 0 30px; font-size: 17px; color: #cfcfcf; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .fine { margin-top: 16px; font-size: 12.5px; color: var(--faint); }

/* ---- sections ---- */

section { padding: 96px 0; border-bottom: 1px solid var(--line); }
section h2 { font-size: clamp(36px, 4.6vw, 54px); margin: 14px 0 40px; }

.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* the double card: a hairline frame with a slightly lighter panel inside it */
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 5px; background: rgba(255, 255, 255, 0.01); }
.card > .inner { height: 100%; border-radius: calc(var(--radius) - 5px); background: var(--panel); border: 1px solid var(--line); padding: 26px 24px 24px; }
.card h3 { margin: 18px 0 8px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }

.step { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; border: 1px solid var(--ring); background: var(--fill); font: 600 13px/1 Geist, sans-serif; color: var(--muted); }

.icon { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--ring); background: var(--fill); }
.icon svg { width: 18px; height: 18px; fill: none; stroke: #d6d6d6; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---- news, filled from the server by site.js ---- */

.news { display: grid; gap: 14px; grid-template-columns: 1.3fr 1fr; }
.news .story:first-child { grid-row: span 2; min-height: 420px; }
.story {
    position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
    min-height: 203px; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line);
    background: var(--panel) center / cover no-repeat; isolation: isolate;
}
.story::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.1) 100%); }
.story h3 { font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: 26px; line-height: 1; margin: 0 0 8px; }
.news .story:first-child h3 { font-size: 38px; }
.story p { margin: 0; color: #c9c9c9; font-size: 14px; max-width: 40em; }
.story .by { margin-top: 12px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }

/* ---- what this is not ---- */

.notice { display: flex; gap: 16px; align-items: flex-start; }
.notice p { margin: 0; color: var(--muted); max-width: 52em; }
.notice strong { color: var(--text); font-weight: 600; }

footer { padding: 40px 0 56px; color: var(--faint); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 22px; }
footer a { text-decoration: none; color: var(--muted); }
footer a:hover { color: var(--text); }

/* ---- the legal page ---- */

.doc { padding: 140px 0 80px; border: 0; }
.doc h1 { font-size: clamp(44px, 6vw, 72px); margin: 16px 0 34px; }
.doc h2 { font-family: Geist, system-ui, sans-serif; text-transform: none; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; margin: 40px 0 10px; }
.doc p, .doc li { color: #c4c4c4; max-width: 44em; }
.doc ul { padding-left: 20px; }

/* ---- the entrance ---- */

.rise { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.rise.d1 { animation-delay: 0.08s; }
.rise.d2 { animation-delay: 0.16s; }
.rise.d3 { animation-delay: 0.24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    .hero .art, .rise { animation: none; }
}

@media (max-width: 760px) {
    .hero { min-height: 560px; }
    .hero .wrap { padding: 120px 0 56px; }
    /* a phone has no room beside the words, so the art goes behind them, darker */
    .hero .art::after { background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.82) 50%, rgba(0, 0, 0, 0.6) 100%); }
    section { padding: 64px 0; }
    .news { grid-template-columns: 1fr; }
    .news .story:first-child { grid-row: auto; min-height: 320px; }
}
