/* ATC Radar – atcradargame.com
   Colours and type follow the game (style.css in the game project). */

@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(assets/fonts/barlow-condensed-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(assets/fonts/barlow-condensed-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(assets/fonts/barlow-condensed-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(assets/fonts/barlow-condensed-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #050c0e;
  --panel: #0b171a;
  --panel-2: #0f1f23;
  --line: #1c3338;
  --line-hi: #2f5a60;
  --text: #cfe3dc;
  --white: #eef6f2;
  --dim: #6f8f87;
  --accent: #ffe066;
  --arr: #7dffa0;
  --dep: #68d4ff;
  --warn: #ffad33;
  --bad: #ff4d4d;
  --low: #ff7ad9;
  --on-arr: #052414;
  --mono: 'Cascadia Mono', 'SF Mono', ui-monospace, Consolas, 'Liberation Mono', monospace;
  --display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1180px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: var(--arr); }
::selection { background: var(--arr); color: var(--on-arr); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* language switching: both texts are in the HTML, the other one is hidden */
html[lang="en"] .l-cs, html[lang="cs"] .l-en { display: none !important; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--arr); color: var(--on-arr); padding: 8px 12px; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- buttons ---------- */
.btn {
  --c: var(--arr);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border: 1px solid var(--c); border-radius: 4px;
  background: var(--c); color: var(--on-arr); text-decoration: none;
  font: 700 17px/1 var(--display); letter-spacing: 1.2px; text-transform: uppercase;
  box-shadow: 0 0 0 0 rgba(125, 255, 160, 0), 0 0 24px rgba(125, 255, 160, 0.25);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 4px rgba(125, 255, 160, 0.15), 0 0 36px rgba(125, 255, 160, 0.45); }
.btn-lg { padding: 16px 26px; font-size: 21px; }
.btn-sm { padding: 8px 14px; font-size: 15px; }
.btn-ghost { background: rgba(5, 12, 14, 0.5); color: var(--arr); backdrop-filter: blur(4px); box-shadow: none; }
.btn-ghost:hover { background: rgba(125, 255, 160, 0.1); }
.steam { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.play { font-size: 14px; }
@keyframes blink { 50% { opacity: .25; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 64px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 0 24px;
  background: linear-gradient(rgba(5, 12, 14, .85), rgba(5, 12, 14, 0));
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(5, 12, 14, .92); backdrop-filter: blur(8px); border-color: var(--line); }
.brand { justify-self: start; display: inline-flex; gap: 6px; text-decoration: none; font: 700 26px/1 var(--display); letter-spacing: 1px; }
.brand-atc { color: var(--white); }
.brand-radar { color: var(--arr); text-shadow: 0 0 14px rgba(125, 255, 160, .5); }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--dim); text-decoration: none; font: 600 16px/1 var(--display);
  letter-spacing: 1.4px; text-transform: uppercase; transition: color .2s;
}
.nav-links a:hover, .nav-links a.on { color: var(--arr); }
.nav-right { display: flex; align-items: center; gap: 12px; justify-self: end; }
.lang {
  background: none; border: 1px solid var(--line-hi); border-radius: 4px; color: var(--dim);
  font: 600 14px/1 var(--mono); padding: 8px 10px; cursor: pointer;
}
.lang:hover { border-color: var(--arr); }
.lang-sep { margin: 0 4px; opacity: .5; }
html[lang="en"] .lang-en, html[lang="cs"] .lang-cs { color: var(--arr); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; overflow: hidden; isolation: isolate;
  padding: 96px 24px 80px;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; filter: saturate(1.1); }
.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(5, 12, 14, .55), rgba(5, 12, 14, .2) 70%),
    linear-gradient(rgba(5, 12, 14, .35), rgba(5, 12, 14, .1) 40%, var(--bg));
}
.scanlines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background: repeating-linear-gradient(transparent 0 2px, rgba(0, 0, 0, .35) 2px 3px);
}
.scope { position: absolute; left: 50%; top: 50%; width: min(130vmin, 1300px); aspect-ratio: 1; translate: -50% -50%; z-index: -1; pointer-events: none; }
.scope-rings {
  position: absolute; inset: 0; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 calc(12.5% - 1px), rgba(125, 255, 160, .12) calc(12.5% - 1px) 12.5%);
  mask: radial-gradient(circle, #000 60%, transparent 71%);
}
.scope-sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(125, 255, 160, 0) 0deg, rgba(125, 255, 160, 0) 300deg, rgba(125, 255, 160, .16) 356deg, rgba(125, 255, 160, .55) 360deg);
  mask: radial-gradient(circle, #000 60%, transparent 71%);
  animation: sweep 6s linear infinite;
}
@keyframes sweep { to { transform: rotate(360deg); } }

.hero-inner { text-align: center; max-width: 900px; }
.kicker, .sec-code {
  font: 500 13px/1.4 var(--mono); letter-spacing: 3px; color: var(--arr); text-transform: uppercase; margin: 0 0 14px;
}
.kicker { color: var(--accent); letter-spacing: 1.5px; min-height: 1.4em; }
.logo { margin: 0 0 40px; font: 700 clamp(60px, 17vw, 210px)/.86 var(--display); letter-spacing: 2px; text-transform: uppercase; }
.logo span { display: inline-block; }
.logo-atc { color: var(--white); text-shadow: 0 0 30px rgba(125, 255, 160, .35); }
.logo-radar { color: var(--arr); text-shadow: 0 0 22px rgba(125, 255, 160, .65), 0 0 70px rgba(125, 255, 160, .35); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-tags { list-style: none; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; padding: 0; margin: 30px 0 0; }
.hero-tags li { font: 500 12px/1 var(--mono); letter-spacing: 1.5px; color: var(--dim); border: 1px solid var(--line); padding: 6px 9px; border-radius: 3px; background: rgba(5, 12, 14, .55); }

.radio {
  position: absolute; right: 24px; bottom: 28px; width: 360px; z-index: 2;
  background: rgba(9, 20, 22, .82); border: 1px solid var(--line); border-radius: 6px;
  padding: 10px 14px; font: 13px/1.5 var(--mono); backdrop-filter: blur(6px);
}
.radio-head { color: var(--dim); font: 600 13px/1 var(--display); letter-spacing: 2px; margin-bottom: 8px; }
.radio-log { list-style: none; margin: 0; padding: 0; height: 120px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.radio-log li { display: grid; grid-template-columns: 36px 1fr; gap: 8px; animation: in .4s var(--ease); }
.radio-log .who { color: var(--dim); }
.radio-log .atc { color: var(--accent); }
.radio-log .plt { color: var(--text); }
@keyframes in { from { opacity: 0; transform: translateY(8px); } }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 26px; height: 42px; border: 2px solid var(--line-hi); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--arr); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- sections ---------- */
.section { position: relative; padding: 110px 0; }
.section-alt { background: linear-gradient(var(--bg), var(--panel) 20%, var(--panel) 80%, var(--bg)); }
.sec-head { margin-bottom: 44px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.sec-title {
  margin: 0; font: 700 clamp(38px, 5vw, 56px)/1 var(--display); letter-spacing: 1px; text-transform: uppercase; color: var(--white);
}
.sec-sub { margin: 14px 0 0; color: var(--dim); }

/* corner-bracket frame, like the banners in the game's Steam page */
.frame { position: relative; }
.frame::before, .frame::after {
  content: ''; position: absolute; width: 26px; height: 26px; pointer-events: none; z-index: 2;
  border: 2px solid var(--arr); opacity: .8;
}
.frame::before { top: -10px; left: -10px; border-right: 0; border-bottom: 0; }
.frame::after { bottom: -10px; right: -10px; border-left: 0; border-top: 0; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.about-text p { margin: 0 0 18px; }
.lead { font-size: 20px; color: var(--white); }
.lead strong { color: var(--arr); font-weight: 600; }
.trailer { margin: 0; }
.trailer video { width: 100%; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line); border-radius: 4px; }
.trailer figcaption { margin-top: 12px; font: 13px var(--mono); color: var(--dim); letter-spacing: 1px; text-transform: uppercase; }

/* ---------- features as flight strips ---------- */
.strips { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.strip {
  position: relative; padding: 22px 22px 22px 26px; border-radius: 4px;
  background: linear-gradient(135deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-left: 2px solid var(--arr);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.strip:hover { border-color: var(--line-hi); border-left-color: var(--arr); background: var(--panel-2); }
.strip-cs { position: absolute; top: 14px; right: 16px; font: 600 12px var(--mono); color: var(--dim); letter-spacing: 1px; }
.strip h3 { margin: 0 0 8px; font: 700 28px/1.05 var(--display); letter-spacing: .6px; text-transform: uppercase; color: var(--white); padding-right: 60px; }
.strip p { margin: 0; color: var(--dim); font-size: 15px; }

/* ---------- gameplay ---------- */
.tabs { display: flex; gap: 6px; justify-content: flex-start; flex-wrap: wrap; margin-bottom: 34px; }
.tabs button {
  background: var(--panel); border: 1px solid var(--line); color: var(--dim); border-radius: 4px; cursor: pointer;
  font: 600 17px/1 var(--display); letter-spacing: 1.3px; text-transform: uppercase; padding: 11px 18px; transition: all .2s;
}
.tabs button:hover { color: var(--text); border-color: var(--line-hi); }
.tabs button[aria-selected="true"] { background: rgba(125, 255, 160, .12); border-color: var(--arr); color: var(--arr); }
.clip { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; }
.clip-screen video { width: 100%; aspect-ratio: 16 / 9; border-radius: 4px; border: 1px solid var(--line); background: #000; transition: opacity .25s; }
.clip-screen video.fade { opacity: 0; }
.rec { position: absolute; top: 12px; left: 14px; z-index: 2; font: 600 11px var(--mono); letter-spacing: 1.5px; color: var(--bad); background: rgba(5, 12, 14, .75); padding: 4px 8px; border-radius: 3px; animation: blink 2s steps(1) infinite; }
.clip-pane h3 { margin: 0 0 14px; font: 700 40px/1 var(--display); text-transform: uppercase; color: var(--white); letter-spacing: 1px; }
.clip-pane p { margin: 0 0 14px; }
.cmd { font: 15px/1.4 var(--mono); background: var(--bg); border: 1px solid var(--line-hi); border-radius: 4px; padding: 12px 14px; color: var(--accent); }
.cmd-cs { color: var(--arr); font-weight: 700; margin-right: 6px; }
.caret { display: inline-block; width: 8px; height: 1.05em; vertical-align: -2px; margin-left: 3px; background: var(--accent); animation: blink 1s steps(1) infinite; }

/* ---------- weather band ---------- */
.band { position: relative; min-height: 560px; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 12, 14, .96) 0%, rgba(5, 12, 14, .88) 48%, rgba(5, 12, 14, .15) 100%), linear-gradient(var(--bg), transparent 18%, transparent 82%, var(--bg)); }
.band-inner { width: 100%; }
.band-inner > * { max-width: 560px; }
.band .sec-code { color: var(--warn); }
.band-title { margin: 0 0 18px; font: 700 clamp(44px, 6vw, 72px)/.95 var(--display); text-transform: uppercase; color: var(--white); }
.metar { font: 13px/1.5 var(--mono); color: var(--warn); border-left: 2px solid var(--warn); padding-left: 12px; margin-top: 24px; }

/* ---------- airports ---------- */
.airports { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.apt {
  display: flex; flex-direction: column; gap: 6px; padding: 20px 18px 18px;
  border: 1px solid var(--line); border-left: 2px solid var(--arr); border-radius: 4px;
  background: linear-gradient(135deg, var(--panel-2), var(--panel));
  transition: border-color .3s, background .3s;
}
.apt:hover { border-color: var(--line-hi); border-left-color: var(--arr); background: var(--panel-2); }
.apt-icao { font: 600 12px var(--mono); color: var(--dim); letter-spacing: 1px; }
.apt-name { font: 700 28px/1.05 var(--display); text-transform: uppercase; color: var(--white); letter-spacing: .6px; }
.apt-meta { font-size: 15px; color: var(--dim); line-height: 1.5; flex: 1; }
.apt-tag { font: 600 12px var(--mono); color: var(--arr); letter-spacing: 1px; margin-top: 8px; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.shot { position: relative; display: block; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.shot img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.shot:hover img { transform: scale(1.05); }
.shot::after { content: ''; position: absolute; inset: 0; border: 2px solid var(--arr); opacity: 0; transition: opacity .25s; border-radius: 4px; }
.shot:hover::after { opacity: 1; }
.shot-wide { grid-column: span 2; grid-row: span 2; }

.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(2, 6, 7, .92); backdrop-filter: blur(4px); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: 94vw; max-height: 88vh; border: 1px solid var(--line-hi); border-radius: 4px; box-shadow: 0 0 80px rgba(125, 255, 160, .12); }
.lb-btn { position: fixed; background: rgba(11, 23, 26, .9); border: 1px solid var(--line-hi); color: var(--arr); width: 48px; height: 48px; border-radius: 4px; font-size: 26px; line-height: 1; cursor: pointer; }
.lb-btn:hover { border-color: var(--arr); }
.lb-close { top: 16px; right: 16px; font-size: 18px; }
.lb-prev { left: 16px; top: 50%; translate: 0 -50%; }
.lb-next { right: 16px; top: 50%; translate: 0 -50%; }

/* ---------- achievements ---------- */
.ach { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ach li { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); transition: border-color .25s; }
.ach li:hover { border-color: var(--accent); }
.ach img { width: 56px; height: 56px; border-radius: 3px; flex: none; }
.ach b { display: block; font: 700 20px/1.1 var(--display); text-transform: uppercase; color: var(--white); letter-spacing: .4px; }
.ach small { display: block; color: var(--dim); font-size: 13px; line-height: 1.4; margin-top: 3px; }

/* ---------- CTA ---------- */
.cta { position: relative; padding: 140px 0 120px; text-align: center; overflow: hidden; isolation: isolate; }
.scope-cta { width: min(110vmin, 1000px); opacity: .7; }
.cta-title { margin: 0; font: 700 clamp(54px, 9vw, 110px)/.92 var(--display); text-transform: uppercase; color: var(--white); text-shadow: 0 0 40px rgba(125, 255, 160, .3); }
.cta-sub { max-width: 560px; margin: 20px auto 34px; font-size: 18px; }
.widget { max-width: 646px; margin: 56px auto 0; }
.widget iframe { width: 100%; height: 190px; border: 0; border-radius: 4px; background: var(--panel); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); background: linear-gradient(var(--bg), var(--panel)); color: var(--dim); font-size: 14px; }
.foot p { margin: 0; }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 56px 0 40px; }
.foot-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.foot-logo img { width: 44px; height: 44px; border-radius: 6px; }
.foot-brand p { margin: 14px 0 20px; max-width: 320px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h3 { margin: 0 0 6px; font: 600 12px var(--mono); color: var(--arr); letter-spacing: 1.5px; text-transform: uppercase; }
.foot-col a { color: var(--text); text-decoration: none; width: fit-content; transition: color .2s; }
.foot-col a:hover { color: var(--arr); }
.foot-bottom { display: flex; align-items: center; gap: 24px; padding: 20px 0 28px; border-top: 1px solid var(--line); font-size: 13px; }
.foot-note { opacity: .7; flex: 1; }
.to-top { color: var(--dim); text-decoration: none; font: 600 12px var(--mono); letter-spacing: 1px; text-transform: uppercase; border: 1px solid var(--line-hi); border-radius: 4px; padding: 7px 10px; white-space: nowrap; transition: color .2s, border-color .2s; }
.to-top:hover { color: var(--arr); border-color: var(--arr); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.seen { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .airports { grid-template-columns: repeat(3, 1fr); }
  .radio { display: none; }
}
@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .about, .clip { grid-template-columns: 1fr; gap: 40px; }
  .strips, .ach { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .nav { padding: 0 16px; gap: 10px; }
  .nav .btn-sm { padding: 8px 10px; font-size: 13px; }
  .brand { font-size: 22px; }
  .hero { padding: 88px 16px 80px; }
  .section { padding: 80px 0; }
  .strips, .ach, .airports, .gallery { grid-template-columns: 1fr; }
  .shot-wide { grid-column: auto; grid-row: auto; }
  .band::before { background: linear-gradient(rgba(5, 12, 14, .85), rgba(5, 12, 14, .85)); }
  .hero-cta .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 400px) {
  .nav .btn-sm { display: none; }
}
@media (max-width: 600px) {
  .foot-bottom { flex-wrap: wrap; gap: 12px; }
  .foot-note { flex-basis: 100%; order: 3; }
}
