/* ============================================================
   Vantyrix — neon social casino
   Pure HTML/CSS/JS, dark futuristic palette
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg-deep: #07091c;
  --bg-card: #11142e;
  --bg-elev: #1a1e45;
  --bg-soft: #0d102a;
  --border: #262c5c;
  --border-soft: #1c2148;
  --text: #ecedfb;
  --muted: #8a8fb8;
  --accent: #b14aff;
  --accent-2: #ff3daa;
  --accent-3: #4deeff;
  --accent-4: #4dff9d;
  --warn: #ffb84d;
  --danger: #ff5577;

  --gradient-primary: linear-gradient(
    135deg,
    #b14aff 0%,
    #ff3daa 60%,
    #4deeff 100%
  );
  --gradient-soft: linear-gradient(
    135deg,
    rgba(177, 74, 255, 0.18),
    rgba(77, 238, 255, 0.14)
  );
  --gradient-text: linear-gradient(
    120deg,
    #b14aff 0%,
    #ff3daa 50%,
    #4deeff 100%
  );

  --shadow-card:
    0 12px 40px rgba(7, 9, 28, 0.55), 0 0 0 1px rgba(38, 44, 92, 0.55);
  --shadow-glow: 0 0 40px rgba(177, 74, 255, 0.35);
  --shadow-glow-pink: 0 0 40px rgba(255, 61, 170, 0.35);
  --shadow-glow-cyan: 0 0 40px rgba(77, 238, 255, 0.3);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --container: 1200px;
  --gutter: clamp(1rem, 2.5vw, 2rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Manrope",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  background-image:
    radial-gradient(
      circle at 12% 8%,
      rgba(177, 74, 255, 0.15) 0,
      transparent 45%
    ),
    radial-gradient(
      circle at 88% 30%,
      rgba(77, 238, 255, 0.12) 0,
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 100%,
      rgba(255, 61, 170, 0.12) 0,
      transparent 55%
    );
  background-attachment: fixed;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent-3);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-2);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 99999;
}

.skip-link:focus {
  left: 12px;
}

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
  position: relative;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(177, 74, 255, 0.12);
  border: 1px solid rgba(177, 74, 255, 0.35);
  color: var(--accent-3);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.section-head h2 {
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--muted);
  max-width: 620px;
  margin-inline: auto;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.55rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #0a0b1e;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  box-shadow: 0 0 50px rgba(255, 61, 170, 0.55);
  color: #0a0b1e;
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: rgba(177, 74, 255, 0.12);
  border-color: var(--accent);
  color: var(--text);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* ---------- Header ---------- */
.alert-banner {
  background: linear-gradient(
    90deg,
    rgba(177, 74, 255, 0.15),
    rgba(255, 61, 170, 0.15)
  );
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 0.85rem;
  text-align: center;
  padding: 0.55rem 1rem;
}

.alert-banner strong {
  color: var(--accent-3);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 9, 28, 0.72);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 12px rgba(177, 74, 255, 0.55));
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset: auto 0 -8px 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  align-items: center;
  justify-content: center;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  left: -180px;
  top: -160px;
  background: radial-gradient(
    circle,
    rgba(177, 74, 255, 0.35),
    transparent 65%
  );
  filter: blur(20px);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -160px;
  bottom: -160px;
  background: radial-gradient(
    circle,
    rgba(77, 238, 255, 0.28),
    transparent 65%
  );
  filter: blur(20px);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero h1 {
  margin: 0 auto 1.25rem;
  max-width: 900px;
}

.hero .lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-meta strong {
  color: var(--text);
  font-family: "Sora", sans-serif;
  font-size: 1.4rem;
  display: block;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-meta > div {
  text-align: center;
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(7, 9, 28, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--accent-3);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.badge-18 .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px var(--accent-2);
}

/* ---------- Cards & grids ---------- */
.grid {
  display: grid;
  gap: 1.25rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: linear-gradient(
    180deg,
    rgba(26, 30, 69, 0.55),
    rgba(17, 20, 46, 0.85)
  );
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-soft);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(177, 74, 255, 0.55);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.card:hover::before {
  opacity: 1;
}

.card > * {
  position: relative;
  z-index: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: linear-gradient(
    140deg,
    rgba(177, 74, 255, 0.25),
    rgba(77, 238, 255, 0.15)
  );
  border: 1px solid rgba(177, 74, 255, 0.35);
  color: var(--accent-3);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Slots game ---------- */
.slot-shell {
  background: linear-gradient(180deg, #0d102a 0%, #0a0c20 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2vw, 2rem);
  box-shadow:
    var(--shadow-card),
    0 0 60px rgba(177, 74, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.slot-shell::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(
    135deg,
    rgba(177, 74, 255, 0.35),
    transparent 35%,
    rgba(255, 61, 170, 0.25) 70%,
    transparent
  );
  border-radius: inherit;
  z-index: 0;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  pointer-events: none;
}

.slot-shell > * {
  position: relative;
  z-index: 1;
}

.slot-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.slot-balance,
.slot-bet-display {
  background: rgba(7, 9, 28, 0.75);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
}

.slot-balance .coin,
.slot-bet-display .lbl {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
}

.slot-balance .val {
  color: var(--accent-3);
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
}

.slot-title {
  text-align: center;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.25em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(177, 74, 255, 0.25);
  flex: 1 1 auto;
  text-align: center;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: #060818;
  border: 2px solid rgba(177, 74, 255, 0.55);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  box-shadow:
    inset 0 0 50px rgba(177, 74, 255, 0.15),
    0 0 35px rgba(177, 74, 255, 0.35);
  position: relative;
}

.reel {
  height: 330px;
  overflow: hidden;
  position: relative;
  border-right: 1px solid rgba(38, 44, 92, 0.65);
}

.reel:last-child {
  border-right: 0;
}

.reel-strip {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.cell {
  flex: 0 0 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(38, 44, 92, 0.5);
  position: relative;
}

.cell:last-child {
  border-bottom: 0;
}

.symbol {
  width: 70px;
  height: 70px;
  transition: transform 0.3s ease;
}

.symbol svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 10px currentColor);
}

.cell.win .symbol {
  transform: scale(1.12);
  animation: pulse-win 1s ease-in-out infinite alternate;
}

@keyframes pulse-win {
  from {
    filter: brightness(1) drop-shadow(0 0 14px currentColor);
  }

  to {
    filter: brightness(1.4) drop-shadow(0 0 28px currentColor);
  }
}

.line-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.line-overlay svg {
  width: 100%;
  height: 100%;
}

.slot-controls {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.bet-stepper {
  display: inline-flex;
  align-items: center;
  background: rgba(7, 9, 28, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.25rem;
  gap: 0.25rem;
}

.bet-stepper button {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 700;
  background: rgba(177, 74, 255, 0.15);
  transition: background 0.2s ease;
}

.bet-stepper button:hover {
  background: rgba(177, 74, 255, 0.35);
}

.bet-stepper button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.bet-stepper .bet-info {
  text-align: center;
  padding: 0 1rem;
  min-width: 90px;
}

.bet-stepper .bet-info .lbl {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  display: block;
}

.bet-stepper .bet-info .val {
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}

.btn-spin {
  padding: 1rem 2.4rem;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.btn-spin:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.slot-message {
  text-align: center;
  margin-top: 1rem;
  min-height: 1.5rem;
  font-weight: 700;
  color: var(--muted);
  transition:
    color 0.25s ease,
    text-shadow 0.25s ease;
}

.slot-message.win {
  color: var(--accent-4);
  text-shadow: 0 0 16px rgba(77, 255, 157, 0.5);
}

.slot-message.fail {
  color: var(--danger);
}

.slot-payouts {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--border);
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.75rem;
}

.payout-tile {
  background: rgba(7, 9, 28, 0.65);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 0.5rem;
  text-align: center;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.payout-tile:hover {
  border-color: rgba(177, 74, 255, 0.55);
  transform: translateY(-2px);
}

.payout-tile .symbol {
  width: 42px;
  height: 42px;
  margin: 0 auto 0.35rem;
}

.payout-tile .mult {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  color: var(--text);
  font-size: 0.9rem;
}

.slot-aux {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.btn-reset {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

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

.shake {
  animation: shake 0.45s ease;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }

  20%,
  60% {
    transform: translateX(-8px);
  }

  40%,
  80% {
    transform: translateX(8px);
  }
}

/* ---------- Wheel of Fortune ---------- */
.wheel-stage {
  background: linear-gradient(180deg, #0d102a 0%, #0a0c20 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow:
    var(--shadow-card),
    0 0 60px rgba(255, 61, 170, 0.15);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.wheel-stage::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(255, 61, 170, 0.12),
    transparent 60%
  );
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.wheel-stage > * {
  position: relative;
}

.wheel-frame {
  position: relative;
  width: min(440px, 88vw);
  aspect-ratio: 1;
  margin: 1.5rem auto;
}

.wheel-pointer {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 46px;
  z-index: 3;
  filter: drop-shadow(0 4px 10px rgba(255, 61, 170, 0.6));
}

.wheel-svg-wrap {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.wheel-svg {
  width: 100%;
  height: 100%;
  transform: rotate(0deg);
  transform-origin: 50% 50%;
  transition: transform 5s cubic-bezier(0.17, 0.67, 0.27, 1);
  filter: drop-shadow(0 0 30px rgba(177, 74, 255, 0.5));
}

.wheel-hub {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 90px;
  height: 90px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: linear-gradient(135deg, #1a1e45 0%, #11142e 100%);
  border: 3px solid rgba(177, 74, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 30px rgba(177, 74, 255, 0.55),
    inset 0 0 18px rgba(255, 61, 170, 0.35);
  color: var(--accent-3);
  z-index: 2;
}

.wheel-hub svg {
  width: 38px;
  height: 38px;
}

.wheel-bottom {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.btn-wheel {
  padding: 1rem 2.4rem;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn-wheel.cooldown {
  background: rgba(7, 9, 28, 0.75);
  color: var(--muted);
  border: 1px solid var(--border);
  box-shadow: none;
  cursor: not-allowed;
}

.btn-wheel.cooldown:hover {
  transform: none;
  box-shadow: none;
}

.wheel-help {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 540px;
  margin: 0 auto;
}

.wheel-help strong {
  color: var(--accent-3);
}

.wheel-prizes {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  text-align: left;
}

.prize-pill {
  background: rgba(7, 9, 28, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 0.9rem;
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.prize-pill .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.prize-pill strong {
  color: var(--text);
  font-weight: 700;
}

/* Prize modal */
.prize-modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 9, 28, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 200;
}

.prize-modal.is-open {
  display: flex;
}

.prize-modal-inner {
  max-width: 460px;
  width: 100%;
  background: linear-gradient(180deg, #1a1e45, #11142e);
  border: 1px solid rgba(177, 74, 255, 0.55);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  text-align: center;
  box-shadow:
    var(--shadow-glow),
    0 30px 80px rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: hidden;
}

.prize-modal-inner h3 {
  font-size: 1.6rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.35rem;
}

.prize-modal-inner .prize-amount {
  font-family: "Sora", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-3);
  line-height: 1;
  margin: 1rem 0;
  text-shadow: 0 0 24px rgba(77, 238, 255, 0.55);
}

.prize-modal-inner p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.prize-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.confetti-piece {
  position: absolute;
  width: 8px;
  height: 14px;
  top: -20px;
  border-radius: 2px;
  animation: confetti-fall 2.5s linear forwards;
  pointer-events: none;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: translateY(620px) rotate(720deg);
    opacity: 0;
  }
}

/* ---------- Info section ---------- */
.info-section .info-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr 1fr;
}

.info-card {
  background: linear-gradient(
    180deg,
    rgba(26, 30, 69, 0.55),
    rgba(17, 20, 46, 0.85)
  );
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.info-card h3 {
  margin-bottom: 0.75rem;
  color: var(--text);
  font-size: 1.15rem;
}

.info-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-card.span-2 {
  grid-column: span 2;
}

.info-card .accent {
  color: var(--accent-2);
  font-weight: 700;
}

/* ---------- Logros + Clasificación ---------- */
.logros-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.logro {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(17, 20, 46, 0.65);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.logro:hover {
  border-color: rgba(77, 238, 255, 0.5);
  transform: translateY(-2px);
}

.logro-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 61, 170, 0.3),
    rgba(77, 238, 255, 0.25)
  );
  color: var(--text);
}

.logro-icon svg {
  width: 24px;
  height: 24px;
}

.logro h4 {
  margin: 0;
  font-size: 1rem;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
}

.logro p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.leaderboard {
  background: linear-gradient(
    180deg,
    rgba(26, 30, 69, 0.55),
    rgba(17, 20, 46, 0.85)
  );
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.leaderboard h3 {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-3);
}

.lb-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius);
  border-bottom: 1px solid rgba(38, 44, 92, 0.45);
}

.lb-row:last-child {
  border-bottom: 0;
}

.lb-row .rank {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}

.lb-row.top-1 .rank,
.lb-row.top-2 .rank,
.lb-row.top-3 .rank {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.1rem;
}

.lb-row.top-1 {
  background: linear-gradient(90deg, rgba(255, 61, 170, 0.12), transparent);
}

.lb-row .name {
  font-weight: 700;
}

.lb-row .score {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  color: var(--accent-3);
}

/* ---------- CTA panel ---------- */
.cta-panel {
  text-align: center;
  background: linear-gradient(
    140deg,
    rgba(177, 74, 255, 0.18),
    rgba(255, 61, 170, 0.14) 50%,
    rgba(77, 238, 255, 0.14)
  );
  border: 1px solid rgba(177, 74, 255, 0.4);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem) 1.5rem;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(177, 74, 255, 0.25),
    transparent 60%
  );
  pointer-events: none;
}

.cta-panel > * {
  position: relative;
}

.cta-panel h2 {
  margin-bottom: 0.75rem;
}

.cta-panel p {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 2rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, transparent, #04050f 60%);
  border-top: 1px solid var(--border-soft);
  padding: 4rem 0 2rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.footer-brand img {
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(177, 74, 255, 0.55));
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-3);
  margin-bottom: 1rem;
  font-family: "Sora", sans-serif;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.65rem;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.92rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- Generic legal page ---------- */
.legal-page {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter);
}

.legal-page h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--accent-3);
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

.legal-page ul,
.legal-page ol {
  padding-left: 1.5rem;
}

.legal-page li {
  margin-bottom: 0.5rem;
}

.legal-page a {
  color: var(--accent-2);
}

.legal-meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.legal-card {
  background: rgba(17, 20, 46, 0.65);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-form {
  background: rgba(17, 20, 46, 0.65);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-form .field {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(7, 9, 28, 0.65);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-info {
  background: linear-gradient(
    140deg,
    rgba(177, 74, 255, 0.14),
    rgba(77, 238, 255, 0.12)
  );
  border: 1px solid rgba(177, 74, 255, 0.35);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-info h3 {
  margin-bottom: 1rem;
  font-family: "Sora", sans-serif;
}

/* ---------- Popups (18+ and cookies) ---------- */
.gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 15, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 300;
}

.gate-overlay.is-open {
  display: flex;
}

.gate-card {
  max-width: 480px;
  background: linear-gradient(180deg, #1a1e45, #0c0f25);
  border: 1px solid rgba(177, 74, 255, 0.55);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  text-align: center;
  box-shadow:
    var(--shadow-glow),
    0 30px 80px rgba(0, 0, 0, 0.65);
}

.gate-card .gate-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0a0b1e;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 0 30px rgba(177, 74, 255, 0.55);
}

.gate-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.gate-card p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.gate-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cookies-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: linear-gradient(
    140deg,
    rgba(26, 30, 69, 0.96),
    rgba(7, 9, 28, 0.96)
  );
  border: 1px solid rgba(177, 74, 255, 0.4);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
  color: var(--text);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  z-index: 250;
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  max-width: 880px;
  margin: 0 auto;
}

.cookies-banner.is-open {
  display: flex;
}

.cookies-banner p {
  flex: 1 1 320px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cookies-banner p strong {
  color: var(--text);
}

.cookies-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.cookies-actions .btn {
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .info-section .info-grid {
    grid-template-columns: 1fr;
  }

  .info-card.span-2 {
    grid-column: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .wheel-prizes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    right: var(--gutter);
    top: calc(100% + 8px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.5rem;
    min-width: 200px;
    box-shadow: var(--shadow-card);
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
  }

  .nav a:hover {
    background: rgba(177, 74, 255, 0.12);
  }

  .nav a[aria-current="page"]::after {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .reel {
    height: 270px;
  }

  .cell {
    flex-basis: 90px;
    height: 90px;
  }

  .symbol {
    width: 56px;
    height: 56px;
  }

  .slot-payouts {
    grid-template-columns: repeat(7, minmax(64px, 1fr));
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }

  .logros-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .reel {
    height: 240px;
  }

  .cell {
    flex-basis: 80px;
    height: 80px;
  }

  .symbol {
    width: 48px;
    height: 48px;
  }

  .wheel-prizes {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-meta {
    gap: 0.75rem 1.5rem;
  }
}
