/* =========================
   VARIABLES
========================= */

:root {
  --bg: #030004;
  --bg2: #09000f;

  --orange: #ff3d00;
  --orange2: #ff9f00;
  --yellow: #ffe600;

  --pink: #ff007a;
  --purple: #7b2cff;
  --blue: #00c8ff;
  --green: #00ff8a;

  --text: #ffffff;
  --muted: #e4d8d2;

  --border: rgba(255,255,255,.12);
  --border-orange: rgba(255,90,20,.55);
}

/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background:
    radial-gradient(circle at 15% 10%, rgba(255,61,0,.22), transparent 28%),
    radial-gradient(circle at 85% 25%, rgba(123,44,255,.22), transparent 30%),
    radial-gradient(circle at 50% 90%, rgba(0,200,255,.12), transparent 35%),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px;
}

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

/* =========================
   FONDOS / EFECTOS
========================= */

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .06;
  background-image: url("https://grainy-gradients.vercel.app/noise.svg");
  z-index: 1;
}

.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle, white 20%, transparent 90%);
  z-index: 0;
}

.orb {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .65;
  z-index: 0;
  pointer-events: none;
}

.orb-1 {
  background: var(--orange);
  top: -120px;
  left: -120px;
}

.orb-2 {
  background: var(--purple);
  bottom: -160px;
  right: -120px;
}

/* =========================
   HEADER
========================= */

.header {
  width: 100%;
  height: 72px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  z-index: 10000;
  background: rgba(3,0,4,.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,90,20,.22);
  box-shadow: 0 0 35px rgba(255,61,0,.12);
  transition: .35s ease;
}

.header.scrolled {
  height: 62px;
  background: rgba(3,0,4,.95);
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
}

.logo {
  color: white;
  text-decoration: none;
  font-weight: 900;
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255,90,20,.65));
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), var(--orange2), var(--yellow));
  box-shadow: 0 0 25px rgba(255,90,20,.75);
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: #f4e9e4;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  transition: .25s ease;
}

.nav a:hover {
  color: var(--orange2);
  text-shadow: 0 0 16px rgba(255,159,0,.7);
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: white;
  font-size: 28px;
}

.menu-btn.active {
  color: var(--orange2);
  border-color: rgba(255,159,0,.55);
  box-shadow: 0 0 22px rgba(255,90,20,.35);
}

/* =========================
   BOTONES
========================= */

.btn {
  margin-top: 20px;
  padding: 15px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  display: inline-block;
  transition: .25s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
}

.primary,
.spin-btn,
.btn.primary {
  background: linear-gradient(135deg, var(--orange), var(--orange2), var(--yellow));
  color: #180300;
  box-shadow:
    0 0 25px rgba(255,61,0,.55),
    0 0 55px rgba(255,159,0,.25);
}

.primary:hover,
.spin-btn:hover {
  box-shadow:
    0 0 35px rgba(255,61,0,.75),
    0 0 80px rgba(255,230,0,.35);
}

.secondary {
  border: 1px solid rgba(255,255,255,.2);
  color: white;
  background: rgba(255,255,255,.055);
}

.whatsapp-btn {
  background: #25d366;
  color: #03120a;
  box-shadow: 0 0 45px rgba(37,211,102,.35);
}

/* =========================
   HERO
========================= */

.hero {
  min-height: 100vh;
  padding: 120px 7% 80px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
  background:
    radial-gradient(circle at 72% 30%, rgba(255,61,0,.35), transparent 32%),
    radial-gradient(circle at 85% 70%, rgba(123,44,255,.25), transparent 35%),
    radial-gradient(circle at 20% 85%, rgba(0,200,255,.13), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.055), transparent);
}

.badge {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid rgba(255,159,0,.65);
  color: var(--orange2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 3px;
  background: rgba(255,61,0,.13);
  box-shadow: 0 0 25px rgba(255,61,0,.22);
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(48px, 7vw, 100px);
  line-height: .9;
  font-weight: 900;
}

.hero h1 span {
  display: block;
  background: linear-gradient(90deg, #ffffff, var(--orange), var(--orange2), var(--yellow));
  -webkit-background-clip: text;
  color: transparent;
}

.hero p {
  margin-top: 26px;
  max-width: 680px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
}

/* =========================
   LAPTOP
========================= */

.hero-laptop {
  width: min(720px, 100%);
  margin: 40px auto;
  perspective: 1200px;
  animation: floatLaptop 6s ease-in-out infinite;
}

.laptop-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 12px;
  border-radius: 26px 26px 12px 12px;
  background: linear-gradient(145deg, #222, #050505 55%, #333);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow:
    0 0 0 3px #050505 inset,
    0 0 50px rgba(255,61,0,.35),
    0 0 90px rgba(123,44,255,.12),
    0 35px 80px rgba(0,0,0,.65);
  overflow: hidden;
  transform: rotateX(4deg);
}

.laptop-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px 16px 6px 6px;
}

.laptop-screen::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 16px 16px 6px 6px;
  background: linear-gradient(120deg, rgba(255,255,255,.18), transparent 34%, transparent 64%, rgba(255,90,20,.14));
  pointer-events: none;
}

.laptop-base {
  position: relative;
  width: 112%;
  height: 72px;
  margin-left: -6%;
  margin-top: -2px;
  border-radius: 0 0 36px 36px;
  background: linear-gradient(180deg, #3b3b3b, #151515 65%, #050505);
  box-shadow: 0 30px 70px rgba(0,0,0,.7), 0 0 45px rgba(255,90,20,.22);
  transform: perspective(900px) rotateX(58deg);
  transform-origin: top;
}

.trackpad {
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12);
}

@keyframes floatLaptop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* =========================
   STATS
========================= */

.stats {
  max-width: 1200px;
  margin: 40px auto 100px;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  padding: 0 30px;
  position: relative;
  z-index: 2;
}

.stat-card {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  padding: 35px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: .3s;
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,159,0,.55);
  box-shadow: 0 0 45px rgba(255,90,20,.24);
}

.stat-card h2 {
  font-size: clamp(44px, 8vw, 78px);
  line-height: 1;
  background: linear-gradient(90deg, var(--orange), var(--orange2), var(--yellow));
  -webkit-background-clip: text;
  color: transparent;
}

.stat-card p {
  color: var(--muted);
  font-size: 16px;
  margin-top: 12px;
}

/* =========================
   SECCIONES
========================= */

.section {
  padding: 95px 7%;
  position: relative;
  z-index: 2;
}

.section-title {
  margin-bottom: 45px;
}

.section-title span,
.roulette-info span,
.whatsapp-box span {
  color: var(--orange2);
  font-weight: 900;
  letter-spacing: 4px;
  font-size: 13px;
}

.section-title h2,
.system h2,
.whatsapp h2,
.roulette-info h2 {
  margin-top: 14px;
  font-size: clamp(38px, 5vw, 76px);
  line-height: .95;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature {
  min-height: 260px;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top, rgba(255,61,0,.18), transparent 40%),
    linear-gradient(160deg, rgba(255,90,20,.14), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.11);
  transition: .35s ease;
  position: relative;
  overflow: hidden;
}

.feature:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(255,159,0,.58);
  box-shadow: 0 25px 70px rgba(255,90,20,.2);
}

.feature img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 20px;
}

.feature h3 {
  color: var(--orange2);
  font-size: 18px;
}

.feature h4 {
  margin-top: 24px;
  font-size: 28px;
}

.feature p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* =========================
   RULETA / CASE
========================= */

.roulette-section {
  padding: 95px 7%;
  position: relative;
  z-index: 2;
}

.case-container {
  max-width: 1250px;
  margin: auto;
  padding: 42px;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,61,0,.48), transparent 36%),
    radial-gradient(circle at 100% 70%, rgba(123,44,255,.38), transparent 34%),
    radial-gradient(circle at 0% 90%, rgba(0,200,255,.18), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.025));
  border: 1px solid rgba(255,90,20,.55);
  box-shadow:
    0 0 55px rgba(255,61,0,.22),
    0 35px 100px rgba(0,0,0,.65);
}

.case-info {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 34px;
}

.case-info span {
  color: var(--orange2);
  font-weight: 900;
  letter-spacing: 4px;
  font-size: 13px;
}

.case-info h2 {
  margin-top: 14px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: .9;
  background: linear-gradient(90deg, #ffffff, var(--orange), var(--orange2), var(--yellow));
  -webkit-background-clip: text;
  color: transparent;
}

.case-info p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.case-game {
  position: relative;
  margin-top: 26px;
}

.case-window {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 26px 0;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.96), rgba(20,4,32,.45), rgba(0,0,0,.96)),
    radial-gradient(circle at center, rgba(255,61,0,.22), transparent 45%);
  border: 1px solid rgba(255,159,0,.24);
  box-shadow:
    inset 0 0 70px rgba(0,0,0,.8),
    0 0 60px rgba(255,61,0,.22);
}

.case-window::before,
.case-window::after {
  content: "";
  position: absolute;
  top: 0;
  width: 130px;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.case-window::before {
  left: 0;
  background: linear-gradient(90deg, #070201, transparent);
}

.case-window::after {
  right: 0;
  background: linear-gradient(-90deg, #070201, transparent);
}

.case-pointer {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  z-index: 10;
  width: 4px;
  height: 190px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, var(--yellow), var(--orange), #fff);
  box-shadow:
    0 0 22px rgba(255,61,0,1),
    0 0 55px rgba(255,230,0,.65);
}

.case-pointer::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 30px solid var(--orange);
  filter: drop-shadow(0 0 12px rgba(255,90,20,.95));
}

.case-track {
  display: flex;
  gap: 14px;
  width: max-content;
  padding: 0 50vw;
  transform: translateX(0);
  transition: transform 5s cubic-bezier(.08,.78,.12,1);
}

.case-item {
  width: 150px;
  min-width: 150px;
  height: 170px;
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 14px;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 25%, rgba(255,255,255,.22), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.11), rgba(0,0,0,.42));
  border: 1px solid rgba(255,255,255,.17);
  box-shadow:
    inset 0 0 35px rgba(255,255,255,.055),
    0 0 24px rgba(255,255,255,.045);
}

.case-item::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .82;
  background: linear-gradient(180deg, var(--rarity), transparent 72%);
  pointer-events: none;
}

.case-item::after {
  content: "";
  position: absolute;
  inset: auto 14px 0;
  height: 4px;
  border-radius: 999px;
  background: var(--rarity);
  box-shadow: 0 0 20px var(--rarity);
}

.case-item img {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 10px;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.65));
}

.case-item strong {
  position: relative;
  z-index: 2;
  display: block;
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  line-height: .95;
  letter-spacing: 1px;
  text-shadow: 0 3px 7px #000;
}

.case-item small {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.85);
  font-size: 12px;
  font-weight: 900;
}

.case-item.r-common {
  --rarity: rgba(0, 200, 255, .95);
}

.case-item.r-rare {
  --rarity: rgba(123, 44, 255, .95);
}

.case-item.r-epic {
  --rarity: rgba(255, 0, 122, .95);
}

.case-item.r-gold {
  --rarity: rgba(255, 230, 0, .95);
}

.case-item.r-red {
  --rarity: rgba(255, 45, 45, .95);
}

.spin-btn {
  display: block;
  width: min(280px, 100%);
  margin: 28px auto 0;
  font-size: 17px;
}

.roulette-lock {
  margin-top: 16px;
  color: #ffc2a5;
  font-weight: 800;
  text-align: center;
}

.roulette-timer {
  display: none;
  margin: 18px auto 0;
  padding: 16px;
  border-radius: 18px;
  background: rgba(0,0,0,.38);
  border: 1px solid rgba(255,90,20,.35);
  max-width: 320px;
  text-align: center;
}

.roulette-timer.show {
  display: block;
}

.roulette-timer span {
  display: block;
  color: #d8ceca;
  font-size: 14px;
  margin-bottom: 6px;
}

.roulette-timer strong {
  color: var(--orange2);
  font-size: 30px;
  font-family: 'Bebas Neue', sans-serif;
}

/* =========================
   MODAL PREMIO
========================= */

.prize-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.prize-modal.show {
  display: flex;
}

.prize-modal-card {
  width: min(460px, 92vw);
  position: relative;
  text-align: center;
  padding: 32px 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top, rgba(255,61,0,.50), transparent 42%),
    radial-gradient(circle at right, rgba(123,44,255,.24), transparent 38%),
    linear-gradient(180deg, #210707, #070008);
  border: 1px solid rgba(255,159,0,.55);
  box-shadow:
    0 0 70px rgba(255,61,0,.38),
    0 0 120px rgba(123,44,255,.18);
  overflow: hidden;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

.prize-modal-card img {
  width: 70px;
  height: 70px;
  margin: 0 auto 12px;
}

.prize-modal-card h3 {
  font-size: 48px;
  margin-bottom: 8px;
}

.prize-modal-card p {
  font-size: 16px;
}

.countdown-box {
  margin: 18px auto;
  padding: 14px;
  border-radius: 20px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,90,20,.35);
}

.countdown-box span {
  display: block;
  color: #d8ceca;
  font-size: 14px;
  margin-bottom: 8px;
}

.countdown-box strong {
  font-size: 28px;
  color: var(--orange2);
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

.modal-actions .btn {
  margin-top: 0;
}

.prize-modal.show ~ .global-spin-timer,
body.modal-open .global-spin-timer {
  display: none !important;
}

/* =========================
   BONOS / SISTEMA
========================= */

.system {
  margin: 40px 7%;
  padding: 70px;
  border-radius: 38px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  position: relative;
  z-index: 2;
  background:
    radial-gradient(circle at right, rgba(255,61,0,.28), transparent 35%),
    radial-gradient(circle at left bottom, rgba(123,44,255,.16), transparent 35%),
    linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.025));
  border: 1px solid rgba(255,90,20,.35);
}

.system p {
  color: var(--muted);
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.6;
}

.steps {
  display: grid;
  gap: 16px;
}

.steps div {
  padding: 22px;
  border-radius: 20px;
  background: rgba(0,0,0,.38);
  border: 1px solid rgba(255,255,255,.09);
  color: #f0e8e5;
  font-weight: 800;
}

.steps b {
  color: var(--orange2);
  margin-right: 12px;
}

/* =========================
   WHATSAPP / SORTEO
========================= */

.whatsapp {
  padding: 100px 7%;
  position: relative;
  z-index: 2;
}

.whatsapp-box {
  text-align: center;
  padding: 75px;
  border-radius: 40px;
  background:
    radial-gradient(circle at top, rgba(255,61,0,.38), transparent 38%),
    radial-gradient(circle at right, rgba(123,44,255,.22), transparent 35%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,90,20,.45);
  box-shadow: 0 0 60px rgba(255,61,0,.18);
}

.whatsapp-box p {
  max-width: 720px;
  margin: 22px auto 34px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 19px;
}

/* =========================
   CARRUSEL GANADORES
========================= */

.winner-carousel-section {
  position: relative;
  z-index: 3;
  padding: 40px 0 0;
  overflow: hidden;
}

.winner-carousel {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid rgba(255,90,20,.28);
  background:
    radial-gradient(circle at center, rgba(255,61,0,.2), transparent 45%),
    rgba(0,0,0,.42);
  backdrop-filter: blur(10px);
}

.winner-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 18px;
  animation: winnersMove 28s linear infinite;
}

.winner-card {
  width: 270px;
  min-width: 270px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,90,20,.2), rgba(255,255,255,.045));
  border: 1px solid rgba(255,159,0,.28);
  box-shadow: 0 0 30px rgba(255,90,20,.12);
}

.winner-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255,90,20,.45));
}

.winner-card strong {
  display: block;
  color: #fff;
  font-weight: 900;
  font-size: 16px;
}

.winner-card span {
  display: block;
  color: #d8ceca;
  font-size: 13px;
  line-height: 1.3;
}

@keyframes winnersMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================
   CONTADOR GLOBAL
========================= */

.global-spin-timer {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;

  width: min(420px, calc(100% - 32px));
  padding: 10px 20px;
  border-radius: 0 0 22px 22px;

  background: linear-gradient(135deg, #ff3d00, #ff9f00);
  text-align: center;
  display: none;
}

.global-spin-timer.show {
  display: block;
}

.global-spin-timer span {
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.4px;
  color: #170400;
}

.global-spin-timer strong {
  display: block;
  margin-top: 3px;
  font-size: 26px;
  line-height: 1;
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
}

@media (max-width: 600px) {
  .global-spin-timer {
    top: 74px;
    width: calc(100% - 28px);
    padding: 9px 14px;
    border-radius: 0 0 18px 18px;
  }

  .global-spin-timer span {
    font-size: 10px;
    letter-spacing: 1.2px;
  }

  .global-spin-timer strong {
    font-size: 24px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 150px;
  }
}


/* =========================
   MODAL LISTA PREMIOS
========================= */

.prizes-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.prizes-modal.show {
  display: flex;
}

.prizes-modal__box {
  width: min(440px, 100%);
  background:
    radial-gradient(circle at top, rgba(255,61,0,.50), transparent 42%),
    radial-gradient(circle at right, rgba(123,44,255,.24), transparent 38%),
    linear-gradient(180deg, #210707, #070008);
  border: 1px solid rgba(255,159,0,.55);
  border-radius: 24px;
  padding: 28px;
  color: #fff;
  position: relative;
  box-shadow:
    0 0 70px rgba(255,61,0,.38),
    0 0 120px rgba(123,44,255,.18);
}

.prizes-modal__box h2 {
  color: var(--orange2);
  margin-bottom: 8px;
}

.prizes-modal__box p {
  color: #d8d8d8;
  margin-bottom: 18px;
}

.prizes-modal__close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}

#prizesList {
  list-style: none;
  padding: 0;
  margin: 0;
}

#prizesList li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  font-weight: 700;
}

#prizesList img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* =========================
   LLUVIA DE FICHAS
========================= */

#chipRain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.38;
}

header,
main,
footer {
  position: relative;
  z-index: 2;
}

.global-spin-timer {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;

  width: min(420px, 90vw);
  min-width: unset;
  max-width: 420px;

  padding: 12px 24px;
  border-radius: 0 0 24px 24px;

  background: linear-gradient(135deg, #ff3d00, #ff9f00);
  box-shadow:
    0 0 25px rgba(255,61,0,.45),
    0 10px 35px rgba(0,0,0,.35);

  text-align: center;
  display: none;
}

.global-spin-timer.show {
  display: block;
}

.global-spin-timer span {
  display: block;
  font-size: 11px;
  font-weight: 900;
  color: #1a0802;
  letter-spacing: 1.5px;
}

.global-spin-timer strong {
  display: block;
  margin-top: 2px;
  font-size: 26px;
  line-height: 1;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px;
  color: #fff;
}

@media (max-width: 600px) {
  .global-spin-timer {
    top: 64px;
    width: min(300px, 90vw);
    padding: 10px 18px;
    border-radius: 0 0 18px 18px;
  }

  .global-spin-timer strong {
    font-size: 22px;
  }
}

/* =========================
   FOOTER
========================= */

footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 35px;
  color: #b5aaa6;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* =========================
   ANIMACIONES
========================= */

.reveal {
  opacity: 0;
  transform: translateY(35px) scale(.98);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* =========================
   TABLET
========================= */

@media (max-width: 900px) {
  .header {
    height: 64px;
    padding: 0 18px;
  }

  .menu-btn {
    display: block;
  }

  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    flex-direction: column;
    padding: 20px 7%;
    background: rgba(5,1,0,.96);
    border-bottom: 1px solid rgba(255,90,20,.2);
    opacity: 0;
    transform: translateY(-18px);
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transition: .35s ease;
  }

  .nav.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    max-height: 360px;
  }

  .hero,
  .system {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 110px 18px 65px;
    gap: 35px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

  .section {
    padding: 75px 18px;
  }

  .system {
    margin: 20px 18px;
    padding: 35px 24px;
  }

  .roulette-section {
    padding: 70px 18px;
  }

  .whatsapp {
    padding: 80px 18px;
  }

  .whatsapp-box {
    padding: 45px 22px;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {
  .logo {
    font-size: 19px;
    gap: 9px;
  }

  .logo-icon,
  .logo-mark {
    width: 34px;
    height: 34px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-laptop {
    margin: 20px auto 0;
  }

  .laptop-screen {
    padding: 8px;
    border-radius: 18px 18px 8px 8px;
  }

  .laptop-screen img {
    border-radius: 11px 11px 4px 4px;
  }

  .laptop-base {
    height: 44px;
  }

  .trackpad {
    width: 110px;
    height: 24px;
    top: 16px;
  }

  .grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .stats {
    padding: 0 18px;
    margin: 35px auto 60px;
  }

  .stat-card {
    padding: 30px 22px;
  }

  .section-title h2,
  .system h2,
  .whatsapp h2,
  .roulette-info h2 {
    font-size: 42px;
  }

  .roulette-section {
    padding: 70px 14px;
  }

  .case-container {
    padding: 28px 14px;
    border-radius: 28px;
  }

  .case-info {
    text-align: left;
    margin-bottom: 26px;
  }

  .case-info h2 {
    font-size: 44px;
  }

  .case-info p {
    font-size: 16px;
  }

  .case-window {
    padding: 18px 0;
    border-radius: 22px;
  }

  .case-track {
    gap: 10px;
    padding: 0 50vw;
  }

  .case-item {
    width: 112px;
    min-width: 112px;
    height: 140px;
    border-radius: 18px;
    padding: 10px;
  }

  .case-item img {
    width: 46px;
    height: 46px;
  }

  .case-item strong {
    font-size: 16px;
  }

  .case-item small {
    font-size: 10px;
  }

  .case-pointer {
    height: 154px;
    top: 8px;
  }

  .case-pointer::before {
    border-left-width: 14px;
    border-right-width: 14px;
    border-top-width: 24px;
  }

  .system {
    margin: 20px 18px;
    padding: 32px 20px;
  }

  .whatsapp-box {
    border-radius: 28px;
  }

  .prize-modal-card {
    padding: 36px 22px;
    border-radius: 26px;
  }

  .modal-actions .btn {
    width: 100%;
  }

  .global-spin-timer {
    position: fixed;
    top: 72px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;

    width: min(420px, 90vw);
    padding: 12px 24px;
    border-radius: 0 0 24px 24px;

    background: linear-gradient(135deg, #ff3d00, #ff9f00);
    display: none;
  }

  .global-spin-timer.show {
    display: block;
  }

  .header.scrolled ~ .global-spin-timer {
    top: 62px;
  }

  .global-spin-timer span {
    font-size: 10px;
  }

  .global-spin-timer strong {
    font-size: 22px;
  }
}

/* =========================
   MOBILE CHICO
========================= */

@media (max-width: 380px) {
  .hero h1 {
    font-size: 40px;
  }

  .case-item {
    width: 102px;
    min-width: 102px;
    height: 132px;
  }

  .case-item img {
    width: 42px;
    height: 42px;
  }

  .case-item strong {
    font-size: 15px;
  }
}

/* =========================
   caja misteriosa
========================= */

.mystery-box-banner{
  width: calc(100% - 32px);
  max-width: 1180px;
  margin: 45px auto;
  padding: 28px;

  display:grid;
  grid-template-columns: 1fr 260px;
  align-items:center;
  gap:28px;

  border-radius:28px;
  overflow:hidden;
  position:relative;

  background:
    radial-gradient(circle at left, rgba(255,90,20,.28), transparent 38%),
    radial-gradient(circle at right, rgba(123,44,255,.28), transparent 42%),
    linear-gradient(135deg,#130202,#090008);

  border:1px solid rgba(255,90,20,.25);
}

.mystery-box-banner::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size:50px 50px;
  pointer-events:none;
}

.mystery-box-info{
  position:relative;
  z-index:2;
}

.mystery-box-badge{
  display:inline-block;
  padding:9px 16px;
  border-radius:999px;
  color:#ff9f00;
  border:1px solid rgba(255,159,0,.45);
  font-size:12px;
  font-weight:900;
  letter-spacing:3px;
}

.mystery-box-info h2{
  margin:16px 0;
  font-size:clamp(38px,5vw,68px);
  line-height:.9;
  font-family:'Bebas Neue',sans-serif;
  background:linear-gradient(90deg,#fff,#ff5a14,#ff9f00,#ffe600);
  -webkit-background-clip:text;
  color:transparent;
}

.mystery-box-info p{
  max-width:520px;
  color:#d9d0cc;
  font-size:18px;
  line-height:1.5;
}

.mystery-box-btn{
  display:inline-flex;
  margin-top:24px;
  padding:16px 28px;
  border-radius:999px;
  text-decoration:none;
  font-weight:900;
  color:#130202;
  background:linear-gradient(135deg,#ff3d00,#ff9f00,#ffe600);
  box-shadow:0 0 30px rgba(255,90,20,.35);
}

.mystery-box-image{
  position:relative;
  z-index:2;
  display:flex;
  justify-content:center;
}

.mystery-box-image img{
  width:100%;
  max-width:240px;
  animation:boxFloat 2.4s ease-in-out infinite;
  filter:
    drop-shadow(0 0 35px rgba(255,90,20,.4))
    drop-shadow(0 0 80px rgba(255,230,0,.15));
}

@keyframes boxFloat{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-10px); }
}

@media(max-width:900px){
  .mystery-box-banner{
    width: calc(100% - 28px);
    margin: 28px auto;
    padding: 24px 20px;
    grid-template-columns:1fr;
    gap:18px;
    text-align:left;
    border-radius:24px;
  }

  .mystery-box-info h2{
    font-size:48px;
    margin:14px 0;
  }

  .mystery-box-info p{
    font-size:16px;
    line-height:1.45;
    max-width:320px;
  }

  .mystery-box-btn{
    margin-top:18px;
    padding:15px 24px;
    font-size:16px;
  }

  .mystery-box-image img{
    max-width:160px;
  }
}
/* =========================================================
   FIX 3.0 - Modal premios disponibles con scroll
   Evita que el listado de premios se corte en PC y mobile.
========================================================= */
.prizes-modal {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  align-items: center;
}

.prizes-modal__box {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 48px);
  overflow: hidden;
}

#prizesList {
  flex: 1 1 auto;
  min-height: 0;
  max-height: min(62vh, 560px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 122, 24, .85) rgba(255, 255, 255, .08);
}

#prizesList::-webkit-scrollbar {
  width: 8px;
}

#prizesList::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .08);
  border-radius: 999px;
}

#prizesList::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff7a18, #ff3b1f);
  border-radius: 999px;
}

#prizesList li:last-child {
  margin-bottom: 2px;
}

@media (max-width: 700px) {
  .prizes-modal {
    align-items: flex-start;
    padding: 90px 14px 24px;
  }

  .prizes-modal__box {
    width: 100%;
    max-height: calc(100vh - 120px);
    padding: 22px 16px;
    border-radius: 22px;
  }

  #prizesList {
    max-height: calc(100vh - 255px);
    padding-right: 6px;
  }

  #prizesList li {
    padding: 10px;
    gap: 10px;
  }

  #prizesList img {
    width: 44px;
    height: 44px;
  }
}

/* =========================================================
   FIX FINAL - Premios disponibles: scroll real + limpieza
   - El modal no se corta en PC/mobile.
   - El listado tiene scroll interno.
   - Oculta etiquetas técnicas como bonus/text si quedaron en caché.
========================================================= */
body .prizes-modal {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 82px 18px 28px !important;
  overflow: hidden !important;
  z-index: 99999 !important;
  background: rgba(0,0,0,.78) !important;
}

body .prizes-modal.show {
  display: flex !important;
}

body .prizes-modal__box {
  width: min(560px, calc(100vw - 36px)) !important;
  max-width: 560px !important;
  height: auto !important;
  max-height: calc(100dvh - 120px) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  padding: 28px !important;
  border-radius: 24px !important;
}

body .prizes-modal__box h2,
body .prizes-modal__box p {
  flex: 0 0 auto !important;
}

body #prizesList {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  max-height: calc(100dvh - 275px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 0 10px 0 0 !important;
  margin: 0 !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(255,122,24,.95) rgba(255,255,255,.10) !important;
}

body #prizesList::-webkit-scrollbar {
  width: 8px !important;
}

body #prizesList::-webkit-scrollbar-track {
  background: rgba(255,255,255,.10) !important;
  border-radius: 999px !important;
}

body #prizesList::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg,#ff9b25,#ff3b1f) !important;
  border-radius: 999px !important;
}

body #prizesList li {
  min-height: 78px !important;
  padding: 12px 16px !important;
  margin: 0 0 12px !important;
  border-radius: 16px !important;
}

body #prizesList img {
  width: 54px !important;
  height: 54px !important;
  flex: 0 0 54px !important;
}

body #prizesList strong {
  display: block !important;
  line-height: 1.08 !important;
}

body #prizesList small {
  display: none !important;
}

@media (max-width: 700px) {
  body .prizes-modal {
    align-items: flex-start !important;
    padding: 86px 12px 18px !important;
  }

  body .prizes-modal__box {
    width: 100% !important;
    max-height: calc(100dvh - 104px) !important;
    padding: 20px 14px !important;
    border-radius: 20px !important;
  }

  body #prizesList {
    max-height: calc(100dvh - 230px) !important;
    padding-right: 7px !important;
  }

  body #prizesList li {
    min-height: 70px !important;
    padding: 10px 12px !important;
  }

  body #prizesList img {
    width: 46px !important;
    height: 46px !important;
    flex-basis: 46px !important;
  }
}
