:root {
  --bg-0: #06080d;
  --bg-1: #0e1219;
  --gold: #e8c872;
  --gold-bright: #f0d878;
  --gold-soft: rgba(232, 200, 114, 0.35);
  --text: #f4efe4;
  --muted: #8b95a8;
  --line: rgba(255, 255, 255, 0.08);
  --glass: rgba(14, 18, 26, 0.72);
  --ok: #5ecf8a;
  --blue: #5b8def;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg-0);
}

.bg-layer {
  position: fixed;
  inset: 0;
  background: var(--bg-0) center / cover no-repeat;
  background-image: url("/public/assets/images/bg_arena.png");
  transform: scale(1.06);
  filter: saturate(1.1) brightness(0.42);
}

.bg-vignette {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 28%, rgba(0, 0, 0, 0.78) 100%);
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(232, 200, 114, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(91, 141, 239, 0.08), transparent 50%);
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 20px 32px;
}

.topbar {
  width: min(720px, 100%);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-bottom: 8px;
}

.lang-switch {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.lang-switch a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.lang-switch a:hover {
  color: var(--gold-bright);
}

.lang-switch a.is-active {
  color: var(--gold-bright);
  border-color: var(--gold-soft);
  background: rgba(232, 200, 114, 0.08);
}

.topbar-link {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.topbar-link:hover { color: var(--gold-bright); }

.inline-link {
  color: var(--gold);
  text-decoration: none;
}

.inline-link:hover {
  color: var(--gold-bright);
  text-decoration: underline;
}

.badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(232, 200, 114, 0.08);
}

.shell {
  width: min(720px, 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero {
  text-align: center;
  padding: 8px 0 4px;
}

.logo {
  width: min(420px, 88vw);
  height: auto;
  display: block;
  margin: 0 auto 10px;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.55));
}

.hero-title {
  margin: 0;
  font-family: Cinzel, serif;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 700;
  color: var(--gold-bright);
  text-shadow: 0 0 24px rgba(232, 200, 114, 0.2);
}

.hero-sub {
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  background: var(--glass);
  backdrop-filter: blur(12px);
}

.card-title {
  margin: 0 0 14px;
  font-family: Cinzel, serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.download-actions {
  display: grid;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: 600 15px/1 "DM Sans", sans-serif;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) scale(0.99);
}

.btn-primary {
  background: linear-gradient(180deg, rgba(232, 200, 114, 0.28), rgba(232, 200, 114, 0.1));
  border-color: var(--gold-soft);
  color: var(--gold-bright);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 36px rgba(232, 200, 114, 0.12), 0 10px 32px rgba(0, 0, 0, 0.35);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--gold-soft);
  background: rgba(232, 200, 114, 0.06);
}

.btn-svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.download-note {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}

.download-note strong {
  color: var(--text);
  font-weight: 600;
}

.req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.req-grid li {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text);
}

.req-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 3px;
}

.req-full {
  grid-column: 1 / -1;
}

.steps {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text);
  font-size: 13px;
  line-height: 1.6;
}

.steps li { margin-bottom: 6px; }

.steps li:last-child { margin-bottom: 0; }

.foot {
  width: min(720px, 100%);
  margin-top: auto;
  padding-top: 22px;
  text-align: center;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 4px;
  margin-bottom: 8px;
}

.foot-links a {
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
}

.foot-links a:hover { color: var(--gold-bright); }

.foot-sep {
  color: rgba(255, 255, 255, 0.18);
  user-select: none;
}

.foot-copy {
  margin: 0;
  font-size: 11px;
  color: rgba(139, 149, 168, 0.75);
}

@media (max-width: 560px) {
  .req-grid { grid-template-columns: 1fr; }
  .req-full { grid-column: auto; }
  .topbar-link { width: 100%; }
  .lang-switch { margin-left: 0; }
}
