/* ============================================================
   DOPA Token — dopa-token.com
   Implementación de "Landing DOPA Token.dc.html"
   Tokens derivados del Bet4Win Design System (colors_and_type.css)
   ============================================================ */

:root {
  /* Marca Bet4Win */
  --b4w-orange: #FF3402;
  --b4w-orange-300: #FF6A3D;
  --b4w-black-900: #0A0A0A;
  --b4w-white: #FFFFFF;

  /* Acento DOPA */
  --dopa: #9BE33B;
  --dopa-light: #C4F27E;

  /* Tipografía (sustitutos libres: Grift→Archivo Black, Axiforma→Sora) */
  --font-logo: "Archivo Black", "Sora", system-ui, sans-serif;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, -apple-system, sans-serif;

  /* Superficies translúcidas */
  --card-bg: rgba(255, 255, 255, 0.035);
  --card-border: rgba(255, 255, 255, 0.08);
  --hairline: rgba(255, 255, 255, 0.07);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1060px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--b4w-black-900);
}

body {
  color: var(--b4w-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--dopa); text-decoration: none; }
a:hover { color: var(--dopa-light); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--dopa);
  outline-offset: 3px;
  border-radius: 6px;
}

.accent { color: var(--dopa); }

.container {
  max-width: var(--container);
  margin: 0 auto;
}
.container-narrow { max-width: 860px; }

.stack-28 { display: flex; flex-direction: column; gap: 28px; }
.stack-36 { display: flex; flex-direction: column; gap: 36px; }

section[id] { scroll-margin-top: 80px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 160ms var(--ease-out),
    box-shadow 160ms,
    filter 160ms,
    border-color 160ms,
    background 160ms;
}

.btn-primary {
  background: var(--dopa);
  color: var(--b4w-black-900);
}
.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  color: var(--b4w-black-900);
  box-shadow: 0 0 0 2px rgba(155, 227, 59, 0.3), 0 16px 42px rgba(155, 227, 59, 0.32);
}
.btn-primary:active { transform: scale(0.98); }

.btn-sm {
  height: 38px;
  padding: 0 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.btn-sm.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(155, 227, 59, 0.3);
}
.btn-sm:active { transform: scale(0.97); }

.btn-lg {
  height: 58px;
  padding: 0 28px;
  font-size: 15px;
  letter-spacing: 0.07em;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
}

.btn-xl {
  height: 62px;
  padding: 0 34px;
  font-size: 16px;
  letter-spacing: 0.07em;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
}

.btn-outline {
  height: 58px;
  padding: 0 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--b4w-white);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.05em;
}
.btn-outline:hover {
  border-color: rgba(155, 227, 59, 0.5);
  background: rgba(155, 227, 59, 0.06);
  color: var(--b4w-white);
}

.btn-brand {
  height: 66px;
  background: var(--b4w-orange);
  color: var(--b4w-white);
  font-size: 18px;
  letter-spacing: 0.06em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.btn-brand:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  color: var(--b4w-white);
  box-shadow: 0 0 0 2px rgba(255, 52, 2, 0.35), 0 14px 40px rgba(255, 52, 2, 0.35);
}
.btn-brand:active { transform: scale(0.98); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(10, 10, 10, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand-logo {
  height: 18px;
  width: auto;
  opacity: 0.9;
}
.brand-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.15);
  flex: none;
}
.brand-token {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.brand-coin {
  height: 26px;
  width: 26px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(155, 227, 59, 0.35));
}
.brand-name {
  font-family: var(--font-logo);
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--b4w-white);
  white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 24px 64px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: -10% -10% auto;
  height: 620px;
  background: radial-gradient(ellipse 55% 60% at 50% 30%, rgba(155, 227, 59, 0.2) 0%, rgba(10, 10, 10, 0) 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(155, 227, 59, 0.35);
  background: rgba(155, 227, 59, 0.08);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dopa);
}
.hero h1 {
  font-family: var(--font-logo);
  font-weight: 400; /* Archivo Black solo tiene 400 */
  font-size: clamp(40px, 6vw, 68px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}
.lead {
  max-width: 480px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
  text-wrap: pretty;
}
.stat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.pill strong {
  color: var(--b4w-white);
  font-weight: 700;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art-glow {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155, 227, 59, 0.32) 0%, rgba(10, 10, 10, 0) 68%);
  filter: blur(6px);
}
.hero-art picture { display: contents; }
.hero-art img {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: auto;
}

/* ---------- Secciones ---------- */
.section {
  padding: 56px 24px;
  border-top: 1px solid var(--hairline);
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.section-head p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
}
.section-logo {
  height: 30px;
  width: 111px;
  align-self: flex-start;
  margin-top: 8px;
}

/* Dónde jugar */
.domain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.domain-grid .btn { display: flex; }

/* Cards genéricas */
.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
}

/* Cómo funciona */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.step { padding: 24px 20px; }
.step img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(155, 227, 59, 0.2));
}
.step h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
}
.step p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
  text-wrap: pretty;
}

/* Qué puedes hacer */
.uses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}
.use { padding: 28px; }
.use-highlight {
  background: linear-gradient(160deg, rgba(155, 227, 59, 0.08) 0%, rgba(255, 255, 255, 0.03) 55%);
  border-color: rgba(155, 227, 59, 0.2);
}
.use h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
}
.use p {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.66);
  text-wrap: pretty;
}
.card-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.badge-soon {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 52, 2, 0.14);
  border: 1px solid rgba(255, 52, 2, 0.4);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--b4w-orange-300);
}
.example {
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}
.example strong { color: var(--dopa); }

/* Tabla de tiers */
.table-wrap {
  border-radius: 16px;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.03);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tiers {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.tiers thead tr {
  background: rgba(255, 255, 255, 0.04);
  text-align: left;
}
.tiers th {
  padding: 14px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.tiers tbody tr { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.tiers td { padding: 14px 18px; }
.tiers .tier { font-weight: 600; font-size: 15px; }
.tiers .dopa { font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.tiers .spins { font-size: 15px; font-weight: 600; color: var(--dopa); }
.tiers .extras { font-size: 14px; color: rgba(255, 255, 255, 0.72); }
.tiers .extras-none { color: rgba(255, 255, 255, 0.45); }
.tiers .row-diamond { background: rgba(155, 227, 59, 0.06); }
.tiers .row-diamond .tier { font-weight: 700; color: var(--dopa); }
.tiers .row-diamond .dopa { font-weight: 600; color: rgba(255, 255, 255, 0.88); }
.tiers .row-diamond .spins { font-weight: 700; }
.tiers .row-diamond .extras { color: rgba(255, 255, 255, 0.85); }

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-list details {
  padding: 20px 22px;
  border-radius: 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--b4w-white);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1;
  color: var(--dopa);
  opacity: 0.7;
  transition: transform 200ms var(--ease-out);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.66);
  text-wrap: pretty;
}

/* CTA final */
.cta-section { padding: 24px 24px 72px; }
.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(155, 227, 59, 0.22);
  background: linear-gradient(120deg, rgba(155, 227, 59, 0.14) 0%, rgba(10, 10, 10, 0.9) 60%);
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 560px;
}
.cta-copy h2 {
  font-family: var(--font-logo);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.cta-copy p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.68);
  text-wrap: pretty;
}

/* Footer */
.site-footer {
  padding: 32px 24px 48px;
  border-top: 1px solid var(--hairline);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}
.footer-left img {
  height: 16px;
  width: auto;
  opacity: 0.75;
}
.footer-right {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
.footer-right img {
  height: 26px;
  width: auto;
  opacity: 0.6;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-art { order: -1; }
  .hero-art img { max-width: 260px; }
}

@media (max-width: 560px) {
  .hero { padding: 48px 20px 48px; }
  .section { padding: 44px 20px; }
  .cta-section { padding: 16px 20px 56px; }
  .cta-banner { padding: 32px 24px; }
  .cta-banner .btn { width: 100%; }
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .brand-logo { height: 16px; }
  .brand { gap: 10px; }
  .btn-sm { padding: 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq-list summary::after { transition: none; }
  .btn:hover { transform: none; }
}
