/* Wavex — Bold Retro-Futuristic Casino Design */
@import url('https://fonts.googleapis.com/css2?family=Boogaloo&family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
  --bg: #0a0a1a;
  --bg2: #0e0e24;
  --surface: #13132e;
  --card: #181838;
  --card2: #1e1e46;
  --accent: #00f5ff;
  --accent2: #ff3cac;
  --accent3: #ffea00;
  --accent4: #7b2fff;
  --glow-cyan: rgba(0, 245, 255, 0.3);
  --glow-pink: rgba(255, 60, 172, 0.3);
  --glow-yellow: rgba(255, 234, 0, 0.3);
  --text: #f0f0ff;
  --muted: #9090b8;
  --border: rgba(0, 245, 255, 0.2);
  --font-display: 'Boogaloo', cursive;
  --font-body: 'Nunito', sans-serif;
  --radius: 16px;
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent4); border-radius: 3px; }

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent2); }

/* ───── GRID BG ───── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,245,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,245,255,.04) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

/* ───── NAV ───── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(10,10,26,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: .85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: var(--accent);
  text-shadow: 0 0 20px var(--accent), 0 0 40px rgba(0,245,255,.4);
  text-decoration: none;
}

.nav__brand-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
}

.nav__links a {
  padding: .4rem .85rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: .9rem;
  color: var(--muted);
  letter-spacing: .5px;
  transition: all .2s;
}

.nav__links a:hover, .nav__links a[aria-current] {
  color: var(--text);
  background: rgba(0,245,255,.1);
}

.nav__age {
  background: var(--accent2);
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
  padding: .25rem .55rem;
  border-radius: 6px;
  letter-spacing: 1px;
}

.nav__toggle {
  display: none;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--accent);
  width: 38px;
  height: 38px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  align-items: center;
  justify-content: center;
}

/* ───── HERO ───── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 5rem 1.5rem 3rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 30%, rgba(123,47,255,.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(0,245,255,.15) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(255,60,172,.12) 0%, transparent 50%);
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(0,245,255,.1);
  border: 1px solid rgba(0,245,255,.35);
  color: var(--accent);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.05;
  letter-spacing: 2px;
  max-width: 800px;
  margin-bottom: 1.25rem;
}

.hero__title span.cyan { color: var(--accent); text-shadow: 0 0 30px var(--glow-cyan); }
.hero__title span.pink { color: var(--accent2); text-shadow: 0 0 30px var(--glow-pink); }
.hero__title span.yellow { color: var(--accent3); text-shadow: 0 0 30px var(--glow-yellow); }

.hero__sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .5px;
  cursor: pointer;
  text-decoration: none;
  transition: all .25s;
  border: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent4));
  color: #0a0a1a;
  box-shadow: 0 4px 30px rgba(0,245,255,.35), 0 0 0 0 rgba(0,245,255,.4);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(0,245,255,.5), 0 0 0 4px rgba(0,245,255,.15);
  color: #0a0a1a;
}

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

.btn--secondary:hover {
  border-color: var(--accent2);
  color: var(--accent2);
  box-shadow: 0 0 20px var(--glow-pink);
  transform: translateY(-2px);
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.07);
  flex-wrap: wrap;
}

.hero__stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent3);
  text-shadow: 0 0 20px var(--glow-yellow);
  letter-spacing: 1px;
}

.hero__stat-label {
  font-size: .82rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ───── WAVE DIVIDER ───── */
.wave-divider {
  position: relative;
  height: 80px;
  overflow: hidden;
}

.wave-divider svg {
  position: absolute;
  bottom: 0;
  width: 100%;
}

/* ───── SECTIONS ───── */
.section {
  position: relative;
  z-index: 1;
  padding: 5rem 1.5rem;
}

.section--alt { background: var(--bg2); }

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section__eyebrow {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: .5rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 1px;
  margin-bottom: .75rem;
}

.section__lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 580px;
  margin-bottom: 3rem;
}

/* ───── GAMES GRID ───── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.game-card {
  position: relative;
  background: var(--card);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px;
  padding: 2rem;
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: all .3s ease;
  display: block;
}

.game-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .3s;
  border-radius: 20px;
}

.game-card--slots::before { background: radial-gradient(ellipse at top left, rgba(0,245,255,.12), transparent 60%); }
.game-card--wheel::before { background: radial-gradient(ellipse at top left, rgba(255,234,0,.12), transparent 60%); }
.game-card--match::before { background: radial-gradient(ellipse at top left, rgba(255,60,172,.12), transparent 60%); }

.game-card:hover::before { opacity: 1; }
.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.15);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}

.game-card--slots:hover { box-shadow: 0 20px 60px rgba(0,245,255,.15); }
.game-card--wheel:hover { box-shadow: 0 20px 60px rgba(255,234,0,.15); }
.game-card--match:hover { box-shadow: 0 20px 60px rgba(255,60,172,.15); }

.game-card__tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: .25rem .65rem;
  border-radius: 6px;
  margin-bottom: 1.25rem;
}

.tag--cyan { background: rgba(0,245,255,.15); color: var(--accent); }
.tag--yellow { background: rgba(255,234,0,.15); color: var(--accent3); }
.tag--pink { background: rgba(255,60,172,.15); color: var(--accent2); }

.game-card__emoji {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 1rem;
  line-height: 1;
  filter: drop-shadow(0 0 12px currentColor);
}

.game-card__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 1px;
  margin-bottom: .6rem;
}

.game-card__desc {
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.game-card__cta {
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.game-card--slots .game-card__cta { color: var(--accent); }
.game-card--wheel .game-card__cta { color: var(--accent3); }
.game-card--match .game-card__cta { color: var(--accent2); }

/* ───── HOW IT WORKS ───── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  counter-reset: steps;
}

.step {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  counter-increment: steps;
  transition: transform .25s;
}

.step:hover { transform: translateY(-4px); }

.step__num {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  opacity: .12;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  letter-spacing: -2px;
}

.step__icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.step__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: .5px;
  margin-bottom: .5rem;
}

.step__text { color: var(--muted); font-size: .93rem; }

/* ───── FEATURES ───── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

.feat {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: transform .25s;
}

.feat:hover { transform: scale(1.03); }

.feat__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--accent3);
  text-shadow: 0 0 20px var(--glow-yellow);
  margin-bottom: .25rem;
  letter-spacing: 1px;
}

.feat__label { color: var(--muted); font-size: .85rem; font-weight: 600; }

/* ───── WHY US ───── */
.why-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .why-grid { grid-template-columns: 1fr 2fr; align-items: start; }
}

.why-side h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: .75rem;
  letter-spacing: .5px;
}

.why-side p { color: var(--muted); font-size: .95rem; }

.why-main h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: .5px;
  margin-bottom: .4rem;
  margin-top: 1.75rem;
}

.why-main h3:first-child { margin-top: 0; }
.why-main p { color: var(--muted); font-size: .93rem; }

/* ───── SAFE PLAY ───── */
.safe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.safe-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 1.25rem;
}

.safe-item__icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.safe-item__title {
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: .2rem;
}

.safe-item__text { color: var(--muted); font-size: .85rem; }

/* ───── FAQ ───── */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }

.faq-item {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s;
}

.faq-item:hover { border-color: rgba(0,245,255,.2); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .98rem;
  font-weight: 700;
  padding: 1.1rem 1.4rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-q span { color: var(--accent); font-size: 1.2rem; transition: transform .25s; }
.faq-item.open .faq-q span { transform: rotate(45deg); }

.faq-a {
  display: none;
  padding: 0 1.4rem 1.1rem;
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.7;
}

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

/* ───── SUPPORT BANNER ───── */
.support-banner {
  background: linear-gradient(135deg, rgba(123,47,255,.2), rgba(0,245,255,.1));
  border: 1px solid rgba(0,245,255,.2);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
  margin: 3rem auto;
  max-width: var(--max);
}

.support-banner__text h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: .3rem;
  letter-spacing: .5px;
}

.support-banner__text p { color: var(--muted); font-size: .9rem; }

.support-banner__links {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.support-link {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--text);
  padding: .45rem 1rem;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 700;
  transition: all .2s;
  text-decoration: none;
}

.support-link:hover {
  background: rgba(0,245,255,.1);
  border-color: var(--accent);
  color: var(--accent);
}

/* ───── FOOTER ───── */
.footer {
  background: #060612;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 3.5rem 1.5rem 2rem;
  position: relative;
  z-index: 1;
}

.footer__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--accent);
  text-shadow: 0 0 15px var(--glow-cyan);
  letter-spacing: 2px;
  margin-bottom: .75rem;
  display: block;
}

.footer__col p {
  color: var(--muted);
  font-size: .87rem;
  line-height: 1.7;
}

.footer__heading {
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .9rem;
}

.footer__col a {
  display: block;
  color: var(--muted);
  font-size: .88rem;
  padding: .2rem 0;
  transition: color .2s;
}

.footer__col a:hover { color: var(--text); }

.footer__bar {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--muted);
}

/* ───── RESPONSIVE ───── */
@media (max-width: 768px) {
  .nav__links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(10,10,26,.98); border-bottom: 1px solid var(--border); padding: 1rem; gap: .25rem; }
  .nav__links.open { display: flex; }
  .nav__toggle { display: flex; }
  .nav { position: sticky; }
  .hero { padding: 3rem 1.25rem 2.5rem; min-height: auto; }
  .section { padding: 3.5rem 1.25rem; }
}

/* ───── ANIMATIONS ───── */
@keyframes floatUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__content > * {
  animation: floatUp .6s ease both;
}
.hero__content > *:nth-child(1) { animation-delay: .1s; }
.hero__content > *:nth-child(2) { animation-delay: .2s; }
.hero__content > *:nth-child(3) { animation-delay: .3s; }
.hero__content > *:nth-child(4) { animation-delay: .4s; }
.hero__content > *:nth-child(5) { animation-delay: .5s; }

/* Neon pulse animation for brand */
@keyframes neonPulse {
  0%, 100% { text-shadow: 0 0 20px var(--accent), 0 0 40px rgba(0,245,255,.4); }
  50% { text-shadow: 0 0 10px var(--accent), 0 0 20px rgba(0,245,255,.2); }
}

.nav__brand { animation: neonPulse 3s ease-in-out infinite; }
