/* RAWENRI — página pública, estilo neón cyberpunk (colores del logo). Sin JavaScript ni recursos externos. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --noche: #05060d;      /* fondo */
  --asfalto: #0d1020;    /* superficies */
  --linea: #23284a;      /* líneas */
  --niebla: #a3abd1;     /* texto secundario */
  --texto: #eef0ff;      /* texto principal */
  --magenta: #ff3fb4;    /* neón rosa del logo */
  --cian: #2de2e6;       /* neón cian del logo */
  --violeta: #8a5cff;
  --neon: linear-gradient(90deg, var(--magenta), var(--violeta) 50%, var(--cian));
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1120px;
}

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

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

body {
  margin: 0;
  background:
    radial-gradient(60rem 40rem at 0% 0%, rgba(255, 63, 180, .10), transparent 60%),
    radial-gradient(50rem 40rem at 100% 30%, rgba(45, 226, 230, .08), transparent 60%),
    var(--noche);
  background-attachment: fixed;
  color: var(--texto);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }

/* ---------- Aviso de edad ---------- */
.gate-check { position: absolute; opacity: 0; width: 1px; height: 1px; }

.gate {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  background:
    radial-gradient(40rem 30rem at 50% 30%, rgba(255, 63, 180, .14), transparent 70%),
    var(--noche);
}

.gate-box { max-width: 30rem; }

.gate-mark {
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(5rem, 22vw, 8rem);
  line-height: .9;
  color: #ffd6ef;
  text-shadow:
    0 0 6px var(--magenta),
    0 0 18px var(--magenta),
    0 0 42px rgba(255, 63, 180, .7);
  margin-bottom: 1.25rem;
  animation: parpadeo 3.2s steps(1) 1 both;
}

@keyframes parpadeo {
  0%, 8%, 12%, 100% { opacity: 1; }
  10%, 14% { opacity: .35; }
}

.gate-title {
  font-stretch: 112%;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.2;
  margin-bottom: .75rem;
}

.gate-box > p:not(.gate-mark) { color: var(--niebla); }

.gate-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.site { visibility: hidden; }
.gate-check:checked ~ .gate { display: none; }
.gate-check:checked ~ .site { visibility: visible; animation: encender .6s ease-out; }
.gate-check:focus-visible ~ .gate label[for="mayor"] { outline: 2px solid var(--cian); outline-offset: 3px; }

@keyframes encender { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: .8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-stretch: 112%;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}

.btn-solid {
  background: linear-gradient(90deg, var(--magenta), var(--violeta));
  color: #fff;
  box-shadow: 0 0 18px rgba(255, 63, 180, .45);
}
.btn-solid:hover { box-shadow: 0 0 28px rgba(255, 63, 180, .75); transform: translateY(-1px); }

.btn-line {
  background: rgba(45, 226, 230, .04);
  color: var(--cian);
  border-color: rgba(45, 226, 230, .55);
}
.btn-line:hover { border-color: var(--cian); box-shadow: 0 0 16px rgba(45, 226, 230, .45); }

.btn:focus-visible, a:focus-visible { outline: 2px solid var(--cian); outline-offset: 3px; }

/* ---------- Portada ---------- */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(16px, 4vw, 40px) var(--gutter) clamp(40px, 7vw, 80px);
}

.hero-logo {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(45, 226, 230, .35);
  box-shadow:
    0 0 0 1px rgba(255, 63, 180, .25),
    0 0 40px rgba(255, 63, 180, .25),
    0 0 80px rgba(45, 226, 230, .15);
}

.hero-body { margin-top: clamp(24px, 4vw, 40px); display: grid; gap: 1.5rem; }

.hero-title {
  font-stretch: 105%;
  font-weight: 600;
  font-size: clamp(1.45rem, 3.6vw, 2.3rem);
  line-height: 1.2;
  max-width: 26ch;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Secciones ---------- */
main { padding: 0 var(--gutter); }

main > section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 88px) 0;
  border-top: 1px solid var(--linea);
}

.section-head { display: grid; gap: .5rem; margin-bottom: 2rem; max-width: 40rem; }

.section-head h2 {
  font-stretch: 118%;
  font-weight: 800;
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 14px rgba(45, 226, 230, .45);
}

.section-head p { color: var(--niebla); }

/* Previews */
.strip {
  list-style: none;
  padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72%;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-right: calc(var(--gutter) * -1);
  padding-right: var(--gutter);
}
.strip::-webkit-scrollbar { display: none; }
.strip li {
  scroll-snap-align: start;
  background: var(--asfalto);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 63, 180, .35);
}
.strip li:nth-child(even) { border-color: rgba(45, 226, 230, .35); }
.strip img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

@media (min-width: 760px) {
  .strip {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    margin-right: 0;
    padding-right: 0;
  }
}

/* Planes */
.plan {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem clamp(16px, 3vw, 24px);
  margin-top: 1rem;
  background: rgba(13, 16, 32, .75);
  border: 1px solid var(--linea);
  border-radius: 14px;
}

.plan-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; }

.plan h3 { font-stretch: 112%; font-weight: 700; font-size: 1.35rem; }

.price {
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 2.75rem);
  line-height: 1;
  color: var(--cian);
  text-shadow: 0 0 12px rgba(45, 226, 230, .5);
}
.price span { font-stretch: 100%; font-weight: 400; font-size: 1rem; color: var(--niebla); text-shadow: none; }

.plan-list { padding-left: 1.1rem; color: var(--niebla); display: grid; gap: .35rem; }
.plan-list li::marker { color: var(--magenta); }

.plan-vip {
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(13, 16, 32, .96), rgba(13, 16, 32, .96)) padding-box,
    var(--neon) border-box;
  box-shadow: 0 0 30px rgba(255, 63, 180, .22), 0 0 50px rgba(45, 226, 230, .12);
}
.plan-vip .price { color: #ffd6ef; text-shadow: 0 0 12px rgba(255, 63, 180, .7); }

@media (min-width: 760px) {
  .plan { grid-template-columns: 1fr 1fr auto; align-items: center; gap: 2rem; }
  .plan-top { flex-direction: column; align-items: flex-start; }
  .plan .btn { min-width: 13rem; }
}

/* Pasos: es una secuencia real, por eso va numerada */
.step-list { list-style: none; padding: 0; counter-reset: paso; display: grid; gap: 1.25rem; max-width: 44rem; }
.step-list li { counter-increment: paso; display: grid; grid-template-columns: 3rem 1fr; color: var(--niebla); }
.step-list li::before {
  content: counter(paso);
  font-stretch: 125%;
  font-weight: 900;
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--magenta);
  text-shadow: 0 0 10px rgba(255, 63, 180, .6);
}
.step-list strong { color: var(--texto); font-weight: 600; }

/* Redes */
.social-list { list-style: none; padding: 0; display: grid; }
.social-list a {
  display: block;
  padding: 1.1rem 0;
  border-top: 1px solid var(--linea);
  font-stretch: 112%;
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
}
.social-list a:hover { color: var(--cian); text-shadow: 0 0 10px rgba(45, 226, 230, .6); }

/* Pie */
.foot {
  padding: 2.5rem var(--gutter) 3rem;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  color: var(--niebla);
  font-size: .9rem;
  display: grid;
  gap: .5rem;
  border-top: 1px solid var(--linea);
}

/* Página legal */
.doc { max-width: 44rem; margin: 0 auto; padding: clamp(32px, 6vw, 72px) var(--gutter); }
.doc h1 { font-stretch: 118%; font-weight: 800; font-size: clamp(1.9rem, 5vw, 2.6rem); line-height: 1.1; margin-bottom: 1.5rem; text-shadow: 0 0 14px rgba(255, 63, 180, .45); }
.doc h2 { font-stretch: 112%; font-weight: 700; font-size: 1.25rem; color: var(--cian); margin: 2rem 0 .5rem; }
.doc p, .doc li { color: var(--niebla); }
.doc ul { padding-left: 1.1rem; display: grid; gap: .35rem; }
.doc .back { display: inline-block; margin-bottom: 2rem; color: var(--cian); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
