/* ===================================================
   Token Trickster — Main Stylesheet
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --neon-purple: #9b59ff;
  --neon-cyan: #00e5ff;
  --neon-gold: #ffd700;
  --dark-bg: #0a0714;
  --card-bg: #110d20;
  --border-glow: rgba(155,89,255,0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark-bg);
  color: #e8e0ff;
  margin: 0;
}

/* ── Background ─────────────────────────────────── */
.bg-mesh {
  background:
    radial-gradient(ellipse 80% 50% at 20% 10%, rgba(155,89,255,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0,229,255,0.10) 0%, transparent 55%),
    #0a0714;
  min-height: 100vh;
}

/* ── Typography ─────────────────────────────────── */
.font-display { font-family: 'Orbitron', sans-serif; }

.grad-text {
  background: linear-gradient(90deg, #9b59ff 0%, #00e5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-gold {
  background: linear-gradient(90deg, #ffd700 0%, #ff9a00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Borders & Glows ────────────────────────────── */
.neon-border {
  border: 1px solid var(--border-glow);
  box-shadow: 0 0 18px rgba(155,89,255,0.15), inset 0 0 12px rgba(155,89,255,0.05);
}
.neon-border-cyan {
  border: 1px solid rgba(0,229,255,0.3);
  box-shadow: 0 0 18px rgba(0,229,255,0.12);
}

/* ── Buttons ────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #9b59ff 0%, #00e5ff 100%);
  color: #0a0714;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 0 24px rgba(155,89,255,0.45);
  border: none;
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 38px rgba(0,229,255,0.55);
}
.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--neon-purple);
  color: #c8b8ff;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s;
  background: transparent;
}
.btn-outline:hover {
  background: rgba(155,89,255,0.15);
  box-shadow: 0 0 16px rgba(155,89,255,0.3);
}

/* ── Navigation ─────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(10,7,20,0.82);
  border-bottom: 1px solid rgba(155,89,255,0.2);
}
.nav-link {
  color: #c4b5ff;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.15s;
}
.nav-link:hover,
.nav-link.active { color: #fff; }

/* ── Cards ──────────────────────────────────────── */
.card {
  background: var(--card-bg);
  border-radius: 14px;
}

/* ── Divider ────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(155,89,255,0.5), rgba(0,229,255,0.5), transparent);
  margin: 0 2.5rem;
}

/* ── Game iframe ────────────────────────────────── */
.game-frame {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(155,89,255,0.3), 0 0 120px rgba(0,229,255,0.1);
  border: 1px solid rgba(155,89,255,0.4);
}

/* ── FAQ ────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid rgba(155,89,255,0.2); }
.faq-answer { display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-icon { transition: transform 0.2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ── Partner logos ──────────────────────────────── */
.partner-logo {
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 10px 18px;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.partner-logo:hover { background: rgba(255,255,255,0.14); }
.partner-logo img { filter: brightness(0) invert(1); height: 40px; object-fit: contain; }

/* ── Footer ─────────────────────────────────────── */
footer {
  border-top: 1px solid rgba(155,89,255,0.2);
  background: #080512;
}
.footer-heading {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.footer-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.875rem;
  display: block;
  margin-bottom: 0.75rem;
  transition: color 0.15s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
}
.footer-link:hover { color: #c4b5ff; }

/* ── Form inputs ────────────────────────────────── */
.form-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(155,89,255,0.3);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  color: #fff;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.15s;
  font-family: 'Inter', sans-serif;
}
.form-input::placeholder { color: rgba(155,89,255,0.5); }
.form-input:focus { border-color: #9b59ff; }
select.form-input { background: #110d20; }

/* ── Page fade ──────────────────────────────────── */
.page-fade { animation: fadeIn 0.3s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* ── Reel symbols deco ──────────────────────────── */
.reel-symbols { letter-spacing: 0.15em; }

/* ── Scrollbar ──────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0714; }
::-webkit-scrollbar-thumb { background: #9b59ff; border-radius: 3px; }

/* ── Utilities ──────────────────────────────────── */
.text-grad-cyan {
  background: linear-gradient(90deg,#00e5ff,#9b59ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Mobile nav ─────────────────────────────────── */
.mobile-menu {
  background: rgba(10,7,20,0.97);
  border-bottom: 1px solid rgba(155,89,255,0.25);
  display: none;
}
.mobile-menu.open { display: block; }

/* ── Warning box ────────────────────────────────── */
.warning-box {
  background: rgba(234,179,8,0.06);
  border: 1px solid rgba(234,179,8,0.2);
  border-radius: 1rem;
}

[x-cloak] { display: none !important; }
