/* tenpai.zone: one dark theme that matches the game's felt table. No web fonts, no third-party requests. */
:root {
  --felt: #0d2b2c;
  --felt-deep: #081c1d;
  --panel: #13393a;
  --line: #24595a;
  --text: #f1ead8;
  --muted: #b9c7bf;
  --gold: #f2c14e;
  --red: #e5483c;
  --blue: #4f8fe6;
  --link: #8cc8ff;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { background: var(--felt-deep); }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 20% -10%, #1b4d4e 0%, transparent 60%),
    radial-gradient(900px 500px at 110% 10%, #3a1f4d 0%, transparent 55%),
    var(--felt-deep);
  color: var(--text);
  font: 17px/1.6 var(--sans);
  -webkit-text-size-adjust: 100%;
}

a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--gold); }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }

header.site {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0;
}
header.site .brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
header.site .brand img { width: 36px; height: 36px; image-rendering: pixelated; border-radius: 8px; }
header.site .brand span { font: 700 20px/1 var(--mono); letter-spacing: 0.08em; }
header.site nav { display: flex; gap: 18px; font-size: 15px; }
header.site nav a { color: var(--muted); text-decoration: none; }
header.site nav a:hover, header.site nav a[aria-current="page"] { color: var(--gold); }

.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 32px 0 48px; }
.hero h1 {
  margin: 0 0 8px; font: 800 clamp(44px, 9vw, 76px)/1 var(--mono); letter-spacing: 0.06em;
  color: var(--gold); text-shadow: 4px 4px 0 #6b2a1f;
}
.hero .tagline { font-size: 22px; margin: 0 0 18px; }
.hero p { color: var(--muted); }
.badge {
  display: inline-block; margin-top: 12px; padding: 10px 16px; border-radius: 6px;
  background: var(--panel); border: 2px solid var(--line); font: 600 15px/1.2 var(--mono); color: var(--text);
}

.phone {
  width: 100%; max-width: 300px; justify-self: center; border-radius: 28px; border: 6px solid #0a1415;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  display: block; height: auto;
}

section { padding: 24px 0; }
section h2 { font: 700 24px/1.2 var(--mono); color: var(--gold); margin: 0 0 16px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; }
.features li { background: var(--panel); border: 2px solid var(--line); border-radius: 8px; padding: 16px; }
.features strong { display: block; color: var(--text); margin-bottom: 4px; }
.features span { color: var(--muted); font-size: 15px; }

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.shots figure { margin: 0; }
.shots img { width: 100%; height: auto; border-radius: 16px; border: 4px solid #0a1415; display: block; }
.shots figcaption { color: var(--muted); font-size: 14px; text-align: center; margin-top: 6px; }

article.doc { max-width: 760px; padding: 16px 0 40px; }
article.doc h1 { font: 800 36px/1.15 var(--mono); color: var(--gold); margin: 8px 0 4px; }
article.doc h2 { font: 700 21px/1.3 var(--mono); color: var(--gold); margin: 32px 0 8px; }
article.doc .meta { color: var(--muted); font-size: 15px; margin: 0 0 20px; }
article.doc dt { font-weight: 700; margin-top: 16px; }
article.doc dd { margin: 4px 0 0; color: var(--muted); }
article.doc li { margin: 4px 0; }
.callout { background: var(--panel); border-left: 4px solid var(--gold); border-radius: 6px; padding: 12px 16px; }

footer.site { border-top: 2px solid var(--line); margin-top: 24px; padding: 20px 0 40px; color: var(--muted); font-size: 14px; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 8px; }
footer.site a { color: var(--muted); }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 12px; }
  .phone { max-width: 240px; }
  header.site nav { gap: 12px; }
}
