/* Quadium — high-tech shell (HTML5 + CSS3) */

:root {
  --core: #1a1a3a;
  --core-deep: #0f0f22;
  --core-light: #252548;
  --text: #eef0ff;
  --text-dim: #a8add4;
  --accent: #5ec8ff;
  --accent-soft: rgba(94, 200, 255, 0.45);
  --glow-cyan: rgba(120, 220, 255, 0.55);
  --glow-violet: rgba(160, 120, 255, 0.35);
  --header-edge: rgba(255, 255, 255, 0.08);
  --footer-bg: rgba(8, 10, 28, 0.92);
  --steam: #1c2333;
  --steam-dark: #0a0d14;
  --steam-glow: rgba(100, 200, 255, 0.22);
  --steam-glow-strong: rgba(120, 220, 255, 0.55);
  --panel: rgba(20, 22, 48, 0.65);
  --panel-border: rgba(120, 200, 255, 0.12);
  --font-display: "Jura", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-heading-mono: "Share Tech Mono", ui-monospace, monospace;
  --header-h: 4.25rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--core-deep);
}

/* Titulares principales: monoespacio + brillo tipo fósforo (CRT) */
h1,
h2 {
  font-family: var(--font-heading-mono);
  font-weight: 400;
}

h1 {
  color: #e8fff2;
  text-shadow:
    0 0 5px rgba(160, 255, 210, 0.5),
    0 0 14px rgba(100, 240, 200, 0.35),
    0 0 28px rgba(70, 220, 180, 0.2),
    0 0 48px rgba(40, 200, 160, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.55);
}

h2 {
  color: #b8e8d8;
  text-shadow:
    0 0 4px rgba(140, 255, 210, 0.28),
    0 0 12px rgba(80, 220, 190, 0.18),
    0 0 24px rgba(50, 200, 170, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.45);
}

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

a {
  color: inherit;
}

/* —— Fondo radial + partículas —— */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.page-bg__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(100, 140, 255, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 90% 70% at 80% 100%, rgba(80, 60, 180, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 10% 60%, rgba(40, 100, 160, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, #1a1a3a 0%, #12122a 42%, var(--core-deep) 100%);
}

/* particles.js: capa a tamaño viewport, por encima del degradado, bajo el contenido */
.particles-host {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  opacity: 0.94;
}

.particles-host canvas {
  display: block;
}

/* —— Skip —— */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2000;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  overflow: visible;
  padding: 0.65rem 1rem;
  background: #fff;
  color: #0a0a18;
  font-weight: 600;
  border-radius: 6px;
  box-shadow: 0 0 0 3px var(--accent);
}

/* —— Nav toggle (accesible, sin bloquear layout) —— */
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* —— Cabecera: logo | nav centrado | Steam —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--header-edge);
  background: linear-gradient(180deg, rgba(12, 12, 28, 0.92) 0%, rgba(12, 12, 28, 0.75) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header__bar {
  display: grid;
  grid-template-columns: minmax(0, 200px) 1fr minmax(0, 220px);
  align-items: center;
  gap: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem clamp(1rem, 4vw, 1.75rem);
  min-height: var(--header-h);
}

.logo {
  justify-self: start;
  line-height: 0;
  border-radius: 10px;
  transition: transform 0.25s var(--ease-out);
}

.logo:hover {
  transform: translateY(-1px);
}

.logo--glow {
  box-shadow:
    0 0 0 1px rgba(120, 200, 255, 0.15),
    0 0 24px rgba(100, 190, 255, 0.25),
    0 0 48px rgba(140, 100, 255, 0.12);
  border-radius: 12px;
}

.logo--glow img {
  border-radius: 10px;
}

.site-nav {
  justify-self: center;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 2rem;
}

.site-nav__link {
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-dim);
  padding: 0.4rem 0;
  transition: color 0.2s ease;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--text);
  outline: none;
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-nav__link[aria-current="page"] {
  color: var(--text);
}

.site-nav__link[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-header__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-steam {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--text);
  background: var(--steam);
  border: 1px solid rgba(140, 210, 255, 0.18);
  border-radius: 6px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 0 14px var(--steam-glow),
    0 4px 18px rgba(0, 0, 0, 0.4);
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    color 0.22s ease;
}

.btn-steam__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: block;
  opacity: 0.95;
}

.btn-steam__label {
  line-height: 1;
}

.btn-steam:hover,
.btn-steam:focus-visible {
  background: var(--steam-dark);
  color: #f2f7ff;
  border-color: var(--steam-glow-strong);
  box-shadow:
    0 0 0 1px rgba(140, 230, 255, 0.5),
    0 0 22px rgba(94, 200, 255, 0.45),
    0 0 40px rgba(120, 200, 255, 0.28),
    0 6px 28px rgba(0, 0, 0, 0.55);
  outline: none;
}

.btn-steam:hover .btn-steam__icon,
.btn-steam:focus-visible .btn-steam__icon {
  opacity: 1;
}

.nav-burger {
  display: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--header-edge);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav-burger:hover {
  color: var(--text);
  border-color: rgba(94, 200, 255, 0.35);
}

/* —— Móvil: menú desplegable, un solo Steam —— */
@media (max-width: 820px) {
  .site-header__bar {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }

  .logo {
    grid-column: 1;
    grid-row: 1;
  }

  .site-header__actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
      max-height 0.45s var(--ease-out),
      opacity 0.3s ease;
  }

  .nav-burger {
    display: inline-flex;
  }

  .site-header .nav-toggle:checked ~ .site-header__bar .site-nav {
    max-height: 320px;
    opacity: 1;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--header-edge);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .site-nav__link {
    font-size: 0.82rem;
  }
}

/* —— Principal —— */
.main {
  position: relative;
  z-index: 2;
  flex: 1;
  width: 100%;
  background: transparent;
}

.main--inner {
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 1.75rem);
}

/* —— Hero home —— */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(0.65rem, 2vw, 1.35rem) clamp(1rem, 4vw, 1.75rem) clamp(1.75rem, 4vw, 3rem);
  max-width: min(960px, 100%);
  margin: 0 auto;
}

.hero__intro {
  width: 100%;
  margin-bottom: clamp(0.6rem, 1.6vw, 1rem);
  padding: 0 0.35rem;
}

.hero__title {
  margin: 0;
  font-size: clamp(1.45rem, 4vw, 2.55rem);
  line-height: 1.06;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__title-scope {
  display: block;
  margin-top: 0.45em;
  font-size: 0.42em;
  line-height: 1.25;
  letter-spacing: 0.14em;
  font-weight: 600;
  opacity: 0.88;
}

.hero__tagline {
  margin: 0.4rem 0 0;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(0.9rem, 1.85vw, 1.05rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.35;
}

.hero__media {
  width: 100%;
  max-width: min(800px, 94vw);
  margin: 0;
  padding: 0;
}

.media-glow {
  border-radius: 14px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(120, 200, 255, 0.35), rgba(160, 120, 255, 0.25), rgba(120, 200, 255, 0.2));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 40px rgba(80, 160, 255, 0.18),
    0 0 80px rgba(120, 100, 220, 0.12),
    0 24px 48px rgba(0, 0, 0, 0.45);
}

.hero__shot {
  width: 100%;
  max-width: min(800px, 94vw);
  margin: 0 auto;
  display: block;
  border-radius: 12px;
  object-fit: contain;
  image-rendering: auto;
  image-rendering: high-quality;
}

/* Tamaños en px enteros vía workbench-fit.js: evita escalado borroso por subpíxeles */
.hero__media .hero__shot--snap {
  width: auto;
  max-width: none;
  height: auto;
}

.hero__lightbox-trigger {
  display: block;
  cursor: pointer;
  line-height: 0;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  outline: none;
}

.hero__lightbox-trigger:focus-visible {
  box-shadow: 0 0 0 2px var(--core-deep), 0 0 0 4px rgba(94, 200, 255, 0.65);
}

/* -- Conversion-oriented home sections -- */
.landing-section {
  width: 100%;
  padding: clamp(0.5rem, 2vw, 1rem) clamp(1rem, 4vw, 1.75rem) clamp(1.5rem, 4vw, 2.5rem);
}

.landing-section__inner {
  max-width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.landing-section__inner--grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.landing-section__title {
  margin: 0 0 0.8rem;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-dim);
}

.landing-list li {
  margin: 0.45rem 0;
}

.landing-list li::marker {
  color: var(--accent);
}

.landing-list--compact li {
  margin: 0.32rem 0;
}

.fit-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(120, 200, 255, 0.16);
  border-radius: 10px;
  padding: 0.9rem;
}

.fit-card__title {
  margin: 0 0 0.45rem;
  font-size: 0.96rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.flow-steps {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-dim);
}

.flow-steps li {
  margin: 0.42rem 0;
}

.flow-steps li::marker {
  color: var(--accent);
  font-weight: 700;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

/* Gallery: uniform image band so titles and copy line up across columns */
.shot-grid--gallery .shot-card {
  display: flex;
  flex-direction: column;
}

.shot-grid--gallery .shot-card__media {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(168px, 28vw, 220px);
  overflow: hidden;
  box-sizing: border-box;
}

.shot-grid--gallery .shot-card__lightbox {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-height: 100%;
}

.shot-grid--gallery .shot-card__media img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.shot-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(120, 200, 255, 0.14);
  border-radius: 10px;
  padding: 0.8rem;
}

.shot-card h3 {
  margin: 0.65rem 0 0.2rem;
  font-size: 0.94rem;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
}

.shot-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.55;
}

.shot-card__media {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(120, 200, 255, 0.22);
  background: rgba(0, 0, 0, 0.25);
}

.shot-card__lightbox {
  display: block;
  line-height: 0;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  outline: none;
  cursor: zoom-in;
}

.shot-card__lightbox:focus-visible {
  box-shadow: 0 0 0 2px var(--core-deep, #0a1020), 0 0 0 4px rgba(94, 200, 255, 0.55);
}

.shot-card__media img {
  width: 100%;
  height: auto;
  display: block;
}

.shot-card--preview .shot-card__media--peek {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 160px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.shot-card--preview .shot-card__peek-link {
  display: block;
  line-height: 0;
  text-decoration: none;
  color: inherit;
  outline: none;
  cursor: pointer;
}

.shot-card--preview .shot-card__peek-link:focus-visible {
  box-shadow: 0 0 0 2px var(--core-deep, #0a1020), 0 0 0 4px rgba(94, 200, 255, 0.55);
  border-radius: 8px;
}

.shot-card--preview .shot-card__media--peek img {
  width: auto;
  max-width: 100%;
  max-height: 160px;
  height: auto;
  object-fit: contain;
}

.shot-card__see {
  margin: 0.45rem 0 0;
  font-size: 0.84rem;
}

.shot-card__see a {
  color: var(--accent);
  text-decoration: none;
}

.shot-card__see a:hover,
.shot-card__see a:focus-visible {
  text-decoration: underline;
}

.shot-card__placeholder {
  display: grid;
  place-items: center;
  min-height: 140px;
  border-radius: 8px;
  border: 1px dashed rgba(120, 200, 255, 0.4);
  background:
    linear-gradient(135deg, rgba(90, 120, 180, 0.2), rgba(80, 40, 150, 0.2)),
    rgba(0, 0, 0, 0.2);
  color: #d3dcff;
  font-family: var(--font-heading-mono);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-align: center;
  padding: 0.6rem;
}

.example-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: min(720px, 100%);
  margin-inline: auto;
}

.example-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(120, 200, 255, 0.14);
  border-radius: 10px;
  padding: 0.85rem;
}

.example-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.example-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.example-card__meta {
  margin-top: 0.55rem !important;
  font-size: 0.78rem !important;
  color: #9fc6df !important;
}

.example-card__code {
  margin: 0.55rem 0 0;
  padding: 0.55rem 0.65rem;
  font-family: var(--font-heading-mono, ui-monospace, monospace);
  font-size: 0.78rem;
  line-height: 1.45;
  color: #dce8f5;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(120, 200, 255, 0.18);
  border-radius: 8px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.example-card__figure {
  margin: 0.65rem 0 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(120, 200, 255, 0.18);
  line-height: 0;
  background: rgba(0, 0, 0, 0.25);
}

.example-card__figure img {
  width: 100%;
  height: auto;
  display: block;
}

.example-card--preview .example-card__figure--peek {
  margin-top: 0.55rem;
  max-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
}

.example-card--preview .example-card__figure--peek img {
  width: auto;
  max-width: 100%;
  max-height: 150px;
  height: auto;
  object-fit: contain;
}

.example-card__see {
  margin: 0.55rem 0 0 !important;
  font-size: 0.86rem !important;
}

.example-card__see a {
  color: var(--accent);
  text-decoration: none;
}

.example-card__see a:hover,
.example-card__see a:focus-visible {
  text-decoration: underline;
}

.video-embed {
  border: 1px solid rgba(120, 200, 255, 0.2);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}

.video-embed iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

.landing-cta {
  margin: 0.8rem 0 0;
  color: var(--text-dim);
}

.landing-cta--small {
  font-size: 0.9rem;
  opacity: 0.95;
}

.landing-cta a {
  color: var(--accent);
  text-decoration: none;
}

.landing-cta a:hover,
.landing-cta a:focus-visible {
  text-decoration: underline;
}

.platform-links {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
}

.platform-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-height: 2.55rem;
  padding: 0.45rem 0.7rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #f2f5ff;
  border: 1px solid rgba(140, 210, 255, 0.2);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(32, 40, 76, 0.96) 0%, rgba(16, 20, 40, 0.96) 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.45),
    0 0 18px rgba(90, 170, 255, 0.16);
  transition:
    transform 0.16s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.platform-link:hover,
.platform-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(160, 230, 255, 0.55);
  box-shadow:
    0 0 0 1px rgba(160, 230, 255, 0.42),
    0 0 24px rgba(95, 190, 255, 0.35);
  outline: none;
}

.platform-link__icon {
  flex-shrink: 0;
  display: block;
  width: 0.95rem;
  height: 0.95rem;
  opacity: 0.95;
  transform: scale(1);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.platform-link:hover .platform-link__icon,
.platform-link:focus-visible .platform-link__icon {
  opacity: 1;
  transform: scale(1.08);
}

.platform-link--steam {
  border-color: rgba(130, 190, 255, 0.35);
}

.platform-link--steam:hover,
.platform-link--steam:focus-visible {
  background: linear-gradient(180deg, rgba(36, 58, 96, 0.98) 0%, rgba(18, 30, 56, 0.98) 100%);
  border-color: rgba(150, 210, 255, 0.72);
}

.platform-link--youtube {
  border-color: rgba(255, 120, 140, 0.34);
}

.platform-link--youtube:hover,
.platform-link--youtube:focus-visible {
  background: linear-gradient(180deg, rgba(92, 28, 40, 0.98) 0%, rgba(52, 14, 22, 0.98) 100%);
  border-color: rgba(255, 130, 150, 0.72);
}

.platform-link--facebook {
  border-color: rgba(120, 170, 255, 0.38);
}

.platform-link--facebook:hover,
.platform-link--facebook:focus-visible {
  background: linear-gradient(180deg, rgba(28, 44, 90, 0.98) 0%, rgba(14, 24, 50, 0.98) 100%);
  border-color: rgba(130, 180, 255, 0.76);
}

.platform-link--forum {
  border-color: rgba(120, 250, 200, 0.32);
}

.platform-link--forum:hover,
.platform-link--forum:focus-visible {
  background: linear-gradient(180deg, rgba(22, 68, 62, 0.98) 0%, rgba(12, 36, 34, 0.98) 100%);
  border-color: rgba(140, 255, 214, 0.72);
}

.platform-link--x {
  border-color: rgba(210, 220, 255, 0.26);
}

.platform-link--x:hover,
.platform-link--x:focus-visible {
  background: linear-gradient(180deg, rgba(56, 58, 78, 0.98) 0%, rgba(28, 30, 44, 0.98) 100%);
  border-color: rgba(220, 228, 255, 0.62);
}

/* —— Lightbox (nativo, sin librerías) —— */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10050;
  box-sizing: border-box;
}

.lightbox__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: rgba(2, 6, 18, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lightbox__frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: min(5vw, 2.5rem);
  box-sizing: border-box;
  pointer-events: none;
}

.lightbox__img {
  pointer-events: auto;
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  image-rendering: auto;
  image-rendering: high-quality;
  border-radius: 12px;
  border: 1px solid rgba(120, 200, 255, 0.22);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 48px rgba(80, 160, 255, 0.28),
    0 0 96px rgba(120, 100, 220, 0.15),
    0 20px 60px rgba(0, 0, 0, 0.65);
}

.lightbox .lightbox__img--snap {
  max-width: none;
  max-height: none;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  pointer-events: auto;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(120, 200, 255, 0.35);
  border-radius: 8px;
  background: rgba(12, 16, 36, 0.92);
  color: #e8f0ff;
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  box-shadow:
    0 0 18px rgba(94, 200, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
  background: rgba(20, 28, 52, 0.98);
  border-color: rgba(160, 220, 255, 0.55);
  box-shadow:
    0 0 28px rgba(94, 200, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  outline: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Páginas internas —— */
.content-panel {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.content-panel__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.content-panel__lead {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.65;
}

.content-panel__text {
  margin: 0;
  color: var(--text-dim);
  line-height: 1.7;
}

.content-panel__list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-dim);
  line-height: 1.8;
}

.content-panel__list li {
  margin-bottom: 0.5rem;
}

.content-panel__list li::marker {
  color: var(--accent);
}

.content-panel--features {
  max-width: min(52rem, 100%);
}

.features-value {
  margin: 0 0 2rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text);
  border-left: 3px solid var(--accent-soft);
  padding-left: 1rem;
}

.features-section-heading {
  margin: 0 0 1.25rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
}

.features-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-block {
  margin: 0;
  padding: 0 0 1.35rem;
  border-bottom: 1px solid rgba(120, 200, 255, 0.1);
}

.feature-block:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
}

.feature-block__title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  line-height: 1.35;
}

.feature-block__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.feature-block__text code {
  font-family: var(--font-heading-mono);
  font-size: 0.88em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
}

.features-tags {
  margin: 2rem 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid rgba(120, 200, 255, 0.12);
}

.features-tags__label {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.features-tags__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.6rem;
}

.features-tags__list li {
  margin: 0;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(120, 200, 255, 0.14);
  border-radius: 6px;
}

/* —— Pie —— */
.site-footer {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 1.25rem 1rem;
  text-align: center;
  background: var(--footer-bg);
  border-top: 1px solid var(--header-edge);
}

.site-footer__copy {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

.site-footer__disclaimer {
  margin: 0.65rem auto 0;
  max-width: min(52rem, 94vw);
  padding: 0 0.5rem;
  font-size: 0.68rem;
  line-height: 1.55;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  opacity: 0.72;
}

.site-footer__disclaimer a {
  color: var(--accent);
  text-decoration: none;
}

.site-footer__disclaimer a:hover,
.site-footer__disclaimer a:focus-visible {
  text-decoration: underline;
}

.legal-page__block {
  margin-top: 1.5rem;
}

.legal-page__heading {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.legal-page__block .content-panel__text + .content-panel__text {
  margin-top: 0.65rem;
}

.legal-page__footer-note {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(120, 200, 255, 0.12);
  font-size: 0.9rem;
}

.legal-page__footer-note a {
  color: var(--accent);
  text-decoration: none;
}

.legal-page__footer-note a:hover,
.legal-page__footer-note a:focus-visible {
  text-decoration: underline;
}

.site-footer__links {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.site-footer__links a {
  color: var(--accent);
  text-decoration: none;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  text-decoration: underline;
}

.site-footer__social {
  margin: 0.55rem 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem 1.15rem;
}

.site-footer__youtube,
.site-footer__forum,
.site-footer__github,
.site-footer__x,
.site-footer__facebook {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.78rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: #c9d6ff;
  text-decoration: none;
  opacity: 0.85;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-footer__youtube:hover,
.site-footer__youtube:focus-visible,
.site-footer__forum:hover,
.site-footer__forum:focus-visible,
.site-footer__github:hover,
.site-footer__github:focus-visible,
.site-footer__x:hover,
.site-footer__x:focus-visible,
.site-footer__facebook:hover,
.site-footer__facebook:focus-visible {
  color: #ffffff;
  opacity: 1;
}

.site-footer__youtube svg,
.site-footer__forum svg,
.site-footer__github svg,
.site-footer__x svg,
.site-footer__facebook svg {
  flex-shrink: 0;
  vertical-align: middle;
}

.site-footer__youtube svg {
  color: #ff5b6a;
}

.site-footer__forum svg {
  color: #74f7c8;
}

.site-footer__github svg {
  color: #c8d1ff;
}

.site-footer__x svg {
  color: currentColor;
  opacity: 0.42;
  transition: opacity 0.2s ease;
}

.site-footer__x:hover svg,
.site-footer__x:focus-visible svg {
  opacity: 0.85;
}

.site-footer__facebook svg {
  color: #78a6ff;
}

@media (max-width: 900px) {
  .landing-section__inner--grid2,
  .shot-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .platform-links {
    grid-template-columns: 1fr;
  }
}

