/* ══════════════════════════════════════════
   RESET
══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:  #00ff9d;
  --cyan:   #00e5ff;
  --purple: #7b2fff;
  --red:    #ff2d55;
  --bg:     #080c0e;
  --border: rgba(0,255,157,.18);
  --text:   #cdd9e5;
  --dim:    #4d6577;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'JetBrains Mono', monospace;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ══════════════════════════════════════════
   EFECTOS PESADOS — SOLO DESKTOP
══════════════════════════════════════════ */
@media (min-width: 769px) {

  /* Scanlines CRT */
  body::before {
    content: '';
    pointer-events: none;
    position: fixed; inset: 0;
    background: repeating-linear-gradient(
      0deg, transparent, transparent 2px,
      rgba(0,0,0,.10) 2px, rgba(0,0,0,.10) 4px
    );
    z-index: 9999;
  }

  /* Blur en topbar */
  .topbar { backdrop-filter: blur(12px) !important; }

  /* Blur en terminal */
  .terminal-box { backdrop-filter: blur(14px) !important; }

  /* Blur en cards */
  .model-card { backdrop-filter: blur(10px) !important; }

  /* Sombras de glow en iconos */
  .model-icon         { filter: drop-shadow(0 0 8px rgba(0,255,157,.45)); }
  .m2 .model-icon     { filter: drop-shadow(0 0 8px rgba(0,229,255,.45)); }
  .m3 .model-icon     { filter: drop-shadow(0 0 8px rgba(123,47,255,.55)); }

  /* Text-shadow en stats */
  .stat-value { text-shadow: 0 0 18px rgba(0,255,157,.45); }

  /* Glow en logo */
  .topbar-logo { text-shadow: 0 0 18px rgba(0,255,157,.45); }
}

/* ══════════════════════════════════════════
   CANVAS BACKGROUND (oculto en móvil via CSS también)
══════════════════════════════════════════ */
#bg-canvas {
  position: fixed; inset: 0; z-index: 0; opacity: .42;
}
@media (max-width: 768px) {
  #bg-canvas { display: none; }
}

/* ══════════════════════════════════════════
   LAYOUT
══════════════════════════════════════════ */
.wrapper {
  position: relative; z-index: 10;
  display: flex; flex-direction: column; min-height: 100vh;
}

/* ══════════════════════════════════════════
   TOP BAR
══════════════════════════════════════════ */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem 1.4rem;
  border-bottom: 1px solid var(--border);
  background: rgba(8,12,14,.92);
  position: sticky; top: 0; z-index: 100;
}

.topbar-left { display: flex; align-items: center; gap: .6rem; }

.topbar-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: .88rem; font-weight: 700;
  color: var(--green); letter-spacing: .08em;
}

.topbar-tag {
  font-size: .56rem; color: var(--dim);
  border: 1px solid var(--border);
  padding: .1rem .4rem; border-radius: 3px;
  letter-spacing: .1em;
}
@media (max-width: 400px) { .topbar-tag { display: none; } }

.topbar-right { display: flex; align-items: center; gap: .9rem; }

/* ── Icono X (Twitter) en topbar ───────────────────────── */
.x-icon-btn {
  display: flex; align-items: center; gap: .35rem;
  text-decoration: none;
  color: var(--dim);
  font-size: .64rem; letter-spacing: .04em;
  padding: .28rem .55rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  background: rgba(255,255,255,.04);
  transition: color .2s, border-color .2s, background .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.x-icon-btn:hover {
  color: #e7e9ea;
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.09);
  box-shadow: 0 0 12px rgba(255,255,255,.1);
}
.x-icon {
  width: 14px; height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}
.x-label { display: inline; }
@media (max-width: 480px) {
  .x-label { display: none; }
  .x-icon-btn { padding: .28rem .4rem; }
}

/* ── Icono Telegram en topbar ───────────────────────────── */
.tg-icon-btn {
  display: flex; align-items: center; gap: .35rem;
  text-decoration: none;
  color: var(--dim);
  font-size: .64rem; letter-spacing: .04em;
  padding: .28rem .55rem;
  border: 1px solid rgba(41,182,246,.18);
  border-radius: 6px;
  background: rgba(41,182,246,.06);
  transition: color .2s, border-color .2s, background .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.tg-icon-btn:hover {
  color: #29b6f6;
  border-color: rgba(41,182,246,.55);
  background: rgba(41,182,246,.12);
  box-shadow: 0 0 12px rgba(41,182,246,.2);
}
.tg-icon {
  width: 15px; height: 15px;
  fill: currentColor;
  flex-shrink: 0;
}
.tg-label {
  display: inline;
}
@media (max-width: 480px) {
  .tg-label { display: none; }          /* Solo icono en móvil */
  .tg-icon-btn { padding: .28rem .4rem; }
}

.status-dot { display: flex; align-items: center; gap: .35rem; font-size: .65rem; color: var(--dim); }

.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; } 50% { opacity:.3; }
}

.topbar-time { font-size: .65rem; color: var(--cyan); letter-spacing: .05em; }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 2.8rem 1.2rem 2.2rem;
  text-align: center;
  gap: 2rem;
}
@media (max-width: 480px) {
  .hero { padding: 1.8rem .9rem 1.8rem; gap: 1.5rem; }
}

/* ══════════════════════════════════════════
   TERMINAL WINDOW
══════════════════════════════════════════ */
.terminal-box {
  width: 100%; max-width: 620px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(13,17,23,.96);
  box-shadow: 0 20px 50px rgba(0,0,0,.6);
  overflow: hidden;
}

.terminal-titlebar {
  display: flex; align-items: center; gap: .5rem;
  padding: .55rem .9rem;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--border);
}

.t-btn { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.t-close { background: #ff5f57; }
.t-min   { background: #ffbd2e; }
.t-max   { background: #28c840; }

.t-title {
  flex: 1; text-align: center;
  font-size: .6rem; color: var(--dim); letter-spacing: .1em;
}

.terminal-body {
  padding: 1.2rem 1.4rem 1.4rem;
  text-align: left; line-height: 1.75; min-height: 100px;
}
@media (max-width: 480px) {
  .terminal-body { padding: .9rem 1rem 1.1rem; }
}

.t-line { display: flex; align-items: flex-start; gap: .5rem; margin-bottom: .15rem; }
.t-prompt  { color: var(--green); user-select: none; flex-shrink: 0; }
.t-text    { color: var(--text); font-size: .78rem; }
.t-dim     { color: var(--dim);  font-size: .74rem; }
.t-success { color: var(--green); font-size: .78rem; }
.t-highlight { color: var(--cyan); }

.t-cursor {
  display: inline-block; width: 7px; height: .95em;
  background: var(--green); vertical-align: text-bottom; margin-left: 2px;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ══════════════════════════════════════════
   TÍTULO PRINCIPAL
══════════════════════════════════════════ */
.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.8rem, 7vw, 3.6rem);
  font-weight: 900; letter-spacing: .05em; line-height: 1.1;
  background: linear-gradient(135deg, var(--green) 0%, var(--cyan) 55%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* drop-shadow solo en desktop */
@media (min-width: 769px) {
  .hero-title { filter: drop-shadow(0 0 20px rgba(0,255,157,.28)); }
}

.hero-sub {
  font-size: .68rem; color: var(--dim);
  letter-spacing: .14em; text-transform: uppercase;
  margin-top: -.5rem;
}

/* ══════════════════════════════════════════
   STATS
══════════════════════════════════════════ */
.stats-row {
  display: flex; gap: 1.8rem;
  justify-content: center; flex-wrap: wrap;
}

.stat-item { text-align: center; }

.stat-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--green); display: block;
}

.stat-label {
  font-size: .54rem; color: var(--dim);
  letter-spacing: .12em; text-transform: uppercase;
}

/* ══════════════════════════════════════════
   DIVIDER
══════════════════════════════════════════ */
.glow-line {
  width: 100%; max-width: 360px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}
@media (min-width: 769px) {
  .glow-line { box-shadow: 0 0 10px rgba(0,255,157,.4); }
}

.divider {
  display: flex; align-items: center; gap: .8rem;
  width: 100%; max-width: 500px;
  color: var(--dim); font-size: .6rem; letter-spacing: .12em;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ══════════════════════════════════════════
   CARDS GRID
══════════════════════════════════════════ */
.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem; width: 100%; max-width: 780px;
}
@media (max-width: 640px) {
  .models-grid { grid-template-columns: 1fr; max-width: 320px; gap: .75rem; }
}

.model-card {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; gap: .8rem;
  padding: 1.5rem 1rem 1.3rem;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(13,17,23,.85);
  text-decoration: none;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s, border-color .2s;
}

/* hover glow solo desktop */
@media (min-width: 769px) {
  .model-card:hover {
    transform: translateY(-5px);
    border-color: var(--green);
    box-shadow: 0 0 0 1px rgba(0,255,157,.15), 0 0 18px rgba(0,255,157,.3), 0 18px 38px rgba(0,0,0,.5);
  }
  .model-card.m2:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 0 1px rgba(0,229,255,.15), 0 0 18px rgba(0,229,255,.3), 0 18px 38px rgba(0,0,0,.5);
  }
  .model-card.m3:hover {
    border-color: var(--purple);
    box-shadow: 0 0 0 1px rgba(123,47,255,.2), 0 0 16px rgba(123,47,255,.35), 0 18px 38px rgba(0,0,0,.5);
  }
}

/* tap en móvil: efecto simple */
@media (max-width: 768px) {
  .model-card:active { opacity: .75; transform: scale(.98); }
}

/* corner accents — solo desktop */
.corner { display: none; }
@media (min-width: 769px) {
  .corner {
    display: block; position: absolute;
    width: 11px; height: 11px;
    border-color: var(--border); border-style: solid; opacity: .6;
    transition: border-color .2s;
  }
  .corner-tl { top:6px;  left:6px;  border-width: 1px 0 0 1px; }
  .corner-tr { top:6px;  right:6px; border-width: 1px 1px 0 0; }
  .corner-bl { bottom:6px; left:6px;  border-width: 0 0 1px 1px; }
  .corner-br { bottom:6px; right:6px; border-width: 0 1px 1px 0; }
  .model-card:hover .corner { opacity: 1; border-color: var(--green); }
  .m2:hover .corner { border-color: var(--cyan); }
  .m3:hover .corner { border-color: var(--purple); }
}

.model-num {
  font-size: .54rem; color: var(--dim);
  letter-spacing: .2em; text-transform: uppercase;
}

.model-icon { font-size: 2rem; line-height: 1; }

.model-name {
  font-family: 'Orbitron', sans-serif;
  font-size: .9rem; font-weight: 700;
  color: var(--green); letter-spacing: .05em;
}
.m2 .model-name { color: var(--cyan); }
.m3 .model-name { color: #a57fff; }

.model-desc { font-size: .62rem; color: var(--dim); text-align: center; line-height: 1.5; }

.model-badge {
  font-size: .56rem; padding: .16rem .55rem;
  border-radius: 20px; letter-spacing: .08em; font-weight: 600;
}
.badge-live { background: rgba(0,255,157,.1);  color: var(--green); border: 1px solid rgba(0,255,157,.25); }
.badge-beta { background: rgba(0,229,255,.08); color: var(--cyan);  border: 1px solid rgba(0,229,255,.25); }
.badge-soon { background: rgba(123,47,255,.09);color: #a57fff;      border: 1px solid rgba(123,47,255,.25); }

.model-arrow {
  font-size: .68rem; color: var(--dim);
  transition: transform .2s, color .2s; margin-top: .15rem;
}
@media (min-width: 769px) {
  .model-card:hover .model-arrow { transform: translateX(4px); color: var(--green); }
  .m2:hover .model-arrow         { color: var(--cyan); }
  .m3:hover .model-arrow         { color: #a57fff; }
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  text-align: center; padding: .9rem;
  border-top: 1px solid var(--border);
  font-size: .56rem; color: var(--dim);
  letter-spacing: .08em;
  background: rgba(8,12,14,.75);
}
.footer span { color: var(--green); }

/* scroll hint */
.scroll-hint {
  font-size: .56rem; color: var(--dim); letter-spacing: .1em;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(4px)} }

/* ══════════════════════════════════════════
   AD OVERLAY — se muestra mientras el anuncio carga
══════════════════════════════════════════ */
#ad-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(8,12,14,.92);
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1.2rem;
}
#ad-overlay.active { display: flex; }

.ad-spinner {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid rgba(0,255,157,.15);
  border-top-color: var(--green);
  animation: spin-ad .8s linear infinite;
}
@keyframes spin-ad { to { transform: rotate(360deg); } }

.ad-msg {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem; color: var(--dim);
  letter-spacing: .1em; text-align: center;
}
.ad-msg span { color: var(--green); }

.ad-skip {
  font-size: .6rem; color: var(--dim);
  border: 1px solid var(--border);
  padding: .25rem .7rem; border-radius: 4px;
  cursor: pointer; letter-spacing: .08em;
  background: none;
  transition: color .2s, border-color .2s;
  margin-top: .4rem;
}
.ad-skip:hover { color: var(--green); border-color: var(--green); }

/* ══════════════════════════════════════════
   TÉRMINOS Y CONDICIONES — POPUP BANNER
   Estilo cookie-consent: aparece desde abajo
══════════════════════════════════════════ */

/* Contenedor fijo en la parte inferior */
#tos-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9500;
  transform: translateY(110%);
  transition: transform .4s cubic-bezier(.22,1,.36,1);
  font-family: 'JetBrains Mono', monospace;
}
#tos-banner.active { transform: translateY(0); }

/* Panel expandible con el texto completo */
.tos-expand-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s ease;
  background: rgba(8,12,14,.97);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-radius: 14px 14px 0 0;
}
.tos-expand-panel.open { max-height: 380px; }

.tos-expand-inner {
  overflow-y: auto;
  max-height: 380px;
  padding: 1.3rem 1.6rem 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,255,157,.22) transparent;
}
.tos-expand-inner::-webkit-scrollbar { width: 4px; }
.tos-expand-inner::-webkit-scrollbar-thumb {
  background: rgba(0,255,157,.22); border-radius: 3px;
}

.tos-expand-title {
  font-family: 'Orbitron', sans-serif;
  font-size: .68rem; color: var(--green);
  letter-spacing: .08em;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(0,255,157,.12);
  margin-bottom: .9rem;
}

.tos-text {
  font-size: .7rem; color: var(--text);
  line-height: 1.85; margin-bottom: .85rem;
}
.tos-text:last-child { margin-bottom: 0; }

.tos-list {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: .5rem;
  margin-bottom: .85rem;
}
.tos-list li {
  display: flex; gap: .55rem; align-items: flex-start;
  font-size: .7rem; color: var(--text); line-height: 1.75;
}
.tos-list li::before {
  content: '›'; color: var(--green);
  font-size: .85rem; line-height: 1.5; flex-shrink: 0;
}

.tos-warning-inline {
  display: flex; gap: .55rem; align-items: flex-start;
  background: rgba(255,45,85,.06);
  border: 1px solid rgba(255,45,85,.18);
  border-radius: 6px; padding: .65rem .9rem;
  margin-top: .8rem;
}
.tos-warning-inline span:first-child { font-size: .85rem; flex-shrink: 0; }
.tos-warning-inline span:last-child {
  font-size: .67rem; color: #ff8099; line-height: 1.75;
}

/* Barra principal del banner */
.tos-bar {
  display: flex; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  padding: .9rem 1.4rem;
  background: rgba(8,12,14,.97);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 30px rgba(0,0,0,.6),
              0 -1px 0 rgba(0,255,157,.08);
}

/* Ícono + texto compacto */
.tos-bar-left {
  display: flex; align-items: center; gap: .7rem; flex: 1; min-width: 200px;
}
.tos-bar-icon { font-size: 1.3rem; flex-shrink: 0; }
.tos-bar-text { display: flex; flex-direction: column; gap: .15rem; }
.tos-bar-title {
  font-family: 'Orbitron', sans-serif;
  font-size: .65rem; font-weight: 700;
  color: var(--green); letter-spacing: .06em;
}
.tos-bar-summary {
  font-size: .6rem; color: var(--dim); line-height: 1.5;
}

/* Botón "Ver términos" */
.tos-read-btn {
  font-size: .6rem; color: var(--cyan);
  background: none; border: none;
  cursor: pointer; letter-spacing: .06em;
  padding: 0; text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.tos-read-btn:hover { color: var(--green); }

/* Grupo de botones */
.tos-bar-actions {
  display: flex; gap: .6rem; align-items: center; flex-shrink: 0;
}

.tos-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: .63rem; letter-spacing: .07em;
  padding: .45rem 1.1rem; border-radius: 6px;
  cursor: pointer; border: 1px solid;
  transition: background .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.tos-btn-decline {
  background: transparent;
  color: var(--dim); border-color: var(--border);
}
.tos-btn-decline:hover { color: var(--red); border-color: var(--red); }

.tos-btn-accept {
  background: rgba(0,255,157,.1);
  color: var(--green); border-color: rgba(0,255,157,.38);
}
.tos-btn-accept:hover {
  background: rgba(0,255,157,.18);
  box-shadow: 0 0 14px rgba(0,255,157,.22);
}

/* Estado de rechazo: reemplaza la barra */
.tos-declined-bar {
  display: none;
  align-items: center; gap: .8rem; flex-wrap: wrap;
  padding: .85rem 1.4rem;
  background: rgba(8,12,14,.97);
  border-top: 1px solid rgba(255,45,85,.2);
  box-shadow: 0 -4px 30px rgba(0,0,0,.6);
}
.tos-declined-bar.active { display: flex; }
.tos-declined-bar-text {
  flex: 1; font-size: .63rem; color: var(--dim); line-height: 1.6;
  min-width: 180px;
}
.tos-declined-bar-text strong { color: #ff8099; }
.tos-back-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: .62rem; color: var(--green);
  background: none; border: 1px solid rgba(0,255,157,.3);
  padding: .4rem .9rem; border-radius: 5px;
  cursor: pointer; letter-spacing: .07em;
  transition: background .2s; white-space: nowrap;
}
.tos-back-btn:hover { background: rgba(0,255,157,.08); }

/* Responsive móvil */
@media (max-width: 540px) {
  .tos-bar { padding: .75rem 1rem; gap: .7rem; }
  .tos-bar-left { min-width: 160px; }
  .tos-bar-summary { display: none; }
  .tos-bar-actions { width: 100%; justify-content: flex-end; }
  .tos-expand-inner { padding: 1rem; max-height: 260px; }
  .tos-expand-panel.open { max-height: 260px; }
}

/* ══════════════════════════════════════════
   COMING SOON POPUP (Modelo 2 / Modelo 3)
══════════════════════════════════════════ */

/* Backdrop oscuro */
#cs-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 9600;
  background: rgba(4,7,9,.82);
  backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
  padding: 1.2rem;
}
#cs-overlay.active { display: flex; }

/* Tarjeta central */
.cs-card {
  width: 100%; max-width: 420px;
  background: rgba(10,14,18,.98);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(0,229,255,.07),
              0 0 50px rgba(0,229,255,.1),
              0 30px 60px rgba(0,0,0,.9);
  overflow: hidden;
  animation: cs-in .28s cubic-bezier(.22,1,.36,1);
}
@keyframes cs-in {
  from { opacity:0; transform: scale(.9) translateY(18px); }
  to   { opacity:1; transform: scale(1)  translateY(0); }
}

/* Titlebar tipo terminal */
.cs-titlebar {
  display: flex; align-items: center; gap: .45rem;
  padding: .55rem .9rem;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--border);
}
.cs-titlebar .t-btn { pointer-events: none; }
.cs-titlebar-label {
  flex: 1; text-align: center;
  font-size: .58rem; color: var(--dim); letter-spacing: .12em;
}
.cs-close {
  background: none; border: none; cursor: pointer;
  color: var(--dim); font-size: .9rem; line-height: 1;
  padding: 0 .1rem;
  transition: color .2s;
}
.cs-close:hover { color: var(--red); }

/* Cuerpo */
.cs-body {
  padding: 2.2rem 2rem 1.8rem;
  display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 1.1rem;
}

.cs-icon {
  font-size: 2.8rem; line-height: 1;
  animation: cs-pulse 2.4s ease-in-out infinite;
}
@keyframes cs-pulse {
  0%,100% { filter: drop-shadow(0 0 6px rgba(0,229,255,.35)); }
  50%      { filter: drop-shadow(0 0 16px rgba(0,229,255,.7)); }
}

.cs-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.15rem; font-weight: 900;
  letter-spacing: .05em; line-height: 1.2;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cs-model-tag {
  font-size: .58rem; color: var(--dim);
  border: 1px solid var(--border);
  padding: .15rem .55rem; border-radius: 20px;
  letter-spacing: .12em; margin-top: -.4rem;
}

.cs-msg {
  font-size: .72rem; color: var(--text);
  line-height: 1.8; max-width: 300px;
}

/* Barra de progreso decorativa */
.cs-progress-wrap {
  width: 100%; background: rgba(255,255,255,.05);
  border-radius: 4px; height: 4px; overflow: hidden;
}
.cs-progress-bar {
  height: 100%; width: 65%;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  border-radius: 4px;
  animation: cs-progress 2.8s ease-in-out infinite alternate;
}
@keyframes cs-progress {
  from { width: 40%; opacity:.7; }
  to   { width: 80%; opacity:1; }
}
.cs-progress-label {
  font-size: .56rem; color: var(--dim);
  letter-spacing: .1em; margin-top: -.5rem;
}

/* Botón cerrar */
.cs-ok-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: .68rem; letter-spacing: .08em;
  padding: .55rem 1.8rem; border-radius: 7px;
  cursor: pointer;
  background: rgba(0,229,255,.08);
  color: var(--cyan);
  border: 1px solid rgba(0,229,255,.35);
  transition: background .2s, box-shadow .2s;
  margin-top: .3rem;
}
.cs-ok-btn:hover {
  background: rgba(0,229,255,.15);
  box-shadow: 0 0 16px rgba(0,229,255,.22);
}

@media (max-width: 480px) {
  .cs-body { padding: 1.8rem 1.4rem 1.5rem; }
  .cs-title { font-size: .95rem; }
}

/* ══════════════════════════════════════════
   BOTÓN CTA — Ver resultados de cuenta
══════════════════════════════════════════ */
.results-cta-btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem; font-weight: 600; letter-spacing: .1em;
  padding: .65rem 1.6rem; border-radius: 7px;
  color: var(--green);
  background: rgba(0,255,157,.06);
  border: 1px solid rgba(0,255,157,.35);
  text-decoration: none;
  transition: background .2s, box-shadow .25s, transform .15s;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(0,255,157,0);
}
.results-cta-btn:hover {
  background: rgba(0,255,157,.13);
  box-shadow: 0 0 22px rgba(0,255,157,.25), inset 0 0 10px rgba(0,255,157,.04);
  transform: translateY(-2px);
}
@media (max-width: 480px) {
  .results-cta-btn { font-size: .65rem; padding: .55rem 1.1rem; }
}

/* ══════════════════════════════════════════
   SECCIÓN RESULTADOS — Tema Hacker/Terminal
══════════════════════════════════════════ */
.results-section {
  position: relative; z-index: 10;
  padding: 3.5rem 1.4rem 3rem;
  display: flex; flex-direction: column;
  align-items: center; gap: 2.2rem; text-align: center;
  border-top: 1px solid var(--border);
  /* Fondo sólido para tapar el canvas */
  background: linear-gradient(180deg, rgba(6,10,12,.98) 0%, rgba(8,13,15,.99) 100%);
}
/* Línea verde superior decorativa */
.results-section::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(500px, 80%); height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  box-shadow: 0 0 10px rgba(0,255,157,.4);
}

.results-section-header {
  display: flex; flex-direction: column;
  align-items: center; gap: .8rem;
}
.results-section-sub {
  font-size: .66rem; color: var(--dim);
  letter-spacing: .07em; line-height: 1.65;
  max-width: 420px;
}

/* Grid de tarjetas */
.accounts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem; width: 100%; max-width: 840px;
}
@media (max-width: 700px) {
  .accounts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .accounts-grid { grid-template-columns: 1fr; max-width: 320px; }
}

/* ── Tarjeta de cuenta ── */
.account-card {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; gap: .5rem;
  padding: 1.4rem 1rem 1.1rem;
  border: 1px solid rgba(0,255,157,.18);
  border-radius: 11px;
  background: rgba(10,16,12,.95);
  text-decoration: none;
  text-align: center;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .22s, transform .22s, box-shadow .22s;
}
/* Línea verde en la parte superior de cada card */
.account-card::before {
  content: '';
  position: absolute; top: 0; left: 15%; right: 15%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,255,157,.5), transparent);
  transition: opacity .22s;
}
.account-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(0,255,157,.12),
              0 0 20px rgba(0,255,157,.15),
              0 14px 35px rgba(0,0,0,.6);
}
.account-card:hover::before { opacity: 1; }

@media (max-width: 768px) {
  .account-card:hover { transform: none; box-shadow: none; }
  .account-card:active { opacity: .8; transform: scale(.98); }
}

/* Badge de tipo */
.acc-tag {
  font-size: .48rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--green); background: rgba(0,255,157,.08);
  border: 1px solid rgba(0,255,157,.22);
  border-radius: 3px; padding: .12rem .5rem;
}

/* Nombre de la cuenta — verde, Orbitron */
.acc-name {
  font-family: 'Orbitron', sans-serif;
  font-size: .82rem; font-weight: 900;
  color: var(--green); letter-spacing: .05em;
  text-shadow: 0 0 12px rgba(0,255,157,.35);
}

/* Bio / descripción */
.acc-bio {
  font-size: .6rem; color: rgba(0,255,157,.45);
  line-height: 1.55; max-width: 180px;
}

/* Separador */
.acc-divider {
  width: 70%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,255,157,.2), transparent);
  margin: .15rem 0;
}

/* Stats */
.acc-stats {
  display: flex; gap: 1.2rem; justify-content: center;
}
.acc-stat {
  display: flex; flex-direction: column; align-items: center; gap: .1rem;
}
.acc-stat-val {
  font-family: 'Orbitron', sans-serif;
  font-size: .78rem; font-weight: 700;
  color: var(--green);
  text-shadow: 0 0 8px rgba(0,255,157,.4);
}
.acc-stat-lbl {
  font-size: .48rem; color: var(--dim);
  letter-spacing: .1em; text-transform: uppercase;
}

/* Link inferior */
.acc-link {
  font-size: .58rem; color: rgba(0,255,157,.45);
  letter-spacing: .08em; margin-top: .25rem;
  transition: color .2s, text-shadow .2s;
}
.account-card:hover .acc-link {
  color: var(--green);
  text-shadow: 0 0 8px rgba(0,255,157,.5);
}

/* Nota al pie */
.results-note {
  font-size: .6rem; color: var(--dim);
  max-width: 520px; line-height: 1.75;
  letter-spacing: .03em; text-align: center;
  padding: .6rem 1rem;
  border: 1px solid rgba(255,189,46,.12);
  border-radius: 6px;
  background: rgba(255,189,46,.03);
}

/* ══════════════════════════════════════════
   AVISO DE MONETIZACIÓN
══════════════════════════════════════════ */
.ads-notice {
  display: flex; align-items: flex-start; gap: .65rem;
  max-width: 520px; width: 100%;
  background: rgba(0,229,255,.04);
  border: 1px solid rgba(0,229,255,.12);
  border-radius: 8px;
  padding: .75rem 1rem;
}
.ads-notice-icon {
  font-size: .95rem; flex-shrink: 0; margin-top: .05rem;
}
.ads-notice-text {
  font-size: .62rem; color: var(--dim);
  line-height: 1.75; letter-spacing: .02em;
}
@media (max-width: 480px) {
  .ads-notice { padding: .65rem .85rem; }
  .ads-notice-text { font-size: .6rem; }
}

/* ══════════════════════════════════════════
   POPUP NOTIFICACIÓN DE MONETIZACIÓN
   Modal centrado estilo Bombas con tema hacker
══════════════════════════════════════════ */
.monetization-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.monetization-overlay.active {
  display: flex;
  opacity: 1;
}

.monetization-modal {
  position: relative;
  max-width: 520px;
  width: 100%;
  background: rgba(13, 17, 23, 0.98);
  border: 1px solid rgba(0, 255, 157, 0.3);
  border-radius: 12px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 255, 157, 0.15),
    inset 0 1px 0 rgba(0, 255, 157, 0.1);
  padding: 2.5rem 2rem;
  text-align: center;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s ease;
  animation: monetizationSlideIn 0.4s ease forwards;
}

.monetization-overlay.active .monetization-modal {
  transform: scale(1) translateY(0);
}

@keyframes monetizationSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(30px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.monetization-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(0, 255, 157, 0.3);
  background: rgba(0, 255, 157, 0.08);
  color: var(--green);
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
}

.monetization-close:hover {
  background: rgba(0, 255, 157, 0.15);
  border-color: var(--green);
  color: var(--text);
  transform: scale(1.1);
  box-shadow: 0 0 12px rgba(0, 255, 157, 0.3);
}

.monetization-close:active {
  transform: scale(0.95);
}

.monetization-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  display: block;
  filter: drop-shadow(0 0 20px rgba(0, 255, 157, 0.4));
  animation: monetizationIconPulse 2s ease-in-out infinite;
}

@keyframes monetizationIconPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 20px rgba(0, 255, 157, 0.4));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 30px rgba(0, 255, 157, 0.6));
  }
}

.monetization-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--green);
  margin: 0 0 1.2rem 0;
  text-shadow: 0 0 20px rgba(0, 255, 157, 0.5);
  letter-spacing: 0.05em;
}

.monetization-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
  margin: 0 0 1.5rem 0;
  letter-spacing: 0.02em;
}

.monetization-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  color: var(--dim);
  line-height: 1.6;
  margin-bottom: 2rem;
  padding: 0.8rem 1rem;
  background: rgba(0, 255, 157, 0.05);
  border: 1px solid rgba(0, 255, 157, 0.15);
  border-radius: 6px;
}

.monetization-info-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.monetization-continue {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(0, 255, 157, 0.1);
  border: 1px solid rgba(0, 255, 157, 0.3);
  border-radius: 6px;
  padding: 0.85rem 2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: 100%;
  max-width: 280px;
}

.monetization-continue:hover {
  background: rgba(0, 255, 157, 0.15);
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 0 20px rgba(0, 255, 157, 0.2);
  transform: translateY(-2px);
}

.monetization-continue:active {
  transform: translateY(0);
}

@media (max-width: 480px) {
  .monetization-modal {
    padding: 2rem 1.5rem;
    max-width: 100%;
  }
  
  .monetization-title {
    font-size: 1.5rem;
  }
  
  .monetization-text {
    font-size: 0.85rem;
  }
  
  .monetization-info {
    font-size: 0.7rem;
    flex-direction: column;
    text-align: center;
  }
  
  .monetization-icon {
    font-size: 3rem;
  }
  
  .monetization-continue {
    font-size: 0.8rem;
    padding: 0.75rem 1.5rem;
  }
}

/* ══════════════════════════════════════════
   CONTENIDO DINÁMICO (Panel Admin)
══════════════════════════════════════════ */
.dynamic-content-container {
  position: relative; z-index: 10;
  max-width: 900px; width: 100%;
  margin: 0 auto;
  padding: 3rem 1.4rem;
}

.dynamic-section {
  margin-bottom: 3rem;
  background: rgba(8,12,14,.6);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  transition: all .3s;
}

.dynamic-section:hover {
  border-color: var(--green);
  box-shadow: 0 0 24px rgba(0,255,157,.08);
}

.dynamic-section-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0,255,157,.15);
}

.dynamic-section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: .05em;
  text-shadow: 0 0 12px rgba(0,255,157,.3);
}

.dynamic-section-body {
  color: var(--text);
  line-height: 1.8;
}

/* Texto simple */
.dynamic-text {
  font-size: .85rem;
  margin-bottom: 1rem;
  color: var(--text);
  letter-spacing: .02em;
}

.dynamic-text:last-child {
  margin-bottom: 0;
}

/* Lista */
.dynamic-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dynamic-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .8rem;
  font-size: .85rem;
  color: var(--text);
  line-height: 1.7;
}

.dynamic-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 600;
}

.dynamic-list li:last-child {
  margin-bottom: 0;
}

/* Código */
.dynamic-code {
  background: rgba(0,0,0,.4);
  border: 1px solid rgba(0,255,157,.2);
  border-radius: 6px;
  padding: 1.2rem;
  overflow-x: auto;
  margin: 1rem 0;
}

.dynamic-code code {
  font-family: 'JetBrains Mono', monospace;
  font-size: .75rem;
  color: var(--green);
  line-height: 1.6;
  white-space: pre;
}

/* HTML renderizado */
.dynamic-section-body :global(h1),
.dynamic-section-body :global(h2),
.dynamic-section-body :global(h3) {
  font-family: 'Orbitron', sans-serif;
  color: var(--green);
  margin-top: 1.5rem;
  margin-bottom: .8rem;
}

.dynamic-section-body :global(h1) { font-size: 1.3rem; }
.dynamic-section-body :global(h2) { font-size: 1.1rem; }
.dynamic-section-body :global(h3) { font-size: .95rem; }

.dynamic-section-body :global(p) {
  margin-bottom: 1rem;
  font-size: .85rem;
  line-height: 1.8;
}

.dynamic-section-body :global(a) {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,229,255,.3);
  transition: all .2s;
}

.dynamic-section-body :global(a:hover) {
  color: var(--green);
  border-bottom-color: var(--green);
}

.dynamic-section-body :global(strong) {
  color: var(--green);
  font-weight: 600;
}

.dynamic-section-body :global(em) {
  color: var(--dim);
  font-style: italic;
}

.dynamic-section-body :global(ul),
.dynamic-section-body :global(ol) {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.dynamic-section-body :global(li) {
  margin-bottom: .6rem;
  font-size: .85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .dynamic-content-container {
    padding: 2rem 1rem;
  }
  
  .dynamic-section {
    padding: 1.5rem 1rem;
    margin-bottom: 2rem;
  }
  
  .dynamic-section-title {
    font-size: 1.2rem;
  }
  
  .dynamic-text,
  .dynamic-list li {
    font-size: .8rem;
  }
  
  .dynamic-code {
    padding: 1rem;
  }
  
  .dynamic-code code {
    font-size: .7rem;
  }
}

/* ══════════════════════════════════════════
   WIDGET DE TRADUCCIÓN — Botón Flotante
══════════════════════════════════════════ */
#translate-widget {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9998;
  font-family: 'JetBrains Mono', monospace;
}

#translate-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(13, 17, 23, 0.95);
  border: 2px solid rgba(0, 255, 157, 0.4);
  color: var(--green);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 255, 157, 0.2);
  backdrop-filter: blur(10px);
}

#translate-btn:hover {
  border-color: var(--green);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 255, 157, 0.4);
  transform: translateY(-2px);
}

#translate-btn:active {
  transform: translateY(0) scale(0.95);
}

#translate-icon {
  font-size: 1.4rem;
  line-height: 1;
}

#translate-text {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green);
  text-shadow: 0 0 8px rgba(0, 255, 157, 0.5);
}

#translate-dropdown {
  position: absolute;
  bottom: 70px;
  left: 0;
  background: rgba(13, 17, 23, 0.98);
  border: 1px solid rgba(0, 255, 157, 0.3);
  border-radius: 8px;
  padding: 0.5rem;
  min-width: 140px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 157, 0.15);
  backdrop-filter: blur(10px);
  animation: translateDropdownIn 0.2s ease;
}

@keyframes translateDropdownIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lang-option {
  width: 100%;
  padding: 0.6rem 0.8rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  margin-bottom: 0.3rem;
}

.lang-option:last-child {
  margin-bottom: 0;
}

.lang-option:hover {
  background: rgba(0, 255, 157, 0.1);
  border-color: rgba(0, 255, 157, 0.3);
  color: var(--green);
}

.lang-option:active {
  transform: scale(0.98);
}

/* Ocultar el widget nativo de Google Translate */
.goog-te-banner-frame,
.goog-te-menu-frame {
  display: none !important;
}

body {
  top: 0 !important;
}

/* Estilo para el selector de idioma cuando está visible */
#google_translate_element select {
  display: none;
}

@media (max-width: 480px) {
  #translate-widget {
    bottom: 15px;
    left: 15px;
  }
  
  #translate-btn {
    width: 55px;
    height: 55px;
  }
  
  #translate-icon {
    font-size: 1.2rem;
  }
  
  #translate-text {
    font-size: 0.6rem;
  }
  
  #translate-dropdown {
    bottom: 65px;
    min-width: 130px;
  }
}

