/* Albion Stats · web pública. Colores de la app (styles.css de albion-calculator) y el latón de su icono. */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/manrope-latin.woff2) format('woff2');
}
:root {
  color-scheme: dark;
  --bg: #1b1d21;
  --deep: #17191c;
  --surface: #222429;
  --surface-2: #282b31;
  --field: #1e2024;
  --line: #2e3137;
  --line-strong: #3b3f46;
  --text: #e4e5e2;
  --muted: #9a9ea6;
  --accent: #8aa9e6;
  --accent-ink: #15181d;
  --good: #8cc79c;
  --gold-1: #ead08f;
  --gold-2: #a8823c;
  --gold: #d4ad62;
  --shadow: rgba(0, 0, 0, .35);
  --r: 12px;
  --font: 'Manrope', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); }
.center { text-align: center; }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
.lead { font-size: 1.1rem; color: color-mix(in srgb, var(--text) 88%, var(--muted)); }
.eyebrow { margin: 0 0 .6em; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.gold { background: linear-gradient(180deg, var(--gold-1), var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Cabecera */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--deep) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.1rem; }
.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--text); }
@media (max-width: 980px) { .nav { display: none; } .top-in .btn-small { margin-left: auto; } }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; border: 1px solid transparent; transition: filter .15s; }
.btn:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-small { padding: 8px 14px; font-size: .9rem; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Portada */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 5vw, 72px); background:
  radial-gradient(900px 420px at 85% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%),
  radial-gradient(700px 380px at 0% 100%, color-mix(in srgb, var(--gold) 9%, transparent), transparent 70%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .hero-in { grid-template-columns: 1fr; } }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; }
.pills li { padding: 5px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .85rem; color: var(--muted); background: var(--field); }

/* Capturas */
.shot { margin: 0; }
.shot a { display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 18px 50px var(--shadow); background: var(--deep); cursor: zoom-in; }
.shot a:hover { border-color: color-mix(in srgb, var(--accent) 60%, var(--line-strong)); }
.shot figcaption { margin-top: 12px; font-size: .9rem; color: var(--muted); }
.shot figcaption b { color: var(--text); }
.hero-shot a { transform: perspective(1600px) rotateY(-4deg); transform-origin: left center; }
@media (max-width: 900px) { .hero-shot a { transform: none; } }

/* Bandas y secciones */
.band { padding: clamp(48px, 6vw, 88px) 0; background: var(--deep); border-block: 1px solid var(--line); }
.feature { padding: clamp(56px, 7vw, 104px) 0; }
.feature.alt { background: linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--surface) 55%, var(--bg)) 50%, var(--bg)); }
.feature-head { max-width: 820px; margin-bottom: 36px; }

.grid6 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
@media (max-width: 860px) { .grid6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid6 { grid-template-columns: 1fr; } }
.tile { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.tile:hover { border-color: var(--accent); transform: translateY(-2px); }
.tile b { font-size: 1.05rem; }
.tile span { color: var(--muted); font-size: .93rem; }

.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 32px; }
@media (max-width: 900px) { .two, .three { grid-template-columns: 1fr; } }
.two-text { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .two-text { grid-template-columns: 1fr; } }

.example { margin-top: 32px; padding: 20px 24px; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--r); background: var(--surface); }
.example h3 { color: var(--gold); font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.example p:last-child { margin-bottom: 0; }

/* Plan: pasos */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: clamp(40px, 5vw, 72px); }
.steps li { counter-increment: step; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.steps li:nth-child(even) .step-text { order: 2; }
@media (max-width: 900px) { .steps li { grid-template-columns: 1fr; } .steps li:nth-child(even) .step-text { order: 0; } }
.step-text h3 { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; }
.step-text h3::before { content: counter(step); display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 1rem; font-weight: 800; }

/* Combate */
.ticks { padding-left: 1.1em; }
.ticks li { margin-bottom: .6em; }
.ticks li::marker { color: var(--gold); }
.note-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0 0 16px; }
.cols li { padding: 14px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--field); text-align: center; font-weight: 700; }
@media (max-width: 480px) { .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Cómo funciona */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
@media (max-width: 860px) { .grid3 { grid-template-columns: 1fr; } }
.how { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.how .num { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 12px; border-radius: 8px; background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold); font-weight: 800; }
.how p { color: var(--muted); margin: 0; }
.sub { margin-top: 56px; }
.diff { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; max-width: 980px; margin: 20px auto 0; padding: 0; list-style: none; }
@media (max-width: 760px) { .diff { grid-template-columns: 1fr; } }
.diff li { padding-left: 28px; position: relative; color: var(--muted); }
.diff li b { color: var(--text); }
.diff li::before { content: ''; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(180deg, var(--gold-1), var(--gold-2)); transform: rotate(45deg) scale(.75); }

/* Cómo conseguirla */
.get { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 56px); align-items: start; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line-strong); border-radius: 16px; background:
  radial-gradient(600px 260px at 100% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%), var(--surface); }
@media (max-width: 900px) { .get { grid-template-columns: 1fr; } }
.platforms { display: grid; gap: 14px; }
.platform { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--field); }
.platform p { margin: 0; color: var(--muted); }

/* Preguntas */
details { border-bottom: 1px solid var(--line); padding: 14px 4px; }
details:first-of-type { border-top: 1px solid var(--line); margin-top: 24px; }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--gold); font-weight: 800; }
details[open] summary::after { content: '–'; }
details p { margin: 10px 0 4px; color: var(--muted); }

/* Pie */
.foot { padding: 32px 0 48px; border-top: 1px solid var(--line); background: var(--deep); }
.foot-in { display: grid; gap: 12px; }
.foot p { margin: 0; max-width: 900px; }

/* Captura ampliada */
.zoom { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
.zoom::backdrop { background: rgba(10, 11, 13, .86); }
.zoom img { max-width: 96vw; max-height: 94vh; border-radius: 10px; border: 1px solid var(--line-strong); }
.zoom-x { position: fixed; top: 14px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .tile, .btn { transition: none; } .hero-shot a { transform: none; } }
.err-icon { margin: 0 auto 20px; }
