/* =========================================================
   SAMU BET WEB v0.3
   Archivo ordenado para editar fácil en VS Code.
   Paleta: rojo metálico, negro, dorado y plateado.
========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  padding-bottom: 92px;
  color: #ffffff;
  font-family: 'Poppins', Arial, sans-serif;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    radial-gradient(circle at 20% 10%, rgba(230, 0, 0, .38), transparent 35%),
    radial-gradient(circle at 85% 15%, rgba(255, 210, 0, .18), transparent 30%),
    #070707;
  background-size: 44px 44px, 44px 44px, auto, auto, auto;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

/* ---------- Fondo decorativo ---------- */
.background-effects {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.orb {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .35;
}

.orb-red {
  left: -120px;
  top: 80px;
  background: #ff0000;
}

.orb-gold {
  right: -160px;
  top: 180px;
  background: #d9a500;
}

.floating {
  position: absolute;
  color: rgba(255, 255, 255, .16);
  font-size: 80px;
  animation: float 8s ease-in-out infinite;
}

.floating-1 { top: 14%; left: 7%; }
.floating-2 { top: 62%; left: 11%; animation-delay: 1.2s; }
.floating-3 { top: 20%; right: 11%; animation-delay: 2s; }
.floating-4 { bottom: 18%; right: 14%; animation-delay: 3s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(8deg); }
}

/* ---------- Layout principal ---------- */
.app-shell {
  width: min(1480px, calc(100% - 48px));
  margin: 0 auto;
}

.section-panel {
  margin: 42px 0;
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 34px;
  background: rgba(16, 16, 16, .72);
  backdrop-filter: blur(22px);
  box-shadow: 0 0 70px rgba(255, 0, 0, .11);
}

.section-heading {
  text-align: center;
  margin-bottom: 34px;
}

.section-heading p {
  color: #ffd700;
  font-weight: 800;
  margin-bottom: 8px;
}

.section-heading h2 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: .95;
  letter-spacing: -2px;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(70,0,0,.72), rgba(10,10,10,.80) 55%, rgba(120,80,0,.22)),
    rgba(17,17,17,.85);
}

.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
}

.logo {
  width: 430px;
  border-radius: 26px;
  filter:
    drop-shadow(0 0 28px rgba(255,0,0,.75))
    drop-shadow(0 0 80px rgba(255,0,0,.35));
  transition: .35s ease;
}

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

.hero-content {
  text-align: left;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 215, 0, .45);
  border-radius: 999px;
  color: #ffd700;
  background: rgba(255, 215, 0, .08);
  font-weight: 800;
  font-size: 14px;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(54px, 8vw, 104px);
  line-height: .88;
  letter-spacing: -5px;
  text-transform: uppercase;
  text-shadow: 0 0 35px rgba(255,0,0,.34);
}

.subtitle {
  margin-top: 22px;
  color: #e7e7e7;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 700;
}

.trust {
  margin-top: 12px;
  color: #d3d3d3;
  font-size: 18px;
}

.trust strong {
  color: #ffd700;
}

.actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 24px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 900;
  transition: .25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #ff1515, #990000);
  color: #fff;
  box-shadow: 0 0 28px rgba(255, 0, 0, .38);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 44px rgba(255, 0, 0, .65);
}

.btn-secondary {
  color: #ffd700;
  border: 2px solid #ffd700;
  background: rgba(255, 215, 0, .06);
}

.btn-secondary:hover {
  color: #111;
  background: #ffd700;
  transform: translateY(-4px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.hero-stats article {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255,255,255,.08);
}

.hero-stats strong {
  display: block;
  color: #ffd700;
  font-size: 28px;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  color: #cfcfcf;
  font-size: 13px;
}

/* ---------- Plataformas ---------- */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.platform-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 34px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  transition: .28s ease;
}

.platform-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(circle at top left, rgba(255,0,0,.32), transparent 40%);
  opacity: 0;
  transition: .28s ease;
}

.platform-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 0, 0, .45);
}

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

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

.platform-card img {
  width: 220px;
  height: 92px;
  object-fit: contain;
  margin-bottom: 24px;
}

.platform-card h3 {
  font-size: 36px;
  margin-bottom: 16px;
}

.platform-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  color: #dedede;
  margin-bottom: 26px;
}

.platform-card a {
  display: inline-flex;
  padding: 12px 20px;
  border-radius: 12px;
  background: #ffd700;
  color: #141414;
  text-decoration: none;
  font-weight: 900;
}

/* ---------- Samu Bonus ---------- */
.bonus-section {
  background: linear-gradient(135deg, rgba(62,0,0,.60), rgba(10,10,10,.80));
}

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

.bonus-card {
  min-height: 210px;
  padding: 26px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: #fff;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: .25s ease;
}

.bonus-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(160,0,0,.55);
  box-shadow: 0 0 34px rgba(255,0,0,.25);
}

.bonus-card span {
  display: block;
  font-size: 44px;
  margin-bottom: 22px;
}

.bonus-card strong {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

.bonus-card small {
  color: #cfcfcf;
}

/* ---------- Códigos ganadores ---------- */
.codes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.code-card {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}

.code-badge {
  display: inline-flex;
  padding: 6px 10px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(0, 190, 95, .20);
  color: #7dffb2;
  font-size: 12px;
  font-weight: 900;
}

.code-badge.muted {
  background: rgba(255,255,255,.10);
  color: #cfcfcf;
}

.code-card h3 {
  color: #ffd700;
  font-size: 26px;
  margin-bottom: 8px;
}

.code-card p {
  color: #d1d1d1;
}

/* ---------- Contacto ---------- */
.contact-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px;
  border-radius: 26px;
  text-align: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}

.contact-card p {
  margin-bottom: 12px;
  color: #ddd;
}

.contact-card .btn {
  margin: 22px auto;
}

.contact-card small {
  color: #a9a9a9;
}

/* ---------- Navegación inferior ---------- */
.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 20;
  width: min(760px, calc(100% - 24px));
  height: 74px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  border-radius: 24px;
  background: rgba(10, 10, 10, .82);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(20px);
  box-shadow: 0 0 45px rgba(0,0,0,.45);
}

.bottom-nav a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 800;
}

.bottom-nav span {
  font-size: 12px;
}

.bottom-nav a:hover {
  color: #ffd700;
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(12px);
}

.modal.active {
  display: grid;
}

.modal-box {
  width: min(460px, 100%);
  padding: 32px;
  border-radius: 26px;
  position: relative;
  background: linear-gradient(145deg, #1b1b1b, #300000);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 0 60px rgba(255,0,0,.28);
  text-align: center;
}

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

.modal-box h3 {
  color: #ffd700;
  font-size: 28px;
  margin-bottom: 12px;
}

.modal-box p {
  color: #ddd;
  margin-bottom: 22px;
}

/* ---------- Animaciones JS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: .7s ease;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .app-shell {
    width: min(100% - 24px, 760px);
  }

  .section-panel {
    padding: 30px 20px;
    border-radius: 28px;
  }

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

  .hero-content {
    text-align: center;
  }

  .actions {
    justify-content: center;
  }

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

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

  .logo {
    width: 320px;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: 98px;
  }

  .app-shell {
    width: calc(100% - 16px);
  }

  .hero {
    min-height: auto;
    margin-top: 18px;
  }

  .hero h1 {
    letter-spacing: -2px;
  }

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

  .actions .btn {
    width: 100%;
  }

  .platform-card img {
    width: 180px;
  }
}
.daily-code-card{
    max-width:720px;
    margin:0 auto;
    padding:45px;
    border-radius:34px;
    text-align:center;
    background:
      radial-gradient(circle at top left, rgba(255,0,0,.28), transparent 35%),
      linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
    border:1px solid rgba(255,255,255,.14);
    box-shadow:0 0 45px rgba(255,0,0,.18);
}

.daily-label{
    color:#ffd700;
    font-weight:900;
    letter-spacing:2px;
    margin-bottom:18px;
}

.daily-code-card h3{
    font-size:58px;
    color:#ffd700;
    margin-bottom:12px;
    text-shadow:0 0 22px rgba(255,215,0,.35);
}

.daily-prize{
    font-size:22px;
    margin-bottom:28px;
    color:#fff;
}

.countdown-box{
    display:inline-flex;
    flex-direction:column;
    gap:8px;
    padding:18px 34px;
    border-radius:22px;
    background:rgba(0,0,0,.35);
    border:1px solid rgba(255,215,0,.25);
    margin-bottom:25px;
}

.countdown-box span{
    color:#bdbdbd;
    font-size:14px;
}

.countdown-box strong{
    color:#fff;
    font-size:30px;
}

.copy-btn{
    display:block;
    margin:0 auto;
    padding:18px 34px;
    border:none;
    border-radius:18px;
    background:#e30000;
    color:#fff;
    font-weight:900;
    font-size:17px;
    cursor:pointer;
    box-shadow:0 0 28px rgba(255,0,0,.35);
    transition:.25s;
}

.copy-btn:hover{
    transform:translateY(-3px) scale(1.03);
    background:#ff1a1a;
}

.copy-message{
    margin-top:18px;
    color:#00ff88;
    font-weight:800;
}/*==========================
MODAL
==========================*/

.modal{

position:fixed;

top:0;
left:0;

width:100%;
height:100%;

display:none;

justify-content:center;
align-items:center;

background:rgba(0,0,0,.82);

backdrop-filter:blur(8px);

z-index:9999;

animation:fade .35s;

}

@keyframes fade{

from{
opacity:0;
}

to{
opacity:1;
}

}

.roulette-box{

width:420px;

max-width:92%;

background:#151515;

border-radius:30px;

padding:40px;

text-align:center;

border:1px solid rgba(255,255,255,.08);

box-shadow:
0 0 70px rgba(255,0,0,.25);

position:relative;

}

.close-modal{

position:absolute;

top:15px;
right:20px;

background:none;

border:none;

color:white;

font-size:25px;

cursor:pointer;

}

.roulette-wheel{

margin:35px auto;

width:220px;

height:220px;

border-radius:50%;

display:flex;

justify-content:center;

align-items:center;

border:10px solid #FFD500;

background:#222;

box-shadow:
0 0 35px red;

overflow:hidden;

}

#wheel{

font-size:80px;

transition:4s;

}

.spin-btn{

background:red;

color:white;

border:none;

padding:18px 45px;

border-radius:15px;

font-size:18px;

font-weight:bold;

cursor:pointer;

transition:.3s;

}

.spin-btn:hover{

transform:scale(1.05);

}.premium-roulette{
  overflow:visible;
}

.pointer{
  color:#ffd700;
  font-size:38px;
  margin-bottom:-8px;
  text-shadow:0 0 18px #ffd700;
}

.wheel-premium{
  width:280px;
  height:280px;
  margin:0 auto 28px;
  border-radius:50%;
  position:relative;
  border:10px solid #ffd700;
  box-shadow:0 0 35px rgba(255,0,0,.65), inset 0 0 25px rgba(0,0,0,.8);
  background:conic-gradient(
    #d60000 0deg 60deg,
    #202020 60deg 120deg,
    #ffd700 120deg 180deg,
    #8b0000 180deg 240deg,
    #2b2b2b 240deg 300deg,
    #ff2b2b 300deg 360deg
  );
  transition:transform 4s cubic-bezier(.12,.75,.18,1);
}

.wheel-premium::after{
  content:"";
  position:absolute;
  inset:92px;
  border-radius:50%;
  background:#111;
  border:5px solid #ffd700;
  box-shadow:0 0 20px rgba(255,215,0,.4);
}

.slice{
  position:absolute;
  width:70px;
  height:30px;
  left:50%;
  top:50%;
  margin-left:-35px;
  margin-top:-15px;
  font-weight:900;
  color:#fff;
  z-index:2;
  text-align:center;
  text-shadow:0 2px 4px #000;
}

.s1{ transform:rotate(30deg) translateY(-98px) rotate(-30deg); }
.s2{ transform:rotate(90deg) translateY(-98px) rotate(-90deg); }
.s3{ transform:rotate(150deg) translateY(-98px) rotate(-150deg); }
.s4{ transform:rotate(210deg) translateY(-98px) rotate(-210deg); }
.s5{ transform:rotate(270deg) translateY(-98px) rotate(-270deg); }
.s6{ transform:rotate(330deg) translateY(-98px) rotate(-330deg); }

.roulette-result{
  margin-top:20px;
  font-size:20px;
  font-weight:900;
  color:#ffd700;
  text-align:center;
}
/* =========================================================
   FIX v0.4 - Ruleta premium corregida
========================================================= */

.roulette-modal.active{
  display:grid;
}

.roulette-box.premium-roulette{
  width:min(520px, 94vw);
  padding:34px 26px 30px;
  border-radius:30px;
  position:relative;
  text-align:center;
  background:
    radial-gradient(circle at top, rgba(255,0,0,.18), transparent 42%),
    linear-gradient(145deg, #181818, #0d0d0d);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 0 70px rgba(255,0,0,.28);
}

.roulette-box h2{
  margin:0;
  font-size:28px;
  color:#fff;
}

.roulette-subtitle{
  margin:8px 0 18px;
  color:#cfcfcf;
}

.roulette-stage{
  position:relative;
  width:300px;
  max-width:100%;
  margin:0 auto 26px;
}

.roulette-pointer{
  position:absolute;
  left:50%;
  top:-15px;
  transform:translateX(-50%);
  color:#ffd700;
  font-size:38px;
  z-index:5;
  text-shadow:0 0 18px #ffd700;
}

.wheel-premium{
  width:280px;
  height:280px;
  margin:28px auto 0;
  border-radius:50%;
  position:relative;
  border:10px solid #ffd700;
  overflow:hidden;
  background:conic-gradient(
    #d60000 0deg 60deg,
    #202020 60deg 120deg,
    #ffd700 120deg 180deg,
    #8b0000 180deg 240deg,
    #2b2b2b 240deg 300deg,
    #ff2b2b 300deg 360deg
  );
  box-shadow:0 0 35px rgba(255,0,0,.65), inset 0 0 25px rgba(0,0,0,.8);
  transition:transform 4s cubic-bezier(.12,.75,.18,1);
}

.wheel-premium::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  background:repeating-conic-gradient(from 0deg, rgba(255,255,255,.10) 0deg 2deg, transparent 2deg 60deg);
  pointer-events:none;
}

.wheel-premium::after{
  content:"";
  position:absolute;
  width:82px;
  height:82px;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%);
  border-radius:50%;
  background:#111;
  border:5px solid #ffd700;
  box-shadow:0 0 20px rgba(255,215,0,.45);
  z-index:4;
}

.wheel-premium .slice{
  position:absolute;
  left:50%;
  top:50%;
  width:74px;
  height:28px;
  margin-left:-37px;
  margin-top:-14px;
  z-index:3;
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:18px;
  font-weight:900;
  line-height:1;
  color:#fff;
  text-shadow:0 3px 6px #000;
}

.wheel-premium .s1{ transform:rotate(30deg) translateY(-98px) rotate(-30deg); }
.wheel-premium .s2{ transform:rotate(90deg) translateY(-98px) rotate(-90deg); }
.wheel-premium .s3{ transform:rotate(150deg) translateY(-98px) rotate(-150deg); }
.wheel-premium .s4{ transform:rotate(210deg) translateY(-98px) rotate(-210deg); }
.wheel-premium .s5{ transform:rotate(270deg) translateY(-98px) rotate(-270deg); font-size:30px; }
.wheel-premium .s6{ transform:rotate(330deg) translateY(-98px) rotate(-330deg); }

.roulette-result{
  min-height:58px;
  margin-top:20px;
  font-size:20px;
  font-weight:900;
  color:#ffd700;
  text-align:center;
}

.roulette-result strong{
  display:inline-block;
  margin-top:6px;
  font-size:30px;
  color:#fff;
  text-shadow:0 0 18px rgba(255,0,0,.5);
}

.claim-btn{
  display:none;
  width:max-content;
  max-width:100%;
  margin:14px auto 0;
  padding:14px 20px;
  border-radius:14px;
  background:#25d366;
  color:#071b0f;
  text-decoration:none;
  font-weight:900;
}

.claim-btn.show{
  display:inline-flex;
}

@media (max-width:560px){
  .wheel-premium{
    width:240px;
    height:240px;
  }

  .wheel-premium::after{
    width:70px;
    height:70px;
  }

  .wheel-premium .slice{
    transform-origin:center;
    font-size:15px;
  }

  .wheel-premium .s1{ transform:rotate(30deg) translateY(-82px) rotate(-30deg); }
  .wheel-premium .s2{ transform:rotate(90deg) translateY(-82px) rotate(-90deg); }
  .wheel-premium .s3{ transform:rotate(150deg) translateY(-82px) rotate(-150deg); }
  .wheel-premium .s4{ transform:rotate(210deg) translateY(-82px) rotate(-210deg); }
  .wheel-premium .s5{ transform:rotate(270deg) translateY(-82px) rotate(-270deg); }
  .wheel-premium .s6{ transform:rotate(330deg) translateY(-82px) rotate(-330deg); }
}

/* =========================================================
   v0.5 - Código exclusivo para activar ruleta
========================================================= */
.code-gate{
  width:min(360px, 100%);
  margin:22px auto 0;
  padding:22px;
  border-radius:22px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:inset 0 0 22px rgba(255,0,0,.08);
}

.code-gate label{
  display:block;
  margin-bottom:10px;
  color:#ffd700;
  font-weight:900;
  letter-spacing:.8px;
}

.code-gate input{
  width:100%;
  padding:15px 16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.18);
  outline:none;
  background:#0e0e0e;
  color:#fff;
  font-size:18px;
  font-weight:900;
  text-align:center;
  text-transform:uppercase;
}

.code-gate input:focus{
  border-color:#ffd700;
  box-shadow:0 0 18px rgba(255,215,0,.18);
}

.validate-code-btn{
  width:100%;
  margin-top:14px;
  padding:15px 18px;
  border:0;
  border-radius:14px;
  background:#e30000;
  color:#fff;
  font-weight:900;
  font-size:16px;
  cursor:pointer;
  box-shadow:0 0 24px rgba(255,0,0,.28);
}

.code-help{
  margin-top:12px;
  color:#cfcfcf;
  font-size:13px;
}

.code-error{
  min-height:20px;
  margin-top:10px;
  color:#ff6b6b;
  font-size:14px;
  font-weight:800;
}

.hidden-step{
  display:none !important;
}

.roulette-game{
  display:none;
}

.roulette-game.active{
  display:block;
}

.spin-btn:disabled{
  opacity:.65;
  cursor:not-allowed;
  transform:none !important;
}

.roulette-result small{
  display:block;
  margin-top:8px;
  color:#cfcfcf;
  font-size:13px;
  font-weight:700;
}


/* =========================================================
   v0.6 - Ruleta decorativa: premio oculto hasta finalizar
========================================================= */
.wheel-premium .slice{
  font-size:28px !important;
  text-shadow:0 3px 10px #000;
  filter:drop-shadow(0 0 6px rgba(255,255,255,.25));
}
.wheel-premium .s1,
.wheel-premium .s2,
.wheel-premium .s3,
.wheel-premium .s4,
.wheel-premium .s5,
.wheel-premium .s6{
  color:#fff;
}
.roulette-subtitle::after{
  content:" El premio se revela al finalizar.";
  color:#ffd700;
  font-weight:800;
}


/* =========================================================
   v0.8 - Cronograma editable, plataformas y prueba social
========================================================= */
.btn-tertiary{
  border:1px solid rgba(255,255,255,.2);
  background:rgba(255,255,255,.06);
  color:#fff;
}
.btn-tertiary:hover{
  border-color:#ffd700;
  color:#ffd700;
  transform:translateY(-3px);
}
.actions .btn{cursor:pointer;font-family:inherit;}
.platform-features{min-height:190px;}
.platform-card a.disabled{
  pointer-events:none;
  opacity:.5;
  filter:grayscale(1);
}
.proof-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.proof-card{
  padding:24px;
  border-radius:24px;
  background:linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.025));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 18px 45px rgba(0,0,0,.22);
}
.proof-card h3{font-size:22px;margin-bottom:8px;color:#fff;}
.proof-card strong{display:block;color:#ffd700;font-size:30px;margin:8px 0;}
.proof-card p{color:#d6d6d6;line-height:1.55;}
.proof-card .paid-badge{display:inline-block;margin-top:14px;padding:7px 12px;border-radius:999px;background:#106b35;color:#bfffd7;font-weight:900;font-size:12px;}
.proof-empty{grid-column:1/-1;text-align:center;color:#cfcfcf;padding:34px;border:1px dashed rgba(255,255,255,.18);border-radius:22px;}
.schedule-modal{padding:18px;overflow-y:auto;align-items:flex-start;}
.schedule-box{
  position:relative;
  width:min(760px,100%);
  margin:30px auto;
  padding:34px;
  border-radius:30px;
  background:linear-gradient(145deg,#241111,#0b0b0b);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 0 70px rgba(255,0,0,.25);
  text-align:center;
}
.schedule-kicker{color:#ffd700;font-weight:900;text-transform:uppercase;letter-spacing:1px;}
.schedule-box h2{font-size:clamp(32px,6vw,54px);margin:8px 0 10px;}
.schedule-description{color:#d1d1d1;margin-bottom:22px;}
.schedule-box img{width:min(520px,100%);margin:0 auto 22px;border-radius:20px;box-shadow:0 0 30px rgba(255,0,0,.2);}
.schedule-text{max-width:620px;margin:0 auto 22px;color:#f2f2f2;white-space:pre-line;line-height:1.65;text-align:left;}
@media(max-width:900px){.proof-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:620px){.proof-grid{grid-template-columns:1fr}.schedule-box{padding:24px 18px}.platform-features{min-height:0}}

/* v0.9: imágenes de premios y referencias */
.proof-image{width:100%;height:220px;object-fit:cover;border-radius:18px;margin-bottom:16px;border:1px solid rgba(255,255,255,.12);background:#111}.proof-card{overflow:hidden}.proof-card:has(.proof-image){padding-top:16px}
@media(max-width:700px){.proof-image{height:180px}}

/* Gestor de premios personalizados */
.managed-item{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;margin-top:12px;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:rgba(0,0,0,.22)}
.managed-item small{display:block;margin-top:6px;opacity:.75}
@media(max-width:760px){.managed-item{align-items:flex-start;flex-direction:column}.managed-item .table-actions{width:100%;flex-wrap:wrap}}


/* ---------- Instalación PWA ---------- */
.app-install-fab{position:fixed;right:18px;bottom:104px;z-index:9000;display:flex;align-items:center;gap:8px;padding:13px 17px;border:1px solid rgba(255,215,0,.42);border-radius:999px;background:linear-gradient(135deg,#e60000,#8b0000);color:#fff;font:800 14px 'Poppins',sans-serif;box-shadow:0 12px 35px rgba(255,0,0,.35);cursor:pointer;animation:pwaPulse 2.2s infinite}.app-install-fab[hidden]{display:none}.app-install-fab:hover{transform:translateY(-2px)}
@keyframes pwaPulse{0%,100%{box-shadow:0 10px 28px rgba(255,0,0,.28)}50%{box-shadow:0 10px 42px rgba(255,215,0,.28)}}
@media(max-width:560px){.app-install-fab{right:12px;bottom:92px;padding:12px 14px}.app-install-fab span{display:none}}
@media(display-mode:standalone){.app-install-fab{display:none!important}body{overscroll-behavior-y:contain}}


/* =========================================================
   v3.5 Community Update: carruseles, visor y líneas directas
========================================================= */
.carousel-shell{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px}.proof-carousel{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;padding:8px 4px 18px;scrollbar-width:thin;scrollbar-color:#b40000 #171717}.proof-carousel .carousel-card{flex:0 0 min(360px,84vw);scroll-snap-align:start;cursor:zoom-in}.carousel-arrow{width:48px;height:48px;border-radius:50%;border:1px solid rgba(255,215,0,.35);background:rgba(18,18,18,.92);color:#ffd700;font-size:34px;cursor:pointer;z-index:2}.carousel-arrow:hover{background:#8b0000;color:#fff}.image-viewer{display:none;position:fixed;inset:0;z-index:30000;background:rgba(0,0,0,.94);backdrop-filter:blur(8px);align-items:center;justify-content:center;padding:60px 70px}.image-viewer.active{display:flex}.image-viewer figure{margin:0;text-align:center;max-width:min(1100px,90vw)}.image-viewer img{max-width:100%;max-height:78vh;object-fit:contain;border-radius:18px;box-shadow:0 0 55px rgba(255,0,0,.25)}.image-viewer figcaption{color:#fff;margin-top:14px;font-weight:800}.viewer-close{position:absolute;right:20px;top:18px;width:46px;height:46px;border:0;border-radius:50%;background:#b40000;color:#fff;font-size:28px;cursor:pointer}.viewer-arrow{position:absolute;top:50%;transform:translateY(-50%);width:54px;height:72px;border:0;border-radius:16px;background:rgba(255,255,255,.09);color:#fff;font-size:42px;cursor:pointer}.viewer-prev{left:14px}.viewer-next{right:14px}.lines-modal-box{width:min(520px,94vw)}.lines-selector{display:grid;gap:12px;margin-top:22px}.line-option{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;width:100%;padding:16px;border-radius:18px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);color:#fff;text-align:left;cursor:pointer}.line-option:not(:disabled):hover{transform:translateY(-2px);border-color:#ffd700;background:rgba(180,0,0,.22)}.line-option:disabled{opacity:.55;cursor:not-allowed}.line-option span{font-size:24px}.line-option strong,.line-option small{display:block}.line-option small{color:#cfcfcf;margin-top:3px}.line-option em{color:#ffd700;font-size:11px;font-style:normal;font-weight:900;text-transform:uppercase}.contact-lines-list{display:grid;gap:8px;margin-bottom:20px}.contact-lines-list p{margin:0}.actions button.btn{width:auto}.contact-card button.btn{margin:14px auto}.proof-image{cursor:zoom-in}
@media(max-width:700px){.carousel-shell{grid-template-columns:1fr}.carousel-arrow{display:none}.proof-carousel{margin-inline:-12px;padding-inline:12px}.image-viewer{padding:62px 12px}.viewer-arrow{width:42px;height:58px;font-size:32px}.viewer-prev{left:4px}.viewer-next{right:4px}}


/* =========================================================
   V3.6 CONTROL CENTER
========================================================= */
.announcement-bar{position:sticky;top:0;z-index:12000;display:flex;align-items:center;justify-content:center;gap:16px;padding:12px 52px 12px 18px;color:#fff;font-weight:900;text-align:center;box-shadow:0 8px 30px rgba(0,0,0,.28)}.announcement-bar[hidden]{display:none}.announcement-bar.fire{background:linear-gradient(90deg,#8b0000,#ef1800,#8b0000)}.announcement-bar.gold{background:linear-gradient(90deg,#705300,#d49a00,#705300);color:#fff}.announcement-bar.info{background:linear-gradient(90deg,#073c64,#087cbf,#073c64)}.announcement-bar.success{background:linear-gradient(90deg,#075a2b,#10a85b,#075a2b)}.announcement-bar button{position:absolute;right:14px;border:0;background:rgba(0,0,0,.25);color:#fff;width:30px;height:30px;border-radius:50%;font-size:20px;cursor:pointer}
.maintenance-overlay{display:none;position:fixed;inset:0;z-index:50000;align-items:center;justify-content:center;padding:24px;background:radial-gradient(circle at top,rgba(180,0,0,.34),transparent 45%),#050505}.maintenance-overlay.active{display:flex}.maintenance-box{width:min(680px,100%);padding:42px;text-align:center;border-radius:34px;background:linear-gradient(145deg,#2b1010,#0a0a0a);border:1px solid rgba(255,255,255,.14);box-shadow:0 0 80px rgba(255,0,0,.25)}.maintenance-box img{width:min(260px,70%);filter:drop-shadow(0 0 28px rgba(255,0,0,.5))}.maintenance-box>p{color:#ffd700;font-weight:900;text-transform:uppercase;letter-spacing:2px}.maintenance-box h1{font-size:clamp(34px,7vw,66px);margin:10px 0}.maintenance-box div{color:#ddd;font-size:18px;line-height:1.65}.maintenance-box .btn{margin:26px auto 12px}.maintenance-box small{display:block;color:#aaa;margin-top:18px}.maintenance-active{overflow:hidden}
.control-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.control-stats .stat-card strong{font-size:clamp(24px,3vw,34px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.analytics-card .section-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.analytics-chart{height:260px;display:grid;grid-template-columns:repeat(7,1fr);align-items:end;gap:14px;padding:26px 12px 4px;border-radius:22px;background:rgba(0,0,0,.24);border:1px solid rgba(255,255,255,.08)}.chart-day{height:100%;display:grid;grid-template-rows:1fr auto auto;gap:5px;text-align:center;color:#ccc}.chart-bars{display:flex;align-items:end;justify-content:center;gap:4px;min-height:160px}.bar{display:block;width:10px;min-height:4px;border-radius:8px 8px 2px 2px}.bar.visit{background:#ffd700}.bar.spin{background:#e30000}.bar.whatsapp{background:#18c46c}.chart-day small{font-size:10px}.section-row{display:flex;justify-content:space-between;align-items:center;gap:16px}.maintenance-card{border-color:rgba(255,180,0,.22)}.maintenance-switch{font-size:18px;color:#ffd700!important}.save-feedback{margin-top:14px;color:#00ff88;font-weight:800;min-height:20px}
@media(max-width:1050px){.control-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.control-stats{grid-template-columns:1fr}.analytics-chart{gap:6px;padding-inline:4px}.bar{width:7px}.analytics-card .section-row{align-items:flex-start;flex-direction:column}.announcement-bar{font-size:13px;padding-left:10px}.maintenance-box{padding:28px 18px}}

.pwa-update-toast{position:fixed;left:50%;bottom:92px;transform:translateX(-50%);z-index:45000;border:1px solid #ffd700;border-radius:999px;padding:13px 18px;background:#111;color:#fff;font-weight:900;box-shadow:0 10px 30px rgba(0,0,0,.5);cursor:pointer}


/* === V3.9 ESTABLE: ruleta compacta y segundo código === */
.roulette-modal{overflow-y:auto;padding:14px 10px;}
.roulette-box.premium-roulette{
  width:min(500px,96vw);
  max-height:calc(100dvh - 24px);
  overflow-y:auto;
  padding:24px 26px;
}
.roulette-box.premium-roulette h2{font-size:clamp(24px,4vw,34px);margin-bottom:8px;}
.roulette-subtitle{margin-bottom:14px;}
.roulette-game{gap:10px;}
.wheel-premium{width:250px;height:250px;}
.wheel-premium .s1{transform:rotate(30deg) translateY(-76px) rotate(-30deg);}
.wheel-premium .s2{transform:rotate(90deg) translateY(-76px) rotate(-90deg);}
.wheel-premium .s3{transform:rotate(150deg) translateY(-76px) rotate(-150deg);}
.wheel-premium .s4{transform:rotate(210deg) translateY(-76px) rotate(-210deg);}
.wheel-premium .s5{transform:rotate(270deg) translateY(-76px) rotate(-270deg);}
.wheel-premium .s6{transform:rotate(330deg) translateY(-76px) rotate(-330deg);}
.spin-btn{margin-top:8px;padding:13px 34px;}
.roulette-result{margin-top:8px;}
.claim-btn{margin-top:8px;}
.use-another-code-btn{
  display:block;margin:8px auto 0;padding:12px 20px;
  border:1px solid rgba(255,215,0,.5);border-radius:14px;
  background:#242424;color:#fff;font-weight:900;cursor:pointer;
}
.use-another-code-btn[hidden]{display:none!important;}
.save-feedback{min-height:24px;margin-top:12px;font-weight:800;color:#ffd700;}
@media(max-width:560px){
  .roulette-box.premium-roulette{padding:20px 16px;width:96vw;}
  .wheel-premium{width:210px;height:210px;}
  .wheel-premium .s1{transform:rotate(30deg) translateY(-63px) rotate(-30deg);}
  .wheel-premium .s2{transform:rotate(90deg) translateY(-63px) rotate(-90deg);}
  .wheel-premium .s3{transform:rotate(150deg) translateY(-63px) rotate(-150deg);}
  .wheel-premium .s4{transform:rotate(210deg) translateY(-63px) rotate(-210deg);}
  .wheel-premium .s5{transform:rotate(270deg) translateY(-63px) rotate(-270deg);}
  .wheel-premium .s6{transform:rotate(330deg) translateY(-63px) rotate(-330deg);}
}


/* V3.10: ruleta compacta y acciones visibles */
.roulette-modal{align-items:flex-start;padding:12px 8px;overflow-y:auto;}
.roulette-box.premium-roulette{width:min(500px,96vw);max-height:none;min-height:0;margin:auto;padding:18px 18px 20px;overflow:visible;}
.roulette-game.active{display:flex;flex-direction:column;align-items:center;gap:8px;}
.roulette-stage{margin:2px auto 0;}
.wheel-premium{width:220px!important;height:220px!important;}
.wheel-premium .s1{transform:rotate(30deg) translateY(-66px) rotate(-30deg)!important;}
.wheel-premium .s2{transform:rotate(90deg) translateY(-66px) rotate(-90deg)!important;}
.wheel-premium .s3{transform:rotate(150deg) translateY(-66px) rotate(-150deg)!important;}
.wheel-premium .s4{transform:rotate(210deg) translateY(-66px) rotate(-210deg)!important;}
.wheel-premium .s5{transform:rotate(270deg) translateY(-66px) rotate(-270deg)!important;}
.wheel-premium .s6{transform:rotate(330deg) translateY(-66px) rotate(-330deg)!important;}
.spin-btn{margin:4px auto!important;padding:13px 42px!important;}
.roulette-result{margin:2px 0!important;line-height:1.18;}
.roulette-result strong{font-size:clamp(25px,5vw,34px)!important;}
.roulette-result p{margin:5px 0!important;}
.roulette-result small{margin-top:5px!important;}
.use-another-code-btn,.claim-btn{width:min(100%,330px);margin:3px auto!important;display:none;justify-content:center;align-items:center;padding:12px 16px!important;}
.use-another-code-btn:not([hidden]){display:flex!important;}
.claim-btn.show{display:flex!important;}
@media(max-height:760px){.roulette-box.premium-roulette{transform:none!important;margin-top:0}.roulette-subtitle{margin-bottom:7px}.wheel-premium{width:190px!important;height:190px!important}.wheel-premium .s1{transform:rotate(30deg) translateY(-57px) rotate(-30deg)!important}.wheel-premium .s2{transform:rotate(90deg) translateY(-57px) rotate(-90deg)!important}.wheel-premium .s3{transform:rotate(150deg) translateY(-57px) rotate(-150deg)!important}.wheel-premium .s4{transform:rotate(210deg) translateY(-57px) rotate(-210deg)!important}.wheel-premium .s5{transform:rotate(270deg) translateY(-57px) rotate(-270deg)!important}.wheel-premium .s6{transform:rotate(330deg) translateY(-57px) rotate(-330deg)!important}}


/* === V3.11: modales, ruleta y acciones estables === */
.modal.active{display:grid!important;}
#linesModal{z-index:60000!important;}
#linesModal .lines-modal-box{max-height:calc(100dvh - 28px);overflow-y:auto;}
.roulette-modal{z-index:30000!important;align-items:flex-start!important;overflow-y:auto!important;padding:8px!important;}
.roulette-box.premium-roulette{
  width:min(470px,96vw)!important;
  max-height:calc(100dvh - 16px)!important;
  overflow-y:auto!important;
  margin:0 auto!important;
  padding:14px 16px 16px!important;
}
.roulette-box.premium-roulette h2{font-size:clamp(22px,3.5vw,31px)!important;margin:0 0 4px!important;}
.roulette-subtitle{font-size:15px!important;line-height:1.35!important;margin:0 0 6px!important;}
.wheel-premium{width:185px!important;height:185px!important;}
.wheel-premium .s1{transform:rotate(30deg) translateY(-55px) rotate(-30deg)!important;}
.wheel-premium .s2{transform:rotate(90deg) translateY(-55px) rotate(-90deg)!important;}
.wheel-premium .s3{transform:rotate(150deg) translateY(-55px) rotate(-150deg)!important;}
.wheel-premium .s4{transform:rotate(210deg) translateY(-55px) rotate(-210deg)!important;}
.wheel-premium .s5{transform:rotate(270deg) translateY(-55px) rotate(-270deg)!important;}
.wheel-premium .s6{transform:rotate(330deg) translateY(-55px) rotate(-330deg)!important;}
.spin-btn{padding:10px 32px!important;margin:3px auto!important;}
.roulette-result strong{font-size:clamp(22px,4.5vw,30px)!important;}
.roulette-result p,.roulette-result small{margin:3px 0!important;}
.roulette-actions{display:flex;flex-direction:column;gap:6px;align-items:center;width:100%;padding-bottom:4px;}
.use-another-code-btn,.claim-btn{width:min(100%,320px)!important;min-height:44px!important;margin:0 auto!important;padding:10px 14px!important;position:relative!important;z-index:2!important;}
@media(max-width:560px){
  .roulette-box.premium-roulette{width:98vw!important;padding:12px 12px 14px!important;}
  .wheel-premium{width:170px!important;height:170px!important;}
  .wheel-premium .s1{transform:rotate(30deg) translateY(-50px) rotate(-30deg)!important;}
  .wheel-premium .s2{transform:rotate(90deg) translateY(-50px) rotate(-90deg)!important;}
  .wheel-premium .s3{transform:rotate(150deg) translateY(-50px) rotate(-150deg)!important;}
  .wheel-premium .s4{transform:rotate(210deg) translateY(-50px) rotate(-210deg)!important;}
  .wheel-premium .s5{transform:rotate(270deg) translateY(-50px) rotate(-270deg)!important;}
  .wheel-premium .s6{transform:rotate(330deg) translateY(-50px) rotate(-330deg)!important;}
}
