/* ============================================================
   Bet4Win — b4w-site (landing de acceso a dominios oficiales)
   Implementación de "Landing B4W.dc.html"
   Tokens derivados del Bet4Win Design System (colors_and_type.css)
   ============================================================ */

:root {
  --b4w-orange: #FF3402;
  --b4w-orange-hover: #FF5A2E;
  --b4w-black-900: #0A0A0A;
  --b4w-white: #FFFFFF;

  /* Sustitutos libres: Axiforma → Sora (display); Outfit exacto (cuerpo) */
  --font-display: "Sora", "Axiforma", "Outfit", system-ui, sans-serif;
  --font-body: "Outfit", "Montserrat", system-ui, -apple-system, sans-serif;

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

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

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

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;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--b4w-orange); text-decoration: none; }
a:hover { color: var(--b4w-orange-hover); }

h1, p { margin: 0; }

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

/* ---------- Escenario a pantalla completa ---------- */
.stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  overflow: hidden;
  background: var(--b4w-black-900);
}

.stage-bg {
  position: absolute;
  inset: 0;
  background-color: var(--b4w-black-900);
  background-image: url("/assets/bg-gradient.webp");
  background-image: -webkit-image-set(url("/assets/bg-gradient.webp") 1x, url("/assets/bg-gradient@2x.webp") 2x);
  background-image: image-set(url("/assets/bg-gradient.webp") 1x, url("/assets/bg-gradient@2x.webp") 2x);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.5;
  pointer-events: none;
}

.stage-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 50%, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.92) 70%);
  pointer-events: none;
}

/* ---------- Panel central ---------- */
.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 440px;
}

.logo {
  display: block;
  width: 280px;
  max-width: 100%;
  height: auto;
}

.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: -20px;
  text-align: center;
}
.intro h1 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--b4w-white);
  text-wrap: balance;
}
.intro p {
  max-width: 380px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
  text-wrap: pretty;
}

/* ---------- Botones de dominio ---------- */
.domains {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.domain-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 68px;
  border-radius: 14px;
  background: var(--b4w-orange);
  color: var(--b4w-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition:
    transform 160ms var(--ease-out),
    box-shadow 160ms var(--ease-out),
    filter 160ms;
}
.domain-btn: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);
}
.domain-btn:active { transform: scale(0.98); }

/* ---------- Responsive ---------- */
@media (max-width: 360px) {
  .logo { width: 240px; }
  .domain-btn { font-size: 17px; letter-spacing: 0.05em; }
}

/* ---------- Enlace al FAQ ---------- */
.more-link {
  margin-top: -16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 160ms;
}
.more-link:hover { color: var(--b4w-white); }

/* ---------- FAQ ---------- */
.faq { padding: 72px 24px 32px; }
.faq-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.faq h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.faq h2::before {
  content: "";
  flex: none;
  width: 4px;
  height: 26px;
  border-radius: 3px;
  background: linear-gradient(180deg, #FF3402, #5D00B7);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-list details {
  padding: 20px 22px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.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: 700;
  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(--b4w-orange);
  opacity: 0.8;
  transition: transform 200ms var(--ease-out);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-body {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.66);
  text-wrap: pretty;
}
.faq-body strong { color: var(--b4w-white); font-weight: 600; }
.faq-body ul {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-body a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 52, 2, 0.5); }
.faq-body a:hover { text-decoration-color: currentColor; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 16px 24px 44px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
.site-footer p { margin: 0; }
.site-footer .age {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 6px;
  border: 1.5px solid var(--b4w-orange);
  border-radius: 4px;
  font-weight: 700;
  color: var(--b4w-orange);
}

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