:root {
  --bg: #0a0908;
  --bg-alt: #131009;
  --card-bg: rgba(23, 19, 15, 0.92);
  --border: #34291c;
  --text: #f4f0e8;
  --text-muted: #b6ab9a;
  --fire: #E23B27;
  --fire-hover: #FF5A3D;
  --fire-soft: rgba(226, 59, 39, 0.14);
  --gold: #D4A544;
  --gold-hover: #E8C168;
  --gold-soft: rgba(212, 165, 68, 0.14);
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  --font-display: "Rajdhani", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
}

a {
  color: var(--fire-hover);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- live stats band --- */
.stats-band {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.stats-band-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-tile-value {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-tile-label {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 700px) {
  .stats-band-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 1rem;
  }
}

/* --- nav --- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 8, 10, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text);
}

.brand img {
  height: 32px;
  width: auto;
  display: block;
  border-radius: 0;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  font-size: 0.92rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--fire-hover);
}

.lang-switcher {
  display: flex;
  gap: 0.2rem;
  padding: 0.2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.lang-switcher button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 26px;
  padding: 0 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.lang-switcher button:hover {
  opacity: 1;
  color: var(--text);
}

.lang-switcher button.active {
  opacity: 1;
  background: var(--gold-soft);
  color: var(--gold-hover);
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }

  .brand img {
    height: 24px;
  }
}

/* --- buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--fire);
  color: #f5f5f5;
  box-shadow: 0 6px 22px rgba(255, 4, 4, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(255, 4, 4, 0.4);
}

.btn-gold {
  background: var(--gold);
  color: #100c07;
  box-shadow: 0 6px 22px rgba(212, 165, 68, 0.4);
}

.btn-gold:hover {
  background: var(--gold-hover);
  box-shadow: 0 8px 28px rgba(212, 165, 68, 0.55);
}

.btn-secondary {
  background: var(--card-bg);
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--fire);
  color: var(--fire-hover);
}

.btn-small {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.08rem;
}

/* --- hero --- */
.hero {
  position: relative;
  padding: 5.5rem 0 4.5rem;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 50% -10%, rgba(255, 4, 4, 0.14), transparent 65%),
    radial-gradient(40% 40% at 85% 5%, rgba(51, 51, 55, 0.35), transparent 60%),
    var(--bg);
}

.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem;
  margin: 0 0 1.4rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  margin: 0 0 1.1rem;
  letter-spacing: 0.01em;
  line-height: 1.12;
}

.hero h1 span {
  background: var(--fire);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 620px;
  margin: 0 auto 2.3rem;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* --- hero: detection timeline + graded clips --- */
.hero-reel {
  max-width: 820px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card-bg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  padding: 1.75rem 1.75rem 1.5rem;
}

.hero-reel-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.hero-reel-label strong {
  color: var(--gold-hover);
  font-weight: 700;
}

.hero-timeline {
  position: relative;
  height: 34px;
  background: #0f0d0a;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.hero-timeline-span {
  position: absolute;
  top: 0;
  bottom: 0;
  background: var(--fire-soft);
  border-left: 2px solid var(--fire);
  border-right: 2px solid var(--fire);
}

.hero-timeline-tick {
  position: absolute;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.hero-clips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.hero-clip {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.85rem;
  background: #0f0d0a;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.hero-clip-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 7px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: #100c07;
}

.hero-clip.rank-s .hero-clip-rank {
  background: var(--gold);
}

.hero-clip.rank-a .hero-clip-rank {
  background: var(--fire);
  color: #f5f0e8;
}

.hero-clip.rank-b .hero-clip-rank {
  background: #4a4038;
  color: var(--text);
}

.hero-clip-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.hero-clip-kills {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.hero-clip-time {
  font-size: 0.74rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .hero-clips {
    grid-template-columns: 1fr;
  }
}

/* --- sections --- */
.section {
  padding: 4.5rem 0;
  border-top: 1px solid var(--border);
}

.section-head {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  margin: 0 0 0.5rem;
}

.section-head p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin: 0;
}

/* --- how it works --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  text-align: center;
  padding: 0.5rem;
}

.step .num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.step h3 {
  font-family: var(--font-display);
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 720px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}

/* --- features --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.feature-card:hover {
  border-color: var(--fire);
  transform: translateY(-2px);
}

.feature-card .icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--fire-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.feature-card .icon svg {
  width: 19px;
  height: 19px;
  stroke: var(--fire-hover);
}

.feature-card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* --- what's new teaser (homepage) --- */
.whatsnew-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  max-width: 640px;
  margin: 0 auto;
  padding: 1.6rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
}

.whatsnew-card .version-badge {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--fire-hover);
  background: var(--fire-soft);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

.whatsnew-card .whatsnew-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.whatsnew-footer {
  text-align: center;
  margin-top: 1.5rem;
}

.whatsnew-footer a {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.whatsnew-footer a:hover {
  color: var(--fire-hover);
}

/* --- updates page --- */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
  background:
    radial-gradient(60% 55% at 50% -10%, rgba(255, 4, 4, 0.14), transparent 65%),
    var(--bg);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 0 0 0.6rem;
}

.page-hero p {
  color: var(--text-muted);
  margin: 0;
}

.changelog-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.changelog-entry {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-bg);
}

.changelog-entry .version-badge {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--fire-hover);
  background: var(--fire-soft);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.82rem;
  white-space: nowrap;
}

.changelog-entry .date {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.changelog-entry .notes {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text);
}

.changelog-empty {
  text-align: center;
  color: var(--text-muted);
}

@media (max-width: 560px) {
  .whatsnew-card,
  .changelog-entry {
    flex-direction: column;
  }
}

/* --- faq --- */
.faq-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-bg);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 1.3rem;
  font-weight: 600;
  font-size: 0.96rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--fire-hover);
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 1.3rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- support --- */
.support {
  text-align: center;
  background: linear-gradient(180deg, transparent, #120c08);
}

.support .section-head p {
  max-width: 540px;
  margin: 0 auto;
}

.support .cta-row {
  margin-bottom: 0;
  margin-top: 1.75rem;
}

/* --- footer --- */
footer {
  padding: 2.25rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--fire-hover);
}

/* --- cookie consent banner --- */
.cookie-banner[hidden] {
  display: none;
}

.cookie-banner {
  position: fixed;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  max-width: 480px;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(14, 14, 17, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.cookie-banner p {
  flex: 1 1 260px;
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cookie-banner-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}
