:root {
  --cielo: #7af6ff;
  --hierba: #3dff7a;
  --hierba-oscura: #14924a;
  --tierra: #8b5a2b;
  --tierra-oscura: #5c3a1e;
  --piedra: #101a16;
  --piedra-oscura: #070d0a;
  --tinta: #e7f6ec;
  --papel: #e7f6ec;
  --oro: #f6c445;
  --esmeralda: #3dff7a;
  --discord: #5865f2;
  --linea: rgba(125, 255, 160, 0.18);
  --panel: rgba(8, 18, 14, 0.82);
  color-scheme: dark;
}

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

[hidden] {
  display: none !important;
}

html {
  background: #040a07;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--papel);
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
  background:
    radial-gradient(ellipse 90% 42% at 50% -8%, rgba(40, 170, 80, 0.28), transparent 58%),
    radial-gradient(ellipse 28% 22% at 88% 12%, rgba(246, 196, 69, 0.08), transparent 70%),
    #050c09;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(125, 255, 160, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 255, 160, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 15%, transparent 72%);
}

h1,
h2,
h3,
.marca,
.boton,
.pie-nombre,
.titulo,
.ip {
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}

h1,
h2,
.titulo {
  text-wrap: balance;
}

h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.05;
  color: #fff;
}

.portada h1 {
  font-size: clamp(2.6rem, 8vw, 5.1rem);
  line-height: 0.94;
}

h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.25;
  color: #fff;
}

.titulo {
  margin: 0 0 0.55rem;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.12;
  color: #fff;
}

h3 {
  margin: 0.2rem 0 0.35rem;
  font-size: 1.2rem;
  line-height: 1.25;
  color: #fff;
}

p {
  margin: 0.7rem 0 0;
}

a {
  color: #9dffb4;
}

a:hover {
  color: #f6c445;
}

:focus-visible {
  outline: 2px solid #b6ff7a;
  outline-offset: 3px;
}

.saltar {
  position: absolute;
  left: 0.5rem;
  top: -4rem;
  background: #fff;
  color: #000;
  padding: 0.4rem 0.7rem;
  z-index: 30;
}

.saltar:focus {
  top: 0.5rem;
}

.cabecera,
main,
.pie {
  position: relative;
  z-index: 1;
}

.cabecera {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(4, 10, 7, 0.78);
  border-bottom: 1px solid rgba(125, 255, 160, 0.12);
  backdrop-filter: blur(16px);
}

.envoltorio {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.medio,
.lectura {
  width: min(820px, calc(100% - 2rem));
}

.barra {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 4.5rem;
  position: relative;
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  color: #fff;
  text-decoration: none;
  font-size: 1.25rem;
}

.marca::before {
  content: "";
  width: 38px;
  height: 38px;
  flex: none;
  background: url("../img/marca.svg") center/contain no-repeat;
  filter: drop-shadow(0 0 8px rgba(61, 255, 122, 0.7));
}

.menu-abrir {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 5.2rem;
  min-height: 2.5rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(125, 255, 160, 0.28);
  border-radius: 12px;
  background: #101a16;
  color: #fff;
  font: 700 0.95rem "Outfit", sans-serif;
  cursor: pointer;
}

.cuando-abierto {
  display: none;
}

.menu-abrir[aria-expanded="true"] .cuando-cerrado {
  display: none;
}

.menu-abrir[aria-expanded="true"] .cuando-abierto {
  display: inline;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.15rem;
}

.menu a {
  color: #d7efe0;
  text-decoration: none;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
}

.menu a[aria-current="page"],
.menu a:hover {
  color: #fff;
  background: rgba(61, 255, 122, 0.12);
}

.antetitulo {
  display: none;
}

.portada {
  position: relative;
  text-align: center;
  padding: 2.4rem 0 1.2rem;
  overflow: hidden;
}

.rombo {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1.5px solid rgba(125, 255, 170, 0.35);
  transform: rotate(45deg);
  pointer-events: none;
}

.rombo-a {
  top: 18%;
  left: 12%;
}

.rombo-b {
  top: 28%;
  right: 14%;
  border-color: rgba(246, 196, 69, 0.4);
}

.emblema {
  width: min(190px, 58vw);
  height: min(190px, 58vw);
  margin: 0.4rem auto 1.25rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(90, 255, 150, 0.55),
    0 0 0 14px rgba(40, 160, 80, 0.08),
    0 0 56px rgba(61, 255, 122, 0.42);
}

.emblema img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
}

.estado {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(61, 255, 122, 0.45);
  border-radius: 999px;
  background: rgba(6, 22, 14, 0.72);
  color: #b6ffc8;
  font-family: "Silkscreen", sans-serif;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  box-shadow: 0 0 24px rgba(40, 180, 80, 0.18);
}

.punto {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--hierba);
  box-shadow: 0 0 10px var(--hierba);
}

.portada h1 {
  margin-top: 1.15rem;
}

.brillo {
  color: #5dff8f;
  background-image: linear-gradient(180deg, #f3ffd8 0%, #7dff6b 42%, #14c96a 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .brillo {
    color: transparent;
  }
}

.kicker,
.chip,
.indice,
.ip-accion {
  font-family: "Silkscreen", sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.kicker {
  margin: 0 0 0.45rem;
  color: var(--hierba);
  font-size: 0.68rem;
}

.entradilla {
  width: min(40rem, 100%);
  margin-right: auto;
  margin-left: auto;
  color: #b7cfc2;
  font-size: 1.12rem;
}

.portada .entradilla {
  margin-top: 1rem;
}

.portada-acciones {
  display: grid;
  gap: 0.75rem;
  width: min(480px, 100%);
  margin: 1.5rem auto 0;
}

.ip-capsula {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.4rem 0.4rem 0.4rem 1rem;
  border: 1px solid rgba(90, 255, 150, 0.5);
  border-radius: 999px;
  background: rgba(4, 16, 10, 0.78);
  color: #fff;
  font: 600 1.05rem "Outfit", sans-serif;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(40, 200, 90, 0.16);
}

.ip-capsula span:nth-child(2) {
  flex: 1;
  text-align: left;
}

.ip-icono {
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b6ff7a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='12' height='12' rx='2'/%3E%3Cpath d='M4 16V6a2 2 0 0 1 2-2h10'/%3E%3C/svg%3E") center/contain no-repeat;
}

.ip-accion {
  padding: 0.62rem 0.85rem;
  border-radius: 999px;
  background: #143222;
  color: #c8ff9a;
  font-size: 0.62rem;
}

.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #8dff74, #1faf4e);
  color: #06210c;
  text-decoration: none;
  padding: 0.9rem 1.15rem;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 10px 28px rgba(40, 180, 70, 0.28);
  cursor: pointer;
}

.boton:hover {
  background: linear-gradient(180deg, #b6ff8a, #2ec45e);
  color: #06210c;
}

.boton-discord {
  background: linear-gradient(180deg, #7b8cff, #5865f2);
  color: #fff;
  box-shadow: 0 10px 28px rgba(88, 101, 242, 0.38);
}

.boton-discord:hover {
  background: linear-gradient(180deg, #9aa6ff, #6d78f5);
  color: #fff;
}

.boton-tienda,
.boton-linea {
  background: rgba(8, 14, 10, 0.4);
  color: var(--oro);
  border: 1px solid rgba(246, 196, 69, 0.55);
  box-shadow: none;
}

.boton-tienda:hover,
.boton-linea:hover {
  background: rgba(246, 196, 69, 0.1);
  color: #ffe08a;
}

.boton-chico {
  margin-top: 0.8rem;
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
}

.portada-acciones .boton,
.portada-acciones .ip-capsula {
  width: 100%;
}

.icono-discord {
  width: 1.15rem;
  height: 1.15rem;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19.3 5.2A17 17 0 0 0 15.1 4l-.4.8a15 15 0 0 1 3.7 1.4 16 16 0 0 0-13 0A13 13 0 0 1 9.2 4L8.8 4a17 17 0 0 0-4.2 1.2C1.7 9.1.9 12.9 1.2 16.6A17 17 0 0 0 6.5 19l.8-1.1a11 11 0 0 1-1.7-.8l.4-.3c3.3 1.5 6.9 1.5 10.1 0l.4.3c-.5.3-1.1.6-1.7.8l.8 1.1a17 17 0 0 0 5.3-2.4c.5-4.3-.7-8-2.6-11.4ZM8.7 14.6c-1 0-1.8-.9-1.8-2s.8-2 1.8-2 1.8.9 1.8 2-.8 2-1.8 2Zm6.6 0c-1 0-1.8-.9-1.8-2s.8-2 1.8-2 1.9.9 1.9 2-.9 2-1.9 2Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.meta-juego {
  margin: 1rem 0 0;
  color: #8ea898;
  font-size: 0.92rem;
}

.copiado {
  margin: 0.35rem 0 0;
  color: var(--oro);
  font-family: "Silkscreen", sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

main.envoltorio {
  padding: 1.2rem 0 3rem;
}

.seccion {
  margin-top: 3.2rem;
}

.seccion-texto {
  max-width: 40rem;
  margin-top: 0.4rem;
  color: #b7cfc2;
}

.cartas,
.motivos,
.rejilla,
.galeria,
.productos {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.cartas,
.galeria {
  grid-template-columns: 1fr;
}

.motivos,
.rejilla,
.productos {
  grid-template-columns: 1fr;
}

.carta,
.motivo,
.hoja,
.aviso-oficial,
.galeria article,
.productos article,
.lista-normas li,
.pasos li {
  background: var(--panel);
  color: #d5e8dc;
  border: 1px solid var(--linea);
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.carta {
  overflow: hidden;
  padding: 0;
}

.carta img,
.galeria img,
.retrato,
.oferta img,
.producto img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border: 0;
  margin: 0;
}

.oferta {
  display: grid;
  margin-top: 1.3rem;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--linea);
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.oferta img {
  aspect-ratio: 16 / 10;
  min-height: 220px;
}

.oferta h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.oferta-cuerpo {
  padding: 1.15rem 1.2rem 1.35rem;
}

.oferta ul {
  margin: 0.85rem 0 0;
  padding-left: 1.15rem;
}

.oferta li + li {
  margin-top: 0.35rem;
}

.producto {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.producto img {
  aspect-ratio: 1 / 1;
}

.producto .carta-cuerpo {
  flex: 1;
}

.carta-cuerpo,
.hoja,
.galeria article,
.motivo {
  padding: 1rem 1.05rem 1.15rem;
}

.chip {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(61, 255, 122, 0.12);
  color: #b6ffc8;
  font-size: 0.58rem;
}

.chip-oro {
  background: rgba(246, 196, 69, 0.14);
  color: #f6c445;
}

.chip-cielo {
  background: rgba(122, 246, 255, 0.12);
  color: var(--cielo);
}

.carta p,
.motivo p,
.hoja p,
.galeria p {
  color: #c5d9cc;
}

.sello {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.75rem;
  border-radius: 12px;
  background: rgba(61, 255, 122, 0.1);
  color: var(--hierba);
  font-family: "Silkscreen", sans-serif;
  font-size: 0.85rem;
}

.sello-oro {
  background: rgba(246, 196, 69, 0.12);
  color: var(--oro);
}

.sello-cielo {
  background: rgba(122, 246, 255, 0.1);
  color: var(--cielo);
}

.aviso-oficial {
  margin-top: 1.3rem;
  padding: 1rem 1.1rem;
  background: rgba(246, 196, 69, 0.07);
  border-color: rgba(246, 196, 69, 0.32);
}

.frase-oficial,
.aviso-oficial.frase-oficial {
  color: #f6c445;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.enlace-largo {
  overflow-wrap: anywhere;
}

.cierre {
  margin-top: 3rem;
  padding: 2.2rem 1.1rem 1.8rem;
  text-align: center;
  border: 1px solid rgba(120, 255, 160, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(50, 190, 90, 0.22), transparent 62%),
    rgba(6, 16, 12, 0.92);
}

.cierre .entradilla {
  margin-bottom: 0.2rem;
}

.tira {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  margin-top: 1.3rem;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.tira > div {
  padding: 0.95rem 1rem 1.05rem;
  background: var(--panel);
  border: 1px solid var(--linea);
  border-radius: 18px;
}

.ip {
  margin: 0.15rem 0 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  color: #fff;
}

.datos {
  display: grid;
  gap: 0.7rem;
  margin: 0.8rem 0 0;
}

.datos > div {
  display: grid;
  grid-template-columns: minmax(7.5rem, 11rem) minmax(0, 1fr);
  gap: 0.35rem 0.75rem;
  align-items: baseline;
}

.datos dt,
.datos dd {
  margin: 0;
}

.datos dt {
  color: #8ea898;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pila {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.1rem;
}

.lista-normas,
.pasos {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.pasos {
  counter-reset: paso;
}

.lista-normas li,
.pasos li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  box-shadow: none;
}

.pasos li {
  counter-increment: paso;
}

.pasos li::before {
  content: counter(paso, decimal-leading-zero);
  color: var(--hierba);
  font-family: "Silkscreen", sans-serif;
  font-size: 0.85rem;
}

.indice {
  color: var(--hierba);
  font-size: 0.85rem;
}

.hoja ul,
.hoja ol:not(.pasos) {
  margin: 0.8rem 0 0;
  padding-left: 1.15rem;
}

.hoja li + li {
  margin-top: 0.4rem;
}

.precio {
  margin: 0.35rem 0 0;
  font-size: 2rem;
  color: #d8ff6a;
}

.precio-nota,
.placa {
  background: rgba(246, 196, 69, 0.08);
  border: 1px solid rgba(246, 196, 69, 0.28);
  border-radius: 12px;
  padding: 0.6rem 0.75rem;
  color: #f3e6c2;
}

.hero-acciones,
.tira-acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.pie {
  margin-top: 1rem;
  padding: 1.8rem 0 2rem;
  background: #040a07;
  border-top: 1px solid rgba(120, 255, 160, 0.16);
  color: #c5d7cc;
}

.pie a {
  color: #d7ffe4;
}

.pie a:hover {
  color: var(--oro);
}

.pie-nombre {
  font-size: 1.25rem;
  color: #fff;
  text-shadow: none;
}

.pie-enlaces {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.pie-enlaces a {
  text-decoration: none;
}

.aviso-cobro {
  margin: 0;
  padding: 0.45rem 1rem;
  background: #3a250f;
  color: var(--oro);
  text-align: center;
  font-size: 0.92rem;
}

.hueco {
  background: rgba(246, 196, 69, 0.12);
  color: var(--oro);
  padding: 0.05rem 0.35rem;
  border-radius: 6px;
}

@media (min-width: 760px) {
  .tira {
    grid-template-columns: 1.3fr 0.8fr 0.7fr;
  }

  .motivos,
  .rejilla {
    grid-template-columns: 1fr 1fr;
  }

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

  .oferta {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .oferta img {
    aspect-ratio: auto;
    height: 100%;
    min-height: 100%;
  }
}

@media (min-width: 980px) {
  .cartas,
  .galeria {
    grid-template-columns: repeat(3, 1fr);
  }

  .motivos {
    grid-template-columns: repeat(4, 1fr);
  }

  .rombo-a,
  .rombo-b {
    display: block;
  }
}

@media (max-width: 800px) {
  .menu-abrir {
    display: inline-flex;
  }

  .menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    left: 0;
    z-index: 5;
    flex-direction: column;
    padding: 0.45rem;
    background: #07140e;
    border: 1px solid rgba(125, 255, 160, 0.22);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  }

  .menu a {
    padding: 0.75rem 0.85rem;
  }

  .menu.abierto {
    display: flex;
  }

  .datos > div {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
