:root {
  color-scheme: light;
  --bg: #f7f5f8;
  --panel: #ffffff;
  --panel-strong: #f1edf2;
  --text: #201a20;
  --muted: #6e6670;
  --accent: #ff5fa2;
  --accent-soft: #fff0f6;
  --line: #e5dde5;
  --danger: #b42318;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

body.no-load {
  background: transparent;
}

body.no-load #app {
  display: none !important;
}

a {
  color: inherit;
}

.shell {
  width: min(760px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 48px 0;
}

.masthead {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 750;
}

.mark {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}

.hero {
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 45px rgba(43, 35, 44, 0.08);
}

.banner-image {
  display: block;
  width: 100%;
  max-height: 260px;
  margin: 0 0 26px;
  border-radius: 6px;
  object-fit: cover;
}

.banner-image[hidden] {
  display: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 750;
  text-transform: none;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

#game-name {
  color: var(--accent);
  overflow-wrap: anywhere;
}

.download-button {
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  margin-top: 28px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 95, 162, 0.52);
  background: var(--accent);
  color: #180610;
  font-weight: 800;
  text-decoration: none;
  border-radius: 6px;
  transition: background 160ms ease, box-shadow 160ms ease;
}

.download-button:hover {
  background: #ff7db4;
  box-shadow: 0 10px 24px rgba(255, 95, 162, 0.18);
}

.download-button[aria-disabled="true"] {
  pointer-events: none;
  border-color: var(--line);
  background: var(--panel-strong);
  color: var(--muted);
}

.download-button svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.status {
  min-height: 24px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.status.error {
  color: var(--danger);
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 24px, 560px);
    align-content: start;
    padding: 22px 0 36px;
  }

  .hero {
    padding: 24px;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }
}
