/* ── Reset & Base ──────────────────────────────────────────────────────────── */
:root {
  --navy:    #0A0E1A;
  --navy2:   #0F1629;
  --teal:    #00D4FF;
  --gold:    #FFB800;
  --crimson: #E63946;
  --light:   #F0F4FF;
  --muted:   #8892AA;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--light);
  overflow-x: hidden;
  line-height: 1.6;
}
/* Keep img inline inside flex containers */
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: 'Rajdhani', sans-serif; line-height: 1.2; }
a { text-decoration: none; }

/* ── Utilities ──────────────────────────────────────────────────────────────── */
.grad-text    { background: linear-gradient(90deg,var(--teal),var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.grad-text-cr { background: linear-gradient(90deg,var(--crimson),var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.slash-divider { width: 100%; height: 3px; background: linear-gradient(90deg,transparent,var(--teal),var(--gold),transparent); }

/* ── Navigation ─────────────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  background: rgba(10,14,26,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,212,255,0.12);
}

/* Row 1: logo + desktop links + hamburger */
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: inline-block; /* critical: NOT block */
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.1;
  white-space: nowrap;
}
.nav-logo-sub {
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  display: block;
  margin-top: 1px;
}

/* Desktop nav links — hidden on mobile */
.nav-links {
  display: none;
  align-items: center;
  gap: 2px;
}
.nav-link {
  padding: 7px 14px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--teal); }
.nav-play {
  display: inline-block;
  margin-left: 6px;
  padding: 8px 18px;
  background: linear-gradient(135deg,var(--gold),#cc9200);
  color: var(--navy);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s;
}
.nav-play:hover { box-shadow: 0 6px 20px rgba(255,184,0,0.35); transform: translateY(-1px); }

/* Hamburger — shown on mobile only */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: all 0.3s;
  width: 100%;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px 16px 18px;
  background: rgba(6,8,16,0.99);
  border-top: 1px solid rgba(0,212,255,0.1);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  padding: 11px 16px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--light);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu a:hover { background: rgba(0,212,255,0.08); color: var(--teal); }
.mobile-menu .mob-play {
  background: linear-gradient(135deg,var(--gold),#cc9200);
  color: var(--navy) !important;
  text-align: center;
  margin-top: 6px;
}
.mobile-menu .mob-play:hover { opacity: 0.9; }

/* ── Responsive breakpoints ─────────────────────────────────────────────────── */
/* Tablet & Desktop: show nav links, hide hamburger */
@media (min-width: 768px) {
  .nav-links   { display: flex; }
  .hamburger   { display: none; }
  .mobile-menu { display: none !important; }
}

/* ── Page layout ──────────────────────────────────────────────────────────── */
.page-content { padding-top: 64px; min-height: 100vh; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero-bg {
  background: radial-gradient(ellipse at 70% 40%,#1a2a4a 0%,#0A0E1A 60%),
              linear-gradient(135deg,#0A0E1A 0%,#0F1629 50%,#0a1528 100%);
  position: relative;
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%2300D4FF' fill-opacity='0.03'%3E%3Cpolygon points='0 0 40 0 0 40'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-grid { display: flex; flex-direction: column; gap: 40px; }
.hero-wheel-wrap { display: none; justify-content: center; align-items: center; }

@media (min-width: 768px) {
  .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .hero-wheel-wrap { display: flex; }
}

/* ── Stat bar ─────────────────────────────────────────────────────────────── */
.stat-bar {
  background: linear-gradient(90deg,#0F1629,#141c35,#0F1629);
  border-top: 1px solid rgba(0,212,255,0.1);
  border-bottom: 1px solid rgba(0,212,255,0.1);
  padding: 12px 20px;
}
.stat-bar-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px;
  font-size: 0.82rem; color: var(--muted);
}
.stat { display: flex; align-items: center; gap: 6px; }
.stat-val { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1.1rem; }

/* ── Cards ────────────────────────────────────────────────────────────────── */
.glow-card {
  background: linear-gradient(145deg,#0F1629,#141c35);
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: 12px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.glow-card:hover {
  border-color: rgba(0,212,255,0.4);
  box-shadow: 0 0 28px rgba(0,212,255,0.1);
  transform: translateY(-2px);
}
.about-card {
  background: linear-gradient(135deg,#0F1629 60%,#141c35 100%);
  border-left: 3px solid var(--teal);
  border-radius: 0 12px 12px 0;
  padding: 24px;
}

/* ── Grids ────────────────────────────────────────────────────────────────── */
.features-grid   { display: grid; grid-template-columns: 1fr; gap: 16px; }
.stats-grid      { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.about-cols      { display: flex; flex-direction: column; gap: 40px; }
.about-cards-grid { display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; }
.contact-grid    { display: flex; flex-direction: column; }
.form-row        { display: flex; flex-direction: column; gap: 16px; }

@media (min-width: 640px) {
  .features-grid    { grid-template-columns: repeat(2,1fr); }
  .form-row         { flex-direction: row; }
  .form-row > div   { flex: 1; }
}
@media (min-width: 768px) {
  .features-grid    { grid-template-columns: repeat(3,1fr); }
  .about-cols       { flex-direction: row; align-items: center; gap: 48px; }
  .about-cols > *   { flex: 1; }
  .about-cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; }
  .contact-grid     { display: grid; grid-template-columns: 2fr 3fr; }
}
@media (min-width: 1024px) {
  .nav-inner { padding: 0 32px; }
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn-primary, .btn-gold, .btn-outline {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1rem;
  letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; text-align: center;
  padding: 12px 28px; border-radius: 6px; border: none; cursor: pointer; transition: all 0.25s;
}
.btn-primary { background: linear-gradient(135deg,var(--teal),#0099bb); color: var(--navy); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,212,255,0.3); }
.btn-gold    { background: linear-gradient(135deg,var(--gold),#cc9200); color: var(--navy); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,184,0,0.3); }
.btn-outline { background: transparent; color: var(--teal); border: 1.5px solid var(--teal); }
.btn-outline:hover { background: rgba(0,212,255,0.1); }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid rgba(0,212,255,0.1); }
.faq-item:last-child { border-bottom: none; }
.faq-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; background: none; border: none; cursor: pointer;
  text-align: left; color: var(--light); font-family: 'Rajdhani', sans-serif;
  font-size: 1rem; font-weight: 600; gap: 16px;
}
.faq-btn:hover { background: rgba(0,212,255,0.04); }
.faq-icon {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--teal); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; line-height: 1; transition: transform 0.3s;
  font-family: 'Inter', sans-serif; font-weight: 300;
}
.faq-body { padding: 0 24px 18px; font-size: 0.9rem; color: var(--muted); line-height: 1.7; display: none; }
.faq-body.open { display: block; }

/* ── Game iframe ──────────────────────────────────────────────────────────── */
.game-container {
  background: linear-gradient(145deg,#0A0E1A,#0F1629);
  border: 2px solid rgba(0,212,255,0.25);
  border-radius: 12px; overflow: hidden;
}
.pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }
@keyframes pulse-glow {
  0%,100% { box-shadow: 0 0 20px rgba(0,212,255,0.15); }
  50%      { box-shadow: 0 0 40px rgba(0,212,255,0.35); }
}
.game-bar {
  background: linear-gradient(90deg,#0F1629,#141c35);
  padding: 10px 16px; display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid rgba(0,212,255,0.15);
}
.game-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.game-iframe-wrap { position: relative; padding-top: 60%; min-height: 380px; background: #060810; }
.game-iframe-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* ── Warning banner ───────────────────────────────────────────────────────── */
.warning-banner {
  background: linear-gradient(90deg,rgba(230,57,70,0.12),rgba(255,184,0,0.08),rgba(230,57,70,0.12));
  border: 1px solid rgba(230,57,70,0.3);
  border-radius: 8px; padding: 16px 20px;
  font-size: 0.85rem; line-height: 1.7; color: var(--light);
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
footer {
  background: linear-gradient(180deg,#080b14 0%,#060810 100%);
  border-top: 1px solid rgba(0,212,255,0.12);
}
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 48px 20px 32px; }
.footer-partners {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 24px; margin-bottom: 28px;
}
.footer-partners a img {
  height: 36px; width: auto; object-fit: contain;
  filter: brightness(1.8) grayscale(0.1);
  opacity: 0.6; transition: opacity 0.25s;
  display: inline-block;
}
.footer-partners a:hover img { opacity: 1; }
.footer-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 28px; margin-bottom: 28px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(3,1fr); } }
.footer-col-title {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 12px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.88rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--light); }
.footer-logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; text-decoration: none; }
.footer-logo-row img { width: 30px; height: 30px; object-fit: contain; display: inline-block; flex-shrink: 0; }
.footer-bottom {
  display: flex; flex-direction: column; gap: 8px;
  align-items: center; text-align: center;
  font-size: 0.75rem; color: var(--muted); padding-top: 20px;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ── Form fields ──────────────────────────────────────────────────────────── */
.form-field {
  background: rgba(15,22,41,0.8);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 8px; color: var(--light);
  padding: 12px 16px; width: 100%; outline: none;
  transition: border-color 0.25s;
  font-family: 'Inter', sans-serif; font-size: 0.9rem;
}
.form-field:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,212,255,0.1); }
.form-field::placeholder { color: var(--muted); }
.form-label { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }

/* ── Animations ───────────────────────────────────────────────────────────── */
@keyframes spin-slow { to { transform: rotate(360deg); } }
.spin-icon { animation: spin-slow 8s linear infinite; }

/* ── Scrollbar ────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: rgba(0,212,255,0.3); border-radius: 3px; }

/* ── Section container util ──────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 780px; margin: 0 auto; padding: 0 20px; }
