/* =========================================================
   VR PAGE — alineado visualmente con la home de ParalelVR
   Archivo: /assets/css/vr.css
   ========================================================= */

:root {
  --p-bg: #050507;
  --p-bg-soft: #0b0b10;
  --p-card: rgba(255, 255, 255, 0.055);
  --p-card-strong: rgba(255, 255, 255, 0.085);
  --p-border: rgba(255, 255, 255, 0.12);
  --p-border-soft: rgba(255, 255, 255, 0.07);
  --p-text: #f5f5f7;
  --p-muted: #a4a4af;
  --p-muted-2: #73737f;
  --p-red: #ff0033;
  --p-blue: #005eff;
  --p-radius: 28px;
  --p-max: 1180px;
}

/* Base */
.vr-page {
  background:
    radial-gradient(circle at 15% 8%, rgba(255, 0, 51, 0.14), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(0, 94, 255, 0.11), transparent 30%),
    var(--p-bg);
  color: var(--p-text);
  overflow: hidden;
}

.vr-page * {
  box-sizing: border-box;
}

.vr-page a {
  color: inherit;
  text-decoration: none;
}

/* Utilidades visuales */
.vr-eyebrow,
.vr-label {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
  color: var(--p-red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vr-eyebrow::before,
.vr-label::before {
  content: "";
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, var(--p-red), var(--p-blue));
}

.vr-page h1,
.vr-page h2,
.vr-page h3 {
  color: #fff;
  margin: 0;
  letter-spacing: -0.045em;
}

.vr-page p {
  color: var(--p-muted);
}

/* Botones alineados al home */
.vr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.vr-btn:hover {
  transform: translateY(-2px);
}

.vr-btn--primary {
  color: #fff;
  background: linear-gradient(90deg, var(--p-red), #ca0028);
  box-shadow: 0 18px 45px rgba(255, 0, 51, 0.2);
}

.vr-btn--outline {
  color: #fff;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--p-border);
}

.vr-btn--outline:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.2);
}

/* HERO */
.vr-hero {
  width: min(var(--p-max), calc(100% - 10vw));
  margin: 0 auto;
  min-height: 88vh;
  padding: 9rem 0 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 4rem;
  align-items: center;
  position: relative;
}

.vr-hero__content {
  position: relative;
  z-index: 1;
}

.vr-hero h1 {
  max-width: 820px;
  font-size: clamp(2.55rem, 6.2vw, 5.9rem);
  line-height: 0.95;
  font-weight: 900;
}

.vr-hero p {
  max-width: 630px;
  margin: 1.55rem 0 0;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.75;
}

.vr-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.25rem;
}

/* Visual hero más premium, menos “emoji card” */
.vr-hero__visual {
  position: relative;
  min-height: 470px;
}

.vr-glow-card {
  position: relative;
  min-height: 470px;
  border-radius: 36px;
  border: 1px solid var(--p-border);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 35% 28%, rgba(255, 0, 51, 0.28), transparent 34%),
    radial-gradient(circle at 75% 70%, rgba(0, 94, 255, 0.24), transparent 36%),
    #09090d;
  box-shadow:
    0 40px 130px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
}

.vr-glow-card::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 28px;
}

.vr-glow-card::after {
  content: "VR";
  position: absolute;
  right: -1.4rem;
  bottom: -2.4rem;
  font-size: 10rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  color: rgba(255, 255, 255, 0.035);
}

.vr-visual-icon {
  width: 156px;
  height: 156px;
  display: grid;
  place-items: center;
  margin: 0 auto 1.2rem;
  border-radius: 42px;
  background:
    linear-gradient(145deg, rgba(0, 0, 0, 0.48), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 4.4rem;
  position: relative;
  z-index: 1;
}

.vr-glow-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* STATS */
.vr-stats {
  width: min(var(--p-max), calc(100% - 10vw));
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--p-border-soft);
  border-radius: var(--p-radius);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.vr-stats article {
  padding: 1.8rem 1.2rem;
  text-align: center;
  border-right: 1px solid var(--p-border-soft);
}

.vr-stats article:last-child {
  border-right: 0;
}

.vr-stats strong {
  display: block;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.vr-stats span {
  display: block;
  margin-top: 0.45rem;
  color: var(--p-muted-2);
  font-size: 0.84rem;
}

/* SECCIONES */
.vr-section {
  width: min(var(--p-max), calc(100% - 10vw));
  margin: 0 auto;
  padding: 6.4rem 0;
}

.vr-section--dark {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 6.4rem 5vw;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    var(--p-bg-soft);
  border-top: 1px solid var(--p-border-soft);
  border-bottom: 1px solid var(--p-border-soft);
}

.vr-section--dark > .vr-section__head,
.vr-section--dark > .vr-games-grid,
.vr-section--dark > .vr-split {
  width: min(var(--p-max), 100%);
  margin-left: auto;
  margin-right: auto;
}

.vr-section__head {
  max-width: 740px;
  margin-bottom: 3rem;
}

.vr-section h2,
.vr-cta h2 {
  max-width: 850px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
  font-weight: 900;
}

.vr-section__head p,
.vr-split p,
.vr-cta p {
  max-width: 680px;
  margin-top: 1rem;
  color: var(--p-muted);
  font-size: 1rem;
  line-height: 1.75;
}

/* GRID CARDS */
.vr-feature-grid,
.vr-games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.vr-feature-card,
.vr-game-card,
.vr-level-card,
.vr-network-card {
  border: 1px solid var(--p-border-soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  border-radius: var(--p-radius);
  padding: 1.45rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.vr-feature-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.vr-feature-card span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--p-border-soft);
  font-size: 1.75rem;
}

.vr-feature-card h3,
.vr-game-card h3,
.vr-level-card h3 {
  margin: 1rem 0 0.55rem;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.1;
}

.vr-feature-card p,
.vr-game-card p,
.vr-level-card p {
  margin: 0;
  color: var(--p-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* DIFERENCIAL / RED LOCAL */
.vr-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 3rem;
  align-items: center;
}

.vr-check-list {
  list-style: none;
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 1.6rem 0 0;
}

.vr-check-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--p-text);
  font-size: 0.96rem;
}

.vr-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--p-red);
  font-weight: 900;
}

.vr-network-card {
  min-height: 360px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 0, 51, 0.22), transparent 35%),
    radial-gradient(circle at 50% 82%, rgba(0, 94, 255, 0.2), transparent 40%),
    rgba(255, 255, 255, 0.04);
}

.vr-network-center {
  width: 145px;
  height: 145px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--p-red), var(--p-blue));
  color: white;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 0 65px rgba(255, 0, 51, 0.28);
}

.vr-network-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin: 1.4rem 0 0.8rem;
}

.vr-network-items span {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--p-border-soft);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.vr-network-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--p-muted);
}

/* NIVELES */
.vr-levels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.vr-level-card {
  padding: 2rem;
  min-height: 390px;
}

.vr-level-card--highlight {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 0, 51, 0.16), transparent 36%),
    radial-gradient(circle at 90% 95%, rgba(0, 94, 255, 0.14), transparent 36%),
    rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 0, 51, 0.22);
}

.vr-pill {
  display: inline-flex;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--p-border-soft);
  color: #fff;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.vr-level-card h3 {
  margin-top: 1.3rem;
  font-size: clamp(1.55rem, 2.5vw, 2.3rem);
}

.vr-level-card ul {
  list-style: none;
  padding: 0;
  margin: 1.35rem 0 0;
  display: grid;
  gap: 0.72rem;
}

.vr-level-card li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--p-muted);
  font-size: 0.94rem;
}

.vr-level-card li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--p-red);
}

/* JUEGOS */
.vr-game-card {
  min-height: 330px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.vr-game-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 0, 51, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.045));
}

.vr-game-icon {
  height: 125px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 0, 51, 0.18), transparent 44%),
    rgba(0, 0, 0, 0.24);
  border: 1px solid var(--p-border-soft);
  font-size: 3rem;
}

.vr-game-card span {
  display: inline-flex;
  color: var(--p-red);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* COTIZACIÓN */
.vr-quote-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.vr-quote-grid span {
  min-height: 88px;
  display: grid;
  place-items: center;
  padding: 1rem;
  border: 1px solid var(--p-border-soft);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.032));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 850;
}

/* CTA FINAL */
.vr-cta {
  width: min(var(--p-max), calc(100% - 10vw));
  margin: 0 auto;
  padding: 6.6rem 0 7rem;
  text-align: center;
}

.vr-cta .vr-label {
  justify-content: center;
}

.vr-cta .vr-label::after {
  content: "";
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, var(--p-blue), var(--p-red));
}

.vr-cta h2 {
  margin-left: auto;
  margin-right: auto;
}

.vr-cta p {
  margin: 1rem auto 2rem;
}

/* RESPONSIVE */
@media (max-width: 1040px) {
  .vr-hero,
  .vr-split {
    grid-template-columns: 1fr;
  }

  .vr-hero__visual {
    min-height: 360px;
  }

  .vr-glow-card {
    min-height: 360px;
  }

  .vr-feature-grid,
  .vr-games-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .vr-stats article:nth-child(2) {
    border-right: 0;
  }

  .vr-levels {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .vr-hero,
  .vr-section,
  .vr-cta,
  .vr-stats {
    width: min(100% - 2rem, var(--p-max));
  }

  .vr-hero {
    min-height: auto;
    padding: 7rem 0 3.6rem;
    gap: 2.6rem;
  }

  .vr-hero h1 {
    font-size: clamp(2.35rem, 13vw, 4rem);
  }

  .vr-hero__actions {
    flex-direction: column;
  }

  .vr-btn {
    width: 100%;
  }

  .vr-section,
  .vr-section--dark,
  .vr-cta {
    padding-top: 4.8rem;
    padding-bottom: 4.8rem;
  }

  .vr-section--dark {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .vr-feature-grid,
  .vr-games-grid,
  .vr-stats,
  .vr-quote-grid {
    grid-template-columns: 1fr;
  }

  .vr-stats article {
    border-right: 0;
    border-bottom: 1px solid var(--p-border-soft);
  }

  .vr-stats article:last-child {
    border-bottom: 0;
  }

  .vr-feature-card,
  .vr-game-card,
  .vr-level-card,
  .vr-network-card {
    border-radius: 24px;
  }

  .vr-level-card {
    min-height: auto;
    padding: 1.5rem;
  }
}
