/* =============================================
   Arena VR Chile — HUD / scoreboard
   Tipografía condensada, geometría aguda, no cards SaaS
   ============================================= */

:root {
  --ink: #f2f4ef;
  --muted: #9aa39a;
  --dim: #6b746c;
  --bg: #080a0c;
  --bg-2: #101410;
  --panel: #0e1210;
  --line: rgba(214, 255, 58, 0.22);
  --acid: #d6ff3a;
  --acid-dim: #b8e020;
  --cyan: #3dffe8;
  --display: "Chakra Petch", "Arial Narrow", sans-serif;
  --body: "Sora", system-ui, sans-serif;
  --max: 1120px;
  --header: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 12px);
}

body {
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a {
  color: var(--acid);
  text-decoration: none;
}

a:hover { color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.kicker {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.85rem;
}

.idx {
  display: block;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--acid);
  margin-bottom: 0.75rem;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* ---- Header ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(8, 10, 12, 0.92);
  border-bottom: 1px solid var(--line);
}

.header.is-scrolled {
  background: #080a0c;
}

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
}

.brand:hover { color: var(--ink); }

.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--acid);
  color: #080a0c;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.85rem;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.brand__name {
  display: flex;
  flex-direction: column;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  line-height: 1.05;
}

.brand__name span {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  color: var(--cyan);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav__list a {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav__list a:hover { color: var(--ink); }

.nav__cta {
  background: var(--acid) !important;
  color: #080a0c !important;
  padding: 0.45rem 0.9rem;
}

.nav__cta:hover { filter: brightness(1.08); }

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  position: relative;
}

.nav__toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--acid);
}

.nav__toggle span:first-child { top: 14px; }
.nav__toggle span:last-child { bottom: 14px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.15s ease;
}

.btn--fill {
  background: var(--acid);
  color: #080a0c;
}

.btn--fill:hover {
  background: #fff;
  color: #080a0c;
}

.btn--line {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn--line:hover {
  border-color: var(--acid);
  color: var(--acid);
}

.btn--lg { padding: 1rem 1.6rem; }
.btn--block { width: 100%; margin-top: 1.25rem; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, var(--bg) 100%),
    repeating-linear-gradient(90deg, rgba(214, 255, 58, 0.05) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(214, 255, 58, 0.05) 0 1px, transparent 1px 72px),
    radial-gradient(ellipse 80% 50% at 80% 10%, rgba(61, 255, 232, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 10% 80%, rgba(214, 255, 58, 0.1), transparent 50%);
  pointer-events: none;
}

.hero__stage {
  position: relative;
  padding-block: 5rem 3.5rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 {
  font-size: clamp(3rem, 9vw, 6.2rem);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--acid);
}

.hero__lede {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ticker {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  border-top: 1px solid var(--line);
  background: #050706;
}

.ticker li {
  padding: 1.15rem 1.25rem;
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-right: 1px solid var(--line);
}

.ticker li:last-child { border-right: 0; }

.ticker b {
  display: block;
  font-size: 1.65rem;
  color: var(--acid);
  letter-spacing: 0;
  margin-bottom: 0.15rem;
}

/* ---- Blocks ---- */
.block {
  padding-block: 5.5rem;
}

.block--invert {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.block__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  margin-bottom: 2.75rem;
  max-width: 780px;
  align-items: start;
}

.block h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.block p { color: var(--muted); }

.block strong { color: var(--ink); }

/* Rails */
.rails {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  list-style: none;
  border: 1px solid var(--line);
}

.rails li {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--line);
}

.rails li:last-child { border-right: 0; }

.rails__n {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  color: var(--acid);
  line-height: 1;
  margin-bottom: 1rem;
}

.rails h3 {
  font-size: 1.15rem;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.rails p {
  font-size: 0.92rem;
}

/* Split + floorplan */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.specs {
  list-style: none;
  margin-top: 1.75rem;
}

.specs li {
  padding: 1rem 0 1rem 1rem;
  border-left: 2px solid var(--acid);
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.specs strong {
  display: block;
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.floorplan {
  position: relative;
  aspect-ratio: 1;
  background:
    repeating-linear-gradient(90deg, rgba(214, 255, 58, 0.08) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(0deg, rgba(214, 255, 58, 0.08) 0 1px, transparent 1px 40px),
    #070908;
  border: 1px solid var(--acid);
}

.floorplan__corner {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(61, 255, 232, 0.35);
  pointer-events: none;
}

.floorplan__dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--acid);
  box-shadow: 0 0 16px var(--acid);
  animation: blip 1.8s ease-in-out infinite;
}

.floorplan__dot--1 { top: 28%; left: 32%; }
.floorplan__dot--2 { top: 58%; left: 62%; animation-delay: 0.4s; }
.floorplan__dot--3 { top: 40%; left: 74%; animation-delay: 0.9s; }

.floorplan__tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

@keyframes blip {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.55; }
}

/* Boards */
.boards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
}

.board {
  padding: 2rem 1.75rem;
}

.board + .board {
  border-left: 1px solid var(--line);
}

.board header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-family: var(--display);
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.board header span {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--dim);
}

.board ul { list-style: none; }

.board li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
  border-bottom: 1px dashed rgba(214, 255, 58, 0.12);
}

.board li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1em;
  width: 6px;
  height: 6px;
  background: var(--cyan);
}

.board--live {
  background: linear-gradient(180deg, rgba(214, 255, 58, 0.07), transparent 40%);
}

.board--live header span { color: var(--acid); }

/* Modes */
.modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  counter-reset: mode;
}

.modes li {
  counter-increment: mode;
  padding: 1.6rem 1.4rem 1.6rem 4.2rem;
  border: 1px solid var(--line);
  margin: -1px 0 0 -1px;
  position: relative;
}

.modes li::before {
  content: counter(mode, decimal-leading-zero);
  position: absolute;
  left: 1.1rem;
  top: 1.55rem;
  font-family: var(--display);
  font-size: 0.85rem;
  color: var(--acid);
}

.modes__code {
  display: block;
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.4rem;
}

.modes h3 {
  font-size: 1.15rem;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.modes p {
  font-size: 0.9rem;
}

.note {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--dim);
}

/* Quotes */
.quotes {
  padding-block: 4rem;
  background: var(--acid);
  color: #080a0c;
}

.quotes .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.quotes blockquote p {
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1.35;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.quotes footer {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--display);
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
}

.faq__item {
  border-top: 1px solid var(--line);
}

.faq__item:last-child { border-bottom: 1px solid var(--line); }

.faq__item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  padding-block: 1.15rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "+";
  color: var(--acid);
  font-size: 1.2rem;
}

.faq__item[open] summary::after { content: "–"; }

.faq__item p {
  padding-bottom: 1.15rem;
  font-size: 0.92rem;
  max-width: 640px;
}

/* Signal CTA */
.signal {
  background: var(--bg-2);
  border-top: 4px solid var(--acid);
  padding-block: 5rem;
}

.signal__inner { max-width: 720px; }

.signal h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.signal p {
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.signal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.signal address {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--dim);
  line-height: 1.8;
  font-family: var(--display);
  letter-spacing: 0.02em;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 2.75rem 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer p {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--dim);
  max-width: 380px;
}

.footer nav ul { list-style: none; }

.footer nav a {
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-block;
  margin-bottom: 0.45rem;
}

.footer__legal small {
  font-size: 0.72rem;
  color: var(--dim);
  line-height: 1.6;
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .rails,
  .boards,
  .modes,
  .quotes .wrap,
  .split,
  .faq-layout,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .ticker { grid-template-columns: 1fr 1fr; }

  .ticker li:nth-child(odd) { border-bottom: 1px solid var(--line); }

  .rails li,
  .board + .board {
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .block__head { grid-template-columns: 1fr; gap: 0.4rem; }
}

@media (max-width: 768px) {
  .nav__toggle { display: block; }

  .nav__list {
    position: fixed;
    top: var(--header);
    left: 0;
    right: 0;
    background: #080a0c;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
  }

  .nav__list.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav__list a {
    display: block;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
  }

  .hero h1 { font-size: clamp(2.4rem, 12vw, 3.4rem); }
  .hero__stage { padding-block: 3rem 2rem; }
  .block { padding-block: 3.5rem; }
}
