:root {
  color-scheme: dark;
  --bg: #0d1117;
  --panel: #151b23;
  --panel-2: #1f2937;
  --text: #e5eefb;
  --muted: #9aa7b8;
  --line: #2a3545;
  --ember: #ff7a1a;
  --gold: #f6c453;
  --cyan: #4dd9ff;
  --green: #6ee7a8;
  --red: #ff5d5d;
  --shadow: 0 18px 60px rgba(0,0,0,.32);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 122, 26, .18), transparent 34rem),
    radial-gradient(circle at 80% 20%, rgba(77, 217, 255, .12), transparent 30rem),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; }
main { min-height: 70vh; }
.site-header, .site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.site-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
}
.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(135deg, var(--ember), var(--gold));
  color: #15100a; font-weight: 900; box-shadow: 0 0 30px rgba(255,122,26,.28);
}
.brand small { display: block; color: var(--muted); font-size: .78rem; margin-top: -2px; }
nav { display: flex; gap: 10px; flex-wrap: wrap; }
nav a {
  color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 999px;
}
nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.section { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 54px 0; }
.hero { padding-top: 72px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; align-items: center; }
.eyebrow { color: var(--cyan); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 800; }
h1, h2, h3 { line-height: 1.08; margin: 0 0 16px; }
h1 { font-size: clamp(2.6rem, 8vw, 5.6rem); letter-spacing: -.06em; }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.04em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 16px; }
.lead { color: var(--muted); font-size: 1.18rem; max-width: 66ch; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 16px; border-radius: 14px; text-decoration: none; font-weight: 800;
  border: 1px solid var(--line); background: var(--panel); color: var(--text);
}
.button.primary { background: linear-gradient(135deg, var(--ember), var(--gold)); color: #160f07; border: 0; }
.button:hover { transform: translateY(-1px); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card, .tool-panel {
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.card .tag, .pill {
  display: inline-flex; border: 1px solid var(--line); background: rgba(255,255,255,.05);
  color: var(--muted); border-radius: 999px; padding: 5px 10px; font-size: .78rem; margin-bottom: 12px;
}
.muted { color: var(--muted); }
.callout { border-left: 4px solid var(--ember); padding: 18px; background: rgba(255,122,26,.08); border-radius: 16px; }
.site-footer { padding: 38px 0 54px; border-top: 1px solid var(--line); color: var(--muted); }
.tool-layout { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; }
textarea, input, select {
  width: 100%; background: #0b1017; color: var(--text); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px; font: inherit;
}
textarea { min-height: 180px; resize: vertical; }
button {
  cursor: pointer; border: 0; border-radius: 14px; padding: 11px 14px; font: inherit; font-weight: 800;
  color: #160f07; background: linear-gradient(135deg, var(--ember), var(--gold));
}
button.secondary { background: var(--panel-2); color: var(--text); border: 1px solid var(--line); }
button.danger { background: rgba(255,93,93,.15); color: #ffc0c0; border: 1px solid rgba(255,93,93,.35); }
.button-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.game-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.game-list li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.03); }
.result { font-size: 1.35rem; font-weight: 900; color: var(--green); }
.price { font-size: 2.6rem; font-weight: 900; color: var(--gold); }
.checklist { padding-left: 1.2rem; }
.checklist li { margin: 8px 0; }
@media (max-width: 820px) {
  .site-header, .hero { grid-template-columns: 1fr; }
  .site-header { align-items: flex-start; flex-direction: column; }
  .card-grid, .tool-layout { grid-template-columns: 1fr; }
}
