@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

:root {
  --bg-deep:    #0B1026;
  --bg-mid:     #0D1240;
  --bg-card:    #0F1535;
  --purple:     #6C2BD9;
  --cyan:       #1ED6FF;
  --magenta:    #FF4FD8;
  --lavender:   #9B7BFF;
  --orange:     #FF5A36;
  --text-main:  #C8D8F0;
  --text-muted: #6A82A8;
  --white:      #FFFFFF;
  --font-h:     'Orbitron', sans-serif;
  --font-b:     'DM Sans', sans-serif;
  --grad-cta:   linear-gradient(135deg, #FF4FD8 0%, #6C2BD9 100%);
  --grad-cyan:  linear-gradient(135deg, #1ED6FF 0%, #6C2BD9 100%);
  --glow-cyan:  0 0 24px rgba(30, 214, 255, 0.25);
  --glow-mg:    0 0 24px rgba(255, 79, 216, 0.25);
  --header-h:   76px;
  --container:  1200px;
  --radius:     12px;
}

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

html { scroll-behavior: smooth; }

html.hide #preloader { display: none; }

body {
  background: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body.fixed { overflow: hidden; }

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

a { text-decoration: none; }

ul { list-style: none; }

/* ─── PRELOADER ─── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

#preloader img { width: 72px; }

/* ─── CONTAINER ─── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── BUTTONS ─── */
.btn-cta {
  display: inline-block;
  padding: 14px 30px;
  background: var(--grad-cta);
  color: var(--white);
  font-family: var(--font-h);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-cta:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 79, 216, 0.4);
}

/* ─── HEADER ─── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 200;
  transition: background 0.35s, box-shadow 0.35s;
}

.header.scrolled {
  background: rgba(11, 16, 38, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(30, 214, 255, 0.12);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo img { height: 68px; }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-link {
  color: var(--text-main);
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav-link:hover { color: var(--cyan); }

.header-cta { margin-left: 16px; }

/* ─── BURGER ─── */
.burger-btn {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}

.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.burger-btn.act span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.act span:nth-child(2) { opacity: 0; }
.burger-btn.act span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE MENU ─── */
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(9, 12, 30, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

#mobile-menu.opened {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.mobile-nav .nav-link {
  font-family: var(--font-h);
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ─── SECTION COMMONS ─── */
section { position: relative; padding: 108px 0; }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-h);
  font-size: clamp(26px, 4vw, 50px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 20px;
}

.section-body {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 56px;
  line-height: 1.75;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 64px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 16, 38, 0.97) 38%, rgba(11, 16, 38, 0.15) 100%),
    linear-gradient(180deg, transparent 60%, rgba(11, 16, 38, 0.9) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero-title {
  font-family: var(--font-h);
  font-size: clamp(30px, 5vw, 62px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.hero-title span { color: var(--cyan); }

.hero-sub {
  font-size: 18px;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 14px;
  max-width: 520px;
}

.hero-body {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 38px;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero .btn-cta {
  animation: pulse-cta 2s ease-in-out infinite;
}

.hero .btn-cta:hover {
  animation-play-state: paused;
}

@keyframes pulse-cta {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.hero-watch {
  color: var(--cyan);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.hero-watch:hover { color: var(--lavender); }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual img {
  max-height: 72vh;
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 48px rgba(30, 214, 255, 0.28)) drop-shadow(0 0 80px rgba(108, 43, 217, 0.2));
}

/* ─── GAMEPLAY ─── */
.gameplay {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(108, 43, 217, 0.08) 0%, transparent 60%),
    var(--bg-mid);
}

.gameplay .section-body { margin-bottom: 40px; }

.controls-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 52px;
}

.control-card {
  background: rgba(108, 43, 217, 0.07);
  border: 1px solid rgba(30, 214, 255, 0.18);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.control-card:hover {
  border-color: rgba(30, 214, 255, 0.5);
  box-shadow: var(--glow-cyan);
}

.control-num {
  font-family: var(--font-h);
  font-size: 42px;
  font-weight: 900;
  color: var(--cyan);
  opacity: 0.18;
  line-height: 1;
  margin-bottom: 14px;
}

.control-card h3 {
  font-family: var(--font-h);
  font-size: 16px;
  color: var(--white);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.control-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.75;
}

.run-flow {
  background: rgba(255, 79, 216, 0.04);
  border: 1px solid rgba(255, 79, 216, 0.15);
  border-radius: var(--radius);
  padding: 32px;
}

.run-label {
  font-family: var(--font-h);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 22px;
  text-align: center;
}

.steps-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(11, 16, 38, 0.6);
  border: 1px solid rgba(255, 79, 216, 0.18);
  border-radius: 8px;
  padding: 14px 24px;
  width: 100%;
  text-align: left;
}

.step-num {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 700;
  color: var(--magenta);
  line-height: 1;
  flex-shrink: 0;
}

.step-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.step-arrow {
  color: rgba(108, 43, 217, 0.5);
  font-size: 18px;
  flex-shrink: 0;
  transform: rotate(90deg);
}

.screenshots-row {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.screenshots-row img {
  flex: 1;
  width: 0;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
}

/* ─── FEATURES ─── */
.features {
  background:
    radial-gradient(ellipse at 20% 80%, rgba(30, 214, 255, 0.05) 0%, transparent 55%),
    var(--bg-deep);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(155, 123, 255, 0.15);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  border-color: var(--lavender);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(108, 43, 217, 0.2);
}

.feature-icon {
  width: 44px;
  height: 44px;
  color: var(--cyan);
  margin-bottom: 20px;
}

.feature-icon svg { width: 100%; height: 100%; }

.feature-card h3 {
  font-family: var(--font-h);
  font-size: 13px;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.75;
}

/* ─── REVIEWS ─── */
.reviews {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(108, 43, 217, 0.1) 0%, transparent 60%),
    var(--bg-mid);
}

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

.review-card {
  background: var(--bg-card);
  border: 1px solid rgba(30, 214, 255, 0.12);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: '\201C';
  position: absolute;
  top: 8px;
  left: 20px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: var(--cyan);
  opacity: 0.08;
  line-height: 1;
  pointer-events: none;
}

.review-stars {
  color: #FFD13A;
  font-size: 15px;
  letter-spacing: 3px;
  margin-bottom: 18px;
}

.review-text {
  color: var(--text-main);
  font-size: 15px;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 20px;
}

.review-author {
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.04em;
}

.trust-badges {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  padding: 9px 22px;
  border: 1px solid rgba(30, 214, 255, 0.28);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(30, 214, 255, 0.04);
}

/* ─── RUSH ─── */
.rush {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(108, 43, 217, 0.18) 0%, transparent 65%),
    linear-gradient(135deg, #0C0A20 0%, #12092E 50%, #0B1026 100%);
  text-align: center;
  overflow: hidden;
}

.rush-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(108, 43, 217, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.rush .container { position: relative; z-index: 1; }

.rush .section-label,
.rush .section-title { text-align: center; }

.rush-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  text-align: left;
  margin-top: 48px;
  margin-bottom: 56px;
}

.rush-text p {
  color: var(--text-main);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 18px;
}

.rush-list-title {
  font-family: var(--font-h);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 22px;
}

.rush-list ul { display: flex; flex-direction: column; gap: 0; }

.rush-list li {
  color: var(--text-muted);
  font-size: 15px;
  padding: 13px 0 13px 22px;
  border-bottom: 1px solid rgba(155, 123, 255, 0.1);
  position: relative;
  line-height: 1.5;
}

.rush-list li:first-child { border-top: 1px solid rgba(155, 123, 255, 0.1); }

.rush-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--magenta);
  font-weight: 600;
}

.rush-cta { text-align: center; }

/* ─── FAQ ─── */
.faq {
  background:
    radial-gradient(ellipse at 80% 100%, rgba(30, 214, 255, 0.05) 0%, transparent 50%),
    var(--bg-deep);
}

.faq-list {
  margin-bottom: 56px;
  border-top: 1px solid rgba(30, 214, 255, 0.1);
}

.faq-item {
  display: flex;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(30, 214, 255, 0.1);
  align-items: flex-start;
}

.faq-num {
  font-family: var(--font-h);
  font-size: 28px;
  font-weight: 900;
  color: var(--cyan);
  opacity: 0.18;
  flex-shrink: 0;
  min-width: 56px;
  line-height: 1;
  padding-top: 4px;
}

.faq-body h3 {
  font-family: var(--font-h);
  font-size: 15px;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  line-height: 1.4;
}

.faq-body p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
}

.faq-cta { text-align: center; }

/* ─── FOOTER ─── */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid rgba(30, 214, 255, 0.1);
  padding: 72px 0 36px;
  position: relative;
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.footer-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.06;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: start;
}

.footer-logo { height: 61px; margin-bottom: 14px; }

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 260px;
  line-height: 1.65;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.2s;
  white-space: nowrap;
}

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

.footer-copy {
  text-align: right;
}

.footer-copy p {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.footer-copy a {
  color: var(--cyan);
  font-size: 13px;
  transition: opacity 0.2s;
}

.footer-copy a:hover { opacity: 0.75; }

/* ─── LEGAL PAGES ─── */
.legal-page {
  padding: calc(var(--header-h) + 60px) 0 80px;
  min-height: 100vh;
}

.legal-content {
  max-width: 800px;
}

.legal-content h1 {
  font-family: var(--font-h);
  font-size: clamp(24px, 3vw, 36px);
  color: var(--white);
  margin-bottom: 8px;
}

.legal-content .legal-date {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 40px;
  display: block;
}

.legal-content h2 {
  font-family: var(--font-h);
  font-size: 14px;
  color: var(--cyan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 36px 0 14px;
}

.legal-content p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content li {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 8px;
}

.legal-content strong { color: var(--text-main); }

.legal-content a { color: var(--cyan); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand { align-items: center; }
  .footer-brand p { margin: 0 auto; }
  .footer-logo { margin: 0 auto 14px; }
  .footer-links { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .footer-copy { text-align: center; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  section { padding: 72px 0; }

  .nav { display: none; }
  .header-cta { display: none; }
  .burger-btn { display: flex; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 32px); padding-bottom: 48px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual img { max-height: 45vh; }
  .hero-title { font-size: 32px; }
  .hero-sub { font-size: 16px; }

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

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

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

  .rush-inner { grid-template-columns: 1fr; gap: 36px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .footer-brand p { margin: 0 auto; }
  .footer-copy { text-align: center; }
}

@media (max-width: 640px) {
  section { padding: 56px 0; }

  .section-title { font-size: 26px; }

  .steps-row { flex-direction: column; align-items: stretch; }
  .step-arrow { display: none; }
  .step { flex-direction: row; align-items: center; gap: 14px; }
  .screenshots-row { flex-direction: column; align-items: center; }
  .screenshots-row img { width: 100%; max-width: 256px; }

  .faq-item { flex-direction: column; gap: 10px; }
  .faq-num { font-size: 22px; min-width: auto; }

  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-title { font-size: 28px; }

  .footer-links { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px 20px; }

  .btn-cta { padding: 12px 18px; font-size: 10px; }
}
