/* Stargazer's Hill's public pages: the logo's night palette, readable on a phone. */
:root {
  --ink: #f1e9d2; --ink-soft: #a8b4e0; --night: #080b1e; --night-2: #11122e; --panel: #141c38; --panel-edge: #2a3466;
  --gold: #f2c14e; --teal: #5ad1c0; --violet: #8f8ff2; --magenta: #e66ed2;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--night); }
body { margin: 0; background: linear-gradient(180deg, var(--night), var(--night-2) 40%, #1a1238); color: var(--ink); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; min-height: 100vh; }
img, video { max-width: 100%; height: auto; }
a { color: var(--teal); }
.pixel { image-rendering: pixelated; }

/* The header: the night sky, as in the game. */
header { background: radial-gradient(120% 90% at 50% 0%, #2a2470 0%, #141236 55%, transparent 100%); padding: 40px 16px 32px; text-align: center; }
header .icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 6px 0 rgba(0, 0, 0, .35); }
header h1 { margin: 12px 0 0; font-size: 38px; line-height: 1.2; letter-spacing: .5px; text-shadow: 0 3px 0 #05030e; }
header p { margin: 4px 0 0; color: var(--ink-soft); }
nav { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
header nav a { color: var(--ink); font-weight: 600; }

/* The landing page's header: the logo, the game on a screen, and when it's out. */
.hero { padding-bottom: 40px; }
.hero .logo { display: block; margin: 0 auto; width: min(100%, 738px); }
.tagline { font-size: 21px; color: var(--ink) !important; }
.screen { margin: 28px auto 0; max-width: 960px; padding: 10px; background: #05060e; border: 2px solid var(--panel-edge); border-radius: 22px; box-shadow: 0 8px 0 rgba(0, 0, 0, .45); }
.screen img, .screen video { display: block; width: 100%; border-radius: 12px; }
.soon { margin-top: 20px; font-weight: 600; font-size: 16px; letter-spacing: .3px; color: var(--gold) !important; }

main { max-width: 680px; margin: 0 auto; padding: 24px 16px 48px; }
h2 { font-size: 22px; line-height: 1.3; margin: 32px 0 8px; color: var(--ink); }
.card { background: var(--panel); border: 1px solid var(--panel-edge); border-radius: 18px; padding: 4px 20px 16px; box-shadow: 0 5px 0 rgba(0, 0, 0, .35); margin: 16px 0; }

/* The landing page: wider than the text pages, for the pictures. */
.hero ~ main { max-width: 960px; }
.intro { max-width: 680px; margin: 8px auto 0; font-size: 19px; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 8px; }
.how div { background: var(--panel); border: 1px solid var(--panel-edge); border-radius: 16px; padding: 4px 18px 12px; box-shadow: 0 5px 0 rgba(0, 0, 0, .35); }
.how h2 { margin-top: 12px; color: var(--gold); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0; }
.gallery figure { margin: 0; }
.gallery img { display: block; width: 100%; border-radius: 12px; border: 1px solid var(--panel-edge); background: #05060e; }
.gallery figcaption { font-size: 14px; color: var(--ink-soft); margin-top: 8px; text-align: center; }
.share { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; margin: 32px 0; }
.share img { display: block; width: 100%; max-width: 420px; margin: 0 auto; border-radius: 12px; border: 1px solid var(--panel-edge); }
.features { max-width: 680px; margin: 0 auto; }
.features ul { padding-left: 20px; }
.features li { margin: 8px 0; }
.features strong, .price strong { color: var(--gold); }
.price { max-width: 680px; margin: 32px auto 0; }

footer { text-align: center; color: var(--ink-soft); font-size: 14px; padding: 0 16px 32px; }
footer nav { margin: 0 0 8px; }
footer nav a { font-weight: 600; }

@media (max-width: 640px) {
  header h1 { font-size: 32px; }
  .how, .gallery, .share { grid-template-columns: 1fr; }
  .screen { padding: 6px; border-radius: 16px; }
  .screen img, .screen video { border-radius: 10px; }
}
