:root {
  --bg: #111318;
  --text: #F5F5F5;
  --accent: #C41E3A; /* Crimson Red */
  --accent-soft: rgba(196, 30, 58, 0.15);
  --charcoal: #1C1F26;
  --charcoal-light: #252932;
  --muted: #A0A0A8;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;
  --radius: 12px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}

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

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: #e63950; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }

h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }

p { margin-bottom: 1.2rem; color: var(--muted); }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(17, 19, 24, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 16px 0;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--text);
}

.logo img {
  height: 42px;
  width: auto;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a.mobile-cta {
  display: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}

.nav-links a:hover::after { width: 100%; }

.cta-nav {
  background: var(--accent);
  color: white !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
}

.cta-nav:hover { background: #a01830; transform: translateY(-1px); }

.mobile-menu { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #111318 0%, #1a0a0e 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #111318 0%, #1a0a0e 100%);
  opacity: 0.25;
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  margin-bottom: 1.2rem;
}

.hero-text .accent { color: var(--accent); }

.hero-text p.lead {
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 2rem;
  max-width: 540px;
}

.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover { background: #a01830; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(196,30,58,0.3); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.2);
}

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

.mockup {
  position: relative;
  animation: float 6s ease-in-out infinite;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 280px;
  height: 580px;
  background: #0a0a0c;
  border-radius: 36px;
  padding: 12px;
  box-shadow: 
    0 0 0 2px #333,
    0 0 0 8px #1a1a1e,
    0 20px 60px rgba(0,0,0,0.6);
  position: relative;
  overflow: hidden;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 6px;
  background: #222;
  border-radius: 3px;
  z-index: 2;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
  display: block;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Sections */
section { padding: 100px 0; }

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title p { max-width: 640px; margin: 0.5rem auto 0; }

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

.feature-card {
  background: var(--charcoal);
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.04);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-soft);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 48px; height: 48px;
  background: var(--accent-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 1.4rem;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.game-card {
  background: var(--charcoal);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
  transition: var(--transition);
}

.game-card:hover { transform: translateY(-4px); border-color: var(--accent); }

.game-card img { height: 180px; object-fit: cover; width: 100%; }

.game-card-content { padding: 20px; }

.faq-item {
  background: var(--charcoal);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,0.04);
}

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--muted);
  display: none;
}

.faq-item.open .faq-answer { display: block; }

.cta-section {
  background: linear-gradient(135deg, #1a0a0e, #111318);
  text-align: center;
  padding: 100px 0;
  border-top: 1px solid rgba(196,30,58,0.2);
  border-bottom: 1px solid rgba(196,30,58,0.2);
}

/* Footer */
footer {
  background: #0d0f14;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-disclaimer {
  font-size: 0.85rem;
  color: #666;
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Page specific */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, #1a0a0e, var(--bg));
}

.content-block {
  max-width: 800px;
  margin: 0 auto 60px;
}

.content-block h2 { margin-top: 2rem; }

.steps {
  display: grid;
  gap: 24px;
  margin: 40px 0;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  background: var(--accent);
  color: white;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-text p.lead {
    margin: 0 auto 2rem;
    font-size: 1.1rem;
  }
  .btn-group {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  .mockup {
    max-width: 260px;
    margin: 0 auto;
  }
  .phone-frame {
    width: 240px;
    height: 500px;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu {
    display: block;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 4px 8px;
  }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(17, 19, 24, 0.98);
    backdrop-filter: blur(12px);
    padding: 20px 24px 28px;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 999;
  }
  .nav-links.active a.mobile-cta {
    display: block;
    background: var(--accent);
    color: white;
    text-align: center;
    border-radius: 8px;
    margin-top: 12px;
    border: none;
    padding: 14px 0;
  }
  .cta-nav {
    display: none;
  }
  header {
    padding: 12px 0;
  }
  .logo {
    font-size: 1.25rem;
  }
  .logo img {
    height: 36px;
  }
}

@media (max-width: 600px) {
  h1 { font-size: 2.2rem; }
  .hero-text .lead { font-size: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .container { padding: 0 16px; }
  .feature-card { padding: 28px 20px; }
  .game-card img { height: 160px; }
}
