:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-2: #1a1a1a;
  --card: rgba(255, 255, 255, 0.03);
  --card-hover: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.12);
  --red: #ff4d3d;
  --red-2: #e63b2d;
  --red-glow: rgba(255, 77, 61, 0.4);
  --red-tint: rgba(255, 77, 61, 0.12);
  --red-bg: rgba(255, 77, 61, 0.06);
  --text: #ffffff;
  --text-muted: #a0a0a0;
  --text-dim: #6a6a6a;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: 1240px;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.page { width: 100%; overflow-x: hidden; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.brand-name {
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 14px;
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 32px; }
.nav-link {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
  transition: color 0.15s ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: none;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-2) 100%);
  color: var(--text);
  box-shadow: 0 0 24px var(--red-glow);
}
.btn-primary:hover { transform: translateY(-1px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.10); }

.btn-block { width: 100%; }

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 20px;
  padding: 0;
}

.hero { padding: 40px 0 60px; }

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, rgba(255, 77, 61, 0.18) 0%, transparent 55%), linear-gradient(180deg, #141414 0%, #0d0d0d 100%);
  border: 1px solid var(--border);
  padding: 60px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 560px;
}

.hero-stage { position: relative; min-height: 460px; }

.stage-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 50%, rgba(255, 77, 61, 0.35) 0%, transparent 60%);
  pointer-events: none;
}

.stage-frame {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 28px;
  box-shadow: 0 0 0 1px rgba(255, 77, 61, 0.08) inset, 0 60px 120px rgba(0, 0, 0, 0.5);
}

.ticker-band {
  position: absolute;
  left: -8%;
  width: 116%;
  background: #f7f1ea;
  color: #0c0c0c;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 13px;
  padding: 14px 0;
  display: flex;
  gap: 56px;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.4);
}
.ticker-band--up {
  top: 28%;
  transform: rotate(-9deg);
  background: linear-gradient(90deg, #f7f1ea 0%, #ff7e6e 50%, #f7f1ea 100%);
}
.ticker-band--down {
  top: 50%;
  transform: rotate(-9deg);
  background: #ecdfcc;
  color: #1a1a1a;
}

.stage-cards {
  position: absolute;
  left: 8%;
  bottom: 6%;
  right: 22%;
  display: grid;
  gap: 14px;
}

.stage-card {
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px 20px;
}
.stage-card h4 {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.stage-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
}

.hero-copy { max-width: 540px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--red-tint);
  color: var(--red);
  border: 1px solid rgba(255, 77, 61, 0.2);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red-glow);
}

.hero-title {
  margin: 0 0 24px;
  font-size: clamp(40px, 5.6vw, 80px);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero-title .accent { color: var(--red); }

.hero-text {
  margin: 0 0 36px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.6;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.tag-strip {
  background: radial-gradient(80% 100% at 50% 50%, rgba(255, 77, 61, 0.12) 0%, transparent 70%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  margin-bottom: 80px;
}

.tag-strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 60px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: clamp(20px, 2.6vw, 32px);
  color: rgba(255, 255, 255, 0.85);
}
.tag-strip-inner span { white-space: nowrap; }

.section { padding: 80px 0; }

.block-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.block-title {
  margin: 0 0 24px;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.block-text {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.65;
}

.identity {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  padding: 80px 60px;
  border: 1px solid var(--border);
}

.identity-text p { margin: 0 0 18px; }

.identity-art {
  aspect-ratio: 16 / 11;
  border-radius: var(--radius);
  background: radial-gradient(80% 80% at 50% 50%, rgba(255, 77, 61, 0.22) 0%, transparent 60%), linear-gradient(180deg, #1a1a1a 0%, #0e0e0e 100%);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.identity-art img { width: 36%; }

.games-section { padding: 40px 0 80px; }

.games-header { margin-bottom: 40px; }

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.game-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 77, 61, 0.08) 0%, rgba(20, 20, 20, 0.6) 60%, rgba(20, 20, 20, 0.95) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.game-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 77, 61, 0.3);
}

.game-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.game-card-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: #1a1a1a;
  border: 1px solid var(--border);
  object-fit: cover;
}

.game-badge {
  padding: 6px 14px;
  background: var(--red-tint);
  color: var(--red);
  border: 1px solid rgba(255, 77, 61, 0.25);
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.game-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.game-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  flex-grow: 1;
}

.game-card .btn { align-self: flex-start; }

.design-system {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  padding: 80px 60px;
  border: 1px solid var(--border);
}

.design-text p { margin: 0 0 18px; }

.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
}

.design-art {
  aspect-ratio: 16 / 12;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #221111 0%, #0e0e0e 100%);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.design-art::before {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 77, 61, 0.18);
  background: radial-gradient(80% 60% at 50% 0%, rgba(255, 77, 61, 0.18) 0%, transparent 70%);
}

.tuning {
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  padding: 60px;
  border: 1px solid var(--border);
}

.tuning-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.tuning-card {
  padding: 28px 30px;
  background: linear-gradient(180deg, rgba(255, 77, 61, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.tuning-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tuning-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-muted); }

.footer {
  position: relative;
  padding: 100px 0 50px;
  margin-top: 80px;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.footer-watermark {
  font-size: clamp(60px, 14vw, 220px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.025);
  text-align: center;
  line-height: 0.9;
  margin: 0 0 40px;
  text-transform: uppercase;
  user-select: none;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-col h4 {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-col p, .footer-col a, .footer-col li {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 10px;
  line-height: 1.6;
}
.footer-col a { transition: color 0.15s ease; }
.footer-col a:hover { color: var(--text); }

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; }

.footer-socials { display: flex; gap: 12px; margin-top: 24px; }
.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1d9bf0;
  display: grid;
  place-items: center;
  color: #fff;
  transition: transform 0.15s ease;
}
.footer-socials a:hover { transform: translateY(-2px); }
.footer-socials a.facebook { background: #1877f2; }
.footer-socials svg { width: 18px; height: 18px; fill: currentColor; }

.footer-brand-text {
  font-size: clamp(54px, 8vw, 110px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.86;
  margin: 0;
  text-transform: uppercase;
  text-align: right;
}

.footer-tagline {
  text-align: right;
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-copy {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--text-dim);
}

.game-detail { padding: 40px 0 60px; }

.game-hero {
  background: linear-gradient(180deg, rgba(255, 77, 61, 0.10) 0%, rgba(20, 20, 20, 0.4) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 50px 56px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: start;
}
.game-hero-logo {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  border: 1px solid var(--border);
  object-fit: cover;
}
.game-hero-title {
  margin: 22px 0;
  font-size: clamp(38px, 5.2vw, 80px);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 0.96;
}
.game-hero-desc {
  margin: 0 0 32px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.6;
  max-width: 640px;
}
.game-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.game-extra {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
  padding: 60px 56px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.game-extra-text {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}
.game-extra-art {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  background: radial-gradient(70% 70% at 50% 50%, rgba(255, 77, 61, 0.25) 0%, transparent 60%), linear-gradient(180deg, #1c1c1c 0%, #0e0e0e 100%);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
}
.game-extra-art img { width: 32%; }

.legal { padding: 60px 0 80px; }
.legal-inner { max-width: 880px; }
.legal-title {
  margin: 0 0 28px;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
}
.legal-content { color: var(--text-muted); font-size: 15px; line-height: 1.75; }
.legal-content p { margin: 0 0 14px; }
.legal-content h2 {
  margin: 30px 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
}
.legal-content ul { margin: 8px 0 18px; padding-left: 22px; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--red); text-decoration: underline; }
.legal-content strong { color: var(--text); }

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(180deg, #1a1010 0%, #0d0707 100%);
  border: 1px solid rgba(255, 77, 61, 0.18);
  border-radius: 18px;
  padding: 28px 30px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  z-index: 90;
  transform: translateY(160%);
  transition: transform 0.3s ease;
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.cookie-banner p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}
.cookie-actions { display: flex; flex-direction: column; gap: 10px; }
.cookie-actions .btn { width: 100%; padding: 14px; font-size: 14px; }

@media (min-width: 900px) {
  .cookie-actions { flex-direction: row; }
  .cookie-actions .btn { flex: 1; }
}

@media (max-width: 1024px) {
  .hero-card { grid-template-columns: 1fr; padding: 40px 32px; }
  .hero-stage { order: -1; min-height: 360px; }
  .identity, .design-system { grid-template-columns: 1fr; padding: 50px 32px; gap: 40px; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .tuning { padding: 40px 32px; }
  .tuning-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-text, .footer-tagline { text-align: left; grid-column: 1 / -1; }
  .game-hero { padding: 36px 28px; grid-template-columns: 1fr; }
  .game-extra { grid-template-columns: 1fr; padding: 40px 28px; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    background: #141414;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    gap: 16px;
    align-items: stretch;
  }
  .nav.is-open .nav-link { padding: 8px 0; font-size: 15px; }
  .nav.is-open .btn { width: 100%; }
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .games-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 44px; }
  .block-title { font-size: 38px; }
  .tag-strip-inner { font-size: 20px; gap: 14px 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand-text { font-size: 56px; }
  .ticker-band { font-size: 11px; gap: 26px; }
}

.legal-updated {
  margin: 0 0 28px;
  color: var(--text-dim);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
