/* Resonance 137 — sitio público (landing «coming soon» y textos legales). Tema de la UI aprobada del juego:
   «Terminal abisal de rescate» (acero azul petróleo, goma negra estriada, franja naranja de clase, pantallas hundidas). */
@font-face { font-family: "Oxanium"; src: url("/oxanium_variable.ttf") format("truetype"); font-weight: 200 800; }

:root {
  --steel: #1d3446;
  --steel-deep: #12222f;
  --screen: #07090b;
  --ink: #e9e4d6;
  --mute: #8fa0ad;
  --orange: #ff5214;
  --orange-hi: #ff8a4c;
  --cyan: #5fd7ff;
  --rule: rgba(233, 228, 214, 0.12);
  --display: "Oxanium", "Rajdhani", system-ui, sans-serif;
  --body: "Oxanium", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: hidden; }
body {
  background: radial-gradient(ellipse at top, #0e1a24 0%, #05080b 70%);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  min-height: 100vh;
}
a { color: var(--orange-hi); }
a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* El aparato: placa de acero con bumpers de goma a los costados y tornillos. */
.device {
  position: relative;
  max-width: 980px;
  margin: 32px auto;
  padding: 40px max(48px, 7vw);
  background: var(--steel) url("/img/body_plate.webp") center / cover;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), inset 0 0 0 2px rgba(255, 255, 255, 0.04);
}
.device::before, .device::after {
  content: "";
  position: absolute;
  top: 18px; bottom: 18px;
  width: 34px;
  background: url("/img/bumper_left.webp") center / 100% auto repeat-y;
  border-radius: 18px;
}
.device::before { left: 6px; }
.device::after { right: 6px; background-image: url("/img/bumper_right.webp"); }
.screw { position: absolute; width: 22px; height: 22px; background: url("/img/screw.webp") center / contain no-repeat; }
.screw.tl { top: 14px; left: 52px; } .screw.tr { top: 14px; right: 52px; }
.screw.bl { bottom: 14px; left: 52px; } .screw.br { bottom: 14px; right: 52px; }

.screen {
  background: var(--screen);
  border-radius: 18px;
  border: 3px solid #2a3540;
  box-shadow: inset 0 0 0 2px #000, inset 0 10px 30px rgba(0, 0, 0, 0.8);
  padding: clamp(20px, 4vw, 40px);
}

.brand { font-family: var(--display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); font-size: 13px; }
.lamp { width: 56px; height: 56px; background: url("/img/lamp_on.webp") center / contain no-repeat; filter: drop-shadow(0 0 14px rgba(255, 82, 20, 0.7)); }
.head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }

h1 { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 7vw, 76px); line-height: 1; margin: 6px 0 12px; letter-spacing: 0.02em; text-wrap: balance; }
h1 .num { color: var(--orange); }
h2 { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase; margin: 32px 0 8px; color: var(--orange-hi); }
h3 { font-family: var(--display); font-size: 18px; margin: 20px 0 6px; }
p, li { max-width: 70ch; }
.tagline { font-size: 20px; color: var(--mute); max-width: 52ch; }

.status { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 8px 16px; border: 2px solid var(--orange); border-radius: 10px; color: var(--orange-hi); font-family: var(--display); letter-spacing: 0.14em; text-transform: uppercase; font-size: 14px; }
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .status::before { animation: none; } }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 26px; }
.tile { background: #0b1016; border: 2px solid #22303c; border-radius: 12px; padding: 16px; }
.tile b { display: block; font-family: var(--display); letter-spacing: 0.1em; text-transform: uppercase; font-size: 13px; color: var(--cyan); margin-bottom: 6px; }
.tile p { margin: 0; color: var(--mute); font-size: 15px; }
.hero-img { width: 100%; max-height: 300px; object-fit: contain; margin-top: 22px; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.8)); }
.rating { display: inline-block; margin-top: 8px; padding: 3px 10px; border: 1px solid var(--mute); border-radius: 6px; color: var(--mute); font-size: 13px; letter-spacing: 0.1em; }

nav.legal { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 14px; }
nav.legal a { color: var(--mute); text-decoration: none; }
nav.legal a:hover { color: var(--orange-hi); }
.doc p, .doc li { color: #d6d1c4; }
.doc .updated { color: var(--mute); font-size: 14px; }
.doc table { border-collapse: collapse; width: 100%; margin: 10px 0; font-size: 15px; }
.doc th, .doc td { border: 1px solid var(--rule); padding: 8px; text-align: left; vertical-align: top; }

@media (max-width: 600px) {
  .device { margin: 12px; padding: 30px 24px; border-radius: 20px; }
  .device::before, .device::after { width: 18px; }
  .device::before { left: 4px; } .device::after { right: 4px; }
  .screw { width: 16px; height: 16px; }
  .screw.tl, .screw.bl { left: 28px; } .screw.tr, .screw.br { right: 28px; }
}
