:root {
  --bg: #07111f;
  --bg-soft: #0b1829;
  --panel: rgba(14, 29, 47, .78);
  --panel-solid: #0e1d2f;
  --text: #f4f8ff;
  --muted: #aebdd0;
  --line: rgba(255, 255, 255, .12);
  --accent: #71c8ff;
  --accent-2: #38a7ff;
  --steam-1: #1f8bd7;
  --steam-2: #155b9d;
  --steam-3: #0c315a;
  --max: 1160px;
  --shadow: 0 30px 80px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 75% 5%, rgba(40, 128, 196, .16), transparent 34%),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  background: white;
  color: #07111f;
  padding: 10px 14px;
  border-radius: 8px;
}
.skip-link:focus { transform: none; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(4, 10, 18, .86), rgba(4, 10, 18, .15));
  backdrop-filter: blur(14px);
  transition: background .25s ease, border-color .25s ease;
}
.site-header.scrolled { background: rgba(4, 10, 18, .91); border-color: var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; white-space: nowrap; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 36px;
  border: 1px solid rgba(113, 200, 255, .52);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(113,200,255,.17), rgba(25,83,135,.13));
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .04em;
  box-shadow: inset 0 1px rgba(255,255,255,.12);
}
.brand-text { font-weight: 730; letter-spacing: -.02em; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 650; }
.nav a:hover { color: var(--text); }
.header-cta {
  text-decoration: none;
  padding: 9px 15px;
  border: 1px solid rgba(113, 200, 255, .4);
  border-radius: 10px;
  color: #dff4ff;
  font-size: 14px;
  font-weight: 760;
  background: rgba(51, 145, 214, .12);
}
.header-cta:hover { background: rgba(51, 145, 214, .22); }

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 132px 0 96px;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("images/hero-bg.webp");
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 11, 20, .98) 0%, rgba(4, 11, 20, .86) 42%, rgba(4, 11, 20, .42) 77%, rgba(4, 11, 20, .54) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 28%, rgba(4, 11, 20, .26) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .16;
  background-image: radial-gradient(rgba(255,255,255,.7) .55px, transparent .55px);
  background-size: 6px 6px;
  mask-image: linear-gradient(to right, black, transparent 68%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: center; }
.hero-copy { max-width: 650px; }
.eyebrow {
  margin: 0 0 13px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 830;
  font-size: 12px;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  margin: 0;
  font-size: clamp(52px, 7vw, 92px);
  line-height: .94;
  letter-spacing: -.055em;
  font-weight: 850;
  text-shadow: 0 14px 40px rgba(0, 0, 0, .34);
}
h1 span {
  color: transparent;
  background: linear-gradient(135deg, #e8f6ff 4%, #79cfff 48%, #3aa9f8 88%);
  background-clip: text;
  -webkit-background-clip: text;
}
.hero-lead { max-width: 650px; margin: 26px 0 0; color: #c6d3e1; font-size: clamp(17px, 2vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 34px; flex-wrap: wrap; }
.platform-note { color: #aab8c8; font-size: 13px; max-width: 180px; line-height: 1.45; }

.steam-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 288px;
  gap: 14px;
  padding: 13px 16px 13px 14px;
  border: 1px solid rgba(186, 226, 255, .46);
  border-radius: 16px;
  text-decoration: none;
  color: white;
  background:
    linear-gradient(135deg, rgba(255,255,255,.16), transparent 32%),
    linear-gradient(135deg, var(--steam-1), var(--steam-2) 58%, var(--steam-3));
  box-shadow:
    0 14px 34px rgba(13, 91, 154, .38),
    inset 0 1px 0 rgba(255,255,255,.32),
    inset 0 -1px 0 rgba(0,0,0,.28);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
  overflow: hidden;
}
.steam-button::after {
  content: "";
  position: absolute;
  top: -80%;
  left: -40%;
  width: 38%;
  height: 260%;
  transform: rotate(24deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transition: left .55s ease;
}
.steam-button:hover {
  transform: translateY(-3px);
  filter: saturate(1.12) brightness(1.05);
  box-shadow: 0 20px 46px rgba(13, 91, 154, .5), inset 0 1px 0 rgba(255,255,255,.36);
}
.steam-button:hover::after { left: 118%; }
.steam-button:active { transform: translateY(0); }
.steam-button:focus-visible { outline: 3px solid rgba(133, 213, 255, .65); outline-offset: 4px; }
.steam-icon { width: 42px; height: 42px; flex: 0 0 auto; }
.steam-icon svg { width: 100%; height: 100%; }
.steam-label { display: flex; flex-direction: column; line-height: 1.08; }
.steam-label small { font-size: 9px; letter-spacing: .15em; opacity: .76; font-weight: 760; margin-bottom: 5px; }
.steam-label strong { font-size: 20px; letter-spacing: -.025em; }
.steam-arrow { margin-left: auto; font-size: 22px; opacity: .85; transition: transform .18s ease; }
.steam-button:hover .steam-arrow { transform: translate(2px, -2px); }

.hero-visual { position: relative; justify-self: end; width: min(100%, 530px); }
.hero-visual img {
  position: relative;
  z-index: 2;
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.26);
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.18);
  transform: perspective(1000px) rotateY(-4deg) rotateX(1deg);
}
.art-glow {
  position: absolute;
  inset: 10% -6% -10%;
  background: radial-gradient(circle at center, rgba(64, 162, 235, .62), transparent 70%);
  filter: blur(30px);
  opacity: .7;
}
.art-caption {
  position: absolute;
  z-index: 3;
  left: 26px;
  bottom: -25px;
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  background: rgba(6, 16, 28, .78);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
}
.art-caption span { color: var(--muted); font-size: 11px; }
.art-caption strong { font-size: 15px; }
.hero-fade { position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }

.stats { position: relative; z-index: 2; margin-top: -62px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(10, 24, 40, .8);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 60px rgba(0,0,0,.24);
  overflow: hidden;
}
.stats-grid div { padding: 24px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.stats-grid div + div { border-left: 1px solid var(--line); }
.stats-grid strong { font-size: 30px; line-height: 1; letter-spacing: -.04em; }
.stats-grid span { margin-top: 8px; color: var(--muted); font-size: 13px; }

.section { padding: 108px 0; }
.section-heading { max-width: 720px; margin-bottom: 46px; }
.section-heading.compact { margin-bottom: 32px; }
h2 { margin: 0; font-size: clamp(36px, 5vw, 58px); line-height: 1.05; letter-spacing: -.045em; }
.section-heading > p:last-child { margin: 20px 0 0; color: var(--muted); font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature-card {
  position: relative;
  min-height: 214px;
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(16, 37, 60, .94), rgba(8, 20, 35, .92));
  box-shadow: inset 0 1px rgba(255,255,255,.05);
  transition: transform .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(113, 200, 255, .34); }
.feature-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(37, 140, 213, .12);
  filter: blur(8px);
}
.feature-card img { position: relative; z-index: 1; width: 165px; aspect-ratio: 1; object-fit: contain; border-radius: 18px; }
.feature-card div { position: relative; z-index: 1; }
.feature-card h3 { margin: 0; font-size: 23px; letter-spacing: -.025em; }
.feature-card p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }

.story-section {
  background:
    linear-gradient(90deg, rgba(6, 17, 29, .96), rgba(6, 17, 29, .8)),
    url("images/header.jpg") center/cover fixed;
  border-block: 1px solid var(--line);
}
.story-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 76px; align-items: center; }
.story-copy > p:not(.eyebrow) { color: var(--muted); font-size: 18px; margin: 22px 0 0; }
.check-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 13px; }
.check-list li { position: relative; padding-left: 30px; color: #d6e0eb; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .47em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.quote-card {
  position: relative;
  padding: 48px 36px 34px;
  border: 1px solid rgba(113, 200, 255, .25);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(26, 69, 105, .55), rgba(7, 19, 33, .86));
  box-shadow: var(--shadow);
}
.quote-mark { position: absolute; top: -8px; left: 24px; color: var(--accent); font-family: Georgia, serif; font-size: 92px; line-height: 1; opacity: .48; }
.quote-card p { position: relative; margin: 0; font-size: 26px; line-height: 1.35; letter-spacing: -.025em; font-weight: 720; }
.quote-source { display: block; margin-top: 22px; color: var(--muted); font-size: 13px; }

.requirements { background: linear-gradient(180deg, var(--bg), #081524); }
.requirements-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.requirements-card { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.requirements-card.highlighted { border-color: rgba(113, 200, 255, .36); background: linear-gradient(145deg, rgba(24, 65, 99, .55), rgba(11, 27, 45, .96)); }
.requirements-card h3 { margin: 0 0 18px; font-size: 24px; }
.recommended-badge { position: absolute; top: 22px; right: 22px; color: #cbedff; background: rgba(51, 160, 229, .16); border: 1px solid rgba(113, 200, 255, .3); border-radius: 999px; padding: 5px 10px; font-size: 11px; font-weight: 780; text-transform: uppercase; letter-spacing: .08em; }
dl { margin: 0; }
dl div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
dt { color: var(--muted); font-size: 13px; }
dd { margin: 0; font-size: 14px; font-weight: 650; }

.final-cta { padding: 70px 0 90px; background: radial-gradient(circle at center, rgba(32, 129, 199, .18), transparent 65%); }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 42px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(135deg, rgba(20, 50, 80, .84), rgba(7, 20, 34, .96)); box-shadow: var(--shadow); }
.steam-button-large { min-width: 320px; }

.site-footer { border-top: 1px solid var(--line); padding: 42px 0; background: #050d17; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: start; }
.footer-inner strong { font-size: 18px; }
.footer-inner p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a, .link-button { color: #c4d4e5; background: none; border: 0; padding: 0; text-decoration: none; cursor: pointer; font-size: 13px; }
.footer-links a:hover, .link-button:hover { color: white; text-decoration: underline; }
.legal { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line); }

.cookie-banner {
  position: fixed;
  z-index: 100;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 920px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px;
  border: 1px solid rgba(113, 200, 255, .28);
  border-radius: 18px;
  background: rgba(6, 16, 28, .96);
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 80px rgba(0,0,0,.55);
}
.cookie-banner[hidden] { display: none; }
.cookie-copy { flex: 1; }
.cookie-copy strong { font-size: 16px; }
.cookie-copy p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-button { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; cursor: pointer; font-weight: 740; font-size: 13px; }
.cookie-button.secondary { color: #d7e0eb; background: transparent; }
.cookie-button.primary { color: white; border-color: rgba(113,200,255,.42); background: linear-gradient(135deg, var(--steam-1), var(--steam-2)); }
.noscript { position: fixed; z-index: 150; inset: auto 20px 20px; padding: 14px; color: #fff; background: #5b2b12; border-radius: 10px; text-align: center; }

@media (max-width: 980px) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 58px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { justify-self: start; width: min(100%, 640px); }
  .hero::before { background: linear-gradient(90deg, rgba(4,11,20,.96), rgba(4,11,20,.68)), linear-gradient(0deg, var(--bg), transparent 34%); }
  .story-grid { grid-template-columns: 1fr; gap: 44px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .stats-grid div:nth-child(4) { border-top: 1px solid var(--line); }
  .final-cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 66px; }
  .brand-text { display: none; }
  .header-cta { padding: 8px 12px; }
  .hero { padding-top: 116px; padding-bottom: 78px; }
  .hero-grid { gap: 46px; }
  h1 { font-size: clamp(49px, 16vw, 72px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .platform-note { max-width: none; }
  .steam-button { width: 100%; min-width: 0; }
  .hero-visual img { transform: none; }
  .art-caption { left: 14px; bottom: -22px; }
  .stats { margin-top: -34px; }
  .stats-grid strong { font-size: 25px; }
  .stats-grid div { padding: 20px 10px; }
  .section { padding: 78px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { grid-template-columns: 112px 1fr; min-height: 170px; padding: 18px; gap: 16px; }
  .feature-card img { width: 110px; }
  .feature-card h3 { font-size: 20px; }
  .feature-card p { font-size: 14px; }
  .story-section { background-attachment: scroll; }
  .quote-card p { font-size: 22px; }
  .requirements-grid { grid-template-columns: 1fr; }
  dl div { grid-template-columns: 100px 1fr; }
  .final-cta-inner { padding: 28px 20px; }
  .steam-button-large { min-width: 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .cookie-banner { align-items: stretch; flex-direction: column; gap: 16px; }
  .cookie-actions { width: 100%; }
  .cookie-button { flex: 1; }
}

@media (max-width: 460px) {
  .header-cta { font-size: 12px; }
  .stats-grid span { font-size: 11px; }
  .feature-card { grid-template-columns: 1fr; }
  .feature-card img { width: 130px; }
  .cookie-actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
.policy-page { min-height: 80vh; padding: 150px 0 90px; background: radial-gradient(circle at 80% 0, rgba(48, 141, 207, .14), transparent 35%); }
.policy-content { max-width: 850px; }
.policy-content h1 { font-size: clamp(48px, 7vw, 76px); }
.policy-content h2 { margin: 42px 0 12px; font-size: 26px; line-height: 1.2; letter-spacing: -.025em; }
.policy-content p { color: var(--muted); }
.policy-content a { color: var(--accent); }
.policy-updated { margin-top: 14px; }

/* Multilingual navigation */
.header-tools { display: flex; align-items: center; gap: 12px; }
.language-picker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 9px 0 11px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  background: rgba(6, 17, 29, .62);
  color: #dceaf7;
}
.language-picker select {
  width: 112px;
  border: 0;
  outline: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.language-picker option { color: #101a26; background: #fff; }
.privacy-tools { margin-left: auto; }
[dir="rtl"] .nav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .privacy-tools { margin-left: 0; margin-right: auto; }
[dir="rtl"] .check-list li { padding-left: 0; padding-right: 30px; }
[dir="rtl"] .check-list li::before { left: auto; right: 0; transform: rotate(45deg); }
[dir="rtl"] .recommended-badge { right: auto; left: 22px; }
[dir="rtl"] .steam-arrow { margin-left: 0; margin-right: auto; }
[dir="rtl"] .quote-mark { left: auto; right: 24px; }
[dir="rtl"] .hero::before { transform: scaleX(-1); }
[dir="rtl"] .hero-backdrop { transform: scale(-1.03, 1.03); }

@media (max-width: 980px) {
  .header-tools { margin-left: auto; }
  [dir="rtl"] .header-tools { margin-left: 0; margin-right: auto; }
}
@media (max-width: 760px) {
  .header-inner { gap: 10px; }
  .header-tools { gap: 7px; }
  .language-picker { padding-inline: 8px; }
  .language-picker select { width: 88px; }
}
@media (max-width: 520px) {
  .language-picker select { width: 70px; }
  .language-picker > span { display: none; }
  .header-tools .header-cta { max-width: 120px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
