@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@400;700;900&family=Teko:wght@400;700&display=swap');

:root{
  --bg:#060606;
  --card:#0d0d0d;
  --muted:#98a0ad;
  --accent: #ff8c00;
  --accent-2: #e67e22;
  --accent-glow: rgba(255, 140, 0, 0.6);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glass: rgba(255,140,0,0.04);
  --radius:14px;
  --max-width:920px;
  font-family: 'Kanit', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

*{box-sizing:border-box}
html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}
body{
  /* Elimina el destello azul al tocar en móvil */
  -webkit-tap-highlight-color: transparent;
  background:
    radial-gradient(circle at 10% 0%, rgba(63, 178, 255, 0.14) 0, transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(30, 136, 229, 0.16) 0, transparent 55%),
    radial-gradient(circle at 50% 120%, rgba(15,23,42,0.95) 0, transparent 70%),
    linear-gradient(180deg,#05070a 0%, #020308 52%, #05070a 100%);
  color:#e6eef6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  font-size:14px;
  background-attachment: fixed;
}

.container {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  overflow: visible !important;
}

.card{
  width: 100%;
  max-width:100%;
  height: 100% !important;
  position: relative !important; /* Mantenemos relativo dentro del container fixed */
  inset: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch; /* Suavidad pro en iPhone */
  display: flex;
  flex-direction: column;
  background: transparent;
  backdrop-filter: none;
  border-radius:0;
  box-shadow: none;
  border: none;
}
/* sutil marco interno y franja superior que integran el botón de menú con la tarjeta */
.card::before{
  display: none;
}
.card::after{
  content:"";
  position:absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  z-index: 5;
}

/* Content column */
.content{
  padding:60px 22px;
  flex: 1;
  display:flex;
  flex-direction:column;
  justify-content: center;
  gap:18px;
  align-items:center;
  text-align:center;
  background:
    radial-gradient(circle at top, rgba(63, 178, 255, 0.1) 0%, transparent 60%),
    radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 24px 24px;
}

/* header */
.logo{
  display:block;
  width:90px;
  height:90px;
  object-fit:cover;
  border-radius:999px;
  margin:8px auto 0 auto;
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  filter: brightness(1.1);
}
.brand{
  margin:0;
  font-size:42px;
  line-height:1;
  text-align:center;
  width:100%;
  font-weight: 1000;
  background: linear-gradient(90deg, #ff8c00 0%, #ffd54a 25%, #ff8c00 50%, #ffd54a 75%, #ff8c00 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
  display:block;
  padding: 5px 0 4px 0;
  letter-spacing: -1px;
  position:relative;
  animation: brandShine 5s linear infinite, brandPulse 3s ease-in-out infinite;
}

@keyframes brandShine {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes brandPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5)); }
  50% { transform: scale(1.02); filter: drop-shadow(0 8px 20px rgba(255, 140, 0, 0.3)); }
}

.brand::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:0;
  transform:translateX(-50%);
  width: 100px;
  height: 3px;
  border-radius:999px;
  /* Fondo sólido de colores para evitar el punto negro al animar */
  background: linear-gradient(90deg, var(--accent), #fff, var(--accent), #fff, var(--accent));
  background-size: 300% auto;
  /* Máscara fija que hace que los bordes se desvanezcan sin mover la transparencia */
  -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
  box-shadow: 0 0 10px var(--accent);
  animation: lineNeonPulse 3s ease-in-out infinite, brandShine 5s linear infinite;
}

@keyframes lineNeonPulse {
  0%, 100% { width: 80px; opacity: 1; }
  50% { width: 160px; opacity: 1; box-shadow: 0 0 15px var(--accent), 0 0 8px #fff; }
}

.subtitle{
  margin:0;
  color: #94a3b8;
  font-size: 15px;
  font-weight: 500;
  text-align:center;
  opacity:0.94;
  letter-spacing: 0.5px;
  max-width:360px;
  text-transform: uppercase;
}

/* Prominent unframed tagline under the brand title */
.tagline{
  margin: 2px 0 0 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-align:center;
  text-transform:uppercase;
}

/* actions */
.actions{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:10px;
  width:100%;
  max-width:360px;
  margin-left:auto;
  margin-right:auto;
}

/* --- SISTEMA DE BOTONES VIP PROFESIONAL --- */
.btn-vip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  cursor: pointer;
  font-weight: 900;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 65px;
  width: 100%;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  text-transform: uppercase;
  font-family: 'Kanit', sans-serif;
  letter-spacing: 1px;
  margin-bottom: 15px;
  z-index: 1;
}

/* Efecto de Brillo Reflejado */
.btn-vip::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.15), transparent);
  pointer-events: none;
  z-index: 2;
}

/* Animación de destello */
.btn-vip::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-25deg);
  animation: btnSweep 6s infinite;
  z-index: 3;
}

@keyframes btnSweep {
  0% { left: -100%; }
  15% { left: 150%; }
  100% { left: 150%; }
}

.btn-vip:hover {
  transform: translateY(-4px) scale(1.02);
  filter: brightness(1.15);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.btn-vip:active {
  transform: translateY(2px);
  filter: brightness(0.9);
}

/* SENSIBILIDAD - Dorado/Naranja Intenso */
.btn-v-sensi {
  background: linear-gradient(180deg, #FFB300 0%, #F57C00 100%);
  box-shadow: 0 8px 0 #BF360C, 0 15px 30px rgba(245, 124, 0, 0.4);
}

/* SKINS - Rojo Sangre VIP (Muy distinto al naranja) */
.btn-v-skins {
  background: linear-gradient(180deg, #E91E63 0%, #C2185B 100%);
  box-shadow: 0 8px 0 #880E4F, 0 15px 30px rgba(233, 30, 99, 0.4);
}

/* DIAMANTES - Azul Cyan Eléctrico */
.btn-v-diamonds {
  background: linear-gradient(180deg, #00E5FF 0%, #00B0FF 100%);
  box-shadow: 0 8px 0 #01579B, 0 15px 30px rgba(0, 229, 255, 0.4);
}

/* EMOTES - Púrpura Galáctico */
.btn-v-emotes {
  background: linear-gradient(180deg, #D500F9 0%, #6A1B9A 100%);
  box-shadow: 0 8px 0 #4A148C, 0 15px 30px rgba(213, 0, 249, 0.4);
}

/* SÍGUEME - Azul Royal / Indigo */
.btn-v-follow {
  background: linear-gradient(180deg, #3D5AFE 0%, #1A237E 100%);
  box-shadow: 0 8px 0 #0D47A1, 0 15px 30px rgba(61, 90, 254, 0.4);
}

/* Base .btn para modales y otros elementos */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid rgba(255,255,255,0.1);
  font-family: 'Kanit', sans-serif;
  text-transform: uppercase;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }

.btn-vip .btn-emoji {
  font-size: 28px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.btn-vip .btn-text {
  font-size: 17px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
/* --- FIN SISTEMA BOTONES --- */

/* Desactiva el borde/animación azul de enfoque en todos los botones principales */
body.modal-open .card {
  overflow: hidden !important;
}

body.menu-open,
body.modal-open {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
}

button:focus,
.btn:focus,
.btn-primary:focus,
.back:focus,
.btn-join:focus,
.verify-btn:focus,
.btn-google:focus {
  outline:none;
}

.btn:active{transform:translateY(1px)}
.btn:disabled{opacity:0.6;cursor:not-allowed;transform:none}
.btn .icon{width:18px;height:18px;fill:#fff;opacity:0.95;display:inline-block}

/* Make leading emoji in buttons larger than the text so they stand out */
.btn-emoji{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height:1;
  flex-shrink:0;
}

/* keep button text visually balanced */
.btn-text{
  display: block;
  font-size:14px;
  font-weight:800;
  text-align: center;
  line-height: 1.2;
}

/* Slightly larger emoji on wider screens */
@media (min-width:880px){
  .btn-emoji{ font-size:24px; }
  .btn-text{ font-size:15px; }
}

/* Ensure emoji scale a bit on small screens for touch clarity */
@media (max-width:480px){
  .btn-emoji{ font-size:26px; }
  .btn-text{ font-size:15px; }
}

/* Discord primary */
.btn-discord{
  background: #5865f2;
  color:#fff;
  box-shadow: 0 3px 0 #3e49cc;
  border: none;
  min-height: 32px;
  padding: 6px 14px;
  max-width: 200px;
  font-size: 12px;
  align-self: center;
}

/* Generator button 1 — teal accent (distinct from Discord) */
.btn-gen1{
  background: linear-gradient(180deg, #ff8c00 0%, #ff5e00 100%);
  color: #ffffff;
  font-weight:900;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 
    0 8px 0 #b34200,
    0 15px 30px rgba(2, 6, 23, 0.6), 
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position:relative;
  overflow:hidden;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Generator button 2 — warm accent (distinct from Discord and gen1) */
.btn-gen2{
  background: linear-gradient(180deg, #1a1a1a 0%, #000000 100%);
  color:#ffffff;
  font-weight:900;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 8px 0 #000000,
    0 15px 30px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position:relative;
  overflow:hidden;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Generator button 3 — diamonds (now blue color scheme) */
.btn-gen3{
  background: linear-gradient(180deg, #00d2ff 0%, #0072ff 100%);
  color:#ffffff;
  font-weight:900;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 8px 0 #0051b3,
    0 15px 30px rgba(0, 114, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  position:relative;
  overflow:hidden;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Static Glass Highlight for depth */
.btn-gen1::before, .btn-gen2::before, .btn-gen3::before {
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height:40%;
  background:linear-gradient(180deg, rgba(255,255,255,0.18), transparent);
  pointer-events:none;
}

.btn-gen1:hover, .btn-gen2:hover, .btn-gen3:hover{
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-gen1:active, .btn-gen2:active, .btn-gen3:active{
  transform: translateY(4px);
  box-shadow: 
    0 2px 0 rgba(0, 0, 0, 0.2), 
    0 5px 15px rgba(2, 6, 23, 0.4), 
    inset 0 1px 5px rgba(0, 0, 0, 0.3);
}
.btn-continue{
  background: linear-gradient(90deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border:1px solid rgba(255,255,255,0.06);
  color:var(--muted);
  position:relative;
  overflow:hidden;
}
.btn-continue:hover{
  background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  color:#eafaf8;
  transform:translateY(-2px);
  box-shadow: 0 12px 30px rgba(3,7,18,0.6);
}

/* subtle accent stripe on the left of the continue button for emphasis */
.btn-continue::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
  background:linear-gradient(180deg,var(--accent),var(--accent-2));
  border-top-left-radius:12px;
  border-bottom-left-radius:12px;
}

/* ghost-style link */
.link{
  color:var(--accent);
  text-decoration:none;
  font-size:13px;
  text-align:center;
  display:block;
  margin-top:6px;
}

/* Prominent join Discord button for index page (compact variant) */
.btn-join{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:6px 16px;
  width:auto;              /* don't force full width */
  max-width:240px;
  border-radius:8px;
  background:#5865f2;
  color:#fff;
  font-weight:700;
  border:1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
  cursor:pointer;
  transition: all .15s ease;
  margin:8px auto;
  font-size:13px;
  min-height:34px;
}
.btn-join:active{ transform: translateY(1px) }
.btn-join:hover{
  background: #4752c4;
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}
.btn-join .icon {
  width:16px;
  height:16px;
  display:inline-block;
  flex-shrink:0;
  opacity:0.95;
}

/* form */
.form{display:flex;flex-direction:column;gap:12px;margin-top:6px}
.checkbox{
  display:flex;
  gap:12px;
  align-items:flex-start;
  color:var(--muted);
  font-size:13px;
}
.checkbox input{width:18px;height:18px;accent-color:var(--accent);margin-top:3px}

/* footer layout */
.footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:8px;
}
.btn-primary{
  background:linear-gradient(90deg,var(--accent),var(--accent-2));
  color:#042024;
  border:0;
  padding:10px 16px;
  border-radius:10px;
  font-weight:800;
  min-width:140px;
  box-shadow: 0 8px 26px rgba(9,75,68,0.12);
}
#adblock-info{
  background:linear-gradient(90deg,#ff3838,#dc2626);
  color:#ffffff;
  box-shadow:0 10px 30px rgba(248,113,113,0.55);
}
.btn-primary:disabled{opacity:0.5;cursor:not-allowed;transform:none}

.help{
  color:var(--muted);
  font-size:13px;
  text-align:center;
}

/* Mejora visual específica para el enlace de preguntas */
.help a{
  color:var(--accent);
  font-weight:700;
  text-decoration:none;
}
.help a:hover{
  text-decoration:underline;
}

/* small helper text under actions for spacing on narrow screens */
.actions + .form{margin-top:6px}

/* --- SECCIÓN DE PUBLICIDAD OPTIMIZADA --- */
.ad-section {
  margin: 30px auto 20px auto;
  width: 95%;
  max-width: 700px;
  background: rgba(15, 23, 42, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.ad-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.ad-label {
  text-align: center;
  font-size: 10px;
  color: var(--accent);
  margin-bottom: 12px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 2px;
  opacity: 0.7;
  display: block;
}

.ad-box {
  background: rgba(0, 0, 0, 0.5) !important;
  border-radius: 12px !important;
  padding: 4px !important;
  border: 1px solid rgba(255, 140, 0, 0.3) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), 0 0 10px rgba(255, 140, 0, 0.1) !important;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin: 15px auto;
  position: relative;
  z-index: 5;
  width: fit-content !important;
}

.ad-box:hover {
  transform: translateY(-2px);
  border-color: var(--accent) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8), 0 0 15px var(--accent-glow) !important;
}

/* Contenedores específicos */
.ad-320-50 {
  width: 320px !important;
  height: 50px !important;
  min-width: 320px;
}

.ad-300-250 {
  width: 300px !important;
  height: 250px !important;
  min-width: 300px;
}

.ad-728-90 {
  width: 728px !important;
  height: 90px !important;
}

.ad-468-60 {
  width: 468px !important;
  height: 60px !important;
}

@media (max-width: 768px) {
  .ad-box.ad-728-90 {
    transform: scale(0.6);
    transform-origin: center;
    margin: -15px auto;
  }
}

@media (max-width: 500px) {
  .ad-box.ad-728-90 {
    display: none;
  }

  .ad-box.ad-468-60 {
    transform: scale(0.75);
    margin: -8px auto;
  }

  .ad-box.ad-300-250 {
    transform: scale(0.95);
    margin: 10px auto;
  }

  .ad-box.ad-320-50 {
      transform: scale(1);
      margin: 12px auto;
  }
}

  .ad-section {
    padding: 15px 10px;
    width: 98%;
    margin-top: 20px;
  }

  .ad-flex-container {
    flex-direction: column;
    gap: 5px;
  }

  .ad-box {
    max-width: 100%;
  }
}

@media (max-width: 380px) {
  .ad-box.ad-468-60 {
    transform: scale(0.6);
    transform-origin: center;
    margin: -15px auto;
  }

  .ad-box.ad-300-250 {
    transform: scale(0.8);
    transform-origin: center;
    margin: -25px auto;
  }
}

/* --- FIN PUBLICIDAD --- */

/* responsive / mobile: ensure big touch targets and single-column layout */
@media (max-width:880px){
  .card{max-width:100%; border-radius:12px;}
  .content{padding:16px}
  .actions{gap:10px}
  .btn{min-height:50px;padding:14px; font-size:15px}
  .link{margin-top:8px}
}

/* Right-side floating menu (polished appearance & animations) */
.side-menu-toggle{
  z-index:2100 !important;
  width:48px;
  height:42px;
  border-radius:12px;
  display:flex;
  flex-direction: column;
  gap: 4px;
  align-items:center;
  justify-content:center;
  background: #ff8c00 !important;
  color: #000;
  cursor:pointer;
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
  transition: all .2s cubic-bezier(.4, 0, .2, 1);
  padding: 0;
  border: none !important;
}
.side-menu-toggle span {
  display: block;
  height: 3px;
  width: 22px;
  background: #000 !important;
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.side-menu-toggle span:nth-child(1) { width: 22px; }
.side-menu-toggle span:nth-child(2) { width: 22px; }
.side-menu-toggle span:nth-child(3) { width: 22px; }

.side-menu-toggle:hover{
  background: #ffa500 !important;
  box-shadow: 0 0 25px rgba(255, 140, 0, 0.6);
  transform: translateY(-1px);
}
.side-menu-toggle:active{
  transform: scale(0.92);
}

/* Estado del botón cuando el menú está ABIERTO */
body.menu-open .side-menu-toggle {
  z-index: 3100 !important;
  background: #ff8c00 !important;
  box-shadow: 0 0 30px rgba(255, 140, 0, 0.8);
}
body.menu-open .side-menu-toggle span {
  background: #000 !important;
}
body.menu-open .side-menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  width: 24px;
}
body.menu-open .side-menu-toggle span:nth-child(2) {
  opacity: 0;
  transform: translateX(10px);
}
body.menu-open .side-menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  width: 24px;
}
.side-menu-wrapper{
  position:fixed;
  inset:0;
  z-index:100;
  pointer-events:none;
  display:block;
}
.side-menu-backdrop{
  position:fixed;
  inset:0;
  background:rgba(2,6,23,0.8);
  backdrop-filter: blur(8px);
  opacity:0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
  z-index: 2500 !important; /* Aumentado para estar por encima de todo el contenido */
  pointer-events:none;
}
body.menu-open .side-menu-backdrop {
  opacity:1;
  visibility: visible;
  pointer-events:auto;
}
.side-menu{
  position:fixed;
  right:-300px; /* Oculto fuera de pantalla */
  top:0;
  bottom:0;
  width:280px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(2, 6, 23, 0.99) 100%);
  backdrop-filter: blur(40px) saturate(160%);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  padding: 40px 24px;
  gap:14px;
  flex-direction:column;
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.9), inset 1px 0 0 rgba(255, 255, 255, 0.03);
  z-index:3000 !important;
  pointer-events:auto;
  opacity:0;
  visibility: hidden; /* Fix: use visibility instead of display:none for transitions */
  transition: opacity .4s ease, right .5s cubic-bezier(.16, 1, .3, 1), visibility .4s;
  display: flex;
}
.side-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 35px;
  padding: 0 4px;
}
.side-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(63, 178, 255, 0.15), transparent);
  border: 1px solid rgba(63, 178, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}
.side-header span {
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.side-menu.show{
  opacity:1;
  visibility: visible;
  right: 0;
}
/* staggered item animation for tidy entrance */
.side-item{
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align:left;
  padding: 16px 20px;
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.85);
  cursor:pointer;
  width:100%;
  font-weight: 600;
  letter-spacing: 0.4px;
  font-size: 14px;
  transform: translateX(25px);
  opacity:0;
  transition: 
    opacity .4s ease, 
    transform .5s cubic-bezier(.16, 1, .3, 1), 
    background .25s ease, 
    color .25s ease,
    border-color .25s ease;
  display:flex;
  align-items:center;
  gap: 14px;
  -webkit-font-smoothing: antialiased;
  backface-visibility: hidden;
}
.side-menu.show .side-item{ opacity:1; transform:translateX(0); }
.side-item[data-index="0"]{ transition-delay:0.1s; }
.side-item[data-index="1"]{ transition-delay:0.15s; }
.side-item[data-index="2"]{ transition-delay:0.2s; }
.side-item[data-index="3"]{ transition-delay:0.25s; }
.side-item:hover{
  background: var(--accent);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 24px rgba(63, 178, 255, 0.25);
}
.side-item svg {
  color: var(--accent);
  opacity: 0.8;
  transition: all 0.25s ease;
}
.side-item .side-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  transition: transform 0.25s ease;
}
.side-item:hover svg {
  color: #020617;
  opacity: 1;
}
.side-item:hover .side-img {
  transform: scale(1.1);
}

/* Estilo Premium para el Modal de Seguimiento */
#follow-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(12px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#follow-modal.visible {
  display: flex;
  opacity: 1;
}

.follow-content {
  max-width: 360px;
  width: 100%;
  background: linear-gradient(180deg, #111827 0%, #020617 100%);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  backface-visibility: hidden;
}

#follow-modal.visible .follow-content {
  transform: scale(1);
}

#follow-modal .modal-close {
  width:40px;
  height:40px;
  min-width:40px;
  padding:0;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(90deg,var(--accent),var(--accent-2));
  border:0;
  color:#042024;
  box-shadow: 0 8px 26px rgba(6,182,212,0.12), inset 0 1px 0 rgba(255,255,255,0.04);
  cursor:pointer;
  transition:transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}

/* Bold white X stroke and slight padding so icon sits visually centered */
#follow-modal .modal-close svg {
  width:14px;
  height:14px;
  display:block;
}
#follow-modal .modal-close svg line {
  stroke: #042024;
  stroke-width:2.2;
  stroke-linecap:round;
}

/* Hover/active feedback */
#follow-modal .modal-close:hover {
  transform:translateY(-3px) scale(1.03);
  box-shadow: 0 12px 36px rgba(6,182,212,0.18);
}
#follow-modal .modal-close:active {
  transform:translateY(1px) scale(.99);
  opacity:0.95;
}

/* Ensure accessible focus ring */
#follow-modal .modal-close:focus {
  outline:3px solid rgba(45,212,191,0.18);
  outline-offset:3px;
}

/* Estilos para el modal de AdBlocker - REDISEÑO VIP */
#adblock-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

#adblock-modal.visible {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.adblock-content {
    max-width: 400px;
    width: 100%;
    background: #0a0a0a;
    border: 2px solid var(--accent);
    border-radius: 24px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 0 50px rgba(255, 140, 0, 0.4);
    transform: scale(0.8) translateY(30px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

#adblock-modal.visible .adblock-content {
    transform: scale(1) translateY(0);
}

.adblock-icon {
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 20px rgba(255, 68, 68, 0.5));
    animation: adblockAlert 2s infinite ease-in-out;
}

@keyframes adblockAlert {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(255, 68, 68, 0.4)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 30px rgba(255, 68, 68, 0.8)); }
}

.adblock-content h2 {
    margin: 0 0 15px 0;
    color: #ff3333; /* Rojo para advertencia clara */
    font-family: 'Teko', sans-serif;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.adblock-content p {
    margin: 0 0 25px 0;
    color: #ccc;
    font-size: 15px;
    line-height: 1.5;
    padding: 0 10px;
}

.adblock-steps-mini {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 auto 30px auto;
    max-width: 300px;
    text-align: left;
}

.step-mini {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-mini span {
    background: var(--accent);
    color: #000;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex-shrink: 0;
}

.btn-adblock-action {
    width: 100%;
    padding: 18px;
    background: linear-gradient(90deg, #ff8c00, #ff5500);
    border: none;
    border-radius: 14px;
    color: #000;
    font-weight: 900;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(255, 140, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-adblock-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 140, 0, 0.5);
    filter: brightness(1.1);
}

@keyframes adblockPulseEffect {
    0% { box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 140, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 140, 0, 0); }
}

@media (max-width: 480px) {
    .adblock-content {
        padding: 30px 20px;
    }
    .adblock-content h2 {
        font-size: 28px;
    }
}

/* Keep previous small-screen adjustments */
/* Ensure brand and buttons fit on very small screens */
@media (max-width:360px){
  .brand { font-size: 32px; }
  .subtitle { font-size: 13px; }
  .btn-text { font-size: 13px; }
  .side-menu { width: 240px; }
}

/* --- ESTÁNDAR DE INPUTS VIP PREMIUM (Neon Dark) --- */
.vip-input-premium {
    width: 100% !important;
    background: #000 !important;
    border: 2px solid var(--accent) !important;
    border-radius: 16px !important;
    padding: 18px 15px !important;
    color: #fff !important;
    font-family: 'Kanit', sans-serif !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    outline: none !important;
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.2) !important;
    margin: 10px 0 !important;
    display: block !important;
}

.vip-input-premium:focus {
    background: #0a0a0a !important;
    box-shadow: 0 0 30px rgba(255, 140, 0, 0.5) !important;
    transform: scale(1.02);
}

.vip-input-premium::placeholder {
    color: #444 !important;
    font-weight: 400 !important;
    letter-spacing: 1px;
    text-transform: none;
}

/* Estilo para contenedores de input con icono al estilo VIP */
.vip-input-group {
    position: relative;
    width: 100%;
    margin: 15px 0;
}

.vip-input-group img.input-icon-vip {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    z-index: 5;
    pointer-events: none;
    filter: drop-shadow(0 0 5px var(--accent));
}

.vip-input-group input {
    padding-left: 55px !important;
}

@media (max-width:480px){
  .side-menu{
    width:280px;
    padding: 80px 20px 40px 20px;
  }
  .side-menu-toggle {
    width: 48px;
    height: 48px;
    transition: all 0.3s ease;
  }
  
  .adblock-content {
    padding: 25px 15px;
    max-width: 96%;
    border-radius: 24px;
  }
  .adblock-content h2 { font-size: 20px; }
  .step-group { padding: 12px; }
}

/* Fix z-index for sidebar backdrop clickability */
.side-menu-backdrop {
    z-index: 2500 !important;
}

.side-menu {
    z-index: 3000 !important;
}

.side-menu-toggle {
    z-index: 2100 !important;
}

/* Final CSS for consistent sidebar across all pages */
body.menu-open .side-menu-backdrop {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

#side-menu-backdrop {
    display: block !important;
}

/* --- SIDEBAR REFINEMENTS --- */
.side-section {
  margin-top: 25px;
  width: 100%;
}
.side-section:first-child { margin-top: 0; }
.side-section h4 {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.8;
}

/* --- ESTÁNDAR DE CABECERA BLIMARTCOL PREMIUM --- */
header, .main-header {
    background: #000 !important;
    border-bottom: 2px solid var(--accent) !important;
    padding: 0 !important;
    padding-top: env(safe-area-inset-top, 0px) !important;
    height: 75px !important;
    display: flex !important;
    align-items: center !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 2000 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.8) !important;
    width: 100% !important;
}

.header-container {
    width: 100% !important;
    max-width: none !important; /* ELIMINADO EL LÍMITE PARA IR A LAS ESQUINAS */
    margin: 0 !important;
    display: flex !important;
    justify-content: space-between !important; /* EMPUJA A LOS EXTREMOS */
    align-items: center !important;
    padding: 0 20px !important; /* Espacio de seguridad en los bordes */
    height: 100%;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-brand img {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    border: 2px solid var(--accent) !important;
    box-shadow: 0 0 15px var(--accent-glow) !important;
}

.logo-brand span {
    font-family: 'Kanit', sans-serif !important;
    font-size: 19px !important;
    font-weight: 900 !important;
    color: #fff !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}

/* Botón Hamburguesa Estilo Imagen */
.side-menu-toggle {
    width: 48px !important;
    height: 42px !important;
    background: #ff8c00 !important;
    border-radius: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.4) !important;
    padding: 0 !important;
    flex-shrink: 0;
}

.side-menu-toggle:active {
    transform: scale(0.9);
}

.side-menu-toggle span {
    width: 26px;
    height: 3px;
    background: #000 !important;
    border-radius: 2px;
    display: block;
}

@media (max-width: 480px) {
    header, .main-header { height: 70px !important; }
    .logo-brand img { width: 42px !important; height: 42px !important; }
    .logo-brand span { font-size: 18px !important; }
    .side-menu-toggle { width: 48px !important; height: 42px !important; }
}


@keyframes gift-entrance {
  0% { transform: scale(0) rotate(-180deg); opacity: 0; filter: brightness(10) blur(10px); }
  70% { transform: scale(1.3) rotate(10deg); filter: brightness(2) blur(0px); }
  90% { transform: scale(0.9) rotate(-5deg); }
  100% { transform: scale(1) rotate(0); opacity: 1; filter: brightness(1); }
}

@keyframes reward-shine {
  0% { left: -150%; }
  15% { left: 150%; }
  100% { left: 150%; }
}

.floating-reward {
  position: fixed;
  bottom: 30px;
  right: 20px;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #ff0000 0%, #ff8c00 100%);
  color: white !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(255, 0, 0, 0.4);
  z-index: 10000;
  border: 2px solid rgba(255, 255, 255, 0.4);
  cursor: grab;
  user-select: none;
  touch-action: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s, box-shadow 0.3s;
  will-change: transform;
  animation: gift-entrance 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) both, pulse-reward 2s infinite ease-in-out 1.2s;
  overflow: hidden;
}

.floating-reward::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -150%;
  width: 50px;
  height: 200%;
  background: rgba(255, 255, 255, 0.4);
  transform: rotate(30deg);
  animation: reward-shine 4s infinite 2s;
  pointer-events: none;
}

.floating-reward.dragging-active {
  box-shadow: 0 25px 50px rgba(255, 0, 0, 0.7);
  filter: brightness(1.2);
  z-index: 10001;
  cursor: grabbing;
  transition: none !important;
}

.reward-icon {
  font-size: 35px;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
  display: block;
  margin-top: -2px;
  pointer-events: none;
}

@keyframes pulse-reward {
  0%, 100% { transform: scale(1); box-shadow: 0 15px 35px rgba(255, 0, 0, 0.4); }
  50% { transform: scale(1.1); box-shadow: 0 20px 45px rgba(255, 0, 0, 0.6); }
}

@media (max-width: 768px) {
  .floating-reward {
    bottom: 25px;
    right: 15px;
    width: 60px;
    height: 60px;
  }
  .reward-icon { font-size: 30px; }
}

/* --- ESTILO EXCLUSIVO PARA EL INDEX --- */
body.index-page {
    background: 
        radial-gradient(circle at 50% 0%, rgba(255, 140, 0, 0.15), transparent 50%),
        radial-gradient(circle at 10% 20%, rgba(63, 178, 255, 0.12), transparent 40%),
        linear-gradient(180deg, #05070a 0%, #020308 100%) !important;
    background-attachment: fixed !important;
}

body.index-page .main-header {
    background: rgba(5, 7, 10, 0.4) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(255, 140, 0, 0.2) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4) !important;
}

body.index-page .card {
    background: transparent !important;
    backdrop-filter: none !important;
}

body.index-page .content {
    background: transparent !important;
}
/* --- FIN ESTILO INDEX --- */

/* --- ANUNCIOS LATERALES PC --- */
.desktop-ad-side {
    display: none;
    position: absolute; /* Cambiado de fixed a absolute para que se deslice */
    top: 150px; /* Ajustado para el tamaño skyscraper */
    z-index: 10;
    width: 160px;
    height: 600px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 140, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.ad-side-left {
    left: 210px;
}

.ad-side-right {
    right: 210px;
}

@media (min-width: 1200px) {
    .desktop-ad-side {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

