:root {
  color-scheme: dark;
  --fondo: #101519;
  --panel: #172027;
  --texto: #f5faff;
  --suave: #b8c9d5;
  --celeste: #77dbff;
  --borde: #31434f;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--texto);
  background: var(--fondo);
  font: 1rem/1.6 system-ui, sans-serif;
}
a { color: inherit; text-underline-offset: .3em; }
a:focus-visible { outline: 2px solid var(--celeste); outline-offset: 5px; }
.ancho { width: min(1180px, calc(100% - 3rem)); margin-inline: auto; }
.salto { position: absolute; top: -5rem; left: 1rem; background: var(--fondo); padding: .5rem; }
.salto:focus { top: .5rem; z-index: 2; }
.cabecera, .pie { border-block-end: 1px solid var(--borde); }
.barra { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem 1.5rem; padding-block: 1rem; }
.marca { font-size: 1.15rem; font-weight: 900; letter-spacing: .14em; text-decoration: none; }
.marca span, h1 span { color: var(--celeste); }
nav { display: flex; gap: clamp(.85rem, 4vw, 2.3rem); flex-wrap: wrap; }
nav a { text-decoration: none; color: var(--suave); }
nav a:hover { color: var(--celeste); text-decoration: underline; }
.portada {
  position: relative;
  isolation: isolate;
  min-height: 31rem;
  display: grid;
  grid-template-columns: 1fr .9fr;
  align-items: center;
  padding-block: 3.5rem;
}
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(3.1rem, 11vw, 9rem); line-height: .88; letter-spacing: -.09em; font-weight: 900; }
.introduccion p { color: var(--suave); max-width: 34ch; margin-block: 1.5rem; font-size: clamp(1rem, 1.8vw, 1.23rem); }
.boton { display: inline-block; padding: .72rem 1.15rem; background: var(--celeste); color: #09161e; font-weight: 750; text-decoration: none; }
.boton:hover { background: #c1f0ff; }
.emblema {
  position: relative;
  min-width: 0;
  aspect-ratio: 1.3;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse, #235069 0%, transparent 65%);
}
.orbita { position: absolute; inset: 9% 4%; border: 1px solid #426274; border-radius: 50%; transform: rotate(-21deg); }
.orbita.interior { inset: 20% 9%; transform: rotate(24deg); opacity: .7; }
.vertice {
  width: 67%;
  aspect-ratio: 1.17;
  background: linear-gradient(145deg, #d5f6ff, #48bde8 43%, #1677a1 75%, #a4eaff);
  clip-path: polygon(0 4%, 31% 4%, 50% 54%, 72% 4%, 100% 4%, 52% 100%);
  transform: rotate(-12deg);
}
.catalogo { background: #131d24; border-block: 1px solid var(--borde); padding-block: 3rem 3.5rem; }
h2 { font-size: clamp(1.9rem, 4vw, 3.25rem); line-height: 1.05; letter-spacing: -.045em; margin-bottom: 1.5rem; }
.juegos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.juego { border: 1px solid var(--borde); background: var(--panel); display: flex; flex-direction: column; }
.arte, .captura { aspect-ratio: 16 / 8; width: 100%; }
.captura { object-fit: cover; display: block; }
.arte { display: grid; place-items: center; position: relative; overflow: hidden; }
.arte span { display: block; width: 28%; aspect-ratio: 1; transform: rotate(-18deg); }
.almacen { background: repeating-linear-gradient(120deg, transparent 0 25px, #91dcf125 26px 27px), radial-gradient(ellipse at 40% 90%, #1f6681, #122e41 70%); }
.almacen span { background: linear-gradient(90deg, transparent 39%, #d5f0c8 39% 60%, transparent 60%), linear-gradient(145deg, #e4b777, #b56944); border: 4px solid #f3ce91; box-shadow: .65rem .65rem #793f30, 1.2rem 1.2rem 2rem #091926; }
.estacion { background: radial-gradient(ellipse at 60% 110%, #3b6599 0 22%, #1c3154 23% 36%, #131a35 37%); }
.estacion span { width: 49%; background: linear-gradient(145deg, #f7faff, #70c7f4 65%, #3273aa); clip-path: polygon(98% 50%, 63% 68%, 27% 77%, 4% 100%, 10% 64%, 1% 50%, 10% 36%, 4% 0, 27% 23%, 63% 32%); }
.misiones { background: repeating-linear-gradient(90deg, transparent 0 33px, #db795e24 34px 35px), radial-gradient(ellipse, #733e32, #241c22 72%); }
.misiones span { transform: none; width: 32%; border: 8px solid #a66b55; background: repeating-linear-gradient(135deg,#df8354 0 8px,#352a31 9px 18px); clip-path: polygon(13% 0,87% 0,100% 13%,100% 87%,87% 100%,13% 100%,0 87%,0 13%); }
.ficha { padding: 1.15rem; display: flex; flex-direction: column; align-items: start; gap: .85rem; flex: 1; }
.plataforma, .estado { font-size: .875rem; }
.plataforma { color: var(--celeste); }
h3 { font-size: 1.35rem; line-height: 1.18; }
h3 span { display: block; }
.ficha > p:not(.plataforma):not(.estado), .redes > p, .pie { color: var(--suave); }
.estado { margin-top: auto; padding-top: .6rem; }
.redes { padding-block: 3rem; }
.redes a { color: var(--celeste); }
.pie { border-block: 1px solid var(--borde) 0; }
@media (max-width: 760px) {
  .juegos { grid-template-columns: 1fr; }
  .arte, .captura { aspect-ratio: 16 / 7; }
  .portada { min-height: auto; padding-block: 2.75rem 1rem; grid-template-columns: 1fr; }
  .emblema { width: min(100%, 29rem); margin: -.2rem auto 0; }
}
@media (max-width: 370px) {
  .ancho { width: calc(100% - 2rem); }
}

#seguir-vertex { margin-block: 1rem .5rem; border: 0; font: inherit; font-weight: 750; cursor: pointer; }
#seguir-vertex:disabled { cursor: wait; opacity: .65; }
#total-seguidores { color: var(--celeste); font-weight: 700; }

.noticia { display: grid; grid-template-columns: minmax(10rem, 16rem) minmax(0, 33rem); align-items: center; gap: 2rem; }
.noticia video { display: block; width: 100%; border-radius: .5rem; background: #0a1014; }
.noticia time { color: var(--celeste); font-size: .9rem; }
.noticia h3 { font-size: 2rem; margin: .5rem 0; }
.noticia p { color: var(--suave); }
@media (max-width: 620px) {
  .noticia { grid-template-columns: 1fr; gap: 1rem; }
  .noticia video { width: min(100%, 18rem); }
}
