/* Variables */
:root {
  --color-bg: #070B14;
  --color-surface: #101827;
  --color-surface-hover: #162238;
  --color-primary: #F97316;
  --color-primary-hover: #FB923C;
  --color-primary-soft: rgba(249, 115, 22, 0.12);
  --color-primary-pale: #FED7AA;
  --color-border: rgba(255, 255, 255, 0.12);
  --color-text: #F8FAFC;
  --color-text-secondary: #CBD5E1;
  --color-text-muted: #94A3B8;
  --color-button-text: #180A02;
  --container-width: 1180px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.42);
  --shadow-glow: 0 0 0 1px rgba(249, 115, 22, 0.22), 0 24px 70px rgba(249, 115, 22, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
}

img {
  display: block;
  max-width: 100%;
}

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

/* Base */
body {
  min-height: 100vh;
  color: var(--color-text);
  background:
    radial-gradient(circle at 12% 6%, rgba(249, 115, 22, 0.18), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(253, 186, 116, 0.1), transparent 24%),
    linear-gradient(180deg, #070B14 0%, #0B101D 48%, #070B14 100%);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  content: "";
  opacity: 0.45;
  pointer-events: none;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(125deg, transparent 0%, transparent 44%, rgba(249, 115, 22, 0.08) 44%, rgba(249, 115, 22, 0.08) 45%, transparent 45%),
    linear-gradient(145deg, transparent 0%, transparent 68%, rgba(251, 146, 60, 0.06) 68%, rgba(251, 146, 60, 0.06) 69%, transparent 69%);
  content: "";
  pointer-events: none;
}

::selection {
  color: var(--color-text);
  background: rgba(249, 115, 22, 0.42);
}

/* Layout */
.container {
  width: min(100% - 40px, var(--container-width));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

.section-hot {
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.08), transparent 34%),
    rgba(16, 24, 39, 0.34);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-kicker,
.eyebrow {
  margin-bottom: 12px;
  color: var(--color-primary-hover);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  font-size: 60px;
}

h2 {
  max-width: 760px;
  font-size: 40px;
}

h3 {
  font-size: 20px;
}

p,
li {
  color: var(--color-text-secondary);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 11, 20, 0.84);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(16px);
}

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

.logo-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.header-logo {
  width: 152px;
  height: auto;
}

/* Navigation */
.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.main-nav a,
.footer-links a,
.faq-item a,
.footer-bottom a {
  color: var(--color-primary-hover);
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.main-nav a {
  min-height: 40px;
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
  font-size: 14px;
}

.main-nav a:hover {
  color: var(--color-text);
  background: var(--color-primary-soft);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-primary-hover);
  outline-offset: 4px;
}

/* Hero */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
}

.hero-section::before {
  position: absolute;
  top: 10%;
  right: -120px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.24), transparent 62%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 46px;
  align-items: center;
}

.hero-text {
  max-width: 760px;
  margin-top: 22px;
  font-size: 20px;
}

.hero-badges,
.premium-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-badges span,
.premium-list span {
  min-height: 36px;
  padding: 7px 12px;
  color: var(--color-primary-pale);
  background: var(--color-primary-soft);
  border: 1px solid rgba(253, 186, 116, 0.28);
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-captions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 14px;
  color: var(--color-text-muted);
  font-size: 13px;
}

.game-console {
  position: relative;
  min-height: 470px;
  padding: 28px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(249, 115, 22, 0.18), rgba(16, 24, 39, 0.78) 40%),
    rgba(7, 11, 20, 0.82);
  border: 1px solid rgba(253, 186, 116, 0.28);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
}

.game-console::before {
  position: absolute;
  inset: -40px;
  background:
    linear-gradient(135deg, transparent 0%, transparent 42%, rgba(249, 115, 22, 0.16) 42%, rgba(249, 115, 22, 0.16) 44%, transparent 44%),
    linear-gradient(45deg, transparent 0%, transparent 68%, rgba(253, 186, 116, 0.1) 68%, rgba(253, 186, 116, 0.1) 70%, transparent 70%);
  content: "";
}

.console-top,
.ping-meter,
.console-screen,
.console-stats {
  position: relative;
}

.console-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary-pale);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.signal-dot {
  width: 12px;
  height: 12px;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(249, 115, 22, 0.8);
}

.ping-meter {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 124px;
  margin: 46px 0 26px;
}

.bar {
  display: block;
  width: 54px;
  background: linear-gradient(180deg, var(--color-primary-hover), var(--color-primary));
  border-radius: 8px 8px 0 0;
  box-shadow: 0 0 26px rgba(249, 115, 22, 0.34);
}

.bar-one {
  height: 45px;
}

.bar-two {
  height: 78px;
}

.bar-three {
  height: 112px;
}

.bar-four {
  height: 92px;
}

.console-screen,
.console-stats article {
  background: rgba(7, 11, 20, 0.62);
  border: 1px solid rgba(253, 186, 116, 0.22);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
}

.console-screen {
  padding: 20px;
}

.console-screen strong {
  display: block;
  font-size: 26px;
}

.console-screen p {
  margin-top: 8px;
}

.console-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.console-stats article {
  padding: 13px;
}

.console-stats span {
  display: block;
  color: var(--color-text-muted);
  font-size: 12px;
}

.console-stats strong {
  display: block;
  margin-top: 2px;
  color: var(--color-text);
}

/* Sections */
.split-layout,
.games-layout,
.premium-grid {
  display: grid;
  gap: 34px;
  align-items: start;
}

.split-layout,
.premium-grid {
  grid-template-columns: 0.92fr 1.08fr;
}

.games-layout {
  grid-template-columns: 0.86fr 1.14fr;
}

.section-copy p + p {
  margin-top: 16px;
}

.reason-grid,
.advantage-grid,
.download-grid,
.games-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

.reason-grid {
  grid-template-columns: 1fr;
}

.advantage-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card-wide {
  grid-column: span 2;
}

.download-grid,
.faq-grid {
  grid-template-columns: repeat(3, 1fr);
}

.games-grid {
  grid-template-columns: repeat(2, 1fr);
}

.download-cta {
  margin-top: 26px;
}

.embedded-games {
  margin-top: 64px;
  padding-top: 46px;
  border-top: 1px solid rgba(253, 186, 116, 0.16);
}

.promo-code {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  margin: 20px 0;
  padding: 12px 18px;
  color: var(--color-primary-pale);
  background: rgba(249, 115, 22, 0.14);
  border: 1px dashed rgba(253, 186, 116, 0.56);
  border-radius: var(--radius-sm);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

/* Cards */
.tech-card,
.feature-card,
.download-card,
.games-grid article,
.premium-card,
.promo-card,
.faq-item {
  padding: 24px;
  background: linear-gradient(145deg, rgba(16, 24, 39, 0.88), rgba(22, 34, 56, 0.58));
  border: 1px solid rgba(253, 186, 116, 0.18);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.feature-card:nth-child(1),
.promo-card,
.games-grid article:nth-child(1) {
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.16), rgba(16, 24, 39, 0.72)),
    rgba(16, 24, 39, 0.74);
}

.tech-card:hover,
.feature-card:hover,
.download-card:hover,
.games-grid article:hover,
.premium-card:hover,
.promo-card:hover,
.faq-item:hover {
  border-color: rgba(253, 186, 116, 0.38);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.card-mark,
.platform {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  padding: 6px 10px;
  color: var(--color-primary-pale);
  background: var(--color-primary-soft);
  border: 1px solid rgba(253, 186, 116, 0.24);
  border-radius: var(--radius-sm);
  font-weight: 900;
}

.tech-card p,
.feature-card p,
.download-card p,
.games-grid p,
.faq-item p,
.premium-card p,
.promo-card p {
  margin-top: 12px;
}

.download-card ul {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  list-style: none;
}

.download-card li {
  position: relative;
  padding-left: 20px;
}

.download-card li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--color-primary);
  border-radius: 50%;
  content: "";
}

/* Buttons */
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 800;
  line-height: 1.2;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

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

.button:active {
  transform: translateY(0);
}

.button-primary {
  color: var(--color-button-text);
  background: var(--color-primary);
  box-shadow: 0 18px 46px rgba(249, 115, 22, 0.28);
}

.button-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 0 0 1px rgba(253, 186, 116, 0.24), 0 24px 62px rgba(249, 115, 22, 0.34);
}

.button-secondary {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(253, 186, 116, 0.3);
}

.button-secondary:hover {
  color: var(--color-primary-pale);
  background: var(--color-primary-soft);
  border-color: rgba(253, 186, 116, 0.48);
}

/* FAQ */
.faq-item a {
  color: var(--color-primary-hover);
  font-weight: 800;
}

.faq-item a:hover {
  color: var(--color-primary-pale);
}

/* Footer */
.site-footer {
  padding: 54px 0 26px;
  background: rgba(5, 8, 15, 0.92);
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 42px;
}

.footer-logo {
  width: 172px;
  height: auto;
}

.footer-brand p {
  max-width: 410px;
  margin-top: 18px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-title {
  margin-bottom: 4px;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.12;
}

.footer-links a {
  min-height: 30px;
  color: var(--color-text-secondary);
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--color-primary-pale);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding-top: 22px;
  color: var(--color-text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Responsive */
@media (max-width: 1080px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 34px;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .hero-grid,
  .split-layout,
  .games-layout,
  .premium-grid {
    grid-template-columns: 1fr;
  }

  .advantage-grid,
  .download-grid,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .game-console {
    min-height: 390px;
  }
}

@media (max-width: 740px) {
  .container {
    width: min(100% - 28px, var(--container-width));
  }

  .section {
    padding: 64px 0;
  }

  .hero-section {
    padding: 58px 0 66px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-text {
    font-size: 17px;
  }

  .header-cta {
    width: 100%;
  }

  .main-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .main-nav a {
    flex: 0 0 auto;
  }

  .hero-actions {
    display: grid;
  }

  .advantage-grid,
  .download-grid,
  .games-grid,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-card-wide {
    grid-column: auto;
  }

  .tech-card,
  .feature-card,
  .download-card,
  .games-grid article,
  .premium-card,
  .promo-card,
  .faq-item {
    padding: 20px;
  }

  .console-stats {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 31px;
  }

  h2 {
    font-size: 25px;
  }

  .header-logo {
    width: 138px;
  }

  .hero-badges span,
  .premium-list span {
    width: 100%;
  }

  .game-console {
    min-height: 330px;
    padding: 20px;
  }

  .bar {
    width: 38px;
  }

  .promo-code {
    width: 100%;
    font-size: 20px;
  }
}
