:root {
  --navy: #08233f;
  --blue: #0d355c;
  --blue-soft: #16466f;
  --ink: #1e293b;
  --text: #475569;
  --muted: #64748b;
  --snow: #f4f8fb;
  --white: #fbfdff;
  --mist: #e7f0f7;
  --line: #d7e3ec;
  --gold: #b8895b;
  --gold-soft: #d9b27f;
  --shadow: 0 22px 60px rgba(8, 35, 63, 0.12);
  --wrap: min(1120px, calc(100% - 32px));
  font-family: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  min-width: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--snow);
  color: var(--ink);
  font: 17px/1.7 Georgia, "Times New Roman", serif;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 253, 255, 0.91);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  width: var(--wrap);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  color: var(--navy);
  font-size: 19px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  white-space: nowrap;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(8, 35, 63, 0.7);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu a {
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
}

.menu a:hover,
.menu .active {
  color: var(--navy);
  border-color: var(--navy);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 35, 63, 0.1), rgba(8, 35, 63, 0.9) 86%),
    linear-gradient(90deg, rgba(8, 35, 63, 0.95), rgba(8, 35, 63, 0.56) 56%, rgba(8, 35, 63, 0.72)),
    url("../img/hero-autor-comprimida.jpg") center 22% / cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(0deg, var(--snow), rgba(244, 248, 251, 0));
  pointer-events: none;
}

.hero-inner,
.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 98px 0 112px;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold-soft);
}

h1 {
  max-width: 900px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.96;
  font-weight: 500;
}

.page-hero h1 {
  color: var(--navy);
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.2;
}

.hero-copy {
  max-width: 720px;
  color: rgba(251, 253, 255, 0.86);
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button,
button.button {
  display: inline-flex;
  max-width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy);
  padding: 11px 18px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(8, 35, 63, 0.2);
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.button.secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
  box-shadow: none;
}

.button.light {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
  box-shadow: none;
}

.hero .button.secondary,
.feature-band .button.secondary,
.resistance-stage .button.secondary,
.resistance-stage .button.light {
  background: rgba(251, 253, 255, 0.08);
  color: var(--white);
  border-color: rgba(251, 253, 255, 0.58);
}

.feature-band .button,
.trivia-invite .button,
.resistance-console .button:not(.light) {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.section {
  width: var(--wrap);
  margin: 0 auto;
  padding: 86px 0;
  border-top: 1px solid var(--line);
}

.section:first-of-type {
  border-top: 0;
}

.section-title {
  max-width: 790px;
  margin-bottom: 26px;
  color: var(--navy);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.06;
  font-weight: 500;
}

.section-copy {
  max-width: 840px;
  color: rgba(30, 41, 59, 0.78);
  font-size: 20px;
}

.page-hero {
  padding: 88px 0 46px;
  background:
    linear-gradient(135deg, rgba(231, 240, 247, 0.94), rgba(251, 253, 255, 0.92)),
    radial-gradient(circle at 85% 20%, rgba(184, 137, 91, 0.12), transparent 30%);
}

.page-hero .wrap {
  padding-top: 16px;
}

.page-hero .hero-copy {
  color: var(--text);
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.panel,
.press-item,
.book-card {
  border: 1px solid var(--line);
  background: rgba(251, 253, 255, 0.9);
  box-shadow: var(--shadow);
}

.card,
.press-item {
  padding: 24px;
}

.card strong,
.press-item strong,
.book-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card p,
.press-item p,
.book-card p {
  color: var(--text);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 56px;
  align-items: start;
}

.image-panel {
  min-height: 360px;
  border-left: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
  background:
    linear-gradient(rgba(8, 35, 63, 0.12), rgba(8, 35, 63, 0.52)),
    url("../img/manifiesto-territorio-comprimida.jpg") center / cover;
}

.feature-band {
  padding: clamp(28px, 5vw, 52px);
  background: linear-gradient(120deg, rgba(8, 35, 63, 0.96), rgba(13, 53, 92, 0.9));
  color: var(--white);
}

.feature-band .section-title,
.feature-band .section-copy {
  color: var(--white);
}

.feature-band .section-copy {
  color: rgba(251, 253, 255, 0.84);
}

.status {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  border: 1px solid rgba(217, 178, 127, 0.58);
  padding: 6px 11px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.book-card {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 0;
  overflow: hidden;
}

.book-cover {
  min-height: 340px;
  background:
    linear-gradient(rgba(8, 35, 63, 0.12), rgba(8, 35, 63, 0.42)),
    url("../img/hero-autor-comprimida.jpg") center / cover;
}

.book-cover.arriero {
  display: grid;
  align-content: end;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(8, 35, 63, 0.08), rgba(8, 35, 63, 0.82)),
    url("../img/manifiesto-territorio-comprimida.jpg") center / cover;
  color: var(--white);
}

.book-cover.arriero::after {
  content: "El Último Arriero de Pucón";
  max-width: 260px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
}

.purchase-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
}

.quiz-intro {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.quiz-progress {
  height: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--mist);
}

.quiz-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--navy);
  transition: width 0.25s ease;
}

.quiz-grid {
  display: grid;
  gap: 16px;
}

.quiz-question {
  border: 1px solid var(--line);
  padding: 18px;
  background: rgba(244, 248, 251, 0.7);
}

.quiz-question strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
}

.quiz-question label {
  margin-top: 8px;
}

.quiz-question textarea {
  min-height: 90px;
}

.game-shell {
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: center;
  padding: 56px 0;
  background:
    linear-gradient(135deg, rgba(231, 240, 247, 0.92), rgba(251, 253, 255, 0.96)),
    radial-gradient(circle at 82% 18%, rgba(184, 137, 91, 0.16), transparent 30%);
}

.game-card {
  width: var(--wrap);
  margin: 0 auto;
  border: 1px solid var(--line);
  background: rgba(251, 253, 255, 0.94);
  box-shadow: var(--shadow);
}

.game-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 18px clamp(18px, 4vw, 34px);
}

.game-top span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.game-body {
  display: grid;
  gap: 26px;
  padding: clamp(24px, 5vw, 54px);
}

.game-question {
  max-width: 850px;
  color: var(--navy);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.05;
  font-weight: 500;
}

.game-help {
  max-width: 720px;
  color: var(--text);
  font-size: 19px;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.option-button {
  min-height: 96px;
  border: 1px solid var(--line);
  padding: 18px;
  background: var(--snow);
  color: var(--ink);
  text-align: left;
  font: 17px/1.45 Georgia, "Times New Roman", serif;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.option-button:hover,
.option-button.selected {
  transform: translateY(-2px);
  border-color: var(--blue);
  background: var(--mist);
}

.game-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 800px;
}

.game-result {
  border-left: 3px solid var(--gold);
  padding-left: 18px;
}

.game-result h2 {
  color: var(--navy);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.06;
}

.game-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.is-hidden {
  display: none !important;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  box-shadow: var(--shadow);
}

.admin-table th,
.admin-table td {
  border: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--navy);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.shop-price {
  color: var(--navy);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.notice {
  border-left: 3px solid var(--gold);
  padding: 12px 0 12px 16px;
  color: var(--text);
}

.play-body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--snow);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

.play-body .site-header {
  position: relative;
  background: rgba(251, 253, 255, 0.91);
}

.play-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(42% 30% at 10% 8%, rgba(215, 227, 236, 0.88) 0%, transparent 62%),
    radial-gradient(35% 25% at 90% 15%, rgba(184, 137, 91, 0.22) 0%, transparent 60%),
    radial-gradient(30% 20% at 20% 90%, rgba(13, 53, 92, 0.16) 0%, transparent 60%);
  opacity: 0.9;
}

.papers {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.paper {
  position: absolute;
  width: 70px;
  height: 90px;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--white), #eef5fa);
  box-shadow: 0 6px 14px rgba(8, 35, 63, 0.08), inset 0 0 0 2px #fff;
  opacity: 0.52;
  animation: paperFloat 14s ease-in-out infinite;
}

.paper::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-top: 2px dashed rgba(184, 137, 91, 0.45);
  border-bottom: 2px dashed rgba(184, 137, 91, 0.45);
  border-radius: 6px;
  opacity: 0.5;
}

.paper:nth-child(1) { left: 5%; top: 12%; transform: rotate(-8deg); animation-delay: -2s; width: 60px; height: 80px; }
.paper:nth-child(2) { right: 8%; top: 18%; transform: rotate(12deg); animation-delay: -5s; width: 55px; height: 75px; }
.paper:nth-child(3) { left: 12%; top: 55%; transform: rotate(6deg); animation-delay: -9s; }
.paper:nth-child(4) { right: 10%; top: 62%; transform: rotate(-14deg); animation-delay: -3s; width: 80px; }
.paper:nth-child(5) { left: 50%; top: 8%; transform: rotate(4deg); animation-delay: -7s; width: 50px; height: 70px; }

@keyframes paperFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -22px; rotate: 8deg; }
}

.play-mountains {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 150px;
  pointer-events: none;
  opacity: 0.94;
}

.play-mountains svg {
  width: 100%;
  height: 100%;
  display: block;
}

.play-wrap {
  position: relative;
  z-index: 2;
  width: min(430px, calc(100% - 28px));
  min-height: calc(100svh - 76px);
  margin: 0 auto;
  padding: 26px 0 132px;
  display: flex;
  flex-direction: column;
}

.play-title {
  text-align: center;
}

.play-logo {
  display: inline-block;
  margin-bottom: 14px;
  border-radius: 999px;
  padding: 7px 16px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 0 var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.play-title h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 8vw, 38px);
  font-weight: 500;
  line-height: 1.05;
  text-shadow: none;
}

.play-title h1 span {
  display: block;
  margin-top: 5px;
  color: var(--blue);
  font-size: 18px;
  text-shadow: none;
}

.rose-progress {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 24px 0 20px;
}

.rose-dot {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 4px 0 rgba(184, 137, 91, 0.25), inset 0 0 0 1px var(--line);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  opacity: 0.5;
  transition: 0.35s cubic-bezier(.175,.885,.32,1.275);
}

.rose-dot.active {
  opacity: 1;
  transform: scale(1.12) rotate(-6deg);
  box-shadow: 0 5px 0 var(--gold), inset 0 0 0 2px var(--blue);
  background: var(--mist);
  color: var(--navy);
}

.play-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px 20px 24px;
  background: rgba(251, 253, 255, 0.96);
  box-shadow: var(--shadow);
}

.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  border-radius: 999px;
  padding: 6px 12px;
  background: var(--mist);
  color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.play-question {
  margin: 6px 0 18px;
  color: var(--navy);
  font-size: clamp(23px, 6vw, 30px);
  font-weight: 500;
  line-height: 1.16;
}

.play-options {
  display: grid;
  gap: 13px;
}

.play-option {
  width: 100%;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 5px 0 rgba(215, 227, 236, 0.88);
  font: 700 17px/1.35 Georgia, "Times New Roman", serif;
  text-align: left;
  cursor: pointer;
  transition: 0.16s;
  touch-action: manipulation;
}

.play-option:nth-child(1) { background: #fbfdff; }
.play-option:nth-child(2) { background: #f4f8fb; }
.play-option:nth-child(3) { background: #eef5fa; }
.play-option:nth-child(4) { background: #fbfdff; }

.play-option:hover {
  transform: translateY(-2px) rotate(-0.6deg);
}

.play-option:active {
  transform: translateY(2px) scale(0.99);
  box-shadow: 0 2px 0 rgba(215, 227, 236, 0.88);
}

.play-option.popping {
  animation: popChoice 0.46s cubic-bezier(.175,.885,.32,1.6);
}

.play-option.correct {
  background: #dff7eb !important;
  color: #064e3b;
  box-shadow: 0 5px 0 #10b981;
}

.play-option.correct .play-emoji {
  background: #ecfdf5;
  box-shadow: inset 0 0 0 2px #10b981;
}

.play-option.wrong {
  background: #fde2e2 !important;
  color: #7f1d1d;
  box-shadow: 0 5px 0 #ef4444;
  animation: answerShake 0.3s ease;
}

.play-option:disabled {
  cursor: default;
}

.play-emoji {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--mist);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 26px;
}

@keyframes popChoice {
  0% { transform: scale(0.96); }
  50% { transform: scale(1.06) rotate(1deg); }
  100% { transform: scale(1); }
}

@keyframes answerShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.play-result {
  text-align: center;
}

.result-emoji {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 82px;
  line-height: 1;
  filter: drop-shadow(0 10px 0 rgba(184, 137, 91, 0.18));
  animation: resultFloat 3s ease-in-out infinite;
}

@keyframes resultFloat {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-10px) rotate(4deg); }
}

.result-tag {
  display: inline-block;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 4px 10px;
  background: var(--mist);
  color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.result-title {
  margin: 6px 0 4px;
  color: var(--navy);
  font-size: 28px;
  font-weight: 700;
}

.avatar-card {
  display: grid;
  gap: 3px;
  justify-items: center;
  width: min(260px, 100%);
  margin: 0 auto 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(251, 253, 255, 0.96), rgba(244, 248, 251, 0.96));
  box-shadow: 0 8px 24px rgba(8, 35, 63, 0.12);
}

.avatar-card span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 30px;
  box-shadow: 0 5px 0 var(--gold);
}

.avatar-card strong {
  color: var(--navy);
  font-size: 19px;
}

.avatar-card small {
  color: var(--muted);
  font-size: 13px;
}

.score-line {
  margin: 12px 0;
  border-radius: 999px;
  padding: 9px 12px;
  background: #e0f2fe;
  color: #075985;
  font-size: 14px;
  font-weight: 800;
}

.medal-row {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
}

.medal-row span {
  border: 1px solid rgba(184, 137, 91, 0.35);
  border-radius: 999px;
  padding: 9px 12px;
  background: #fff7df;
  color: #7c4a00;
  font-size: 14px;
  font-weight: 800;
}

.result-desc {
  margin: 14px 0 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--snow);
  color: var(--text);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
}

.verso-picaro {
  margin: 0 0 22px;
  border-left: 4px solid var(--amber-dark, #b46f00);
  border-radius: 16px;
  padding: 13px 14px;
  background: #fef3c7;
  color: #78350f;
  font-size: 17px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.35;
}

.play-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
  text-align: left;
}

.play-form input,
.play-form select,
.play-form textarea {
  border-color: var(--line);
  border-radius: 8px;
  background: var(--white);
  font-family: Georgia, "Times New Roman", serif;
}

.play-btns {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.play-btn {
  border: 0;
  border-radius: 8px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font: 700 16px/1 Georgia, "Times New Roman", serif;
  cursor: pointer;
  text-decoration: none;
}

.play-btn.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 0 var(--navy);
}

.play-btn.cta {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 6px 0 var(--gold);
}

.play-btn.ghost {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 5px 0 rgba(215, 227, 236, 0.88), inset 0 0 0 1px var(--line);
}

.confetti {
  position: fixed;
  top: -20px;
  z-index: 9999;
  width: 10px;
  height: 16px;
  border-radius: 3px;
  pointer-events: none;
  animation: fallConfetti linear forwards;
}

@keyframes fallConfetti {
  to { transform: translateY(115vh) rotate(720deg); opacity: 0; }
}

.play-footer {
  margin-top: auto;
  padding-top: 28px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.trivia-flow-form {
  display: block;
}

.start-fields,
.final-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.resistance-brief {
  display: grid;
  gap: 24px;
}

.dialogue-card {
  width: min(860px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  padding: clamp(24px, 5vw, 42px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.dialogue-card h2,
.trivia-invite h2 {
  color: var(--navy);
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.08;
  font-weight: 500;
}

.dialogue-card p,
.trivia-invite p {
  max-width: 760px;
  color: var(--text);
  font-size: 19px;
}

.avatar-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.avatar-preview span {
  display: grid;
  gap: 6px;
  justify-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 8px;
  background: var(--snow);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.avatar-preview b {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 23px;
  box-shadow: 0 4px 0 var(--gold);
}

.trivia-invite {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 44px);
  background:
    linear-gradient(120deg, rgba(8, 35, 63, 0.96), rgba(13, 53, 92, 0.9)),
    url("../img/manifiesto-territorio-comprimida.jpg") center / cover;
  color: var(--white);
  box-shadow: var(--shadow);
}

.trivia-invite h2,
.trivia-invite p {
  color: var(--white);
}

.email-log-card {
  border-left: 3px solid var(--gold);
  background: var(--white);
}

.mail-screen {
  display: grid;
  gap: 10px;
}

.mail-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(8, 35, 63, 0.14);
  border-left: 3px solid var(--gold);
  padding: 14px;
  background: var(--paper);
  box-shadow: 0 8px 22px rgba(8, 35, 63, 0.08);
}

.mail-row strong,
.mail-row span {
  display: block;
}

.mail-row strong {
  color: var(--navy);
  font-size: 18px;
}

.mail-row span {
  color: var(--text);
  font-size: 14px;
}

.headline-list {
  display: grid;
  gap: 12px;
}

.headline-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 110px;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(8, 35, 63, 0.14);
  border-left: 3px solid var(--gold);
  padding: 18px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(8, 35, 63, 0.08);
}

.headline-item span,
.headline-item em {
  color: var(--blue);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.headline-item strong {
  color: var(--navy);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.08;
}

.news-stage {
  min-height: calc(100svh - 76px);
  padding: clamp(42px, 7vw, 92px) 0;
  background:
    linear-gradient(rgba(8, 35, 63, 0.94), rgba(8, 35, 63, 0.94)),
    url("../img/manifiesto-territorio-comprimida.jpg") center / cover;
}

.news-paper {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(24px, 5vw, 54px);
  background: #fffef8;
  color: #1f2933;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.news-section {
  margin: 0;
  color: #222;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  line-height: 1;
}

.news-paper hr {
  height: 5px;
  border: 0;
  margin: 28px 0 34px;
  background: #111;
}

.news-paper h1 {
  max-width: none;
  color: #1f1f1f;
  font-size: clamp(36px, 6vw, 70px);
  line-height: 0.98;
}

.news-lead {
  color: #1f2933;
  font-size: clamp(21px, 3vw, 28px);
  font-weight: 700;
  font-style: italic;
  line-height: 1.18;
}

.news-lead::first-letter,
.news-lead strong {
  color: #06879a;
}

.news-paper figure {
  margin: 24px 0;
}

.news-paper img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.news-paper figcaption {
  margin-top: 8px;
  color: #26323d;
  font-size: 12px;
  text-align: center;
  text-transform: uppercase;
}

.news-columns {
  column-count: 2;
  column-gap: 34px;
  color: #111;
  font-size: 17px;
  line-height: 1.28;
}

.resistance-stage {
  position: relative;
  min-height: calc(100svh - 76px);
  overflow: hidden;
  display: grid;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(8, 35, 63, 0.12), rgba(8, 35, 63, 0.88)),
    linear-gradient(90deg, rgba(8, 35, 63, 0.96), rgba(13, 53, 92, 0.72)),
    url("../img/manifiesto-territorio-comprimida.jpg") center / cover;
  color: var(--white);
}

.resistance-stage-inner {
  position: relative;
  z-index: 2;
  width: var(--wrap);
  margin: 0 auto;
  padding: clamp(70px, 10vw, 120px) 0;
}

.resistance-stage h1 {
  color: var(--white);
}

.resistance-stage .hero-copy {
  color: rgba(251, 253, 255, 0.84);
}

.resistance-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.resistance-bg span {
  position: absolute;
  width: 86px;
  height: 116px;
  border: 1px solid rgba(251, 253, 255, 0.22);
  background: rgba(251, 253, 255, 0.08);
  box-shadow: 0 20px 60px rgba(8, 35, 63, 0.2);
  animation: signalFloat 13s ease-in-out infinite;
}

.resistance-bg span:nth-child(1) { left: 8%; top: 18%; transform: rotate(-8deg); }
.resistance-bg span:nth-child(2) { right: 10%; top: 16%; transform: rotate(10deg); animation-delay: -4s; }
.resistance-bg span:nth-child(3) { left: 18%; bottom: 12%; transform: rotate(7deg); animation-delay: -7s; }
.resistance-bg span:nth-child(4) { right: 24%; bottom: 18%; transform: rotate(-12deg); animation-delay: -2s; }

@keyframes signalFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -18px; }
}

.resistance-console {
  width: min(720px, 100%);
  margin-top: 34px;
  border: 1px solid rgba(251, 253, 255, 0.28);
  border-left: 3px solid var(--gold);
  background: rgba(8, 35, 63, 0.52);
  backdrop-filter: blur(12px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.console-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(251, 253, 255, 0.18);
  padding: 14px 18px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.resistance-console p {
  min-height: 116px;
  margin: 0;
  padding: clamp(22px, 4vw, 34px);
  color: rgba(251, 253, 255, 0.9);
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.28;
}

.console-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 clamp(22px, 4vw, 34px) clamp(22px, 4vw, 34px);
}

.resistance-missions {
  width: min(720px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.mission-card {
  border: 1px solid rgba(251, 253, 255, 0.26);
  padding: 14px;
  background: rgba(251, 253, 255, 0.08);
  color: var(--white);
  text-align: left;
  cursor: pointer;
}

.mission-card strong,
.mission-card span {
  display: block;
}

.mission-card strong {
  color: var(--gold-soft);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.mission-card span {
  margin-top: 4px;
  font-size: 17px;
}

.mission-card.active {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.resistance-actions .button.secondary {
  background: rgba(251, 253, 255, 0.08);
}

.trivia-invite.compact {
  background:
    linear-gradient(120deg, rgba(8, 35, 63, 0.96), rgba(13, 53, 92, 0.9)),
    url("../img/crudo-invierno-instagram-comprimida.jpg") right center / contain no-repeat;
}

.book-body {
  padding: clamp(26px, 5vw, 48px);
}

.meta-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.meta-list span {
  display: block;
  border-left: 2px solid var(--gold);
  padding-left: 14px;
  color: var(--text);
}

.quote {
  max-width: 820px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 5vw, 60px);
  line-height: 1.1;
}

form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label,
fieldset {
  display: grid;
  gap: 7px;
  margin: 0;
  border: 0;
  padding: 0;
  color: rgba(8, 35, 63, 0.82);
  font-size: 15px;
}

.full,
.form-actions {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 13px;
  background: rgba(251, 253, 255, 0.94);
  color: var(--navy);
  font: 16px/1.5 Georgia, "Times New Roman", serif;
  outline: 0;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
}

textarea {
  min-height: 112px;
  resize: vertical;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.radio-row input {
  width: auto;
}

.site-footer {
  background: var(--navy);
  color: rgba(251, 253, 255, 0.72);
  padding: 44px 0;
}

.footer-inner {
  width: var(--wrap);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner a {
  color: var(--white);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-name {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
}

.footer-loc {
  font-size: 13px;
  color: rgba(251, 253, 255, 0.55);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.footer-links a {
  color: rgba(251, 253, 255, 0.78);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
}

.footer-links a:hover {
  color: var(--white);
  border-color: var(--gold-soft);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  color: rgba(251, 253, 255, 0.6);
  font-size: 13px;
}

.footer-social a:hover {
  color: var(--white);
}

@media (max-width: 860px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .nav {
    min-height: auto;
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .menu {
    justify-content: flex-start;
    gap: 12px 16px;
    font-size: 12px;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 92px 0 82px;
  }

  .grid-2,
  .grid-3,
  .split,
  .book-card,
  .option-grid,
  .game-inputs,
  form {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .feature-band {
    background: linear-gradient(120deg, rgba(8, 35, 63, 0.96), rgba(13, 53, 92, 0.9));
  }

  .book-cover {
    min-height: 260px;
  }

  .play-wrap {
    width: min(430px, calc(100% - 24px));
    padding-bottom: 96px;
  }

  .admin-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .admin-table th,
  .admin-table td {
    min-width: 140px;
  }

  .resistance-stage {
    min-height: auto;
  }

  .resistance-missions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resistance-console p {
    min-height: auto;
  }

  .button,
  button.button,
  .play-btn {
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .brand {
    white-space: normal;
  }

  .actions .button,
  .feature-band .button,
  .console-actions .button,
  .resistance-actions .button {
    width: 100%;
  }

  .actions,
  .console-actions,
  .resistance-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .section-copy {
    font-size: 18px;
  }

  h1 {
    font-size: clamp(42px, 16vw, 70px);
  }

  .section-title,
  .dialogue-card h2,
  .trivia-invite h2 {
    font-size: clamp(30px, 12vw, 44px);
  }

  .card,
  .press-item,
  .book-body,
  .feature-band,
  .dialogue-card,
  .trivia-invite {
    padding: 20px;
  }

  .page-hero {
    padding: 58px 0 34px;
  }

  .section {
    width: min(1120px, calc(100% - 24px));
    padding: 48px 0;
  }

  .hero-inner,
  .wrap,
  .nav,
  .footer-inner,
  .resistance-stage-inner {
    width: min(1120px, calc(100% - 24px));
  }

  .resistance-missions {
    grid-template-columns: 1fr;
  }

  .play-question,
  .result-title {
    overflow-wrap: anywhere;
  }

.play-option {
    align-items: flex-start;
  }

  .play-emoji {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    font-size: 22px;
  }
}

/* Contraste y responsive final */
.card,
.panel,
.press-item,
.book-card,
.dialogue-card,
.play-card {
  background-color: #fbfdff;
  border-color: #c8d8e3;
}

.button.light,
button.button.light,
.play-btn.ghost {
  background: #fbfdff;
  color: var(--navy);
  border: 1px solid var(--navy);
}

.button.secondary:not(.secondary-on-dark) {
  color: var(--navy);
}

.hero .button.secondary,
.feature-band .button.secondary,
.resistance-stage .button.secondary,
.resistance-stage .button.light {
  color: var(--white);
}

input,
select,
textarea {
  background: #fff;
  border-color: #b8cad8;
}

.play-option,
.mission-card,
.play-btn,
.button {
  min-width: 0;
}

@media (max-width: 700px) {
  :root {
    --wrap: min(1120px, calc(100% - 24px));
  }

  .button,
  button.button,
  .play-btn {
    width: 100%;
    min-height: 52px;
    padding: 13px 14px;
  }

  .menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 10px;
  }

  .menu a {
    display: block;
    border: 1px solid var(--line);
    padding: 8px 9px;
    background: rgba(251, 253, 255, 0.72);
    text-align: center;
  }

  .play-card,
  .dialogue-card,
  .trivia-invite,
  .resistance-console {
    border-radius: 0;
  }

  .book-card {
    display: block;
  }

  .admin-table {
    font-size: 14px;
  }
}

@media (max-width: 390px) {
  .menu {
    grid-template-columns: 1fr;
  }

  .play-wrap {
    width: calc(100% - 18px);
  }

  .play-card {
    padding: 18px 14px;
  }
}

/* Entorno cálido y móvil estable */
:root {
  --cream: #fff7eb;
  --paper: #fffaf0;
  --paper-2: #fff1d6;
  --amber: #f5b400;
  --amber-dark: #b46f00;
  --rose: #f43f5e;
}

body {
  background:
    radial-gradient(42% 28% at 8% 4%, rgba(245, 180, 0, 0.16), transparent 62%),
    radial-gradient(34% 24% at 92% 12%, rgba(13, 53, 92, 0.12), transparent 60%),
    var(--cream);
}

.site-header {
  background: rgba(255, 250, 240, 0.94);
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(255, 247, 235, 0.96), rgba(255, 250, 240, 0.94)),
    radial-gradient(circle at 85% 20%, rgba(245, 180, 0, 0.16), transparent 32%);
}

.card,
.panel,
.press-item,
.book-card,
.dialogue-card,
.play-card,
.game-card {
  background: var(--paper);
  border-color: rgba(8, 35, 63, 0.14);
  box-shadow: 0 14px 0 rgba(245, 180, 0, 0.22), 0 22px 50px rgba(8, 35, 63, 0.11);
}

.card p,
.press-item p,
.book-card p,
.section-copy,
.dialogue-card p,
.trivia-invite p,
.game-help,
.result-desc {
  color: #35485c;
}

.button,
button.button,
.play-btn {
  border-radius: 18px;
  background: var(--navy);
  color: #fffaf0;
  border-color: var(--navy);
  box-shadow: 0 6px 0 var(--gold);
}

.button.light,
button.button.light,
.button.secondary,
.play-btn.ghost {
  background: var(--paper);
  color: var(--navy);
  border: 2px solid var(--navy);
  box-shadow: 0 5px 0 rgba(245, 180, 0, 0.28);
}

.hero .button.secondary,
.feature-band .button.secondary,
.resistance-stage .button.secondary,
.resistance-stage .button.light {
  background: rgba(255, 250, 240, 0.1);
  color: #fffaf0;
  border-color: rgba(255, 250, 240, 0.74);
}

.feature-band .button,
.trivia-invite .button,
.resistance-console .button:not(.light) {
  background: var(--paper);
  color: var(--navy);
  border-color: var(--paper);
}

input,
select,
textarea {
  background: #fffef8;
  border: 2px solid rgba(8, 35, 63, 0.18);
  border-radius: 14px;
}

.play-body {
  background:
    radial-gradient(40% 30% at 10% 10%, rgba(245, 180, 0, 0.18) 0%, transparent 60%),
    radial-gradient(35% 25% at 90% 15%, rgba(125, 211, 252, 0.22) 0%, transparent 60%),
    var(--cream);
}

.play-body .site-header {
  background: rgba(255, 250, 240, 0.94);
}

.play-logo {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 4px 0 #be123c;
}

.play-title h1 {
  color: #7a1430;
  font-weight: 900;
  text-shadow: 0 3px 0 #ffe4e6;
}

.play-title h1 span {
  color: var(--amber-dark);
}

.play-card {
  border-radius: 28px;
}

.play-badge,
.result-tag {
  background: #fef3c7;
  color: #7c4a00;
  box-shadow: 0 2px 0 rgba(245, 180, 0, 0.36);
}

.play-question,
.result-title {
  color: #4a0f1b;
  font-weight: 900;
}

.play-option {
  border: 0;
  border-radius: 22px;
  color: #4a1c25;
  box-shadow: 0 5px 0 rgba(245, 180, 0, 0.42);
  font-family: Georgia, "Times New Roman", serif;
}

.play-option:nth-child(1) { background: #fff1f2; }
.play-option:nth-child(2) { background: #ecfeff; }
.play-option:nth-child(3) { background: #fef9c3; }
.play-option:nth-child(4) { background: #f0f9ff; }

.play-emoji {
  background: #fff;
  box-shadow: 0 3px 0 #fecaca, inset 0 0 0 2px #fff1f2;
}

.result-desc {
  background: #fff1f2;
  border: 2px dashed #fda4af;
  color: #6b1a2a;
}

.play-btn.primary {
  background: #0ea5e9;
  color: #fff;
  box-shadow: 0 6px 0 #0369a1;
}

.play-btn.cta {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 6px 0 #be123c;
}

.play-btn.ghost {
  color: #7c4a00;
  border-color: rgba(245, 180, 0, 0.7);
}

@media (max-width: 700px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    position: fixed;
    top: 10px;
    right: 10px;
    left: auto;
    z-index: 80;
    width: auto;
    border: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .nav,
  .site-header .nav {
    width: auto;
    max-width: none;
    min-height: 0;
    padding: 0;
    display: block;
  }

  .brand {
    display: none;
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
    border: 2px solid var(--navy);
    border-radius: 14px;
    display: grid;
    gap: 4px;
    align-content: center;
    justify-content: center;
    background: var(--paper);
    box-shadow: 0 6px 0 rgba(245, 180, 0, 0.38), 0 18px 34px rgba(8, 35, 63, 0.18);
    cursor: pointer;
  }

  .menu-toggle span {
    width: 22px;
    height: 2px;
    display: block;
    background: var(--navy);
  }

  .site-header .menu {
    position: absolute;
    top: 58px;
    right: 0;
    width: min(230px, calc(100vw - 20px));
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
    border: 2px solid var(--navy);
    border-radius: 18px;
    padding: 10px;
    background: var(--paper);
    box-shadow: 0 12px 0 rgba(245, 180, 0, 0.28), 0 24px 50px rgba(8, 35, 63, 0.2);
    overflow: visible;
  }

  .menu-open .site-header .menu {
    display: grid;
  }

  .site-header .menu a {
    border-radius: 12px;
    border: 1px solid rgba(8, 35, 63, 0.16);
    padding: 10px 12px;
    background: #fffef8;
    color: var(--navy);
    text-align: left;
  }

  .hero-inner,
  .wrap,
  .section,
  .footer-inner,
  .resistance-stage-inner {
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
  }

  .section {
    padding: 44px 0;
  }

  .menu {
    grid-template-columns: 1fr;
  }

  .menu a {
    border-radius: 14px;
    background: #fffaf0;
    color: var(--navy);
  }

  .hero-inner {
    padding: 74px 0 76px;
  }

  .page-hero {
    padding: 44px 0 28px;
  }

  .play-wrap {
    width: calc(100% - 20px);
    max-width: 420px;
  }

  .play-card,
  .dialogue-card,
  .trivia-invite,
  .resistance-console,
  .feature-band,
  .card,
  .panel,
  .press-item {
    border-radius: 22px;
  }

  .book-card {
    border-radius: 22px;
    overflow: hidden;
  }

  .book-cover {
    min-height: 220px;
  }

  .resistance-missions {
    grid-template-columns: 1fr;
  }

  .button,
  button.button,
  .play-btn {
    width: 100%;
    max-width: 100%;
  }

  .admin-table {
    min-width: 680px;
  }

  .headline-item,
  .mail-row {
    grid-template-columns: 1fr;
  }

  .avatar-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-stage {
    padding-top: 20px;
  }

  .news-paper {
    width: calc(100% - 20px);
    padding: 20px;
  }

  .news-columns {
    column-count: 1;
    font-size: 16px;
  }
}

@media (max-width: 380px) {
  .nav,
  .hero-inner,
  .wrap,
  .section,
  .footer-inner,
  .resistance-stage-inner,
  .play-wrap {
    width: calc(100% - 14px);
    max-width: calc(100% - 14px);
  }

  .play-card,
  .dialogue-card,
  .trivia-invite,
  .feature-band {
    padding: 16px;
  }
}

/* Ajuste final: contraste, juego y móvil */
body,
.play-body {
  color: #172033;
}

.page-hero p,
.section-copy,
.card p,
.panel p,
.book-card p,
.dialogue-card p,
.press-item p,
.game-help,
.result-desc,
.meta-list span {
  color: #29384b;
}

.feature-band,
.trivia-invite.compact,
.resistance-stage {
  color: #fffaf0;
}

.feature-band h2,
.feature-band p,
.trivia-invite.compact h2,
.trivia-invite.compact p,
.trivia-invite.compact .status,
.resistance-stage .eyebrow,
.resistance-stage h1,
.resistance-stage .hero-copy,
.resistance-console,
.resistance-console p {
  color: #fffaf0;
}

.resistance-stage .eyebrow {
  color: #d9b27f;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.resistance-console {
  background: rgba(4, 18, 34, 0.72);
  border-color: rgba(255, 250, 240, 0.32);
}

.button.light,
button.button.light,
.button.secondary,
.play-btn.ghost {
  background: #fffaf0;
  color: #08233f;
}

.play-body {
  background:
    radial-gradient(44% 32% at 50% 18%, rgba(13, 53, 92, 0.24), transparent 62%),
    radial-gradient(34% 24% at 85% 8%, rgba(184, 137, 91, 0.2), transparent 60%),
    #f4f8fb;
}

.play-title {
  display: grid;
  justify-items: center;
}

.play-title .game-help {
  max-width: 520px;
  color: #29384b;
}

.reel-stage {
  width: min(380px, 100%);
  margin: 22px auto 8px;
}

.reel-screen {
  position: relative;
  height: 560px;
  max-height: min(72vh, 620px);
  overflow: hidden;
  border: 2px solid #08233f;
  border-radius: 24px;
  background: #020617;
  box-shadow: 0 0 0 8px rgba(8, 35, 63, 0.08), 0 26px 70px rgba(8, 35, 63, 0.3);
  isolation: isolate;
}

.reel-bg,
.reel-snow,
.reel-flash {
  position: absolute;
  inset: 0;
}

.reel-bg {
  background:
    radial-gradient(circle at 50% 32%, rgba(13, 53, 92, 0.84) 0%, rgba(2, 6, 23, 0.95) 54%, #020617 100%),
    linear-gradient(180deg, #08233f, #020617);
}

.reel-snow {
  opacity: 0.22;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 1px, transparent 1.6px),
    radial-gradient(circle, rgba(255, 255, 255, 0.55) 1px, transparent 1.8px);
  background-size: 28px 28px, 46px 46px;
  animation: reelSnow 12s linear infinite;
}

.reel-drone {
  position: absolute;
  left: -80px;
  width: 72px;
  height: 28px;
  z-index: 2;
  opacity: 0.86;
  animation: reelFly 11s linear infinite;
}

.drone-one { top: 20%; }
.drone-two { top: 64%; animation-delay: 3.5s; transform: scale(0.82); }

.reel-drone span,
.reel-drone span::before,
.reel-drone span::after {
  position: absolute;
  display: block;
  background: #d7e3ec;
  box-shadow: 0 0 16px rgba(215, 227, 236, 0.7);
  content: "";
}

.reel-drone span {
  top: 13px;
  left: 4px;
  width: 64px;
  height: 2px;
}

.reel-drone span::before,
.reel-drone span::after {
  top: -7px;
  width: 18px;
  height: 18px;
  border: 2px solid #b8895b;
  border-radius: 50%;
  background: transparent;
}

.reel-drone span::before { left: 6px; }
.reel-drone span::after { right: 6px; }

.reel-hud {
  position: absolute;
  inset: 18px 18px auto;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #d7e3ec;
  font: 700 10px/1.25 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reel-bomb {
  position: absolute;
  top: -48px;
  left: 50%;
  z-index: 4;
  width: 18px;
  height: 38px;
  border-radius: 55% 55% 45% 45%;
  background: linear-gradient(180deg, #d7e3ec, #b8895b 62%, #7c4a00);
  box-shadow: 0 0 18px rgba(184, 137, 91, 0.7);
  transform: translateX(-50%);
  animation: reelBomb 8s infinite;
}

.reel-bomb::after {
  position: absolute;
  inset: auto -7px -5px;
  height: 12px;
  border-radius: 50%;
  background: rgba(245, 180, 0, 0.7);
  filter: blur(5px);
  content: "";
}

.reel-flash {
  z-index: 3;
  background:
    radial-gradient(circle at 50% 58%, rgba(255, 250, 240, 0.95), rgba(245, 180, 0, 0.7) 18%, rgba(184, 137, 91, 0.24) 36%, transparent 58%);
  opacity: 0;
  transform: scale(0.25);
  animation: reelBoom 8s infinite;
}

.reel-content {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px;
  text-align: center;
  color: #fffaf0;
}

.reel-content strong {
  color: #fffaf0;
  font-size: clamp(34px, 10vw, 52px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

.reel-content em {
  color: #d9b27f;
  font-style: normal;
}

.reel-content small {
  max-width: 260px;
  color: #e7f0f7;
  font-size: 15px;
  line-height: 1.4;
}

.reel-cta {
  border-radius: 16px;
  padding: 14px 22px;
  background: #fffaf0;
  color: #08233f;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 6px 0 #b8895b, 0 0 28px rgba(215, 227, 236, 0.35);
}

.live-score,
.avatar-guide {
  border-radius: 16px;
  padding: 9px 12px;
  margin-bottom: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.live-score {
  background: #e0f2fe;
  color: #075985;
}

.avatar-guide {
  background: #fff7df;
  color: #78350f;
  border: 1px solid rgba(184, 137, 91, 0.35);
}

.play-card,
.play-form input,
.play-form select,
.play-form textarea {
  color: #172033;
}

.play-option {
  color: #172033;
}

@keyframes reelFly {
  to { translate: 520px 0; }
}

@keyframes reelSnow {
  to { background-position: 0 320px, 0 460px; }
}

@keyframes reelBomb {
  0%, 40% { top: -48px; opacity: 0; rotate: 0deg; }
  45% { opacity: 1; }
  52% { top: 60%; rotate: 9deg; opacity: 1; }
  54%, 100% { opacity: 0; top: 60%; }
}

@keyframes reelBoom {
  0%, 50% { opacity: 0; transform: scale(0.1); }
  52% { opacity: 1; transform: scale(1.55); }
  56% { opacity: 0.5; transform: scale(1.25); }
  66%, 100% { opacity: 0; transform: scale(1); }
}

@media (max-width: 700px) {
  .play-wrap {
    width: calc(100% - 18px);
    max-width: 430px;
    padding-top: 16px;
  }

  .reel-stage {
    width: min(360px, 100%);
  }

  .reel-screen {
    height: min(540px, calc(100svh - 180px));
    min-height: 430px;
    border-radius: 20px;
  }

  .play-card {
    padding: 20px 14px;
  }

  .play-option {
    padding: 12px;
    font-size: 16px;
  }

  .play-title h1 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .reel-content strong {
    font-size: clamp(30px, 8.2vw, 38px);
  }
}

@media (max-width: 380px) {
  .reel-screen {
    min-height: 390px;
  }

  .reel-content {
    padding: 18px;
  }

  .reel-hud {
    inset: 14px 12px auto;
    font-size: 9px;
  }
}

/* Antesala interactiva de La Resistencia */
.resistance-access-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 12%, rgba(13, 53, 92, 0.34), transparent 34%),
    linear-gradient(180deg, #020617 0%, #08233f 54%, #f4f8fb 54%);
}

.resistance-access-body .site-header {
  background: rgba(2, 6, 23, 0.74);
  border-color: rgba(215, 227, 236, 0.18);
}

.resistance-access-body .brand,
.resistance-access-body .menu,
.resistance-access-body .menu a:hover,
.resistance-access-body .menu .active {
  color: #fffaf0;
}

.access-main {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: clamp(26px, 5vw, 58px) 0 70px;
  display: grid;
  justify-items: center;
  gap: 32px;
}

.access-device {
  position: relative;
  width: min(390px, 100%);
  min-height: 680px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border: 2px solid rgba(215, 227, 236, 0.28);
  border-radius: 28px;
  background: #020617;
  color: #e2e8f0;
  box-shadow: 0 0 0 8px rgba(15, 23, 42, 0.9), 0 30px 80px rgba(0, 0, 0, 0.72);
  isolation: isolate;
}

.access-progress {
  position: absolute;
  inset: 0 0 auto;
  z-index: 12;
  height: 4px;
  background: rgba(255, 255, 255, 0.09);
}

.access-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #d7e3ec, #b8895b);
  box-shadow: 0 0 12px rgba(215, 227, 236, 0.75);
  transition: width 0.25s ease;
}

.access-scan,
.access-grid,
.access-beam {
  position: absolute;
  inset: 0;
}

.access-scan {
  background:
    radial-gradient(circle at 50% 20%, rgba(13, 53, 92, 0.42), transparent 50%),
    linear-gradient(180deg, #0b1224 0%, #020617 100%);
}

.access-grid {
  inset: -50px;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(215, 227, 236, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215, 227, 236, 0.5) 1px, transparent 1px);
  background-size: 32px 32px;
  animation: accessDrift 20s linear infinite;
}

.access-beam {
  left: 50%;
  width: 2px;
  height: 120%;
  background: linear-gradient(transparent, rgba(184, 137, 91, 0.5), transparent);
  transform-origin: top;
  animation: accessSweep 3.5s ease-in-out infinite;
}

.access-hud {
  position: absolute;
  inset: 16px;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
  color: #d7e3ec;
  font: 800 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.access-hud strong {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #d9b27f;
  text-shadow: 0 0 18px rgba(184, 137, 91, 0.75);
  transform: translate(-50%, -50%);
  animation: accessBlink 1.3s infinite;
}

.access-core {
  position: relative;
  z-index: 6;
  min-height: 680px;
  padding: 58px 24px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.access-lock {
  position: relative;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border: 2px solid #d7e3ec;
  border-radius: 50%;
  margin-bottom: 18px;
  box-shadow: 0 0 30px rgba(215, 227, 236, 0.28), inset 0 0 20px rgba(215, 227, 236, 0.08);
  transition: 0.35s ease;
}

.access-lock::after {
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(215, 227, 236, 0.35);
  border-radius: 50%;
  content: "";
  animation: accessPulse 2s infinite;
}

.access-lock svg {
  width: 48px;
  height: 48px;
  fill: #d7e3ec;
}

.access-lock.ok {
  border-color: #d9b27f;
  box-shadow: 0 0 40px rgba(184, 137, 91, 0.54), inset 0 0 25px rgba(184, 137, 91, 0.18);
}

.access-lock.ok svg {
  fill: #d9b27f;
}

.access-tag {
  margin: 0 0 14px;
  color: #d9b27f;
  font: 800 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.access-core h1 {
  margin: 0 0 12px;
  color: #fffaf0;
  font-size: clamp(42px, 12vw, 58px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.access-core h1 span {
  display: block;
  color: #d9b27f;
}

.access-copy {
  max-width: 292px;
  margin: 0 0 22px;
  color: #d7e3ec;
  font-size: 15px;
  line-height: 1.45;
}

.access-nodes {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
}

.access-node {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 2px solid #334155;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.72);
  color: #94a3b8;
  cursor: pointer;
  transition: 0.2s ease;
}

.access-node span {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.access-node.active {
  border-color: #d9b27f;
  background: rgba(184, 137, 91, 0.18);
  color: #fffaf0;
  box-shadow: 0 0 24px rgba(184, 137, 91, 0.45);
  transform: translateY(-2px);
}

.access-form {
  width: min(290px, 100%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: 0.35s ease;
}

.access-locked .access-form {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.access-ready .access-form {
  max-height: 420px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.access-form-inner {
  display: grid;
  gap: 9px;
  border: 1px solid rgba(215, 227, 236, 0.22);
  border-radius: 16px;
  padding: 14px;
  background: rgba(15, 23, 42, 0.72);
  text-align: left;
}

.access-form-inner p {
  margin: 0 0 2px;
  color: #d9b27f;
  font: 900 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.access-form label {
  color: #d7e3ec;
  font-size: 13px;
}

.access-form input {
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 12px;
  background: rgba(2, 6, 23, 0.72);
  color: #f8fafc;
  font: 15px/1.3 Georgia, "Times New Roman", serif;
}

.access-form small {
  min-height: 14px;
  color: #fca5a5;
  font-size: 12px;
}

.access-button {
  border: 0;
  border-radius: 16px;
  padding: 16px 20px;
  background: linear-gradient(90deg, #d7e3ec, #b8895b);
  color: #06111f;
  box-shadow: 0 7px 0 rgba(184, 137, 91, 0.5), 0 16px 32px rgba(0, 0, 0, 0.25);
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
}

.access-after {
  width: min(720px, 100%);
  border: 1px solid rgba(8, 35, 63, 0.14);
  border-radius: 22px;
  padding: clamp(22px, 5vw, 36px);
  background: #fffaf0;
  box-shadow: 0 14px 0 rgba(245, 180, 0, 0.2), 0 22px 50px rgba(8, 35, 63, 0.11);
}

.access-after h2 {
  color: #08233f;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.08;
}

.access-after p:not(.eyebrow) {
  color: #29384b;
  font-size: 18px;
}

@keyframes accessDrift {
  to { transform: translateY(32px); }
}

@keyframes accessSweep {
  0% { transform: rotate(-24deg); }
  50% { transform: rotate(24deg); }
  100% { transform: rotate(-24deg); }
}

@keyframes accessBlink {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

@keyframes accessPulse {
  from { transform: scale(1); opacity: 1; }
  to { transform: scale(1.16); opacity: 0; }
}

@media (max-width: 700px) {
  .resistance-access-body .site-header {
    background: transparent;
  }

  .resistance-access-body .menu-toggle {
    background: #fffaf0;
  }

  .access-main {
    width: calc(100% - 18px);
    padding-top: 18px;
  }

  .access-device {
    min-height: min(680px, calc(100svh - 34px));
    border-radius: 24px;
  }

  .access-core {
    min-height: min(680px, calc(100svh - 34px));
    padding: 50px 18px 24px;
  }

  .access-hud {
    inset: 14px 12px;
    font-size: 9px;
  }

  .access-core h1 {
    font-size: clamp(38px, 13vw, 52px);
  }

  .access-node {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 380px) {
  .access-nodes {
    gap: 9px;
  }

  .access-node {
    width: 58px;
    height: 58px;
  }

  .access-node span {
    font-size: 9px;
  }
}

/* Paleta exacta solicitada para La Resistencia y Trivia */
.resistance-access-body,
.play-body {
  background: #000;
  color: #e2e8f0;
}

.resistance-access-body .site-header,
.play-body .site-header {
  background: rgba(0, 0, 0, 0.82);
  border-color: #1e293b;
}

.resistance-access-body .brand,
.resistance-access-body .menu,
.resistance-access-body .menu a,
.play-body .brand,
.play-body .menu,
.play-body .menu a {
  color: #e2e8f0;
}

.resistance-access-body .menu .active,
.resistance-access-body .menu a:hover,
.play-body .menu .active,
.play-body .menu a:hover {
  color: #60a5fa;
  border-color: #1d4ed8;
}

.access-main,
.play-wrap {
  color: #e2e8f0;
}

.access-device {
  width: min(360px, 100%);
  min-height: 640px;
  background: #020617;
  border-color: #1e293b;
  box-shadow: 0 0 0 2px #1e293b, 0 0 0 8px #0f172a, 0 30px 70px rgba(0, 0, 0, 0.85);
}

.access-scan {
  background:
    radial-gradient(circle at 50% 20%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
    linear-gradient(180deg, #0b1224 0%, #020617 100%);
}

.access-grid {
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(29, 78, 216, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 78, 216, 0.4) 1px, transparent 1px);
}

.access-beam {
  background: linear-gradient(transparent, rgba(29, 78, 216, 0.4), transparent);
}

.access-hud {
  color: #1d4ed8;
}

.access-hud strong,
.access-form small {
  color: #ef4444;
  text-shadow: 0 0 10px rgba(248, 113, 113, 0.6);
}

.access-lock {
  width: 96px;
  height: 96px;
  border-color: #1d4ed8;
  box-shadow: 0 0 30px rgba(29, 78, 216, 0.3), inset 0 0 20px rgba(29, 78, 216, 0.1);
}

.access-lock::after {
  border-color: rgba(29, 78, 216, 0.3);
}

.access-lock svg {
  fill: #1d4ed8;
}

.access-lock.ok {
  border-color: #10b981;
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.5), inset 0 0 25px rgba(16, 185, 129, 0.2);
}

.access-lock.ok svg {
  fill: #10b981;
}

.access-lock.ok::after {
  border-color: #10b981;
}

.access-tag,
.access-form-inner p {
  color: #60a5fa;
}

.access-core h1 {
  color: #fff;
  font-size: clamp(34px, 10vw, 48px);
}

.access-core h1 span {
  color: #1d4ed8;
}

.access-copy {
  color: #cbd5e1;
}

.access-node {
  width: 48px;
  height: 48px;
  border-color: #334155;
  background: rgba(15, 23, 42, 0.6);
  color: #64748b;
}

.access-node span {
  font-size: 0;
}

.access-node::after {
  width: 24px;
  height: 24px;
  display: block;
  color: #64748b;
  font-size: 24px;
  line-height: 1;
  content: "✓";
}

.access-node[data-access-node="2"]::after {
  content: "◆";
}

.access-node.active {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

.access-node.active::after {
  color: #ef4444;
}

.access-progress i {
  background: linear-gradient(90deg, #ef4444, #1d4ed8);
  box-shadow: 0 0 10px #1d4ed8;
}

.access-form-inner {
  border-color: #334155;
  background: rgba(15, 23, 42, 0.8);
}

.access-form label {
  color: #e2e8f0;
}

.access-form input {
  border-color: #334155;
  background: rgba(15, 23, 42, 0.8);
  color: #e2e8f0;
}

.access-button {
  background: linear-gradient(90deg, #ef4444, #dc2626);
  color: #fff;
  box-shadow: 0 8px 28px rgba(239, 68, 68, 0.45);
  font-family: Georgia, "Times New Roman", serif;
}

.access-after {
  background: #020617;
  border-color: #1e293b;
  box-shadow: 0 0 0 2px #1e293b, 0 24px 60px rgba(0, 0, 0, 0.48);
}

.access-after .eyebrow,
.access-after h2 {
  color: #60a5fa;
}

.access-after p:not(.eyebrow) {
  color: #cbd5e1;
}

.play-body {
  background:
    radial-gradient(circle at 50% 20%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
    linear-gradient(180deg, #0b1224 0%, #020617 100%);
}

.play-body::before {
  background:
    linear-gradient(rgba(29, 78, 216, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 78, 216, 0.13) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.45;
}

.play-mountains,
.papers {
  opacity: 0.16;
}

.play-logo {
  background: #ef4444;
  color: #fff;
  box-shadow: 0 4px 0 #dc2626;
}

.play-title h1 {
  color: #fff;
  text-shadow: none;
}

.play-title h1 span {
  color: #1d4ed8;
}

.play-title .game-help,
.game-help {
  color: #cbd5e1;
}

.rose-dot {
  background: rgba(15, 23, 42, 0.8);
  color: #60a5fa;
  box-shadow: inset 0 0 0 1px #334155;
}

.rose-dot.active {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.4), inset 0 0 0 2px #ef4444;
}

.play-card,
.avatar-card {
  background: rgba(2, 6, 23, 0.94);
  border-color: #1e293b;
  box-shadow: 0 0 0 2px #1e293b, 0 24px 60px rgba(0, 0, 0, 0.48);
  color: #e2e8f0;
}

.play-badge,
.result-tag,
.live-score {
  background: rgba(29, 78, 216, 0.15);
  color: #60a5fa;
  box-shadow: inset 0 0 0 1px rgba(29, 78, 216, 0.45);
}

.avatar-guide,
.medal-row span,
.verso-picaro {
  background: rgba(239, 68, 68, 0.12);
  color: #fecaca;
  border-color: rgba(239, 68, 68, 0.45);
}

.play-question,
.result-title,
.avatar-card strong {
  color: #fff;
}

.result-desc,
.avatar-card small {
  color: #cbd5e1;
}

.result-desc {
  background: rgba(15, 23, 42, 0.8);
  border-color: #334155;
}

.play-option {
  background: rgba(15, 23, 42, 0.78) !important;
  border: 1px solid #334155;
  color: #e2e8f0;
  box-shadow: 0 5px 0 rgba(29, 78, 216, 0.22);
}

.play-option:hover {
  border-color: #1d4ed8;
}

.play-option.correct {
  background: rgba(16, 185, 129, 0.18) !important;
  color: #d1fae5;
  border-color: #10b981;
  box-shadow: 0 5px 0 rgba(16, 185, 129, 0.42);
}

.play-option.wrong {
  background: rgba(239, 68, 68, 0.18) !important;
  color: #fee2e2;
  border-color: #ef4444;
  box-shadow: 0 5px 0 rgba(239, 68, 68, 0.42);
}

.play-emoji,
.avatar-card span {
  background: rgba(15, 23, 42, 0.92);
  color: #60a5fa;
  box-shadow: inset 0 0 0 1px #334155;
}

.score-line {
  background: rgba(29, 78, 216, 0.16);
  color: #bfdbfe;
}

.play-form label,
.play-form legend {
  color: #e2e8f0;
}

.play-form input,
.play-form select,
.play-form textarea {
  background: rgba(15, 23, 42, 0.8);
  border-color: #334155;
  color: #e2e8f0;
}

.play-btn.primary,
.play-btn.cta {
  background: linear-gradient(90deg, #ef4444, #dc2626);
  color: #fff;
  box-shadow: 0 8px 28px rgba(239, 68, 68, 0.45);
}

.play-btn.ghost {
  background: rgba(15, 23, 42, 0.75);
  color: #60a5fa;
  border-color: #334155;
  box-shadow: none;
}

@media (max-width: 700px) {
  .resistance-access-body .menu-toggle,
  .play-body .menu-toggle {
    background: #020617;
    border-color: #1d4ed8;
    box-shadow: 0 0 0 2px #1e293b, 0 12px 34px rgba(0, 0, 0, 0.45);
  }

  .resistance-access-body .menu-toggle span,
  .play-body .menu-toggle span {
    background: #60a5fa;
  }

  .resistance-access-body .site-header .menu,
  .play-body .site-header .menu {
    background: #020617;
    border-color: #1e293b;
  }

  .resistance-access-body .site-header .menu a,
  .play-body .site-header .menu a {
    background: rgba(15, 23, 42, 0.9);
    color: #e2e8f0;
    border-color: #334155;
  }
}

/* Ajuste compacto final de la antesala */
.access-device {
  height: min(640px, calc(100svh - 24px));
  min-height: 560px;
  overflow: hidden;
}

.access-core {
  min-height: 100%;
  padding: 42px 18px 18px;
}

.access-core h1 {
  font-size: clamp(30px, 8.6vw, 42px);
}

.access-copy {
  max-width: 260px;
  margin-bottom: 16px;
  font-size: 14px;
}

.access-form-inner {
  padding: 10px;
  gap: 7px;
}

.access-form input {
  padding: 10px 12px;
}

.access-button {
  padding: 13px 18px;
}

@media (max-width: 700px) {
  .access-main {
    width: calc(100% - 18px);
    padding-top: 12px;
    gap: 22px;
  }

  .access-device {
    width: min(360px, calc(100vw - 18px));
    height: min(640px, calc(100svh - 18px));
    min-height: 540px;
  }

  .access-node {
    width: 44px;
    height: 44px;
  }
}

@media (max-height: 680px) {
  .access-lock {
    width: 74px;
    height: 74px;
    margin-bottom: 10px;
  }

  .access-lock svg {
    width: 36px;
    height: 36px;
  }

  .access-tag {
    margin-bottom: 8px;
  }

  .access-core h1 {
    margin-bottom: 8px;
    font-size: clamp(28px, 8vw, 36px);
  }

  .access-copy {
    margin-bottom: 12px;
    font-size: 13px;
  }

  .access-nodes {
    margin-bottom: 12px;
  }

  .access-form {
    gap: 8px;
  }
}

/* ─── Skip to main (accesibilidad) ─────────────────────────────────────── */
.skip-to-main {
  position: absolute;
  top: -56px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  border: 2px solid var(--gold);
  text-decoration: none;
  transition: top 0.18s ease;
}

.skip-to-main:focus {
  top: 8px;
  outline: none;
}

/* ─── Honeypot (anti-spam, siempre oculto) ──────────────────────────────── */
.honeypot-field {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}

/* ─── Mensaje de error en formulario de contacto ────────────────────────── */
.form-error-msg {
  border-left: 3px solid #c0392b;
  padding: 12px 16px;
  background: #fdf0ef;
  color: #7b1d1d;
  font-size: 15px;
  border-radius: 4px;
  margin-top: 8px;
}

.form-error-msg p {
  margin: 0;
}

/* ─── Focus visible global para teclado ─────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ─── Footer responsive ─────────────────────────────────────────────────── */
@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-links {
    gap: 6px 14px;
  }
}

/* ─── trivia-invite.compact: reemplazar imagen faltante ─────────────────── */
.trivia-invite.compact {
  background: linear-gradient(120deg, rgba(8, 35, 63, 0.96), rgba(13, 53, 92, 0.9));
}
