:root {
  --bg: #030303;
  --text: #ffffff;
  --primary: #FFE000;
  --primary-glow: rgba(255, 224, 0, 0.45);
  --ecuabet: #10b981;
  --bg-deep: #000000;
  --gold-glow: #FFE000;
  --orange-glow: #FF4500;
  --neon-blue: #00F3FF;
  --neon-green: #00FF9D;
  --cyber-black: #050505;
  --glass-dark: rgba(5, 5, 5, 0.85);
  --glass-light: rgba(255, 255, 255, 0.03);
  --grid-line: rgba(255, 224, 0, 0.03);
  --border-radius: 20px;
  --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes border-beam {
  0% { offset-distance: 0%; }
  100% { offset-distance: 100%; }
}

@keyframes glow-pulse {
  0% { filter: drop-shadow(0 0 5px var(--primary-glow)); }
  50% { filter: drop-shadow(0 0 20px var(--primary-glow)); }
  100% { filter: drop-shadow(0 0 5px var(--primary-glow)); }
}

html, body {
  min-height: 100%;
  background-color: var(--bg);
  background-image: 
    radial-gradient(circle at 0% 0%, rgba(255, 212, 0, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(255, 212, 0, 0.05) 0%, transparent 50%),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 50px 50px, 50px 50px;
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Background Blobs */
body::before, body::after {
  content: "";
  position: fixed;
  width: 500px; height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.15;
  pointer-events: none;
  animation: float 20s infinite ease-in-out;
}

body::before {
  top: -100px; left: -100px;
  background: var(--primary);
}

body::after {
  bottom: -100px; right: -100px;
  background: var(--primary);
  opacity: 0.05;
  animation-delay: -5s;
}

#particles { position: fixed; inset: 0; z-index: 0; opacity: 0.2; pointer-events: none; }

.topbar {
  position: sticky; top: 0;
  z-index: 1000;
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 5%;
  background: var(--glass-dark);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.brand { 
  font-weight: 800; 
  font-size: 1.6rem; 
  background: linear-gradient(to right, #fff, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}

.nav { display: flex; gap: 10px; align-items: center; }

.nav a { 
  color: rgba(255,255,255,0.6); 
  text-decoration: none; 
  padding: 8px 15px;
  font-weight: 600; 
  font-size: 0.85rem;
  transition: var(--transition);
  border-radius: 10px;
  border: 1px solid transparent;
}

.nav a:hover, .nav a.active { 
  color: var(--primary);
  background: rgba(255, 212, 0, 0.05);
  border-color: rgba(255, 212, 0, 0.2);
  text-shadow: 0 0 10px var(--primary-glow);
}

/* Auth Profile Pill */
.profile-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 212, 0, 0.1);
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid var(--primary);
  margin-left: 10px;
}

.profile-initial {
  width: 24px; height: 24px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #000; font-size: 0.7rem; font-weight: 900;
}

.profile-info { display: flex; flex-direction: column; }
.profile-name-text { color: var(--primary); font-weight: 700; font-size: 0.8rem; line-height: 1; }
@keyframes fadeInDown {
  from { opacity: 0; transform: translate(-50%, -20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes fadeOutUp {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(100px); }
}

.admin-label {
  background: var(--primary);
  color: #000;
  font-size: 0.6rem;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.logout-link {
  background: none; border: none;
  color: rgba(255,255,255,0.4);
  cursor: pointer; font-size: 0.65rem;
  padding: 0; text-decoration: underline;
}

/* Glass Cards V2 */
.glass-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius);
  padding: 22px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  transition: 0.5s;
}

.glass-card:hover::before { left: 100%; }

.glass-card:hover {
  border-color: rgba(255, 212, 0, 0.4);
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 15px 30px rgba(0,0,0,0.6), 0 0 15px rgba(255, 212, 0, 0.1);
}

/* Hero Advanced */
.hero {
  position: relative; z-index: 1;
  min-height: 70vh; padding: 80px 5% 40px;
  display: flex; align-items: center; justify-content: center;
}

.hero-inner { 
  display: grid; gap: 40px; 
  grid-template-columns: 1.2fr 1fr; 
  align-items: center; 
  max-width: 1200px; width: 100%;
}

.brand-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1;
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 30px rgba(255, 212, 0, 0.2));
}

.hero-copy p { 
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 30px; 
  line-height: 1.4;
  border-left: 3px solid var(--primary);
  padding-left: 20px;
}

.presentation-card { 
  padding: 35px; 
  border-radius: 30px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255, 212, 0, 0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.8);
  position: relative;
}

/* ============================================
   CARRIL DE FOTOS - Hero
   ============================================ */
.photo-rail-container {
  position: relative;
  width: 340px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: rgba(0,0,0,0.3);
  border-radius: 4px;
  /* Borde animado con gradiente */
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow:
    0 0 0 2px rgba(255,212,0,0.6),
    0 0 20px rgba(255,212,0,0.25),
    0 0 60px rgba(255,140,0,0.1),
    inset 0 0 30px rgba(0,0,0,0.4);
  animation: rail-border-pulse 3s ease-in-out infinite;
}

@keyframes rail-border-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 2px rgba(255,212,0,0.6),
      0 0 20px rgba(255,212,0,0.25),
      0 0 60px rgba(255,140,0,0.1),
      inset 0 0 30px rgba(0,0,0,0.4);
  }
  50% {
    box-shadow:
      0 0 0 2px rgba(255,212,0,1),
      0 0 30px rgba(255,212,0,0.5),
      0 0 80px rgba(255,140,0,0.25),
      inset 0 0 30px rgba(0,0,0,0.4);
  }
}

/* Línea de barrido animada */
.photo-rail-container::before {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255,212,0,0.04),
    transparent
  );
  animation: rail-scan 4s linear infinite;
  z-index: 5;
  pointer-events: none;
}

@keyframes rail-scan {
  0%   { top: -60%; }
  100% { top: 120%; }
}

/* Esquinas decorativas */
.rail-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 10;
  pointer-events: none;
}
.rail-corner-tl { top: -1px; left: -1px; border-top: 3px solid var(--primary); border-left: 3px solid var(--primary); }
.rail-corner-tr { top: -1px; right: -1px; border-top: 3px solid var(--primary); border-right: 3px solid var(--primary); }
.rail-corner-bl { bottom: -1px; left: -1px; border-bottom: 3px solid var(--primary); border-left: 3px solid var(--primary); }
.rail-corner-br { bottom: -1px; right: -1px; border-bottom: 3px solid var(--primary); border-right: 3px solid var(--primary); }

.rail-track {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.rail-slides {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.rail-slide {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rail-slide-placeholder {
  min-width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
  background: rgba(255,212,0,0.03);
  border: 1px dashed rgba(255,212,0,0.15);
}

.rail-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.rail-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s;
}

.rail-dot.active {
  background: var(--primary);
  width: 18px;
  border-radius: 3px;
}

.rail-edit-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,212,0,0.4);
  color: var(--primary);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.rail-edit-btn:hover { background: rgba(255,212,0,0.15); }
body.admin-mode .rail-edit-btn { display: flex; }

/* Controles admin inline */
.rail-admin-controls {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  display: none;
  gap: 6px;
}

body.admin-mode .rail-admin-controls {
  display: flex;
}

.rail-ctrl-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(10px);
}

.rail-ctrl-add {
  background: rgba(35, 211, 102, 0.25);
  border: 1px solid rgba(35, 211, 102, 0.5) !important;
  color: #23d366;
  cursor: pointer;
}

.rail-ctrl-add:hover { background: rgba(35, 211, 102, 0.4); }

.rail-ctrl-del {
  background: rgba(255, 60, 60, 0.25);
  border: 1px solid rgba(255, 60, 60, 0.5);
  color: #ff4444;
}

.rail-ctrl-del:hover { background: rgba(255, 60, 60, 0.4); }

/* Responsive */
@media (max-width: 1024px) {
  .photo-rail-container {
    width: 100%;
    aspect-ratio: 16/9;
  }
}

@media (max-width: 768px) {
  .photo-rail-container {
    width: 100%;
    aspect-ratio: 1/1;
    max-height: 320px;
  }
}


/* Border Beam Effect */
.border-beam {
  position: absolute; inset: 0;
  border: 2px solid transparent;
  border-radius: inherit;
  background: linear-gradient(var(--bg), var(--bg)) padding-box,
              linear-gradient(90deg, var(--primary), #fff) border-box;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: destination-out;
  filter: blur(1px);
}

.profile-avatar { 
  width: 180px; height: 180px; 
  border-radius: 25px;
  padding: 4px;
  background: linear-gradient(45deg, var(--primary), #ff8c00);
  margin: 0 auto 20px;
  position: relative;
}

.profile-avatar img {
  width: 100%; height: 100%;
  border-radius: 20px;
  object-fit: cover;
}

/* Advanced Buttons */
.btn {
  padding: 12px 24px; 
  border-radius: 12px; 
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center; gap: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: var(--glass-light);
  color: #fff;
  text-decoration: none;
}

.btn-primary { 
  background: var(--primary); 
  color: #000; 
  border: none;
  box-shadow: 0 10px 20px rgba(255, 212, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 30px rgba(255, 212, 0, 0.4);
  background: #fff;
}

.btn-secondary {
  background: rgba(255,212,0,0.05);
  color: var(--primary);
  border: 1px solid rgba(255,212,0,0.4);
  box-shadow: 0 5px 15px rgba(255, 212, 0, 0.1);
}

.btn-secondary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 25px rgba(255, 212, 0, 0.3);
  background: rgba(255,212,0,0.1);
  border-color: var(--primary);
}

/* Section Transitions */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Service Grid Enhancements */
.svc-icon {
  width: 55px; height: 55px;
  border-radius: 15px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary), #ff8c00);
  color: #000;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}

.svc-icon svg { width: 24px; height: 24px; }

.svc:hover .svc-icon {
  transform: rotateY(180deg) scale(1.1);
  box-shadow: 0 0 20px var(--primary-glow);
}

/* Metric Circles */
.ring {
  width: 100px; height: 100px;
  border-radius: 50%;
  border: 3px solid rgba(255,212,0,0.1);
  position: relative;
  display: flex; align-items: center; justify-content: center;
}

.ring::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  border-top-color: transparent;
  animation: rotate 2s linear infinite;
}

@keyframes rotate { 100% { transform: rotate(360deg); } }

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -45%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

/* Section Layouts */
.section-block {
  padding: 40px 5%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.section-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255, 212, 0, 0.03) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: -1;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.neon-hover:hover {
  border-color: var(--primary) !important;
  box-shadow: 0 0 15px var(--primary-glow);
  color: var(--primary) !important;
  transform: translateY(-3px);
}

.social-btn {
  transition: all 0.3s ease;
}

.neon-text {
  color: var(--primary);
  text-shadow: 0 0 8px var(--primary-glow);
}

.neon-btn-pulse {
  animation: neon-pulse 2s infinite;
}

@keyframes neon-pulse {
  0% { box-shadow: 0 0 5px var(--primary-glow); }
  50% { box-shadow: 0 0 25px var(--primary-glow); }
  100% { box-shadow: 0 0 5px var(--primary-glow); }
}

.glass-card.dynamic-game:hover {
  border-color: var(--primary) !important;
  box-shadow: 0 0 30px var(--primary-glow);
}

/* Casino card image box (square 1:1) */
.casino-img-box {
  width: 100%;
  height: 68%; /* increased to give more space for 1:1 photos */
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.6));
}

.casino-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.23,1,0.32,1);
}

.casino-img-box:hover .casino-img { transform: scale(1.06); }

.casino-img-gradient {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(2,2,2,0.9) 100%);
  pointer-events: none;
}

/* EDITORIAL TOPICS (No cards) */
.topics-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 30px;
}

.topic {
  position: relative;
  padding: 0;
  transition: var(--transition);
}

.topic-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.topic-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 212, 0, 0.1);
  border: 1px solid rgba(255, 212, 0, 0.2);
  color: var(--primary);
}

.topic-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

.topic-content {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.6;
}

.topic-footer {
  margin-top: 15px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.topic:hover .topic-icon {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 20px var(--primary-glow);
}

/* Indicators (Rings) Redesign */
.indicator-row {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.indicator {
  text-align: center;
  min-width: 180px;
}

.indicator-val {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 5px;
}

.indicator-label {
  font-size: 0.7rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.indicator-meta {
  font-size: 0.8rem;
  color: var(--primary);
  margin-top: 8px;
  font-weight: 700;
}

.dynamic-reward {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.reward-img-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(255, 212, 0, 0.1);
}

.reward-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reward-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.brand-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.brand-pill {
  padding: 18px 40px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  border-radius: 50px !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02) !important;
  position: relative;
  transition: var(--transition);
}

.brand-pill::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
  opacity: 0.5;
  transition: var(--transition);
}

.brand-pill:hover {
  background: rgba(255, 212, 0, 0.05) !important;
  border-color: rgba(255, 212, 0, 0.3);
  transform: translateY(-3px);
}

.brand-pill:hover::after {
  width: 80%;
  opacity: 1;
}

.brand-pill.ecuabet::after {
  background: #23d366;
  box-shadow: 0 0 10px rgba(35, 211, 102, 0.5);
}

.brand-pill svg {
  opacity: 0.7;
  transition: var(--transition);
}

.brand-pill:hover svg {
  opacity: 1;
  transform: scale(1.1);
}

/* CTA Chips */
.cta-chip {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 25px !important;
  text-decoration: none;
  color: #fff !important;
  transition: var(--transition);
}

.cta-chip:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
}

.chip-icon {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  transition: var(--transition);
}

.cta-chip:hover .chip-icon {
  transform: scale(1.1) rotate(5deg);
}

.chip-label {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

/* Footer Advanced */
.footer {
  padding: 80px 5%;
  background: var(--bg-deep);
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}

.social-btn {
  width: 60px; height: 60px;
  border-radius: 18px;
  background: var(--glass-light);
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 10px;
  transition: var(--transition);
  color: rgba(255,255,255,0.6);
}

.social-btn:hover {
  color: var(--primary);
  background: rgba(255,212,0,0.1);
  transform: translateY(-5px);
  border-color: var(--primary);
}

/* High Energy FX */
.live-ticker {
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid var(--primary);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  overflow: hidden;
  position: relative;
  z-index: 1001;
}

.ticker-content {
  display: flex;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

.ticker-item {
  padding: 0 50px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ticker-item span { color: #fff; }

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.glow-text {
  text-shadow: 0 0 10px var(--primary-glow), 0 0 20px var(--primary-glow);
  animation: glow-pulse 2s infinite;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #23d366;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px #23d366;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

.floating-whatsapp {
  position: fixed !important;
  bottom: 30px !important;
  right: 30px !important;
  left: auto !important;
  top: auto !important;
  z-index: 9999 !important;
  background: #23d366 !important;
  color: #fff !important;
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 10px 25px rgba(35, 211, 102, 0.4) !important;
  text-decoration: none !important;
  transition: var(--transition) !important;
  animation: bounce 2s infinite !important;
  transform: translateY(0) !important;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0) !important; }
  50% { transform: translateY(-10px) !important; }
}

@keyframes pulse {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 0 0 20px rgba(255,212,0,0.5);
  }
  50% { 
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255,212,0,0.8);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes glow-pulse {
  0%, 100% {
    box-shadow: 0 0 25px rgba(255,212,0,0.6), 0 4px 15px rgba(0,0,0,0.4);
  }
  50% {
    box-shadow: 0 0 35px rgba(255,212,0,0.9), 0 4px 20px rgba(0,0,0,0.6);
  }
}

/* Hover effects para notificación unificada */
#unified-notification:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.9), 0 0 30px rgba(255,212,0,0.3);
}

#unified-notification a:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(255,212,0,0.6);
  background: linear-gradient(135deg, #ffed4e, var(--primary));
}

#close-unified-notification:hover {
  color: var(--primary);
  transform: rotate(90deg);
}

/* Responsive para notificación unificada */
@media (max-width: 768px) {
  #unified-notification {
    width: 200px;
    left: 10px;
    bottom: 80px; /* Más arriba para no tapar contenido */
    padding: 8px;
    font-size: 11px;
  }
  
  #unified-notification h4 {
    font-size: 11px;
    margin-bottom: 4px;
  }
  
  #unified-notification p {
    font-size: 10px;
    margin: 2px 0;
  }
  
  #unified-notification a {
    font-size: 0.55rem;
    padding: 6px;
    margin-top: 6px;
  }
  
  #unified-notification .close-notification {
    width: 18px;
    height: 18px;
    font-size: 14px;
  }
  
  /* Ocultar notificación en pantallas muy pequeñas si es necesario */
  #unified-notification.hide-on-small {
    display: none;
  }
  
  /* WhatsApp button más pequeño en móvil */
  .floating-whatsapp {
    width: 50px !important;
    height: 50px !important;
    bottom: 20px !important;
    right: 20px !important;
  }
  
  .floating-whatsapp svg,
  .floating-whatsapp img {
    width: 28px !important;
    height: 28px !important;
  }
}

.floating-whatsapp:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 15px 35px rgba(35, 211, 102, 0.6) !important;
  animation: none !important;
}

.social-btn:hover {
  color: var(--primary);
  background: rgba(255,212,0,0.1);
  transform: translateY(-5px);
  border-color: var(--primary);
}

/* Admin Edit Modal Styles */
#admin-edit-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#admin-edit-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.admin-modal {
  background: #111;
  border: 1px solid var(--primary);
  border-radius: 20px;
  width: 90%;
  max-width: 400px;
  padding: 30px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.8), 0 0 30px rgba(255,212,0,0.1);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

#admin-edit-modal-overlay.active .admin-modal {
  transform: translateY(0);
}

.admin-modal-header {
  margin-bottom: 25px;
  text-align: center;
}

.admin-modal-title {
  font-size: 1.5rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

.admin-modal-group {
  margin-bottom: 20px;
}

.admin-modal-label {
  display: block;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  font-weight: 700;
}

.admin-modal-input {
  width: 100%;
  padding: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.3s;
}

.admin-modal-input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255,255,255,0.08);
}

.admin-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 30px;
}

.admin-edit-pencil {
  position: absolute;
  top: 5px;
  right: 5px;
  background: var(--primary);
  color: #000;
  border: 2px solid #000;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: all 0.2s ease;
}

.admin-edit-pencil.small {
  width: 18px;
  height: 18px;
  font-size: 10px;
  top: -5px;
  right: -5px;
}

.admin-edit-pencil:hover {
  transform: scale(1.1) rotate(-10deg);
  background: #fff;
}

/* Enhanced Casino Cards */
.casino-card-enhanced {
  cursor: pointer;
}

.casino-card-enhanced:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 80px rgba(0,0,0,0.9), 0 0 60px var(--primary-glow) !important;
  border-image-source: linear-gradient(135deg, #ffed4e, var(--primary), #ff8c00) !important;
}

.casino-img-enhanced {
  filter: brightness(0.9);
}

.casino-card-enhanced:hover .casino-img-enhanced {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.stat-box-enhanced:hover {
  transform: scale(1.05);
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(255,212,0,0.15), rgba(255,212,0,0.05));
}

.casino-play-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px var(--primary-glow), inset 0 1px 0 rgba(255,255,255,0.5) !important;
  background: linear-gradient(135deg, #ffed4e, var(--primary)) !important;
}

.casino-play-btn:hover .btn-shine {
  left: 100%;
}

.casino-play-btn:active {
  transform: translateY(-1px);
}

@keyframes sweep {
  0% { 
    left: -100%; 
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% { 
    left: 100%; 
    opacity: 0;
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

@media (max-width: 1024px) {
  .hero-inner { 
    grid-template-columns: 1fr; 
    text-align: center; 
  }
  
  .hero-copy p { 
    margin: 0 auto 40px; 
    text-align: center; 
    border: none; 
    padding: 0; 
  }
  
  .brand-title { 
    font-size: 3.5rem; 
  }
  
  .topbar { 
    padding: 16px 24px; 
  }
  
  .mobile-menu-btn {
    display: flex;
    background: transparent;
    border: none;
    color: var(--primary);
    cursor: pointer;
    z-index: 1002;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 24px;
  }
  
  .mobile-menu-btn:hover {
    background: rgba(255, 212, 0, 0.1);
    transform: scale(1.05);
  }

  .nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.98) 0%, rgba(10, 10, 10, 0.95) 100%);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 30px 20px;
    z-index: 1001;
    animation: slideInFromTop 0.3s ease;
    overflow-y: auto;
  }
  
  @keyframes slideInFromTop {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav.active {
    display: flex;
  }
  
  /* Logo en el menú móvil */
  .nav::before {
    content: 'Ecuabet Guayaquil';
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    text-align: center;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 212, 0, 0.2);
  }

  .nav a {
    width: 100%;
    text-align: center;
    padding: 18px 24px;
    margin-bottom: 8px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 212, 0, 0.1);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .nav a::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary);
    transform: translateX(-50%) scaleY(0);
    transition: transform 0.3s ease;
  }
  
  .nav a:hover::before,
  .nav a:active::before {
    transform: translateX(-50%) scaleY(1);
  }
  
  .nav a:hover,
  .nav a:active {
    background: rgba(255, 212, 0, 0.08);
    border-color: var(--primary);
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 212, 0, 0.2);
  }

  .nav .btn {
    margin: 20px 0 0 0;
    width: 100%;
    justify-content: center;
    padding: 20px;
    font-size: 20px;
    font-weight: 700;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(255, 212, 0, 0.4);
  }
  
  .nav .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 212, 0, 0.6);
  }
  
  /* Perfil de admin en menú móvil */
  .nav .profile-pill {
    width: 100%;
    margin: 30px 0 15px 0;
    padding: 18px 24px;
    background: rgba(255, 212, 0, 0.08);
    border: 1px solid rgba(255, 212, 0, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
  }
  
  .nav .profile-pill .profile-initial {
    width: 55px;
    height: 55px;
    font-size: 24px;
    flex-shrink: 0;
  }
  
  .nav .profile-pill .profile-info {
    flex: 1;
    min-width: 0;
  }
  
  .nav .profile-pill .profile-name-text {
    font-size: 20px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .nav .profile-pill .admin-label {
    font-size: 14px;
    padding: 4px 12px;
    margin-top: 4px;
  }
  
  .nav .profile-pill .logout-link {
    padding: 10px 18px;
    font-size: 16px;
    margin: 0;
    width: auto;
    flex-shrink: 0;
    background: rgba(255, 75, 75, 0.2);
    border: 1px solid #ff4b4b;
    color: #ff4b4b;
    border-radius: 12px;
    font-weight: 600;
  }
  
  .nav .profile-pill .logout-link:hover {
    background: rgba(255, 75, 75, 0.3);
  }
  
  /* Botón de admin panel en menú móvil */
  .nav #admin-link {
    background: rgba(255, 75, 75, 0.1);
    border-color: #ff4b4b;
    color: #ff4b4b;
    font-weight: 800;
    text-align: center;
    margin-top: 12px;
    padding: 20px 28px;
  }
  
  .nav #admin-link:hover {
    background: rgba(255, 75, 75, 0.2);
    transform: translateX(0) scale(1.02);
  }
}

@media (max-width: 768px) {
  .brand-title { 
    font-size: 3rem; 
  }
  
  .hero-copy h2 {
    font-size: 2rem;
  }
  
  .hero-copy p {
    font-size: 1.1rem;
  }
  
  .hero {
    min-height: 60vh;
    padding: 60px 5% 30px;
  }
  
  /* Ajustar secciones */
  section {
    padding: 50px 20px;
  }
  
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 25px;
  }
  
  /* Ajustar grids de tarjetas */
  .casino-grid,
  .agencies-grid,
  .rewards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* Service grid para otras secciones */
  .service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* Notificación optimizada */
  #unified-notification {
    width: 260px;
    max-width: 260px;
    bottom: 85px;
    left: 15px;
    padding: 14px;
  }
  
  #unified-notification h4 {
    font-size: 15px;
  }
  
  #unified-notification p {
    font-size: 13px;
  }
  
  #unified-notification a {
    font-size: 0.85rem;
    padding: 9px;
  }
  
  /* Ajustar carrusel de casas */
  .recommended-houses {
    gap: 18px;
  }
  
  .house-card {
    min-width: 180px;
    padding: 20px 16px;
  }
  
  .house-card h4 {
    font-size: 18px;
  }
  
  .house-card p {
    font-size: 15px;
  }
  
  .house-logo {
    width: 55px;
    height: 55px;
    font-size: 26px;
  }
  
  /* Botones más accesibles */
  .btn, .cta-btn {
    padding: 12px 24px;
    font-size: 16px;
    min-height: 44px;
  }
  
  /* WhatsApp button */
  .floating-whatsapp {
    width: 55px !important;
    height: 55px !important;
    bottom: 25px !important;
    right: 25px !important;
  }
  
  .floating-whatsapp svg,
  .floating-whatsapp img {
    width: 30px !important;
    height: 30px !important;
  }
  
  /* Live ticker optimizado */
  .live-ticker {
    height: 40px;
    font-size: 14px;
  }
  
  .ticker-item {
    padding: 0 20px;
  }
  
  /* CTA Grid responsive */
  .cta-grid {
    flex-direction: column !important;
    gap: 15px !important;
  }
  
  .cta-grid .btn {
    width: 100%;
    justify-content: center;
  }
  
  /* Topics container */
  .topics-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  /* Indicator row */
  .indicator-row {
    gap: 30px;
  }
  
  .indicator {
    min-width: 140px;
  }
  
  .indicator-val {
    font-size: 2.5rem;
  }
  
  /* Brand pills */
  .brand-pill {
    padding: 14px 30px;
    font-size: 0.95rem;
  }
  
  /* Glass cards */
  .glass-card {
    padding: 20px;
  }
  
  /* Casino cards */
  .casino-card,
  .agency-card,
  .reward-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .topbar {
    padding: 14px 20px;
  }
  
  .brand {
    font-size: 1.3rem;
  }
  
  .logo {
    font-size: 24px;
  }
  
  .brand-title {
    font-size: 2.5rem;
  }
  
  .hero-copy h2 {
    font-size: 1.6rem;
  }
  
  .hero-copy p {
    font-size: 1rem;
    padding-left: 15px;
  }
  
  .hero {
    min-height: 50vh;
    padding: 50px 5% 25px;
  }
  
  section {
    padding: 40px 16px;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  
  /* Botones optimizados para touch */
  .btn, .cta-btn {
    padding: 12px 24px;
    font-size: 15px;
    min-height: 44px;
  }
  
  /* Tarjetas más compactas */
  .casino-card,
  .agency-card,
  .reward-card {
    padding: 20px;
  }
  
  /* Optimización de tarjetas de agencias para móviles */
  .dynamic-agency {
    max-width: 100% !important;
  }
  
  .dynamic-agency .agency-img-box {
    height: 160px !important;
  }
  
  .dynamic-agency h3 {
    font-size: 1.1rem !important;
    letter-spacing: 1px !important;
  }
  
  .dynamic-agency p {
    font-size: 0.7rem !important;
  }
  
  .dynamic-agency .agency-info {
    padding: 15px !important;
    gap: 10px !important;
  }
  
  .dynamic-agency .social-btn {
    width: 36px !important;
    height: 36px !important;
  }
  
  .dynamic-agency .social-btn svg {
    width: 18px !important;
    height: 18px !important;
  }
  
  .dynamic-agency .btn {
    font-size: 0.85rem !important;
    padding: 11px 0 !important;
    letter-spacing: 1.5px !important;
  }
  
  /* Notificación compacta */
  #unified-notification {
    width: 220px;
    max-width: 220px;
    bottom: 75px;
    left: 12px;
    padding: 10px;
  }
  
  #unified-notification h4 {
    font-size: 13px;
  }
  
  #unified-notification p {
    font-size: 11px;
  }
  
  #unified-notification a {
    font-size: 0.7rem;
    padding: 7px;
  }
  
  #unified-notification .close-notification {
    width: 20px;
    height: 20px;
    font-size: 14px;
  }
  
  .notification-content h4 {
    font-size: 16px;
  }
  
  .notification-content p {
    font-size: 14px;
  }
  
  /* Carrusel optimizado */
  .house-card {
    min-width: 160px;
    padding: 18px 14px;
  }
  
  .house-logo {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
  
  .house-card h4 {
    font-size: 16px;
  }
  
  .house-card p {
    font-size: 13px;
  }
  
  /* WhatsApp más pequeño */
  .floating-whatsapp {
    width: 50px !important;
    height: 50px !important;
    bottom: 20px !important;
    right: 20px !important;
  }
  
  .floating-whatsapp svg,
  .floating-whatsapp img {
    width: 26px !important;
    height: 26px !important;
  }
  
  /* Presentation card */
  .presentation-card {
    padding: 25px;
  }
  
  /* Topics container */
  .topics-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  /* Brand pills */
  .brand-pill {
    padding: 14px 30px;
    font-size: 0.95rem;
  }
  
  /* Live ticker */
  .live-ticker {
    height: 35px;
    font-size: 12px;
  }
  
  /* CTA Grid */
  .cta-grid {
    flex-direction: column !important;
    gap: 12px !important;
  }
  
  /* Indicator row */
  .indicator-row {
    gap: 25px;
  }
  
  .indicator {
    min-width: 120px;
  }
  
  .indicator-val {
    font-size: 2rem;
  }
  
  /* Glass cards */
  .glass-card {
    padding: 18px;
  }
  
  /* Profile avatar */
  .profile-avatar {
    width: 150px;
    height: 150px;
  }
  
  /* CTA chips */
  .cta-chip {
    padding: 12px 20px !important;
  }
  
  .chip-icon {
    width: 40px;
    height: 40px;
  }
  
  .chip-label {
    font-size: 1rem;
  }
}

@media (max-width: 360px) {
  .topbar {
    padding: 12px 16px;
  }
  
  .brand {
    font-size: 1.1rem;
  }
  
  .brand-title {
    font-size: 2rem;
  }
  
  .hero-copy h2 {
    font-size: 1.3rem;
  }
  
  .hero-copy p {
    font-size: 0.9rem;
    padding-left: 12px;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  section {
    padding: 35px 12px;
  }
  
  /* Notificación muy compacta */
  #unified-notification {
    width: 180px;
    max-width: 180px;
    left: 10px;
    bottom: 65px;
    padding: 8px;
  }
  
  #unified-notification h4 {
    font-size: 11px;
  }
  
  #unified-notification p {
    font-size: 9px;
  }
  
  #unified-notification a {
    font-size: 0.55rem;
    padding: 5px;
  }
  
  #unified-notification .close-notification {
    width: 18px;
    height: 18px;
    font-size: 12px;
  }
  
  /* Botones */
  .btn, .cta-btn {
    padding: 10px 20px;
    font-size: 14px;
    min-height: 40px;
  }
  
  /* WhatsApp */
  .floating-whatsapp {
    width: 45px !important;
    height: 45px !important;
    bottom: 15px !important;
    right: 15px !important;
  }
  
  .floating-whatsapp svg,
  .floating-whatsapp img {
    width: 24px !important;
    height: 24px !important;
  }
  
  /* Tarjetas */
  .casino-card,
  .agency-card,
  .reward-card {
    padding: 16px;
  }
  
  /* House cards */
  .house-card {
    min-width: 140px;
    padding: 16px 12px;
  }
  
  .house-logo {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  
  .house-card h4 {
    font-size: 14px;
  }
  
  .house-card p {
    font-size: 12px;
  }
  
  /* Brand pills */
  .brand-pill {
    padding: 12px 24px;
    font-size: 0.85rem;
  }
  
  /* Presentation card */
  .presentation-card {
    padding: 20px;
  }
  
  /* Live ticker */
  .live-ticker {
    height: 30px;
    font-size: 11px;
  }
  
  /* CTA Grid */
  .cta-grid {
    gap: 10px !important;
  }
  
  /* Indicator row */
  .indicator-row {
    gap: 20px;
  }
  
  .indicator {
    min-width: 100px;
  }
  
  .indicator-val {
    font-size: 1.8rem;
  }
  
  .indicator-label {
    font-size: 0.6rem;
  }
  
  /* Glass cards */
  .glass-card {
    padding: 16px;
  }
  
  /* Profile avatar */
  .profile-avatar {
    width: 80px;
    height: 80px;
  }
  
  /* CTA chips */
  .cta-chip {
    padding: 10px 16px !important;
    gap: 10px;
  }
  
  .chip-icon {
    width: 35px;
    height: 35px;
  }
  
  .chip-label {
    font-size: 0.9rem;
  }
  
  /* Topics */
  .topic-icon {
    width: 36px;
    height: 36px;
  }
  
  .topic-title {
    font-size: 1.1rem;
  }
  
  .topic-content {
    font-size: 0.85rem;
  }
  /* House cards */
  .house-card {
    min-width: 140px;
    padding: 16px 12px;
  }
  
  .house-logo {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  
  .house-card h4 {
    font-size: 14px;
  }
  
  .house-card p {
    font-size: 12px;
  }
  
  /* Brand pills */
  .brand-pill {
    padding: 12px 24px;
    font-size: 0.85rem;
  }
  
  /* Presentation card */
  .presentation-card {
    padding: 20px;
  }
  
  /* Live ticker */
  .live-ticker {
    height: 30px;
    font-size: 11px;
  }
  
  /* CTA Grid */
  .cta-grid {
    gap: 10px !important;
  }
  
  /* Indicator row */
  .indicator-row {
    gap: 20px;
  }
  
  .indicator {
    min-width: 100px;
  }
  
  .indicator-val {
    font-size: 1.8rem;
  }
  
  .indicator-label {
    font-size: 0.6rem;
  }
  
  /* Glass cards */
  .glass-card {
    padding: 16px;
  }
  
  /* Profile avatar */
  .profile-avatar {
    width: 80px;
    height: 80px;
  }
  
  /* CTA chips */
  .cta-chip {
    padding: 10px 16px !important;
    gap: 10px;
  }
  
  .chip-icon {
    width: 35px;
    height: 35px;
  }
  
  .chip-label {
    font-size: 0.9rem;
  }
  
  /* Topics */
  .topic-icon {
    width: 36px;
    height: 36px;
  }
  
  .topic-title {
    font-size: 1.1rem;
  }
  
  .topic-content {
    font-size: 0.85rem;
  }
}

@media (min-width: 1025px) {
  .mobile-menu-btn { display: none; }
}

/* Carrusel responsive */
@media (max-width: 768px) {
  #promo-carousel {
    height: auto !important;
    min-height: 600px !important;
  }
  
  .promo-slide > div {
    grid-template-columns: 1fr !important;
    padding: 50px 30px !important;
    gap: 30px;
  }
  
  .promo-slide h2 {
    font-size: 2.5rem !important;
    margin-bottom: 20px !important;
  }
  
  .promo-slide p {
    font-size: 1.3rem !important;
    margin-bottom: 30px !important;
  }
  
  .promo-slide .btn {
    padding: 16px 32px !important;
    font-size: 1.2rem !important;
  }
  
  /* Ocultar imagen en móvil para mejor legibilidad */
  .promo-slide > div > div:last-child {
    display: none !important;
  }
  
  /* Ajustar botones de navegación */
  #promo-prev,
  #promo-next {
    width: 60px !important;
    height: 60px !important;
    font-size: 28px !important;
  }
  
  /* Dots más grandes para touch */
  .carousel-dot {
    width: 14px !important;
    height: 14px !important;
  }
  
  .carousel-dot.active {
    width: 32px !important;
    border-radius: 8px !important;
  }
  
  /* Badge más visible */
  .promo-slide > div > div:first-child > div:first-child {
    font-size: 1rem !important;
    padding: 8px 20px !important;
  }
}

@media (max-width: 480px) {
  #promo-carousel {
    min-height: 550px !important;
  }
  
  .promo-slide > div {
    padding: 40px 24px !important;
  }
  
  .promo-slide h2 {
    font-size: 2.2rem !important;
  }
  
  .promo-slide p {
    font-size: 1.2rem !important;
  }
  
  .promo-slide .btn {
    padding: 14px 28px !important;
    font-size: 1.1rem !important;
    width: 100%;
  }
  
  /* Badge bien visible */
  .promo-slide > div > div:first-child > div:first-child {
    font-size: 0.9rem !important;
    padding: 6px 16px !important;
  }
  
  #promo-prev,
  #promo-next {
    width: 55px !important;
    height: 55px !important;
    font-size: 26px !important;
  }
}

@media (max-width: 360px) {
  #promo-carousel {
    min-height: 500px !important;
  }
  
  .promo-slide h2 {
    font-size: 2rem !important;
  }
  
  .promo-slide p {
    font-size: 1.1rem !important;
  }
  
  #promo-prev,
  #promo-next {
    width: 50px !important;
    height: 50px !important;
    font-size: 24px !important;
  }
}

/* Códigos en notificación - responsive */
@media (max-width: 768px) {
  #unified-notification .notification-content h3 {
    font-size: 12px !important;
    margin-bottom: 6px !important;
  }
  
  #unified-notification .notification-content .code-display {
    font-size: 16px !important;
    padding: 6px 10px !important;
    margin: 6px 0 !important;
  }
  
  #unified-notification .notification-content p {
    font-size: 9px !important;
    line-height: 1.3 !important;
  }
  
  #unified-notification .notification-content .code-info {
    font-size: 9px !important;
  }
  
  #unified-notification .notification-content .code-info span {
    font-size: 10px !important;
  }
}

@media (max-width: 480px) {
  #unified-notification .notification-content h3 {
    font-size: 10px !important;
  }
  
  #unified-notification .notification-content .code-display {
    font-size: 14px !important;
    padding: 5px 8px !important;
  }
  
  #unified-notification .notification-content p {
    font-size: 8px !important;
  }
  
  #unified-notification .notification-content .code-info span {
    font-size: 9px !important;
  }
}

/* Grid de códigos responsive - para ver más códigos en móvil */
@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 12px !important;
  }
  
  .service-grid .glass-card {
    padding: 16px !important;
    min-height: 180px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }
  
  .service-grid .glass-card h3 {
    font-size: 14px !important;
    margin-bottom: 8px !important;
    line-height: 1.2 !important;
    letter-spacing: 0.5px !important;
  }
  
  .service-grid .glass-card h4 {
    font-size: 28px !important;
    margin: 10px 0 !important;
    letter-spacing: 1px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }
  
  .service-grid .glass-card p {
    font-size: 13px !important;
    line-height: 1.3 !important;
    margin: 8px 0 !important;
    max-height: 45px !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }
  
  .service-grid .glass-card .code-stats {
    font-size: 12px !important;
    gap: 8px !important;
    margin-top: 10px !important;
    display: flex !important;
    justify-content: space-between !important;
  }
  
  .service-grid .glass-card .code-stats > div {
    flex: 1 !important;
  }
  
  .service-grid .glass-card .code-stats span {
    font-size: 20px !important;
    display: block !important;
    margin-top: 4px !important;
    padding: 4px 8px !important;
  }
  
  .service-grid .glass-card .btn {
    padding: 10px 16px !important;
    font-size: 13px !important;
    margin-top: 10px !important;
  }
  
  /* Botón X más pequeño */
  .service-grid .glass-card button[style*="position: absolute"] {
    width: 36px !important;
    height: 36px !important;
    font-size: 20px !important;
    top: 8px !important;
    right: 8px !important;
  }
}

@media (max-width: 480px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 10px !important;
  }
  
  .service-grid .glass-card {
    padding: 14px !important;
    min-height: 160px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }
  
  .service-grid .glass-card h3 {
    font-size: 12px !important;
    margin-bottom: 6px !important;
    line-height: 1.2 !important;
  }
  
  .service-grid .glass-card h4 {
    font-size: 24px !important;
    margin: 8px 0 !important;
    letter-spacing: 0.5px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
  }
  
  .service-grid .glass-card p {
    font-size: 11px !important;
    margin: 6px 0 !important;
    max-height: 40px !important;
    line-height: 1.3 !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }
  
  .service-grid .glass-card .code-stats {
    font-size: 10px !important;
    gap: 6px !important;
    margin-top: 8px !important;
    flex-wrap: wrap !important;
  }
  
  .service-grid .glass-card .code-stats span {
    font-size: 18px !important;
    padding: 3px 6px !important;
  }
  
  .service-grid .glass-card .btn {
    padding: 8px 12px !important;
    font-size: 11px !important;
    margin-top: 8px !important;
  }
  
  .service-grid .glass-card button[style*="position: absolute"] {
    width: 32px !important;
    height: 32px !important;
    font-size: 18px !important;
    top: 6px !important;
    right: 6px !important;
  }
}

@media (max-width: 360px) {
  .service-grid {
    gap: 8px !important;
    padding: 8px !important;
  }
  
  .service-grid .glass-card {
    padding: 12px !important;
    min-height: 140px !important;
  }
  
  .service-grid .glass-card h3 {
    font-size: 10px !important;
    margin-bottom: 5px !important;
  }
  
  .service-grid .glass-card h4 {
    font-size: 20px !important;
    letter-spacing: 0px !important;
    margin: 6px 0 !important;
    font-weight: 700 !important;
  }
  
  .service-grid .glass-card p {
    font-size: 9px !important;
    max-height: 35px !important;
    margin: 5px 0 !important;
  }
  
  .service-grid .glass-card .code-stats {
    font-size: 8px !important;
    margin-top: 6px !important;
    gap: 4px !important;
  }
  
  .service-grid .glass-card .code-stats span {
    font-size: 15px !important;
    padding: 2px 4px !important;
  }
  
  .service-grid .glass-card .btn {
    padding: 6px 10px !important;
    font-size: 9px !important;
    margin-top: 6px !important;
  }
  
  .service-grid .glass-card button[style*="position: absolute"] {
    width: 28px !important;
    height: 28px !important;
    font-size: 16px !important;
    top: 5px !important;
    right: 5px !important;
  }
}

/* Para pantallas muy pequeñas */
@media (max-width: 280px) {
  .service-grid {
    gap: 6px !important;
    padding: 6px !important;
  }
  
  .service-grid .glass-card {
    padding: 10px !important;
    min-height: 120px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }
  
  .service-grid .glass-card h3 {
    font-size: 8px !important;
    margin-bottom: 4px !important;
    line-height: 1.1 !important;
  }
  
  .service-grid .glass-card h4 {
    font-size: 16px !important;
    margin: 5px 0 !important;
    letter-spacing: -0.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  
  .service-grid .glass-card p {
    font-size: 7px !important;
    max-height: 28px !important;
    margin: 4px 0 !important;
    line-height: 1.2 !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }
  
  .service-grid .glass-card .code-stats {
    font-size: 6px !important;
    margin-top: 4px !important;
    gap: 3px !important;
    flex-wrap: nowrap !important;
  }
  
  .service-grid .glass-card .code-stats span {
    font-size: 12px !important;
    padding: 2px 3px !important;
    white-space: nowrap !important;
  }
  
  .service-grid .glass-card .btn {
    padding: 4px 6px !important;
    font-size: 7px !important;
    margin-top: 4px !important;
    min-height: 20px !important;
  }
  
  .service-grid .glass-card button[style*="position: absolute"] {
    width: 24px !important;
    height: 24px !important;
    font-size: 14px !important;
    top: 4px !important;
    right: 4px !important;
  }
  
  /* Optimización de tarjetas de agencias para pantallas muy pequeñas */
  .dynamic-agency .agency-img-box {
    height: 140px !important;
  }
  
  .dynamic-agency h3 {
    font-size: 0.95rem !important;
    letter-spacing: 0.5px !important;
  }
  
  .dynamic-agency p {
    font-size: 0.65rem !important;
    margin-bottom: 8px !important;
  }
  
  .dynamic-agency .agency-info {
    padding: 12px !important;
    gap: 8px !important;
  }
  
  .dynamic-agency .social-btn {
    width: 32px !important;
    height: 32px !important;
    gap: 8px !important;
  }
  
  .dynamic-agency .social-btn svg {
    width: 16px !important;
    height: 16px !important;
  }
  
  .dynamic-agency .btn {
    font-size: 0.75rem !important;
    padding: 10px 0 !important;
    letter-spacing: 1px !important;
  }
  
  .dynamic-agency span[style*="font-size: 0.6rem"] {
    font-size: 0.55rem !important;
    padding: 2px 8px !important;
  }
  
  .dynamic-agency button.delete-btn {
    width: 28px !important;
    height: 28px !important;
    font-size: 14px !important;
    top: 12px !important;
    right: 12px !important;
  }
}

/* Optimización página Trabaja para móviles */
@media (max-width: 768px) {
  .hero-business {
    flex-direction: column !important;
    gap: 20px !important;
  }
  
  .presentation-card {
    width: 100% !important;
    max-width: 100% !important;
    flex-shrink: 1 !important;
  }
  
  .hero-business > .glass-card {
    width: 100% !important;
    flex: none !important;
  }
  
  .hero-business [style*="grid-template-columns: 1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  
  .hero-business [style*="grid-template-columns: 2fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

@media (max-width: 480px) {
  .hero-business {
    flex-direction: column !important;
    gap: 15px !important;
    display: flex !important;
  }
  
  .presentation-card {
    width: 100% !important;
    max-width: 100% !important;
    flex-shrink: 1 !important;
  }
  
  .hero-business > .glass-card {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }
  
  .hero-business .glass-card {
    padding: 20px !important;
  }
  
  .hero-business h1.brand-title {
    font-size: 1.8rem !important;
  }
  
  .hero-business .section-lead {
    font-size: 0.85rem !important;
  }
  
  .hero-business [style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  
  .hero-business [style*="grid-template-columns: 1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  
  .hero-business [style*="grid-template-columns: 2fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  
  .hero-business [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
  
  .service-grid[style*="grid-template-columns: repeat(auto-fit"] {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  
  #plan-ecuabet h2.brand-title {
    font-size: 1.6rem !important;
  }
  
  #otras-plataformas h2.brand-title {
    font-size: 1.8rem !important;
  }
  
  /* Forzar orden correcto en móviles */
  .hero-business {
    flex-wrap: wrap !important;
  }
  
  .hero-business > div:first-child {
    order: 1 !important;
    width: 100% !important;
  }
  
  .hero-business > div:last-child {
    order: 2 !important;
    width: 100% !important;
  }
}

@media (max-width: 280px) {
  .hero-business .glass-card {
    padding: 15px !important;
  }
  
  .hero-business h1.brand-title {
    font-size: 1.4rem !important;
  }
  
  .hero-business .section-lead {
    font-size: 0.75rem !important;
  }
  
  .hero-business p {
    font-size: 0.75rem !important;
  }
  
  .hero-business [style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  
  .hero-business [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  
  .service-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  
  .service-grid .glass-card {
    padding: 15px !important;
  }
  
  #plan-ecuabet h2.brand-title {
    font-size: 1.3rem !important;
  }
  
  #otras-plataformas h2.brand-title {
    font-size: 1.4rem !important;
  }
  
  .profile-avatar {
    width: 130px !important;
    height: 130px !important;
  }
  
  .presentation-card h2 {
    font-size: 1.2rem !important;
  }
  
  .presentation-card .btn {
    font-size: 0.75rem !important;
    padding: 10px !important;
  }
}

/* Corrección específica para dispositivos de alta resolución como S25 Ultra */
@media (max-width: 430px) {
  .hero-business {
    flex-direction: column !important;
    display: flex !important;
    flex-wrap: nowrap !important;
  }
  
  .hero-business > * {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }
  
  .presentation-card[style*="width: 360px"] {
    width: 100% !important;
  }
}

/* Para pantallas muy anchas en móviles (como S25 Ultra en modo portrait) */
@media (min-width: 360px) and (max-width: 430px) {
  .hero-business {
    flex-direction: column !important;
  }
  
  .hero-business .glass-card[style*="flex: 1"] {
    flex: none !important;
    width: 100% !important;
  }
  
  .hero-business .glass-card[style*="width: 360px"] {
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* ============================================
   NEON YELLOW - Efectos visuales premium
   ============================================ */

/* Topbar con borde neon inferior */
.topbar {
  border-bottom: 1px solid rgba(255, 224, 0, 0.15);
  box-shadow: 0 2px 20px rgba(255, 224, 0, 0.08);
}

/* Brand con glow */
.brand svg {
  filter: drop-shadow(0 0 8px rgba(255, 224, 0, 0.6)) drop-shadow(0 0 20px rgba(255, 224, 0, 0.3));
  transition: filter 0.3s ease;
}
.brand:hover svg {
  filter: drop-shadow(0 0 12px rgba(255, 224, 0, 0.9)) drop-shadow(0 0 30px rgba(255, 224, 0, 0.5));
}

/* Glass cards con borde neon sutil */
.glass-card {
  border-color: rgba(255, 224, 0, 0.12) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,224,0,0.06), inset 0 1px 0 rgba(255,224,0,0.04) !important;
  transition: box-shadow 0.3s ease, border-color 0.3s ease !important;
}
.glass-card:hover {
  border-color: rgba(255, 224, 0, 0.25) !important;
  box-shadow: 0 8px 40px rgba(0,0,0,0.7), 0 0 20px rgba(255,224,0,0.1), inset 0 1px 0 rgba(255,224,0,0.08) !important;
}

/* Botones primarios con glow neon */
.btn-primary {
  box-shadow: 0 0 15px rgba(255, 224, 0, 0.4), 0 4px 15px rgba(0,0,0,0.4) !important;
  transition: box-shadow 0.3s ease, transform 0.2s ease !important;
}
.btn-primary:hover {
  box-shadow: 0 0 25px rgba(255, 224, 0, 0.7), 0 0 50px rgba(255, 224, 0, 0.3), 0 4px 20px rgba(0,0,0,0.5) !important;
  transform: translateY(-1px) !important;
}

/* Brand title con glow en texto dorado */
.brand-title {
  text-shadow: 0 0 30px rgba(255, 224, 0, 0.2);
}

/* Pulse dot neon */
.pulse-dot {
  box-shadow: 0 0 8px rgba(255, 224, 0, 0.8), 0 0 16px rgba(255, 224, 0, 0.4) !important;
}

/* Nav links con hover neon */
.nav a:hover {
  color: var(--primary) !important;
  text-shadow: 0 0 10px rgba(255, 224, 0, 0.6);
}

/* Sección hero con glow ambiental */
.hero {
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(255,224,0,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Live ticker con glow */
.live-ticker {
  border-bottom: 1px solid rgba(255, 224, 0, 0.2);
  box-shadow: 0 2px 15px rgba(255, 224, 0, 0.08);
}

/* Scroll progress neon */
.scroll-progress {
  box-shadow: 0 0 10px rgba(255, 224, 0, 0.8) !important;
}

/* Floating WhatsApp con glow verde */
.floating-whatsapp {
  box-shadow: 0 4px 20px rgba(35, 211, 102, 0.5), 0 0 30px rgba(35, 211, 102, 0.2) !important;
}
.floating-whatsapp:hover {
  box-shadow: 0 6px 30px rgba(35, 211, 102, 0.7), 0 0 50px rgba(35, 211, 102, 0.3) !important;
}

/* Carril de fotos con glow más intenso */
.photo-rail-container {
  box-shadow:
    0 0 0 2px rgba(255,224,0,0.7),
    0 0 25px rgba(255,224,0,0.35),
    0 0 70px rgba(255,200,0,0.15),
    inset 0 0 30px rgba(0,0,0,0.4) !important;
}

/* Esquinas del carril más brillantes */
.rail-corner-tl, .rail-corner-tr, .rail-corner-bl, .rail-corner-br {
  filter: drop-shadow(0 0 4px rgba(255,224,0,0.9));
}

/* Sección block con línea neon superior */
.section-block {
  position: relative;
}
.section-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,224,0,0.4), transparent);
}

/* Inputs con focus neon */
input:focus, textarea:focus, select:focus {
  outline: none !important;
  border-color: rgba(255, 224, 0, 0.5) !important;
  box-shadow: 0 0 0 2px rgba(255, 224, 0, 0.15), 0 0 15px rgba(255, 224, 0, 0.1) !important;
}

/* Animación de glow pulsante para elementos destacados */
@keyframes neon-pulse {
  0%, 100% { box-shadow: 0 0 10px rgba(255,224,0,0.4), 0 0 20px rgba(255,224,0,0.2); }
  50%       { box-shadow: 0 0 20px rgba(255,224,0,0.7), 0 0 40px rgba(255,224,0,0.35); }
}

.btn-primary {
  animation: neon-pulse 3s ease-in-out infinite !important;
}
.btn-primary:hover {
  animation: none !important;
}

/* Footer con borde neon superior */
.footer {
  border-top: 1px solid rgba(255, 224, 0, 0.1);
  box-shadow: 0 -4px 30px rgba(255, 224, 0, 0.05);
}

/* Líneas decorativas de sección */
.brand-title span[style*="width: 4px"],
.brand-title span[style*="width:4px"] {
  box-shadow: 0 0 10px rgba(255,224,0,0.8), 0 0 20px rgba(255,224,0,0.4) !important;
}
