/* PODOC — podoc.io
   Plain static styles. No build step, no dependencies. */

:root {
  --felt: #0b6e3b;
  --felt-dark: #06301b;
  --bg: #0d1117;
  --surface: #161b22;
  --surface-2: #1c232c;
  --border: #2a323c;
  --text: #e8eef2;
  --muted: #9fb0bd;
  --accent: #5b94cc;
  --accent-strong: #4d80b3;
  --heart: #e23b4e;
  --gold: #d8b15a;
  --maxw: 1080px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Top nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}
.nav-brand {
  font-weight: 800;
  letter-spacing: 0.5px;
  font-size: 1.25rem;
  color: var(--text);
}
.nav-brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 0.95rem; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 84px 20px 72px;
  background:
    radial-gradient(120% 120% at 50% -10%, rgba(11, 110, 59, 0.55) 0%, rgba(6, 48, 27, 0.0) 55%),
    linear-gradient(180deg, #0c1a13 0%, var(--bg) 70%);
  border-bottom: 1px solid var(--border);
}
.hero-logo {
  display: block;
  width: min(420px, 80vw);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.45));
}
.wordmark {
  font-size: clamp(3rem, 11vw, 6rem);
  font-weight: 900;
  letter-spacing: 4px;
  margin: 0;
  line-height: 1;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}
.wordmark .heart { color: var(--heart); }
.wordmark .gold { color: var(--gold); }
.pips {
  margin: 14px 0 8px;
  font-size: 1.4rem;
  letter-spacing: 10px;
  color: var(--muted);
}
.pips .red { color: var(--heart); }
.tagline {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 22px 0 0;
  color: #f0ece1;
  letter-spacing: 0.3px;
}
.subhead {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}
.cta-row {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}
.badge.disabled { opacity: 0.75; cursor: default; }
.badge .small { display: block; font-size: 0.7rem; color: var(--muted); font-weight: 500; }
.badge .big { font-size: 1.05rem; line-height: 1.1; }

/* ---------- Sections ---------- */
section { padding: 64px 0; border-bottom: 1px solid var(--border); }
.section-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin: 0 0 8px;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  margin: 0 auto 40px;
  max-width: 560px;
}

/* ---------- Feature grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin: 6px 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.card .icon { font-size: 1.7rem; }

/* ---------- Games ---------- */
.games {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.chip {
  background: var(--felt);
  color: #eafaef;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--shadow);
}

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
}
.plan.featured { border-color: var(--accent-strong); box-shadow: var(--shadow); }
.plan h3 { margin: 0 0 6px; font-size: 1.3rem; }
.plan .price { font-size: 2rem; font-weight: 800; margin: 10px 0; }
.plan .price small { font-size: 0.9rem; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 0; text-align: left; }
.plan li { padding: 6px 0; color: var(--muted); }
.plan li::before { content: "♠ "; color: var(--accent); }

/* ---------- Footer ---------- */
.footer {
  padding: 48px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  border-bottom: none;
}
.footer .footer-links { margin-bottom: 12px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }

/* ---------- Legal pages ---------- */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 20px 80px;
}
.legal h1 { font-size: 2.2rem; margin: 0 0 4px; }
.legal .dates { color: var(--muted); font-size: 0.95rem; margin-bottom: 32px; }
.legal h2 {
  font-size: 1.35rem;
  margin: 40px 0 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.legal h3 { font-size: 1.1rem; margin: 26px 0 8px; }
.legal p, .legal li { color: #cdd9e1; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal code {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.9em;
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.95rem;
}
.legal th, .legal td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.legal th { background: var(--surface); }
.legal .back { display: inline-block; margin-bottom: 24px; color: var(--muted); }

@media (max-width: 600px) {
  .nav-links { gap: 14px; }
  .tagline { font-size: 1.25rem; }
  section { padding: 48px 0; }
}
