:root {
  --navy: #0b1530;
  --navy-2: #12224a;
  --gold: #dba84d;
  --gold-bright: #f6cc66;
  --cream: #f8eccc;
  --cream-soft: #e6d6b2;
  --line: rgba(219, 168, 77, 0.45);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: radial-gradient(ellipse at top, #1b2f63 0%, var(--navy) 55%, #060c1c 100%) fixed;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.65;
}

main {
  max-width: 760px;
  margin: 32px auto 48px;
  padding: 32px 28px 40px;
  background: rgba(11, 21, 48, 0.88);
  border: 3px solid var(--gold);
  border-radius: 28px;
  box-shadow: 0 0 28px rgba(246, 204, 102, 0.25), inset 0 0 0 6px rgba(11, 21, 48, 0.9),
    inset 0 0 0 8px var(--line);
}

header { text-align: center; }

header img { width: 150px; height: auto; }

.lang { text-align: center; margin: 4px 0 24px; font-size: 16px; }

.lang a, .lang span {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  margin: 0 4px;
  color: var(--cream);
  text-decoration: none;
}

.lang span { background: var(--gold-bright); color: #2a1a06; font-weight: bold; }

h1 {
  color: var(--cream);
  text-align: center;
  font-size: 34px;
  line-height: 1.25;
  margin: 8px 0 4px;
}

.updated { text-align: center; font-style: italic; color: var(--cream-soft); margin: 0 0 28px; }

h2 {
  color: var(--gold-bright);
  font-size: 23px;
  margin: 34px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

h3 { color: var(--cream); font-size: 19px; margin: 22px 0 6px; }

a { color: var(--gold-bright); }

ul { padding-left: 22px; }

li { margin: 4px 0; }

table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 16px; }

th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }

th { background: var(--navy-2); color: var(--gold-bright); }

footer { text-align: center; color: var(--cream-soft); font-size: 14px; margin-top: 40px; }

.cards { display: grid; gap: 14px; margin-top: 24px; }

.cards a {
  display: block;
  text-align: center;
  padding: 14px;
  border: 2px solid var(--gold);
  border-radius: 999px;
  background: var(--navy-2);
  color: var(--cream);
  text-decoration: none;
  font-weight: bold;
}

/* Botones de descarga (página principal) */
.stores { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 8px; }

.store {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 10px 14px;
  border: 2px solid var(--gold-bright);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 100%);
  color: #2a1a06;
  text-decoration: none;
  box-shadow: 0 0 18px rgba(246, 204, 102, 0.35);
}

.store:hover, .store:focus-visible { filter: brightness(1.08); }

.store-small { font-size: 13px; line-height: 1.3; }

.store-big { font-size: 24px; font-weight: bold; line-height: 1.2; }

@media (max-width: 600px) {
  .stores { grid-template-columns: 1fr; }
  body { font-size: 17px; }
  main { margin: 12px; padding: 24px 18px 30px; border-radius: 22px; }
  h1 { font-size: 28px; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  td { border: none; padding: 2px 0; }
  tr { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; }
  td:first-child { color: var(--gold-bright); font-weight: bold; }
}
