/* ============================================================
   Solospun — Social Gaming Platform
   Style: Cyber / Synthwave
   Fonts: Orbitron (display) + Rajdhani (body)
   ============================================================ */

:root {
  /* Brand palette */
  --black: #000000;
  --prussian-blue: #14213d;
  --orange: #fca311;
  --alabaster-grey: #e5e5e5;
  --white: #ffffff;

  /* Semantic tokens */
  --color-primary: #14213d;
  --color-accent: #fca311;
  --color-bg: #05060f;
  --color-surface: #0c1024;
  --color-surface-2: #131a3a;
  --color-text: #e5e5e5;
  --color-text-muted: #8b93b8;

  --neon-cyan: #22d3ee;
  --neon-magenta: #ff2fd0;
  --neon-purple: #8b5cf6;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
  --glow-accent: 0 0 24px rgba(252, 163, 17, 0.55);
  --glow-cyan: 0 0 24px rgba(34, 211, 238, 0.5);

  --transition-fast: 0.16s ease;
  --transition-normal: 0.32s cubic-bezier(0.4, 0, 0.2, 1);

  --header-h: 68px;

  --font-display: "Orbitron", sans-serif;
  --font-body: "Rajdhani", sans-serif;
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  overflow-x: clip;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 18px;
  min-height: 100vh;
  position: relative;
}

/* Synthwave grid background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 20% 10%, rgba(139, 92, 246, 0.18), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(255, 47, 208, 0.14), transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(34, 211, 238, 0.14), transparent 55%),
    var(--color-bg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ---------------- Layout ---------------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

.section {
  padding: 84px 0;
  position: relative;
}

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--neon-cyan);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 18px;
  background: linear-gradient(90deg, var(--white), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-intro {
  max-width: 640px;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 44px;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  border: 1px solid transparent;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-play {
  background: linear-gradient(120deg, var(--orange), #ff7a00);
  color: var(--black);
  box-shadow: var(--glow-accent);
  animation: pulse-glow 2.6s ease-in-out infinite;
}
.btn-play:hover { transform: translateY(-2px); box-shadow: 0 0 34px rgba(252, 163, 17, 0.8); }

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 18px rgba(252, 163, 17, 0.45); }
  50% { box-shadow: 0 0 34px rgba(252, 163, 17, 0.85); }
}

.btn-ghost {
  background: transparent;
  color: var(--neon-cyan);
  border: 1px solid rgba(34, 211, 238, 0.5);
}
.btn-ghost:hover { background: rgba(34, 211, 238, 0.1); box-shadow: var(--glow-cyan); transform: translateY(-2px); }

.btn-sm { padding: 9px 18px; font-size: 0.8rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  border: 1px solid var(--neon-magenta);
  color: var(--neon-magenta);
  background: rgba(255, 47, 208, 0.08);
  text-transform: uppercase;
}

/* ---------------- Header ---------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  isolation: isolate;
  height: var(--header-h);
  background: #070a18;
  border-bottom: 1px solid rgba(34, 211, 238, 0.18);
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
}
.logo .logo-mark {
  color: var(--orange);
  filter: drop-shadow(0 0 6px rgba(252, 163, 17, 0.7));
}
.logo b { color: var(--orange); }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
  position: relative;
}
.nav a:hover { color: var(--white); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width var(--transition-fast);
}
.nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--white);
  font-size: 1.7rem;
  line-height: 1;
}

/* ---------------- Hero ---------------- */
.hero {
  padding: clamp(50px, 8vw, 96px) 0 72px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-badges { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.hero h1 {
  font-size: clamp(1.5rem, 5.2vw, 2.9rem);
  margin-bottom: 20px;
  line-height: 1.08;
}
.hero h1 .accent {
  background: linear-gradient(90deg, var(--orange), var(--neon-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 1.16rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin-bottom: 30px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-art {
  position: relative;
  filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.4));
}
.hero-art svg { width: 100%; height: auto; }
.hero-float { animation: float 6s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------------- Cards / Games ---------------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.game-card {
  background: linear-gradient(160deg, var(--color-surface-2), var(--color-surface));
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.14), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}
.game-card:hover {
  transform: translateY(-8px);
  border-color: var(--orange);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(252, 163, 17, 0.2);
}
.game-card:hover::before { opacity: 1; }
.game-card-preview {
  border-radius: var(--radius-md);
  background: #060814;
  padding: 20px;
  margin-bottom: 18px;
  border: 1px solid rgba(34, 211, 238, 0.15);
  position: relative;
  z-index: 1;
}
.game-card-preview svg { width: 100%; height: 120px; }
.game-card-cat {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--neon-cyan);
  margin-bottom: 6px;
  position: relative; z-index: 1;
}
.game-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--white);
  position: relative; z-index: 1;
}
.game-card p {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  margin-bottom: 18px;
  flex: 1;
  position: relative; z-index: 1;
}
.game-card .btn { position: relative; z-index: 1; align-self: flex-start; }

/* ---------------- About ---------------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.about-copy p { margin-bottom: 16px; color: var(--color-text-muted); }
.about-copy p strong { color: var(--white); }

.faq { margin-top: 26px; }
.faq-item {
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  background: var(--color-surface);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.95rem;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.faq-q .faq-icon { color: var(--orange); transition: transform var(--transition-fast); }
.faq-item.open .faq-q .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
  color: var(--color-text-muted);
  padding: 0 18px;
}
.faq-item.open .faq-a { max-height: 260px; padding: 0 18px 16px; }

.about-card {
  background: linear-gradient(160deg, var(--color-surface-2), var(--color-surface));
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.about-card h4 { color: var(--neon-cyan); margin-bottom: 16px; font-size: 1.05rem; letter-spacing: 1px; }
.about-list li {
  padding: 10px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-bottom: 1px dashed rgba(139, 92, 246, 0.18);
  color: var(--color-text-muted);
}
.about-list li:last-child { border-bottom: none; }
.about-list i { color: var(--orange); font-size: 1.2rem; flex-shrink: 0; }

/* ---------------- Per-game descriptions ---------------- */
.desc-block {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 26px;
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  margin-bottom: 18px;
  transition: border-color var(--transition-fast);
}
.desc-block:hover { border-color: rgba(252, 163, 17, 0.5); }
.desc-icon {
  width: 68px; height: 68px;
  border-radius: var(--radius-md);
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-magenta));
  color: var(--white);
  font-size: 2rem;
  box-shadow: var(--glow-cyan);
}
.desc-body h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 8px; }
.desc-body p { color: var(--color-text-muted); font-size: 0.98rem; }

/* ---------------- Contacts ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info p { color: var(--color-text-muted); margin-bottom: 18px; }
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  color: var(--orange);
  font-size: 1.1rem;
  padding: 12px 18px;
  border: 1px solid rgba(252, 163, 17, 0.4);
  border-radius: var(--radius-md);
  background: rgba(252, 163, 17, 0.06);
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 14px;
  background: var(--color-surface);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-control:focus { outline: none; border-color: var(--orange); box-shadow: var(--glow-accent); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px; color: var(--color-text-muted); font-size: 0.92rem; }
.form-check input { margin-top: 5px; accent-color: var(--orange); width: 16px; height: 16px; }
.form-msg { padding: 12px 14px; border-radius: var(--radius-sm); margin-top: 14px; display: none; font-weight: 600; }
.form-msg.success { display: block; background: rgba(34, 211, 238, 0.12); color: var(--neon-cyan); border: 1px solid rgba(34, 211, 238, 0.4); }
.form-loader { display: none; }
.form-loader.active { display: inline-block; }
.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(0,0,0,0.3);
  border-top-color: var(--black);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------- Footer ---------------- */
.footer {
  border-top: 1px solid rgba(34, 211, 238, 0.18);
  background: #070a18;
  padding: 54px 0 30px;
}
.footer-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 30px; }
.footer-brand { max-width: 340px; }
.footer-brand p { color: var(--color-text-muted); font-size: 0.95rem; margin-top: 12px; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { color: var(--color-text-muted); font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 1px; text-transform: uppercase; transition: color var(--transition-fast); }
.footer-nav a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(139, 92, 246, 0.15);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--color-text-muted);
  font-size: 0.86rem;
}

/* ---------------- Disclaimer ---------------- */
.disclaimer {
  background: rgba(255, 47, 208, 0.05);
  border-top: 1px solid rgba(255, 47, 208, 0.2);
  border-bottom: 1px solid rgba(255, 47, 208, 0.2);
  padding: 24px 0;
}
.disclaimer p {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.88rem;
}
.disclaimer a { color: var(--orange); text-decoration: underline; }

/* ---------------- Mobile Nav ---------------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(5, 6, 15, 0.98);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-16px);
  transition: opacity var(--transition-normal), visibility var(--transition-normal), transform var(--transition-normal);
}
.mobile-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.mobile-nav a:hover { color: var(--orange); }
.mobile-nav .nav-close {
  position: absolute;
  top: 22px; right: 24px;
  background: transparent;
  color: var(--white);
  font-size: 2rem;
}

/* ---------------- Age Gate ---------------- */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(3, 4, 10, 0.96);
  backdrop-filter: blur(10px);
  display: none;
  place-items: center;
  padding: 20px;
}
.age-gate.active { display: grid; }
.age-box {
  max-width: 460px;
  width: 100%;
  background: linear-gradient(160deg, var(--color-surface-2), var(--color-surface));
  border: 1px solid var(--orange);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg), var(--glow-accent);
}
.age-box .badge { margin-bottom: 18px; }
.age-box h2 { color: var(--white); font-size: 1.6rem; margin-bottom: 14px; }
.age-box p { color: var(--color-text-muted); margin-bottom: 24px; font-size: 0.98rem; }
.age-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------------- Cookie Banner ---------------- */
.cookie-banner {
  position: fixed;
  left: 18px; right: 18px; bottom: 18px;
  z-index: 120;
  max-width: 720px;
  margin: 0 auto;
  background: #0b0f24;
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--shadow-lg);
  flex-wrap: wrap;
}
.cookie-banner.active { display: flex; }
.cookie-banner p { color: var(--color-text-muted); font-size: 0.9rem; flex: 1; min-width: 220px; }
.cookie-banner a { color: var(--orange); text-decoration: underline; }

/* ---------------- Game Modal ---------------- */
.game-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(3, 4, 10, 0.85);
  backdrop-filter: blur(6px);
  display: none;
  place-items: center;
  padding: 20px;
}
.game-modal.active { display: grid; }
.game-modal-box {
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  background: linear-gradient(160deg, var(--color-surface-2), var(--color-surface));
  border: 1px solid var(--neon-purple);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 50px rgba(139, 92, 246, 0.35);
  position: relative;
  animation: modal-in var(--transition-normal);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.game-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.25);
  position: sticky;
  top: 0;
  background: var(--color-surface-2);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  z-index: 2;
}
.game-modal-head h3 { color: var(--white); font-size: 1.25rem; }
.game-modal-head .modal-cat { font-size: 0.7rem; color: var(--neon-cyan); letter-spacing: 2px; text-transform: uppercase; font-family: var(--font-display); }
.modal-close {
  background: transparent;
  color: var(--color-text-muted);
  font-size: 1.6rem;
  line-height: 1;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.modal-close:hover { background: rgba(255, 47, 208, 0.15); color: var(--neon-magenta); }
.game-modal-body { padding: 24px; }

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}
.stat {
  background: #060814;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: var(--radius-sm);
  padding: 10px 6px;
  text-align: center;
}
.stat .stat-label { font-size: 0.62rem; letter-spacing: 1px; text-transform: uppercase; color: var(--color-text-muted); font-family: var(--font-display); }
.stat .stat-val { font-family: var(--font-display); font-size: 1.15rem; color: var(--white); font-weight: 700; }
.stat .stat-val.coins { color: var(--orange); }

/* Game controls */
.game-stage {
  background: #060814;
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 18px;
  min-height: 160px;
  display: grid;
  place-items: center;
}
.game-result {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  min-height: 26px;
  margin-bottom: 16px;
}
.game-result.win { color: var(--neon-cyan); text-shadow: var(--glow-cyan); }
.game-result.lose { color: var(--neon-magenta); }
.play-controls { display: flex; flex-direction: column; gap: 12px; }
.play-input-row { display: flex; gap: 10px; align-items: flex-end; }
.play-input-row .form-group { flex: 1; margin-bottom: 0; }
.play-input-row .form-group small { display: block; font-size: 0.68rem; color: var(--color-text-muted); margin-top: 3px; }
.play-btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.play-btn-row .btn { flex: 1; justify-content: center; }
.refill-btn { display: none; }
.refill-btn.active { display: inline-flex; }

/* Slots */
.reels { display: flex; gap: 12px; justify-content: center; }
.reel {
  width: 74px; height: 92px;
  background: linear-gradient(160deg, #131a3a, #0a0d20);
  border: 2px solid var(--neon-purple);
  border-radius: var(--radius-md);
  display: grid; place-items: center;
  font-size: 2.6rem;
  overflow: hidden;
}
.reel.spinning { animation: reel-shake 0.12s linear infinite; }
@keyframes reel-shake { 0%,100% { transform: translateY(-4px);} 50% { transform: translateY(4px);} }

/* Roulette */
.wheel-wrap { position: relative; display: grid; place-items: center; }
.wheel {
  width: 180px; height: 180px;
  border-radius: 50%;
  border: 6px solid var(--orange);
  position: relative;
  transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
  box-shadow: var(--glow-accent);
}
.wheel-pointer {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 18px solid var(--white);
  z-index: 3;
}
.roulette-pick { display: flex; gap: 8px; justify-content: center; margin-bottom: 4px; }
.pick-btn {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 1px;
  border: 1px solid rgba(139, 92, 246, 0.4);
  background: var(--color-surface);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}
.pick-btn.active { border-color: var(--orange); color: var(--orange); box-shadow: var(--glow-accent); }
.pick-btn.red.active { border-color: #ff4d4d; color: #ff4d4d; box-shadow: 0 0 16px rgba(255,77,77,0.6); }
.pick-btn.black.active { border-color: var(--white); color: var(--white); }

/* Blackjack */
.bj-hands { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.bj-hand-label { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 1px; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 6px; }
.bj-cards { display: flex; gap: 8px; flex-wrap: wrap; min-height: 78px; }
.pcard {
  width: 52px; height: 74px;
  background: var(--white);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--black);
  box-shadow: var(--shadow-sm);
  position: relative;
  animation: card-deal 0.3s ease;
}
@keyframes card-deal { from { opacity: 0; transform: translateY(-14px) rotate(-6deg);} to { opacity: 1; transform: none;} }
.pcard.red { color: #d11b1b; }
.pcard.back { background: linear-gradient(135deg, var(--neon-purple), var(--prussian-blue)); color: transparent; }
.bj-score { font-family: var(--font-display); color: var(--orange); font-size: 0.9rem; }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-art { max-width: 440px; margin: 0 auto; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .games-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  body { font-size: 17px; }
  .section { padding: 60px 0; }
  .nav { display: none; }
  .nav-toggle { display: block; }
  .games-grid { grid-template-columns: 1fr; }
  .desc-block { grid-template-columns: auto 1fr; }
  .desc-block .btn { grid-column: 1 / -1; justify-content: center; }
  .footer-top { flex-direction: column; }

  .game-modal { padding: 0; }
  .game-modal-box { max-width: 100%; max-height: 100vh; height: 100vh; border-radius: 0; border: none; }
  .game-modal-head { border-radius: 0; }
}

@media (max-width: 420px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .reel { width: 60px; height: 78px; font-size: 2rem; }
  .hero h1 { font-size: 2rem; }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
