:root {
  --bg: #0f2a6b;
  --bg-deep: #0a1c4a;
  --panel: #16306f;
  --panel-edge: #24418a;
  --ink: #101a3a;
  --text: #f4f7ff;
  --muted: #b9c6ea;
  --gold: #ffc93c;
  --orange: #ff9f2e;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
  background: radial-gradient(1200px 800px at 50% -10%, #2563eb 0%, var(--bg) 55%, var(--bg-deep) 100%) no-repeat, var(--bg-deep);
  min-height: 100vh;
}
html { background: var(--bg-deep); }
a { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, .brand span, .store b { font-family: "Lilita One", "Nunito", sans-serif; font-weight: 400; letter-spacing: 0.01em; }

.bar {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1120px; margin: 0 auto; padding: 16px 20px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-size: 24px; }
.brand img { border-radius: 10px; box-shadow: 0 0 0 3px var(--ink); }

main { max-width: 1120px; margin: 0 auto; padding: 0 20px 40px; }

/* portada */
.hero { text-align: center; padding: 28px 0 10px; }
.hero .icon { width: 132px; margin: 0 auto 18px; border-radius: 30px; box-shadow: 0 0 0 5px var(--ink), 0 18px 40px rgba(0, 0, 0, 0.35); }
.hero h1 { font-size: clamp(48px, 9vw, 92px); line-height: 1; margin: 0; color: var(--gold); text-shadow: 0 5px 0 var(--ink); }
.tagline { font-family: "Lilita One", sans-serif; font-size: clamp(22px, 3.6vw, 32px); margin: 14px 0 6px; }
.lead { color: var(--muted); max-width: 640px; margin: 0 auto 26px; font-size: 19px; }
.shot { margin: 40px auto 0; border-radius: var(--radius); box-shadow: 0 0 0 5px var(--ink), 0 30px 60px rgba(0, 0, 0, 0.45); }

.stores { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store {
  display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center;
  min-width: 190px; padding: 10px 22px; border-radius: 16px; text-decoration: none;
  background: #000; color: #fff; border: 2px solid #3b4a72; line-height: 1.15;
}
.store small { font-size: 12px; font-weight: 600; opacity: 0.85; }
.store b { font-size: 24px; }
.store.soon { opacity: 0.6; cursor: default; }
.store.soon small { color: var(--gold); opacity: 1; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }

.features ul { list-style: none; padding: 0; margin: 56px 0 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.features li { background: var(--panel); border: 3px solid var(--ink); border-radius: var(--radius); padding: 22px; box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.25); }
.features h3 { margin: 0 0 6px; font-size: 24px; color: var(--gold); }
.features p { margin: 0; color: var(--muted); }

.gallery { margin-top: 64px; }
.gallery h2, .download h2 { text-align: center; font-size: clamp(32px, 5vw, 46px); margin: 0 0 22px; }
.gallery .shots { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--radius); box-shadow: 0 0 0 4px var(--ink), 0 20px 40px rgba(0, 0, 0, 0.35); }
.gallery figcaption { text-align: center; color: var(--muted); font-weight: 800; margin-top: 12px; }

.download { text-align: center; margin: 56px 0 10px; padding: 36px 20px; background: var(--panel); border: 3px solid var(--ink); border-radius: var(--radius); }
.download p { color: var(--muted); margin: 0 0 20px; }

/* textos legales y soporte */
.prose { max-width: 780px; background: rgba(10, 28, 74, 0.6); border: 2px solid var(--panel-edge); border-radius: var(--radius); padding: 30px 28px; margin: 12px auto 0; width: calc(100% - 32px); }
.prose h1 { font-size: clamp(32px, 6vw, 46px); line-height: 1.1; margin: 0 0 8px; color: var(--gold); }
.prose h2 { font-size: 26px; margin: 34px 0 8px; }
.prose p, .prose li { color: #e3e9fb; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose .updated { color: var(--muted); font-style: italic; margin-top: 0; }
.prose .mail { font-size: 20px; font-weight: 800; }
.prose details { background: var(--panel); border: 2px solid var(--panel-edge); border-radius: 16px; padding: 14px 18px; margin: 12px 0; }
.prose summary { font-weight: 800; cursor: pointer; }
.prose details p { margin: 10px 0 0; }
.back { margin-top: 34px; }

.foot { max-width: 1120px; margin: 0 auto; padding: 30px 20px 40px; text-align: center; color: var(--muted); font-size: 15px; }
.foot nav { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 8px; }
.foot nav a { color: var(--text); font-weight: 800; text-decoration: none; }
.foot p a { color: var(--muted); }

@media (max-width: 560px) {
  body { font-size: 17px; }
  .prose { padding: 22px 18px; }
  .store { min-width: 160px; }
}

/* selector de idioma */
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; color: var(--text); font-weight: 800; font-size: 15px;
  padding: 8px 14px; border-radius: 999px; background: var(--panel); border: 2px solid var(--panel-edge);
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: " ▾"; color: var(--muted); }
.lang nav {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 10; display: flex; flex-direction: column; min-width: 160px;
  background: var(--bg-deep); border: 2px solid var(--panel-edge); border-radius: 16px; padding: 6px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.lang nav a { color: var(--text); text-decoration: none; font-weight: 700; padding: 8px 12px; border-radius: 10px; }
.lang nav a:hover { background: var(--panel); }
