/* Bantokens — Página Venta de Tokens (Híbrida con iframe transaccional) */

body.bt-page-venta a {
  color: var(--blue-primary);
  text-decoration: none;
  transition: color var(--dur-fast, 0.15s) ease;
}

body.bt-page-venta a:hover {
  color: var(--blue-deep, #00489A);
}

/* Hero Section */
body.bt-page-venta .vstage {
  padding: 8px 0 clamp(48px, 6vw, 80px);
}

body.bt-page-venta .vhead--hybrid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: clamp(24px, 3.5vw, 36px);
}

body.bt-page-venta .vhead--hybrid h1 {
  max-width: 24ch;
  margin-top: 10px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

body.bt-page-venta .vhead--hybrid .lede {
  margin-top: 12px;
  max-width: 68ch;
  font-size: var(--fs-body, 16px);
  line-height: 1.6;
  color: var(--text-secondary, #64748B);
}

/* Contenedor Iframe Card */
body.bt-page-venta .vstage-iframe-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

body.bt-page-venta .vstage-iframe-card {
  position: relative;
  width: 100%;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--border-subtle, #E2E8F0);
  box-shadow: 0 4px 24px rgba(0, 24, 56, 0.05);
  overflow: hidden;
  transition: box-shadow var(--dur-normal, 0.25s) ease, border-color var(--dur-normal, 0.25s) ease;
}

body.bt-page-venta .vstage-iframe-card:hover {
  box-shadow: 0 8px 36px rgba(0, 24, 56, 0.08);
  border-color: rgba(0, 125, 255, 0.2);
}

/* Iframe Fluido y Nativo */
body.bt-page-venta .vstage-cash-iframe {
  width: 100%;
  min-height: 480px;
  height: 650px;
  border: none;
  display: block;
  background: #ffffff;
  transition: height 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 980px) {
  body.bt-page-venta .vstage-cash-iframe {
    min-height: 520px;
    height: 700px;
  }
}

@media (max-width: 640px) {
  body.bt-page-venta .vstage-cash-iframe {
    min-height: 580px;
    height: 750px;
  }
}

/* Skeleton / Estado de Carga */
body.bt-page-venta .vstage-iframe-loading {
  position: absolute;
  inset: 0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 10;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

body.bt-page-venta .vstage-iframe-loading.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.bt-page-venta .vstage-spinner {
  width: 46px;
  height: 46px;
  border: 4px solid rgba(0, 125, 255, 0.12);
  border-top-color: var(--blue-primary, #007DFF);
  border-radius: 50%;
  animation: bt-venta-spin 0.85s linear infinite;
}

body.bt-page-venta .vstage-iframe-loading span {
  font-family: var(--font-sans, inherit);
  font-size: var(--fs-body-s, 14px);
  color: var(--text-secondary, #64748B);
  font-weight: 500;
  letter-spacing: -0.01em;
}

@keyframes bt-venta-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Reglas Operativas (Sección Cómo Funciona) */
body.bt-page-venta .rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

@media (max-width: 760px) {
  body.bt-page-venta .rules {
    grid-template-columns: 1fr;
  }
}

body.bt-page-venta .rule {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
  background: #ffffff;
  border: 1px solid var(--border-subtle, #E2E8F0);
  border-radius: 18px;
  padding: 20px 22px;
  font-size: var(--fs-body-s, 14px);
  line-height: 1.55;
  color: var(--text-secondary, #64748B);
  box-shadow: 0 1px 4px rgba(0, 24, 56, 0.03);
  transition: transform var(--dur-fast, 0.15s) ease, box-shadow var(--dur-fast, 0.15s) ease;
}

body.bt-page-venta .rule:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 24, 56, 0.06);
}

body.bt-page-venta .rule b {
  display: block;
  color: var(--text-primary, #001A38);
  font-size: var(--fs-body, 15px);
  font-weight: var(--fw-bold, 700);
  margin-bottom: 4px;
}

body.bt-page-venta .rule svg {
  width: 24px;
  height: 24px;
  color: var(--blue-primary, #007DFF);
  flex-shrink: 0;
  margin-top: 2px;
}
