/* BookArena — shared styles */
:root {
  --green-900: #0b1f14;
  --green-800: #10301e;
  --green-700: #154a2c;
  --green-500: #1fa04f;
  --green-400: #2ecc71;
  --lime: #b6f23a;
  --ink: #14211a;
  --muted: #5b6b62;
  --bg: #ffffff;
  --bg-soft: #f3f7f4;
  --border: #dfe8e2;
  --radius: 14px;
  --max: 1120px;
  --shadow: 0 6px 24px rgba(11, 31, 20, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

img,
iframe {
  max-width: 100%;
}

a {
  color: var(--green-500);
}

a:hover {
  color: var(--green-700);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1em;
}

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--green-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
}

.logo span {
  color: var(--lime);
}

.logo:hover {
  color: #fff;
}

.site-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.site-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: #d6e6dc;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.site-nav a[aria-current="page"] {
  color: var(--green-900);
  background: var(--lime);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--lime);
  color: var(--green-900);
}

.btn-primary:hover {
  background: #c8ff55;
  color: var(--green-900);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-outline:hover {
  border-color: #fff;
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(182, 242, 58, 0.18), transparent 45%),
    linear-gradient(160deg, var(--green-900) 0%, var(--green-700) 100%);
  color: #fff;
  padding: 88px 0 96px;
}

.hero p.lead {
  font-size: 1.2rem;
  color: #cfe3d6;
  max-width: 620px;
}

.hero .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lime);
  margin-bottom: 14px;
}

.sports {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
  padding: 0;
  list-style: none;
}

.sports li {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

/* Page banner for inner pages */
.page-banner {
  background: linear-gradient(160deg, var(--green-900) 0%, var(--green-700) 100%);
  color: #fff;
  padding: 56px 0;
}

.page-banner p {
  color: #cfe3d6;
  margin: 0;
  max-width: 640px;
}

/* ---------- Sections ---------- */
.section {
  padding: 72px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head p {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-900);
  color: var(--lime);
  font-weight: 800;
  margin-bottom: 16px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-400);
  box-shadow: inset 0 0 0 5px #e4f8ea;
}

.card-dark {
  background: var(--green-900);
  color: #e5f0e9;
  border-color: var(--green-800);
}

.card-dark h3 {
  color: #fff;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e4f8ea;
  color: var(--green-700);
  margin-bottom: 12px;
}

.card-dark .badge {
  background: rgba(182, 242, 58, 0.15);
  color: var(--lime);
}

/* Download / CTA */
.cta {
  background: var(--green-900);
  color: #fff;
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
}

.cta p {
  color: #cfe3d6;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.store-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.store-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 22px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  min-width: 180px;
  cursor: default;
}

.store-btn small {
  font-size: 0.72rem;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.store-btn strong {
  font-size: 1.1rem;
}

/* ---------- Content pages ---------- */
.prose {
  max-width: 780px;
}

.prose h2 {
  font-size: 1.4rem;
  margin-top: 2em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul {
  padding-left: 1.3em;
}

.prose li {
  margin-bottom: 0.4em;
}

.muted {
  color: var(--muted);
}

/* Business details block */
.details {
  list-style: none;
  margin: 0;
  padding: 0;
}

.details li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.details li:last-child {
  border-bottom: 0;
}

.details .label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.details .value {
  font-size: 1.05rem;
  font-weight: 600;
  word-break: break-word;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-height: 360px;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-900);
  color: #b9cec1;
  padding: 56px 0 28px;
  font-size: 0.95rem;
}

.site-footer a {
  color: #e5f0e9;
}

.site-footer a:hover {
  color: var(--lime);
}

.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 36px;
}

.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}

.site-footer address {
  font-style: normal;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 0.88rem;
}

.footer-bottom p {
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .site-header {
    position: static;
  }

  .site-header .container {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav ul {
    gap: 2px;
  }

  .site-nav a {
    padding: 6px 10px;
    font-size: 0.9rem;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .section {
    padding: 52px 0;
  }

  .card {
    padding: 22px;
  }

  .cta {
    padding: 36px 20px;
  }
}
