/* Artilleros — sitio oficial. CSS sin dependencias. Tema oscuro "neón táctico". */
:root {
  --bg: #06090e;
  --bg-2: #0a1018;
  --panel: #0e1621;
  --panel-2: #131e2c;
  --line: #1f2d3f;
  --line-2: #2b3e56;
  --text: #e8eef6;
  --muted: #9fb0c4;
  --dim: #6f8399;
  --cyan: #3ef0ff;
  --cyan-2: #18b9d6;
  --amber: #ffb22e;
  --amber-2: #ff7a18;
  --red: #ff4d5e;
  --green: #4dff9a;
  --radius: 14px;
  --chamfer: 14px;
  --maxw: 1200px;
  --font-display: "Bahnschrift", "DIN Alternate", "DIN Condensed", "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font-body);
  overflow-x: hidden;
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(62, 240, 255, .08), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(255, 122, 24, .07), transparent 60%),
    linear-gradient(rgba(62, 240, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 240, 255, .035) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  background-attachment: scroll;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #9ff8ff; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; letter-spacing: .02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); text-transform: uppercase; font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); text-transform: uppercase; font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: #111; padding: 10px 14px; font-weight: 700; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 9, 14, .82);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); margin-right: auto; }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 0 0 1px var(--line-2), 0 0 18px rgba(62, 240, 255, .25); }
.brand span { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: .08em; text-transform: uppercase; background: linear-gradient(180deg, #ffe08a, var(--amber-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: none; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 12px; color: var(--muted); text-decoration: none; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; border-radius: 8px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--panel-2); }
.lang { position: relative; }
.lang select {
  appearance: none; -webkit-appearance: none;
  background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%239fb0c4'/%3E%3C/svg%3E") no-repeat right 10px center;
  color: var(--text); border: 1px solid var(--line-2); border-radius: 8px;
  padding: 7px 28px 7px 10px; font: 600 .85rem var(--font-body); cursor: pointer;
}
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 8px; color: var(--text); cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 8px 0 14px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 12px 4px; color: var(--text); text-decoration: none; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .menu-btn, .mobile-nav, .mobile-nav.open { display: none; }
}

/* ---------- Botones ---------- */
.btn {
  --c: var(--amber);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border: 0; cursor: pointer;
  font: 800 1rem var(--font-display); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  color: #120a00; background: linear-gradient(180deg, #ffd36b, var(--amber) 45%, var(--amber-2));
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
  box-shadow: 0 0 24px rgba(255, 150, 30, .35);
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); color: #120a00; }
.btn:active { transform: translateY(1px); }
.btn-ghost { color: var(--cyan); background: rgba(62, 240, 255, .06); box-shadow: inset 0 0 0 1px rgba(62, 240, 255, .5); }
.btn-ghost:hover { color: #fff; background: rgba(62, 240, 255, .14); }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 18px 8px 14px;
  border: 1px solid var(--line-2); border-radius: 12px; background: linear-gradient(180deg, #111a26, #0b121b);
  color: var(--text); text-decoration: none; cursor: default;
}
.store-btn svg { width: 26px; height: 26px; flex: none; color: var(--muted); }
.store-btn small { display: block; font-size: .72rem; color: var(--amber); letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.store-btn strong { display: block; font-size: 1.05rem; line-height: 1.15; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 40px 0 56px; overflow: hidden; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 980px) { .hero { padding: 72px 0 88px; } .hero-grid { grid-template-columns: 1fr 1.15fr; gap: 48px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 .8rem var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); border-radius: 50%; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .eyebrow::before { animation: none; } }
.hero h1 { background: linear-gradient(180deg, #fff 30%, #ffd88a 70%, var(--amber-2)); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 4px 24px rgba(255, 140, 30, .25)); }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.hud-frame { position: relative; padding: 10px; background: linear-gradient(180deg, rgba(62, 240, 255, .08), rgba(62, 240, 255, .02)); border: 1px solid rgba(62, 240, 255, .25); border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 60px rgba(62, 240, 255, .08); }
.hud-frame img { border-radius: 10px; width: 100%; }
.hud-frame::before, .hud-frame::after { content: ""; position: absolute; width: 28px; height: 28px; border: 2px solid var(--cyan); pointer-events: none; }
.hud-frame::before { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.hud-frame::after { bottom: -6px; right: -6px; border-left: 0; border-top: 0; }
.hud-tag { position: absolute; top: 20px; left: 20px; z-index: 2; font: 700 .7rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); background: rgba(6, 9, 14, .78); padding: 5px 9px; border: 1px solid rgba(62, 240, 255, .4); border-radius: 4px; }
.note { font-size: .82rem; color: var(--dim); }

/* ---------- Secciones ---------- */
.section { padding: 64px 0; border-top: 1px solid var(--line); position: relative; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head .kicker { font: 700 .78rem var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--amber); display: block; margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  position: relative; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line);
  padding: 22px; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); margin: 0; }
.card .icon { width: 40px; height: 40px; color: var(--cyan); margin-bottom: 14px; }
.pill { display: inline-block; font: 700 .7rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; border: 1px solid currentColor; }
.pill-live { color: var(--green); }
.pill-dev { color: var(--amber); }

/* Tanques */
.tank { --tc: var(--cyan); border-top: 2px solid var(--tc); }
.tank-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.tank-emblem { width: 56px; height: 56px; flex: none; display: grid; place-items: center; color: var(--tc); background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--tc) 22%, transparent), transparent 70%); border: 1px solid color-mix(in srgb, var(--tc) 55%, transparent); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.tank-emblem svg { width: 28px; height: 28px; }
.tank-code { font: 800 1.2rem var(--font-display); letter-spacing: .06em; margin: 0; }
.tank-nick { color: var(--tc); font-weight: 700; font-size: .95rem; }
.tank-role { font: 700 .7rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; display: block; }

/* Campos */
.field { padding: 0; overflow: hidden; }
.field-art { height: 96px; position: relative; background: var(--g); }
.field-art::after { content: ""; position: absolute; inset: auto 0 0 0; height: 46px; background: var(--ground); clip-path: polygon(0 60%, 8% 40%, 18% 55%, 30% 20%, 42% 50%, 55% 35%, 66% 60%, 78% 25%, 90% 45%, 100% 30%, 100% 100%, 0 100%); }
.field-body { padding: 16px 18px 18px; }
.field-body h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; }
.field-body p { font-size: .92rem; }

/* Galería */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); } .gallery .wide { grid-column: span 2; grid-row: span 2; } .gallery li:last-child { grid-column: span 2; } .gallery li:last-child img { aspect-ratio: 4.7 / 1; } }
.gallery button { padding: 0; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: #000; cursor: zoom-in; display: block; width: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 2.35 / 1; transition: transform .3s ease; }
.gallery .wide img { aspect-ratio: auto; }
.gallery li, .gallery button { height: 100%; }
.gallery button:hover img { transform: scale(1.03); }
dialog.lightbox { padding: 0; border: 1px solid var(--line-2); background: #000; max-width: min(1400px, 96vw); border-radius: 12px; color: var(--text); }
dialog.lightbox::backdrop { background: rgba(0, 0, 0, .85); }
dialog.lightbox img { width: 100%; height: auto; max-height: 86vh; object-fit: contain; }
dialog.lightbox .lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; font-size: .9rem; color: var(--muted); }
dialog.lightbox button { background: var(--panel-2); color: var(--text); border: 1px solid var(--line-2); border-radius: 8px; padding: 6px 12px; cursor: pointer; font: inherit; }

/* Tráiler */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: #000; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.video .video-overlay { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 16px; }
.video .play { width: 84px; height: 84px; border-radius: 50%; border: 2px solid var(--cyan); background: rgba(6, 9, 14, .6); color: var(--cyan); display: grid; place-items: center; margin: 0 auto 14px; box-shadow: 0 0 30px rgba(62, 240, 255, .35); cursor: pointer; }
.video .play svg { width: 34px; height: 34px; margin-left: 4px; }
.video .play[disabled] { cursor: default; opacity: .7; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Lista de comprobación / bullets */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border: 2px solid var(--green); border-radius: 3px; background: linear-gradient(135deg, transparent 45%, var(--green) 45% 60%, transparent 60%); }

/* Formulario */
.signup { background: linear-gradient(135deg, rgba(62, 240, 255, .08), rgba(255, 122, 24, .08)); border: 1px solid var(--line-2); border-radius: 20px; padding: 28px 20px; }
@media (min-width: 720px) { .signup { padding: 44px; } }
.form-grid { display: grid; gap: 14px; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1.4fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
input[type="email"], input[type="text"], select.input {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line-2);
  background: #070c13; color: var(--text); font: 1rem var(--font-body);
}
input:focus, select.input:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px rgba(62, 240, 255, .25); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: .92rem; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--amber); flex: none; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #070c13; font-weight: 500; cursor: pointer; margin: 0; }
.radio-row input { accent-color: var(--cyan); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; font-weight: 600; margin: 10px 0 0; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--red); }

/* Comunidad */
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social span, .social a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 10px; color: var(--muted); text-decoration: none; background: var(--panel); }
.social svg { width: 18px; height: 18px; }

/* Tablas (prensa) */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { width: 32%; color: var(--muted); font-weight: 600; background: var(--panel); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
.dl-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.dl-list a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--panel); text-decoration: none; color: var(--text); }
.dl-list a span:last-child { color: var(--dim); font-size: .85rem; white-space: nowrap; }
.thumbs { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .thumbs { grid-template-columns: repeat(4, 1fr); } }
.thumbs a { display: block; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; color: var(--muted); text-decoration: none; font-size: .82rem; background: var(--panel); }
.thumbs a span { display: block; padding: 8px 10px; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--cyan); font: 700 1.4rem var(--font-mono); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 18px 16px; color: var(--muted); }

/* Páginas de texto (legal) */
.page-hero { padding: 48px 0 24px; }
.prose { max-width: 820px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; text-transform: none; letter-spacing: .01em; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: #c8d4e2; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.draft-banner { border: 1px solid var(--amber); background: rgba(255, 178, 46, .08); color: #ffe2a6; border-radius: 12px; padding: 14px 16px; margin: 0 0 28px; font-size: .95rem; }
.toc { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; background: var(--panel); margin-bottom: 24px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 1; }
@media (min-width: 720px) { .toc ol { columns: 2; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 28px; margin-top: 40px; background: var(--bg-2); color: var(--muted); font-size: .92rem; }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.footer-legal { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 18px; font-size: .8rem; color: var(--dim); }

/* Aparición suave */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* Aviso de idioma */
.lang-hint { display: none; background: var(--panel-2); border-bottom: 1px solid var(--line-2); font-size: .9rem; }
.lang-hint.show { display: block; }
.lang-hint .wrap { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.lang-hint button { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; text-decoration: underline; }
.support-grid { align-items: start; }
@media (min-width: 900px) { .support-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.gallery picture { display: block; height: 100%; }
@media (max-width: 520px) {
  .brand span { display: none; }
  .nav { gap: 10px; }
}
