/* ==========================================================================
   EuroAI[x] — Design System & Stylesheet (Limpio, Claro, Tipo LottoSocial)
   Enfoque Comercial y Marketing Directo — Cero Grasa Científica
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@500;700&family=Outfit:wght@600;700;800;900&display=swap');

:root {
  --brand-blue: #0046AD;
  --brand-blue-hover: #0852c7;
  --brand-blue-light: #EFF6FF;
  --brand-blue-border: #BFDBFE;
  
  --brand-charcoal: #0F172A;
  --brand-slate-dark: #1E293B;
  --brand-slate-body: #334155;
  --brand-slate-muted: #64748B;
  --brand-slate-dim: #94A3B8;

  --brand-mint: #10B981;
  --brand-mint-dark: #047857;
  --brand-green-light: #ECFDF5;
  --brand-mint-border: #A7F3D0;
  
  --brand-bg: #F8FAFC;
  --brand-bg-white: #FFFFFF;
  --brand-border: #E2E8F0;
  --brand-border-subtle: #F1F5F9;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 20px -4px rgba(0, 70, 173, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 16px 36px -8px rgba(0, 70, 173, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
  --shadow-card: 0 8px 30px rgba(15, 23, 42, 0.07);
}

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

html, body {
  min-height: 100%;
  background-color: var(--brand-bg);
  color: var(--brand-slate-body);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Background mesh */
.bg-grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(0, 70, 173, 0.04), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(16, 185, 129, 0.05), transparent 45%),
    linear-gradient(to right, rgba(226, 232, 240, 0.5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.5) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--brand-border);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease, box-shadow 0.28s ease;
  transform: translateY(0);
  opacity: 1;
}

/* Spacer preserving document flow beneath fixed navbar */
.navbar-spacer {
  height: 66px;
  width: 100%;
  pointer-events: none;
}

/* Invisible hover strip at the very top of viewport to detect cursor entry when navbar is hidden */
.nav-hover-trigger {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 36px;
  z-index: 999;
  pointer-events: auto;
}

/* When scrolling down: navbar hides out of sight */
.navbar.nav-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  box-shadow: none;
}

/* When user hovers the top area where navbar was: smooth reappear */
.navbar.nav-hidden.nav-revealed-hover {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2.5vw, 36px);
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--brand-charcoal);
  margin-right: clamp(24px, 3.5vw, 44px);
  flex-shrink: 0;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  border-radius: var(--radius-sm);
  object-fit: contain;
  display: block;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  color: var(--brand-blue);
  display: flex;
  align-items: baseline;
}

.brand-name span.x-bracket {
  color: var(--brand-slate-muted);
  font-weight: 500;
}

.brand-name span.x-letter {
  color: var(--brand-mint);
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  list-style: none;
  flex-shrink: 0;
}

.nav-links a {
  color: var(--brand-slate-body);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--brand-blue);
  background: rgba(0, 70, 173, 0.04);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  flex-shrink: 0;
}

.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--brand-green-light);
  border: 1px solid var(--brand-mint-border);
  color: var(--brand-mint-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 9999px;
}

.badge-verified .dot {
  width: 8px;
  height: 8px;
  background-color: var(--brand-mint);
  border-radius: 50%;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* Hero Section */
.hero-section {
  position: relative;
  z-index: 10;
  padding: 56px 24px 72px;
  max-width: 1240px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 52px;
  align-items: center;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
}

/* Centered Hero Layout */
.hero-section.centered {
  text-align: center;
  padding: 72px 24px 84px;
  max-width: 1040px;
  margin: 0 auto;
}

.hero-section.centered .hero-content {
  align-items: center;
  text-align: center;
}

.hero-section.centered .hero-pretitle {
  align-self: center;
}

.hero-section.centered .hero-title {
  font-size: 3.8rem;
  max-width: 860px;
}

.hero-section.centered .hero-description {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
  font-size: 1.22rem;
}

.hero-section.centered .hero-cta-group {
  justify-content: center;
  gap: 14px;
}

.hero-section.centered .hero-proof-list {
  justify-content: center;
}

.btn-hero-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand-green-light);
  color: var(--brand-mint-dark);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px 26px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 1.5px solid var(--brand-mint-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-hero-accent:hover {
  background: #DCFCE7;
  border-color: var(--brand-mint);
  color: #065F46;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-hero-accent .arrow {
  transition: transform 0.2s ease;
  font-size: 1.2rem;
}

.btn-hero-accent:hover .arrow {
  transform: translateX(5px);
}

.hero-pretitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  background: var(--brand-blue-light);
  border: 1px solid var(--brand-blue-border);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 22px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--brand-charcoal);
  margin-bottom: 24px;
}

.hero-title .team-sport-highlight {
  display: block;
  background: linear-gradient(135deg, #0046AD 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.18rem;
  line-height: 1.68;
  color: var(--brand-slate-body);
  margin-bottom: 34px;
  max-width: 600px;
}

.hero-description strong {
  color: var(--brand-charcoal);
  font-weight: 700;
}

/* CTAs */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #0046AD 0%, #1565D8 100%);
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: none;
  box-shadow: 0 8px 24px -3px rgba(0, 70, 173, 0.4), 0 2px 6px rgba(0, 70, 173, 0.2);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #0852C7 0%, #1E74EE 100%);
  box-shadow: 0 12px 28px -2px rgba(0, 70, 173, 0.5);
}

.btn-primary .arrow {
  transition: transform 0.2s ease;
  font-size: 1.2rem;
}

.btn-primary:hover .arrow {
  transform: translateX(5px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #FFFFFF;
  color: var(--brand-blue);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 2px solid var(--brand-blue-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--brand-blue-light);
  border-color: var(--brand-blue);
  color: var(--brand-blue-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary .arrow {
  transition: transform 0.2s ease;
  color: var(--brand-mint-dark);
  font-size: 1.2rem;
}

.btn-secondary:hover .arrow {
  transform: translateX(5px);
}

/* Proof items */
.hero-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--brand-border);
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--brand-slate-body);
}

.proof-item .check-icon {
  background: var(--brand-green-light);
  color: var(--brand-mint-dark);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.proof-item strong {
  color: var(--brand-charcoal);
}

/* Interactive Card */
.hero-visual {
  position: relative;
}

.syndicate-card {
  background: #FFFFFF;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.syndicate-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-mint));
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--brand-border-subtle);
}

.card-title-group h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-charcoal);
}

.card-title-group p {
  font-size: 0.8rem;
  color: var(--brand-slate-muted);
  font-weight: 600;
}

.card-live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-mint-dark);
  background: var(--brand-green-light);
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid var(--brand-mint-border);
}

.control-box {
  background: #F8FAFC;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 16px;
}

.control-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.control-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-charcoal);
}

.control-value {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--brand-blue);
  font-size: 1rem;
}

.slider-input {
  width: 100%;
  accent-color: var(--brand-blue);
  height: 6px;
  border-radius: 4px;
  background: #CBD5E1;
  outline: none;
  cursor: pointer;
}

.syndicate-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.metric-tile {
  background: #F8FAFC;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
}

.metric-tile.highlight {
  border-color: var(--brand-mint-border);
  background: var(--brand-green-light);
}

.metric-tile .label {
  font-size: 0.72rem;
  color: var(--brand-slate-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.metric-tile .value {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-charcoal);
}

.metric-tile.highlight .value {
  color: var(--brand-mint-dark);
}

.comparison-box {
  background: #F8FAFC;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 18px;
  border: 1px solid var(--brand-border);
}

.comparison-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.82rem;
}

.comparison-label-bad {
  color: #DC2626;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.comparison-label-good {
  color: var(--brand-mint-dark);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.comparison-track {
  height: 8px;
  background: #E2E8F0;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  margin-bottom: 10px;
}

.comparison-fill-good {
  height: 100%;
  background: linear-gradient(90deg, #10B981, #059669);
  width: 92%;
  border-radius: 4px;
}

.comparison-fill-bad {
  height: 100%;
  background: #EF4444;
  width: 38%;
  border-radius: 4px;
}

.matryoshka-preview {
  background: #FFFFFF;
  border: 1px solid var(--brand-blue-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.matryoshka-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.matryoshka-gif-thumb {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--brand-mint-border);
}

.matryoshka-text {
  font-size: 0.82rem;
}

.matryoshka-text .tier-tag {
  color: var(--brand-blue);
  font-weight: 700;
}

.matryoshka-text .tier-desc {
  color: var(--brand-slate-body);
  font-size: 0.78rem;
  font-weight: 500;
}

.btn-card-action {
  background: var(--brand-blue);
  border: none;
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 70, 173, 0.25);
  transition: all 0.2s ease;
}

.btn-card-action:hover {
  background: var(--brand-blue-hover);
  transform: translateY(-1px);
}

/* Feature Pillars Section */
.pillars-section {
  position: relative;
  z-index: 10;
  padding: 24px 24px 64px;
  max-width: 1240px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.section-tag {
  font-size: 0.85rem;
  color: var(--brand-blue);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-charcoal);
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--brand-slate-body);
  font-size: 1.08rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

.pillar-card {
  background: #FFFFFF;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.pillar-icon.blue {
  background: var(--brand-blue-light);
  border: 1px solid var(--brand-blue-border);
}

.pillar-icon.mint {
  background: var(--brand-green-light);
  border: 1px solid var(--brand-mint-border);
}

.pillar-icon.purple {
  background: #FAF5FF;
  border: 1px solid #E9D5FF;
}

.pillar-card h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-charcoal);
  margin-bottom: 10px;
}

.pillar-card p {
  color: var(--brand-slate-body);
  font-size: 0.96rem;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 18px;
}

.pillar-badge {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--brand-blue);
  background: var(--brand-blue-light);
  border: 1px solid var(--brand-blue-border);
  padding: 5px 11px;
  border-radius: 6px;
  align-self: flex-start;
}

/* ==========================================================================
   PRICING SECTIONS (Planes Particulares + Gestión de Peñas)
   ========================================================================== */
.pricing-section {
  position: relative;
  z-index: 10;
  padding: 56px 24px 80px;
  max-width: 1240px;
  margin: 0 auto;
}

/* Grid de 4 planes: Free, Básica, Standard, Expandida */
.pricing-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px;
  align-items: stretch;
}

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

@media (max-width: 640px) {
  .pricing-grid-4 {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  background: #FFFFFF;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-blue-border);
}

/* Tarjeta Destacada [POPULAR] */
.pricing-card.popular {
  border: 2px solid var(--brand-blue);
  box-shadow: var(--shadow-md);
  transform: scale(1.02);
  z-index: 2;
}

.pricing-card.popular:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.popular-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-blue);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(0, 70, 173, 0.35);
}

.plan-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand-charcoal);
  margin-bottom: 6px;
}

.plan-price-box {
  margin: 14px 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--brand-border);
}

.plan-price-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--brand-charcoal);
  line-height: 1;
}

.plan-price-period {
  font-size: 0.88rem;
  color: var(--brand-slate-muted);
  font-weight: 600;
}

.plan-feature-badge {
  background: #F1F5F9;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--brand-charcoal);
}

.plan-feature-badge.blue {
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  border: 1px solid var(--brand-blue-border);
}

.plan-feature-badge.mint {
  background: var(--brand-green-light);
  color: var(--brand-mint-dark);
  border: 1px solid var(--brand-mint-border);
}

.plan-combi-sub {
  font-size: 0.8rem;
  color: var(--brand-slate-muted);
  margin-top: 2px;
}

.plan-friends-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #F1F5F9;
  color: var(--brand-charcoal);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  border: 1px solid var(--brand-border);
}

.pricing-card.popular .plan-friends-tag {
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  border: 1px solid var(--brand-blue-border);
}

.plan-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
  flex-grow: 1;
}

.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--brand-slate-body);
}

.plan-list li span.check {
  color: var(--brand-mint-dark);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
}

.btn-plan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid var(--brand-border);
  background: #F8FAFC;
  color: var(--brand-charcoal);
}

.btn-plan:hover {
  background: #F1F5F9;
  color: var(--brand-blue);
  border-color: var(--brand-blue-border);
}

.btn-plan.primary {
  background: var(--brand-blue);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 14px rgba(0, 70, 173, 0.3);
}

.btn-plan.primary:hover {
  background: var(--brand-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 70, 173, 0.4);
}

/* Bloque: ¿GESTIONAS PEÑAS? */
.managers-box {
  background: linear-gradient(135deg, #EFF6FF 0%, #F8FAFC 100%);
  border: 2px solid var(--brand-blue-border);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  box-shadow: var(--shadow-md);
}

.managers-head {
  text-align: center;
  margin-bottom: 36px;
}

.managers-badge {
  display: inline-block;
  background: var(--brand-blue);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 10px;
}

.managers-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-charcoal);
  margin-bottom: 8px;
}

.managers-subtitle {
  color: var(--brand-slate-body);
  font-size: 1.05rem;
}

.managers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

@media (max-width: 840px) {
  .managers-grid {
    grid-template-columns: 1fr;
  }
}

.manager-card {
  background: #FFFFFF;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.manager-card-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--brand-charcoal);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.manager-card-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-blue);
}

.manager-card-desc {
  color: var(--brand-slate-body);
  font-size: 0.95rem;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--brand-border);
  font-weight: 500;
}

.manager-sublist {
  margin: 6px 0 10px 24px;
  font-size: 0.86rem;
  color: var(--brand-slate-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #FFFFFF;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-xl);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.modal-backdrop.active .modal-box {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--brand-border);
  background: #F8FAFC;
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-charcoal);
}

.modal-close-btn {
  background: #FFFFFF;
  border: 1px solid var(--brand-border);
  color: var(--brand-slate-body);
  font-size: 1.3rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: #F1F5F9;
  color: var(--brand-charcoal);
}

.modal-body {
  padding: 28px;
  background: #FFFFFF;
}

/* Balls for Lottery Numbers */
.balls-container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.ball {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: #FFFFFF;
  background: radial-gradient(circle at 35% 30%, #3B82F6, #0046AD);
  box-shadow: 0 4px 10px rgba(0, 70, 173, 0.3), inset 0 2px 3px rgba(255, 255, 255, 0.4);
}

.ball.star {
  background: radial-gradient(circle at 35% 30%, #FBBF24, #D97706);
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3), inset 0 2px 3px rgba(255, 255, 255, 0.4);
  position: relative;
}

.ball.star::after {
  content: '★';
  position: absolute;
  top: 1px;
  right: 2px;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Results Table */
.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-top: 14px;
}

.results-table th {
  text-align: left;
  padding: 12px 14px;
  background: #F1F5F9;
  color: var(--brand-charcoal);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 2px solid var(--brand-border);
}

.results-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--brand-border);
  color: var(--brand-slate-body);
}

.results-table tr:hover td {
  background: #F8FAFC;
}

.results-table td.amount {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--brand-blue);
  text-align: right;
}

.results-table td.winners {
  font-family: var(--font-mono);
  color: var(--brand-slate-muted);
  text-align: center;
}

/* Footer */
.footer {
  border-top: 1px solid var(--brand-border);
  background: #FFFFFF;
  padding: 44px 24px;
  color: var(--brand-slate-muted);
  font-size: 0.88rem;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-compliance {
  max-width: 620px;
  line-height: 1.6;
}

/* Popularity Map Section & Cards */
.map-section {
  position: relative;
  z-index: 10;
  padding: 40px 24px 72px;
  max-width: 1040px;
  margin: 0 auto;
}

.map-container {
  background: #FFFFFF;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-xl);
  padding: 38px 32px;
  box-shadow: var(--shadow-card);
}

.map-header {
  margin-bottom: 24px;
}

.map-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-charcoal);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.map-plan-tag {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--brand-blue);
  background: var(--brand-blue-light);
  border: 1px solid var(--brand-blue-border);
  padding: 4px 12px;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 12px;
}

.map-intro {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--brand-slate-body);
  max-width: 780px;
}

.map-zones-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0;
}

.map-zone-card {
  border-radius: var(--radius-md);
  padding: 20px 24px;
  border: 1px solid var(--brand-border);
  background: #F8FAFC;
  transition: all 0.2s ease;
}

.map-zone-card.red {
  background: #FFF5F5;
  border-color: #FECACA;
}

.map-zone-card.neutral {
  background: #F8FAFC;
  border-color: #E2E8F0;
}

.map-zone-card.green {
  background: #F0FDF4;
  border-color: #BBF7D0;
}

.map-zone-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.map-zone-title {
  font-size: 1.08rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-zone-card.red .map-zone-title {
  color: #991B1B;
}

.map-zone-card.neutral .map-zone-title {
  color: var(--brand-charcoal);
}

.map-zone-card.green .map-zone-title {
  color: #166534;
}

.map-zone-badge {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
}

.map-zone-badge.red {
  background: #FEE2E2;
  color: #DC2626;
  border: 1px solid #FCA5A5;
}

.map-zone-badge.green {
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid #86EFAC;
}

.map-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.map-num-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.map-num-pill.red {
  background: #EF4444;
  color: #FFFFFF;
}

.map-num-pill.green {
  background: #10B981;
  color: #FFFFFF;
}

.map-zone-caption {
  font-size: 0.86rem;
  color: var(--brand-slate-muted);
  font-style: italic;
  margin-top: 6px;
}

.map-notice-box {
  background: #F8FAFC;
  border-left: 4px solid var(--brand-blue);
  border-radius: 4px;
  padding: 14px 18px;
  margin: 24px 0 30px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--brand-slate-body);
}

.map-notice-box strong {
  color: var(--brand-charcoal);
}

.map-cta-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* Sample combination generator preview */
.sample-combi-box {
  background: #EFF6FF;
  border: 1.5px solid var(--brand-blue-border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   Footer Completo y Canónico
   ========================================================================== */
.footer {
  background: #FFFFFF;
  border-top: 1px solid var(--brand-border);
  padding: 56px 0 40px;
  color: var(--brand-slate-body);
  font-family: var(--font-display);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 36px;
}

@media (max-width: 840px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.footer-brand-col {
  max-width: 380px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-charcoal);
  margin-bottom: 12px;
}

.footer-version-tag {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--brand-blue);
  background: #EFF6FF;
  border: 1px solid var(--brand-blue-border);
  padding: 2px 8px;
  border-radius: 4px;
}

.footer-desc {
  font-size: 0.92rem;
  color: var(--brand-slate-muted);
  line-height: 1.6;
  margin: 0;
}

.footer-col-title {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-charcoal);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a,
.footer-links-list button.footer-link-btn {
  color: var(--brand-slate-body);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s ease;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.footer-links-list a:hover,
.footer-links-list button.footer-link-btn:hover {
  color: var(--brand-blue);
}

.footer-mid-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .footer-mid-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.footer-section-heading {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--brand-charcoal);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.footer-resources-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-resources-list li {
  font-size: 0.9rem;
  color: var(--brand-slate-body);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-resources-list a {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

.footer-resources-list a:hover {
  text-decoration: underline;
  color: var(--brand-blue-hover);
}

.badge-post-filing {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-slate-muted);
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  padding: 2px 8px;
  border-radius: 4px;
  font-style: italic;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-blue);
  text-decoration: none;
  padding: 8px 14px;
  background: #EFF6FF;
  border: 1px solid var(--brand-blue-border);
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.footer-contact-link:hover {
  background: #DBEAFE;
  border-color: #93C5FD;
}

.footer-bottom-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-company-reg {
  font-size: 0.85rem;
  color: var(--brand-slate-muted);
  font-weight: 500;
}

.footer-responsible-box {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #78350F;
}

.footer-responsible-box strong {
  color: #92400E;
}




/* ==========================================================================
   Boleto Oficial de Popularidad (Ticket Heatmap Grid - Formato Oficial)
   ========================================================================== */
.map-layout-grid {
  display: grid;
  grid-template-columns: 272px 1fr;
  gap: 36px;
  align-items: start;
}

@media (max-width: 960px) {
  .map-layout-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

.ticket-side-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.ticket-card {
  width: 256px;
  background: #EDF2F7;
  border: 1.5px solid #335577;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 70, 173, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
}

.ticket-header {
  background: #3E5C76;
  height: 44px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #FFFFFF;
}

.ticket-tool-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background 0.15s ease, transform 0.1s ease;
}

.ticket-tool-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
}

.ticket-tool-btn:active {
  transform: scale(0.95);
}

.ticket-title-num {
  font-size: 1.45rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1;
  font-family: var(--font-display);
}

.ticket-grid {
  display: grid;
  grid-template-rows: repeat(9, 34px);
  grid-template-columns: repeat(6, 39px);
  grid-auto-flow: column;
  background: #EDF2F7;
  gap: 2px;
  padding: 8px 6px 6px 6px;
  justify-content: center;
}

.t-cell {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: #0F4C81;
  cursor: pointer;
  transition: all 0.12s ease;
  user-select: none;
  font-family: var(--font-display);
}

.t-cell:hover {
  transform: scale(1.06);
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
}

/* 🔴 Zona Sobre-jugada (1 al 28) */
.t-cell.zone-overplayed {
  background: #FFF5F5;
  border-color: #FECDD3;
  color: #991B1B;
}

.t-cell.top-overplayed {
  background: #FFE4E6;
  border-color: #FDA4AF;
  color: #881337;
  font-weight: 800;
}

/* ⚪ Zona Neutra (29 al 33) */
.t-cell.zone-neutral {
  background: #FFFFFF;
  border-color: #CBD5E1;
  color: #334155;
}

/* 🟢 Zona Alto Valor (34 al 50) */
.t-cell.zone-high-value {
  background: #F0FDF4;
  border-color: #BBF7D0;
  color: #065F46;
}

.t-cell.top-high-value {
  background: #DCFCE7;
  border-color: #86EFAC;
  color: #047857;
  font-weight: 800;
}

/* Estado Seleccionado */
.t-cell.selected {
  background: #0046AD !important;
  color: #FFFFFF !important;
  border-color: #002D6E !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 6px rgba(0, 70, 173, 0.45);
  transform: scale(1.06);
  z-index: 3;
}

/* Estrellas */
.ticket-stars-wrap {
  padding: 6px 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.ticket-stars-row {
  display: flex;
  gap: 4px;
  justify-content: center;
}

.t-star {
  position: relative;
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s ease;
}

.t-star:hover {
  transform: scale(1.1);
}

.t-star svg {
  width: 100%;
  height: 100%;
  fill: #FFFFFF;
  stroke: #94A3B8;
  stroke-width: 1.4;
  transition: all 0.15s ease;
}

.t-star span {
  position: absolute;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0F4C81;
  pointer-events: none;
}

.t-star:hover svg {
  stroke: #0046AD;
  fill: #EFF6FF;
}

.t-star.selected svg {
  fill: #F59E0B !important;
  stroke: #D97706 !important;
}

.t-star.selected span {
  color: #FFFFFF !important;
}

.ticket-quick-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--brand-slate-body);
}

.t-legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.t-dot.red { background: #EF4444; }
.t-dot.neutral { background: #94A3B8; }
.t-dot.green { background: #10B981; }

/* Compact zone cards on the right */
.map-zones-grid.compact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.map-zone-card.compact {
  padding: 10px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 0;
}

.map-zone-card.compact .map-zone-head {
  margin-bottom: 2px;
}

.map-zone-card.compact .map-zone-title {
  font-size: 0.96rem;
  font-weight: 800;
}

.map-zone-nums {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  margin: 3px 0;
  line-height: 1.4;
}

.map-zone-nums.red {
  color: #DC2626;
}

.map-zone-nums.green {
  color: #15803D;
}

.map-zone-card.compact .map-zone-caption {
  font-size: 0.82rem;
  margin-top: 2px;
}

#modal-mapa .modal-box {
  max-width: 920px;
  width: 95%;
}

/* Botones de acción en paralelo dentro del modal del mapa */
#modal-mapa .map-cta-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 14px !important;
  align-items: center !important;
  margin-top: 22px !important;
  width: 100% !important;
}

#modal-mapa .map-cta-row .btn-primary,
#modal-mapa .map-cta-row .btn-secondary {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  padding: 13px 16px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  justify-content: center !important;
  text-align: center !important;
  border-radius: var(--radius-md) !important;
  box-sizing: border-box !important;
}

#modal-mapa .map-cta-row .btn-primary {
  background: linear-gradient(135deg, #0046AD 0%, #1565D8 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(0, 70, 173, 0.3) !important;
}

#modal-mapa .map-cta-row .btn-secondary {
  background: #FFFFFF !important;
  color: var(--brand-blue) !important;
  border: 1.5px solid var(--brand-blue-border) !important;
  box-shadow: var(--shadow-sm) !important;
}

#modal-mapa .map-cta-row .btn-secondary:hover {
  background: var(--brand-blue-light) !important;
  border-color: var(--brand-blue) !important;
}

/* Boleto informativo: interactividad controlada por cupo en plan Free */
#modal-mapa .ticket-card .t-cell,
#modal-mapa .ticket-card .t-star {
  cursor: default;
}

/* ─── Plan Free: Contador de Acciones y Bloqueo Temporal (Auto-Clean 2h) ─── */
.free-actions-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1D4ED8;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

.free-actions-badge.warning {
  background: #FFFBEB;
  border-color: #FDE68A;
  color: #B45309;
}

.free-actions-badge.locked {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #DC2626;
  animation: pulse-badge-locked 2s infinite ease-in-out;
}

@keyframes pulse-badge-locked {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.02); opacity: 0.88; }
}

/* ─── Botones de Acción Dedicados Debajo del Boleto (Plan Free) ─── */
.ticket-actions-bar {
  width: 256px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 6px 0 10px 0;
  box-sizing: border-box;
}

.btn-nueva-combi {
  width: 100%;
  background: #0F172A;
  color: #F8FAFC;
  border: 1.5px solid #334155;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.btn-nueva-combi:hover:not(:disabled) {
  background: #1E293B;
  border-color: #38BDF8;
  color: #38BDF8;
  transform: translateY(-1px);
}

.btn-nueva-combi:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.btn-imprimir-ticket {
  width: 100%;
  background: linear-gradient(135deg, #0046AD 0%, #1565D8 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 70, 173, 0.25);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.btn-imprimir-ticket:hover:not(:disabled) {
  background: linear-gradient(135deg, #00388B 0%, #0046AD 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 70, 173, 0.35);
}

.btn-imprimir-ticket:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* Overlay de Bloqueo tras 3/3 acciones consumidas */
#modal-mapa .map-layout-grid {
  position: relative;
}

.free-locked-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
}

.free-locked-card {
  max-width: 520px;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.35);
  color: var(--brand-navy);
}

.free-locked-icon {
  font-size: 2.4rem;
  margin-bottom: 8px;
}

.free-locked-card h4 {
  font-size: 1.22rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 8px 0;
}

.free-locked-card p {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.45;
  margin: 0 0 16px 0;
}

.free-clean-timer-box {
  background: #F8FAFC;
  border: 1.5px dashed #94A3B8;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.free-timer-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.free-clean-countdown {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-weight: 800;
  color: #0046AD;
  letter-spacing: 0.08em;
}

.free-upgrade-msg {
  font-size: 0.84rem !important;
  color: #334155 !important;
  margin-bottom: 14px !important;
}

.free-locked-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.free-locked-btns .btn-primary {
  background: linear-gradient(135deg, #0046AD 0%, #1D4ED8 100%);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 70, 173, 0.3);
  transition: all 0.2s ease;
}

.free-locked-btns .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 70, 173, 0.4);
}

.dev-reset-btn {
  margin-top: 14px;
  background: transparent;
  border: 1px dashed #CBD5E1;
  color: #94A3B8;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dev-reset-btn:hover {
  color: #475569;
  border-color: #64748B;
  background: #F1F5F9;
}

/* ==========================================================================
   Estilos de Impresión para Boleto EuroAIx
   ========================================================================== */
@media print {
  body * {
    visibility: hidden;
  }
  #modal-mapa, #modal-mapa * {
    visibility: visible;
  }
  #modal-mapa {
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    background: #FFFFFF !important;
    padding: 0 !important;
  }
  #modal-mapa .modal-box {
    box-shadow: none !important;
    border: none !important;
    max-width: 100% !important;
    padding: 0 !important;
  }
  .modal-close-btn,
  .map-cta-row,
  .ticket-actions-bar,
  .btn-nueva-combi,
  .btn-imprimir-ticket,
  #btn-generar-otra-combi,
  #btn-imprimir-combi,
  .navbar,
  .footer {
    display: none !important;
  }
  .ticket-card {
    box-shadow: none !important;
    border: 2px solid #0046AD !important;
  }
}




/* ==========================================================================
   MODAL UNIFICADO: BACKTEST & TRACK RECORD OFICIAL
   ========================================================================== */
.modal-box.modal-box-large {
  max-width: 1060px !important;
  width: 95% !important;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-box.modal-box-large .modal-body {
  overflow-y: auto;
  padding-right: 8px;
}

.modal-supertitle {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand-blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.unified-modal-tabs {
  display: flex;
  gap: 12px;
  border-bottom: 2px solid #E2E8F0;
  padding: 0 4px;
  margin-top: 12px;
}

.u-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: transparent;
  border: none;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--brand-slate-body);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.15s ease;
}

.u-tab-btn:hover {
  color: var(--brand-blue);
}

.u-tab-btn.active {
  color: var(--brand-blue);
  border-bottom-color: var(--brand-blue);
}

.tab-badge-live {
  font-size: 0.68rem;
  font-weight: 800;
  color: #DC2626;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  padding: 2px 7px;
  border-radius: 9999px;
  letter-spacing: 0.03em;
}

.tab-badge-verified {
  font-size: 0.68rem;
  font-weight: 800;
  color: #047857;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 2px 7px;
  border-radius: 9999px;
  letter-spacing: 0.03em;
}

.tab-pane {
  display: none;
  padding-top: 18px;
}

.tab-pane.active {
  display: block;
}

/* Track Record en Vivo */
.live-track-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.live-track-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-charcoal);
  margin-bottom: 4px;
}

.live-track-subtitle {
  font-size: 0.84rem;
  color: var(--brand-slate-body);
  line-height: 1.5;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: #E2E8F0;
  padding: 2px 6px;
  border-radius: 4px;
  color: #1E293B;
}

.mono-code {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  background: #F1F5F9;
  padding: 2px 5px;
  border-radius: 4px;
  color: var(--brand-blue);
}

.live-summary-badge {
  display: flex;
  gap: 12px;
}

.live-stat-item {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  min-width: 110px;
}

.live-stat-item .lbl {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand-slate-muted);
  text-transform: uppercase;
}

.live-stat-item .val {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-charcoal);
  font-family: var(--font-mono);
  margin-top: 2px;
}

.live-stat-item .val.highlight {
  color: #047857;
}

.live-track-table {
  width: 100%;
  border-collapse: collapse;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--brand-border);
  overflow: hidden;
}

.live-track-table th {
  background: #F8FAFC;
  padding: 12px 14px;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--brand-slate-muted);
  text-align: left;
  border-bottom: 1px solid #CBD5E1;
  letter-spacing: 0.04em;
}

.live-track-table td {
  padding: 14px;
  border-bottom: 1px solid #E2E8F0;
  font-size: 0.9rem;
  vertical-align: middle;
}

.row-pending {
  background: #FFFDF5;
}

.row-hit {
  background: #F0FDF4;
}

.draw-number {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--brand-charcoal);
}

.draw-number.active-live {
  color: #B45309;
  background: #FEF3C7;
  padding: 3px 7px;
  border-radius: 5px;
}

.draw-number.highlight {
  color: #047857;
  background: #DCFCE7;
  padding: 3px 7px;
  border-radius: 5px;
}

.draw-date {
  font-size: 0.84rem;
  color: #64748B;
  font-weight: 500;
}

.status-pulse-yellow {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: #F59E0B;
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
  margin-right: 6px;
}

.sub-hash-note {
  font-size: 0.76rem;
  color: #64748B;
  margin-top: 3px;
}

.hit-score-badge {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-right: 8px;
}

.hit-score-badge.green {
  background: #DCFCE7;
  color: #047857;
  border: 1px solid #A7F3D0;
}

.hit-score-badge.gray {
  background: #F1F5F9;
  color: #64748B;
  border: 1px solid #CBD5E1;
}

.hit-detail-text {
  font-size: 0.85rem;
  color: var(--brand-slate-body);
}

.seal-badge.waiting {
  font-size: 0.8rem;
  font-weight: 700;
  color: #92400E;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-block;
}

.seal-btn-verify {
  background: #EFF6FF;
  border: 1.5px solid var(--brand-blue-border);
  color: var(--brand-blue);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}

.seal-btn-verify:hover {
  background: #DBEAFE;
  border-color: var(--brand-blue);
}

.seal-popover {
  position: absolute;
  right: 20px;
  background: #FFFFFF;
  border: 1.5px solid var(--brand-blue-border);
  box-shadow: 0 10px 30px rgba(0, 70, 173, 0.15);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 0.82rem;
  width: 320px;
  text-align: left;
  z-index: 100;
  color: var(--brand-charcoal);
  line-height: 1.6;
}

.seal-popover-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 8px;
  margin-bottom: 10px;
  font-weight: 800;
  color: var(--brand-blue);
}

.seal-popover-head button {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: #64748B;
}

.seal-popover-link {
  display: block;
  margin-top: 10px;
  font-weight: 700;
  color: var(--brand-blue);
  text-decoration: none;
}

.seal-popover-link:hover {
  text-decoration: underline;
}

.context-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  margin: 18px 0;
}

.context-icon {
  font-size: 1.3rem;
}

.context-text {
  font-size: 0.86rem;
  color: #1E3A8A;
  line-height: 1.5;
}

.live-track-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

/* Pestaña Backtest 500 Sorteos */
.backtest-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.backtest-header-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--brand-charcoal);
  margin: 0;
}

.badge-audit-centimo {
  font-size: 0.74rem;
  font-weight: 800;
  color: #047857;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 3px 9px;
  border-radius: 9999px;
}

.backtest-header-subtitle {
  font-size: 0.82rem;
  color: var(--brand-slate-body);
  line-height: 1.5;
  margin-top: 4px;
}

.btn-download-csv {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: var(--brand-charcoal);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-download-csv:hover {
  background: #F8FAFC;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

/* Chart Card */
.chart-container-card {
  background: #FFFFFF;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-xs);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 12px;
}

.chart-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-charcoal);
}

.chart-subtitle {
  display: block;
  font-size: 0.78rem;
  color: var(--brand-slate-muted);
  margin-top: 2px;
}

.chart-legend-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--brand-slate-body);
  flex-wrap: wrap;
}

.leg-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.leg-dot.bar {
  width: 10px;
  height: 10px;
  background: rgba(0, 70, 173, 0.5);
  border-radius: 2px;
}

.leg-line.orange {
  width: 16px;
  height: 3px;
  background: #F59E0B;
  border-radius: 2px;
}

.leg-line.gray {
  width: 16px;
  height: 2px;
  background: #94A3B8;
  border-top: 2px dashed #94A3B8;
}

.leg-dot.star-peak {
  width: 10px;
  height: 10px;
  background: #DC2626;
  border-radius: 50%;
}

.chart-canvas-wrap {
  position: relative;
  width: 100%;
  height: 360px;
  background: #FAFBFD;
  border: 1px solid #EDF2F7;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

#backtest-chart-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: crosshair;
}

.chart-custom-tooltip {
  position: absolute;
  background: #0F172A;
  color: #FFFFFF;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  pointer-events: none;
  z-index: 50;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  line-height: 1.5;
  border: 1px solid #334155;
  white-space: nowrap;
}

/* KPI Tiers Grid */
.kpi-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

@media (max-width: 768px) {
  .kpi-tiers-grid {
    grid-template-columns: 1fr;
  }
}

.kpi-tier-card {
  background: #FFFFFF;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
}

.kpi-tier-card.highlight-tier {
  border: 2px solid var(--brand-mint);
  background: #FAFDFB;
}

.kpi-tier-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.tier-tag {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 4px;
}

.tier-tag.blue { background: #EFF6FF; color: #0046AD; }
.tier-tag.green { background: #ECFDF5; color: #047857; }
.tier-tag.purple { background: #FAF5FF; color: #7E22CE; }

.tier-bets {
  font-size: 0.78rem;
  color: #64748B;
  font-weight: 600;
}

.kpi-money-flow {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-charcoal);
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.kpi-money-flow .inversion { color: #64748B; }
.kpi-money-flow .arrow { color: #94A3B8; font-weight: 400; }
.kpi-money-flow .premios { color: #047857; }
.kpi-money-flow .pct-return { font-size: 0.95rem; color: #0046AD; }

.kpi-hit-rate {
  font-size: 0.82rem;
  color: var(--brand-slate-body);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.dot-sep { color: #CBD5E1; }

.kpi-footer-note {
  font-size: 0.72rem;
  color: #94A3B8;
  border-top: 1px solid #F1F5F9;
  padding-top: 8px;
  margin-top: auto;
  font-weight: 600;
}

/* Trackrecord Search & Filter */
.trackrecord-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 260px;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  color: #94A3B8;
}

.search-input-wrap input {
  width: 100%;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  padding: 9px 12px 9px 34px;
  font-size: 0.88rem;
  outline: none;
  font-family: var(--font-sans);
}

.search-input-wrap input:focus {
  border-color: var(--brand-blue);
  background: #FFFFFF;
}

.filter-pills-group {
  display: flex;
  gap: 8px;
}

.pill-btn {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: var(--brand-slate-body);
  padding: 7px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pill-btn.active {
  background: var(--brand-blue);
  color: #FFFFFF;
  border-color: var(--brand-blue);
}

/* Honesty Box */
.honesty-box {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 22px;
}

.honesty-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #92400E;
  margin-bottom: 6px;
}

.honesty-text {
  font-size: 0.84rem;
  color: #78350F;
  line-height: 1.6;
  font-style: italic;
}

.honesty-links {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.honesty-link,
.honesty-link-btn {
  font-size: 0.82rem;
  font-weight: 700;
  color: #92400E;
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.honesty-link:hover,
.honesty-link-btn:hover {
  color: #78350F;
}

.modal-footer-cta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  border-top: 1px solid #E2E8F0;
  padding-top: 18px;
  flex-wrap: wrap;
}

/* ==========================================================================
   FREEZE BUTTON + SELL MODAL — EuroAIx
   Estado alimentado por: shared_data/freeze/{id}/FreezeCard.json
   ========================================================================== */
.freeze-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E8F8F0;
  border: 1px solid #CBEEDD;
  border-radius: 9999px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 650;
  color: #0A6C44;
  cursor: pointer;
  transition: box-shadow .2s, transform .1s;
}
.freeze-btn:hover { box-shadow: 0 4px 14px rgba(14,166,114,.25); transform: translateY(-1px); }
.freeze-btn .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #0EA672;
  animation: pulse-dot 1.8s infinite ease-in-out;
  flex-shrink: 0;
}
.freeze-btn b {
  font-weight: 800;
  color: #0A6C44;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(14,166,114,.6); }
  70%  { box-shadow: 0 0 0 7px rgba(14,166,114,0); }
  100% { box-shadow: 0 0 0 0 rgba(14,166,114,0); }
}
/* Variantes de estado */
.freeze-btn.state-live    { background:#EFF6FF; border-color:#BFDBFE; color:#1D4ED8; }
.freeze-btn.state-live .dot { background:#0046AD; animation-name: pulse-dot-blue; }
@keyframes pulse-dot-blue {
  0%   { box-shadow: 0 0 0 0 rgba(0,70,173,.5); }
  70%  { box-shadow: 0 0 0 8px rgba(0,70,173,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,70,173,0); }
}
.freeze-btn.state-revealed { background:#EFF6FF; border-color:#BFDBFE; color:#1D4ED8; }
.freeze-btn.state-revealed .dot { background:#0046AD; animation:none; }

.nav-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #FFFFFF;
  border: 1px solid var(--brand-border);
  color: var(--brand-slate-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 9999px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}
.nav-login-btn:hover {
  background: var(--brand-blue-light);
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.freeze-modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(15,23,42,.55);
  z-index: 1000;
  align-items: center; justify-content: center;
  padding: 16px;
}
.freeze-modal-overlay.open { display: flex; }
.freeze-modal {
  background: #FFFFFF;
  border-radius: 16px;
  max-width: 520px; width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 24px 28px;
  box-shadow: 0 20px 60px rgba(15,23,42,.25);
  font-family: inherit;
  position: relative;
}
.freeze-modal .close {
  position: absolute; top: 14px; right: 18px;
  font-size: 22px; color: #94A3B8; cursor: pointer;
  border: none; background: none; line-height: 1;
}
.freeze-modal h3 {
  margin: 0 0 4px;
  font-size: 19px; font-weight: 800; color: #0F172A;
}
.freeze-modal .sub { margin: 0 0 14px; font-size: 13.5px; color: #64748B; }

.freeze-tiers { border: 1px solid #E2E8F0; border-radius: 12px; overflow: hidden; margin-bottom: 12px; }
.freeze-tier {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 14px; border-bottom: 1px solid #E2E8F0;
  font-size: 13.5px;
}
.freeze-tier:last-child { border-bottom: none; }
.freeze-tier .name { font-weight: 700; color: #0F172A; }
.freeze-tier .combos { color: #64748B; font-family: 'JetBrains Mono', monospace; }
.freeze-tier .check { color: #10B981; font-weight: 700; }

.freeze-meta {
  display: flex; justify-content: space-between;
  font-size: 12px; color: #64748B; margin-bottom: 14px;
}
.freeze-meta b { color: #0F172A; }

.freeze-pricing { display: flex; gap: 10px; margin-bottom: 12px; }
.freeze-price {
  flex: 1; text-align: center;
  border: 1px solid #E2E8F0; border-radius: 10px;
  padding: 10px 8px; text-decoration: none;
  background: #FFFFFF; cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.freeze-price:hover {
  border-color: #0046AD;
  background: #F0F7FF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 70, 173, 0.15);
}
.freeze-price .t { font-weight: 700; font-size: 13px; color: #0F172A; }
.freeze-price .p { font-size: 17px; font-weight: 800; color: #0046AD; }

.freeze-cta-full {
  display: block; text-align: center; width: 100%;
  background: #F8FAFC; border: 1px solid #E2E8F0;
  border-radius: 10px; padding: 9px;
  font-size: 13px; color: #475569; text-decoration: none;
  margin-bottom: 12px; cursor: pointer; font-family: inherit;
  transition: all .2s;
}
.freeze-cta-full:hover { border-color: #94A3B8; color: #0F172A; background: #F1F5F9; }

.freeze-modal .legal {
  font-size: 11px; color: #94A3B8; text-align: center;
  margin: 0; line-height: 1.5;
}

/* Estado REVEALED: bloque de resultado */
.freeze-result {
  background: #F0FDF4; border: 1px solid #BBF7D0;
  border-radius: 12px; padding: 14px; margin-bottom: 14px;
  font-size: 14px; color: #065F46;
}
.freeze-result b { font-size: 18px; }

