/* =============================================================
   Dogs of War — canonical shared stylesheet
   Used by: index.html, litepaper.html, pointers.html
   (dogw-token.html keeps its own embedded styles for its
    distinct visual treatment)
   ============================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f4ff;
  --bg-band: #efeaff;
  --fg: #0f1222;
  --muted: #5d6478;
  --muted-2: #8189a0;
  --border: #e7e4f3;
  --purple: #6d4df0;
  --purple-dark: #5a3fd6;
  --purple-soft: #ece7ff;
  --mint: #00c896;
  --mint-soft: #d6f7ec;
  --navy: #161232;
  --navy-2: #201944;
  --max: 1120px;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ===== Header / nav ===== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 13px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 18px;
  flex-shrink: 0;
}
.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}
.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0 auto;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
  transition: background .15s, color .15s, transform .15s;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--purple); }
.nav-links a.active { background: var(--purple); color: #fff; }
.nav-actions { display: flex; gap: 10px; align-items: center; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--purple);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid var(--purple);
  border-radius: 9px;
  cursor: pointer;
  transition: background .15s, transform .08s, border-color .15s, box-shadow .15s;
  box-shadow: 0 10px 26px rgba(109,77,240,.18);
  white-space: nowrap;
}
.btn:hover { background: var(--purple-dark); border-color: var(--purple-dark); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.ghost,
.btn-secondary {
  background: #fff;
  color: var(--fg);
  border: 1px solid var(--border);
  box-shadow: none;
}
.btn.ghost:hover,
.btn-secondary:hover { background: var(--bg-soft); color: var(--purple); }
.btn.outline {
  background: #fff;
  color: var(--purple);
  border: 1px solid var(--purple);
  box-shadow: none;
}
.btn.outline:hover { background: var(--purple-soft); }
.btn.lg { padding: 14px 26px; font-size: 15px; }

/* ===== Coinstore banner ===== */
.banner {
  background: var(--bg-band);
  text-align: center;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 800;
}
.banner a {
  color: #009f77;
  font-weight: 900;
  margin-left: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== Hero variants =====
   .hero — used on home page (denser layout, includes feed card)
   .page-hero — used on inner pages (litepaper, pointers)
   ===================================================== */
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 24px;
}
.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  right: -18vw;
  top: 10%;
  width: 62vw;
  height: 72%;
  background:
    radial-gradient(circle at 40% 50%, rgba(0,200,150,.15), transparent 34%),
    radial-gradient(circle at 60% 45%, rgba(109,77,240,.13), transparent 42%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  gap: 48px;
  align-items: center;
}

/* ===== Eyebrow tags / section labels ===== */
.tag,
.eyebrow,
.section-label {
  display: inline-block;
  background: var(--purple-soft);
  color: var(--purple);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .9px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}

/* ===== Headings ===== */
.hero h1,
.page-hero h1 {
  font-size: clamp(42px, 5.8vw, 68px);
  font-weight: 950;
  line-height: .99;
  letter-spacing: -0.055em;
  margin-bottom: 16px;
}
.hero h1 .accent,
.accent,
.grad { color: var(--mint); }

/* ===== Body text helpers ===== */
.subtitle,
.lead,
.hero-lede {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 16px;
  max-width: 620px;
}
.subtitle strong,
.lead strong,
.hero-lede strong { color: var(--fg); }

.hero-actions,
.hero-cta,
.ctas,
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 12px;
}

.hero-note,
.disclaim,
.micro,
.muted {
  color: var(--muted-2);
  font-size: 12px;
}

/* ===== Cards ===== */
.hero-card,
.card,
.info {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(31,25,70,.08);
}
.hero-card,
.doc,
.info,
.content-card {
  padding: 28px;
}
.hero-card.dark,
.dark-card {
  background: var(--navy);
  color: #fff;
  border-color: rgba(255,255,255,.08);
}
.hero-card img {
  width: 100%;
  max-height: 330px;
  object-fit: contain;
  margin: 0 auto;
}
.card-caption {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  margin-top: 12px;
}
.dark-card .card-caption,
.hero-card.dark .card-caption { color: #d7dbff; }

/* ===== Section rhythm — TIGHTENED ===== */
section,
.section { padding: 32px 0; }

.section-head {
  margin-bottom: 20px;
  max-width: 700px;
}
.section-head h2,
.section h2,
.doc h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 950;
  letter-spacing: -0.035em;
  margin-bottom: 8px;
}
.section-head p,
.doc p,
.info p,
.content-card p {
  color: var(--muted);
  margin-bottom: 14px;
}
.doc p,
.doc ul,
.info p,
.bullets {
  line-height: 1.65;
}
.doc h3,
.info h3,
.content-card h3 {
  font-size: 17px;
  font-weight: 900;
  margin: 20px 0 8px;
}
.doc ul,
.bullets {
  margin: 8px 0 16px;
  padding-left: 20px;
  color: var(--muted);
}
.doc li,
.bullets li { margin: 6px 0; }

/* ===== Grids ===== */
.split,
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* ===== Pills (used in pointers.html scope row, feed pills) ===== */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .6px;
  padding: 6px 9px;
  border-radius: 6px;
  text-transform: uppercase;
  background: var(--purple-soft);
  color: var(--purple);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(0,200,150,.16);
}

/* ===== Inline image card (pointers.html dashboard previews, litepaper screenshots) ===== */
.img-card { overflow: hidden; }
.img-card img { width: 100%; height: auto; }
.img-cap {
  padding: 13px 14px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.pdf-link,
.text-link,
.view-more {
  display: inline-block;
  margin-top: 12px;
  color: var(--purple);
  font-weight: 900;
  font-size: 14px;
}

/* ===== Quote band (litepaper) ===== */
.quote-band {
  background: linear-gradient(90deg, #e9e3ff 0%, #d6f7ec 100%);
  border-radius: 18px;
  padding: 28px 32px;
  box-shadow: 0 14px 36px rgba(31,25,70,.08);
  color: var(--fg);
  font-size: clamp(23px, 2.8vw, 30px);
  font-weight: 950;
  letter-spacing: -0.02em;
  line-height: 1.16;
}

/* ===== Hero motto bubble + callout (home page) ===== */
.motto {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #ddd6fb;
  border-radius: 999px;
  padding: 11px 16px 11px 12px;
  margin-bottom: 14px;
  max-width: 480px;
  box-shadow: 0 12px 34px rgba(109,77,240,.09);
  font-weight: 900;
}
.motto img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 8px;
  flex: 0 0 auto;
}
.callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--purple-soft);
  border: 1px solid #d8cdfb;
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 22px;
  max-width: 480px;
}
.callout-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  flex-shrink: 0;
  font-weight: 900;
}
.callout-text strong { display: block; font-size: 14px; margin-bottom: 3px; }
.callout-text span   { font-size: 13px; color: var(--muted); }

/* ===== Pointers feed card (home page) ===== */
.feed-wrap { position: relative; }
.feed {
  background: linear-gradient(145deg, #15122f 0%, #1e1745 58%, #121a31 100%);
  border: 1px solid rgba(0,200,150,.75);
  border-radius: 18px;
  padding: 20px;
  color: #fff;
  box-shadow:
    0 24px 70px -26px rgba(109,77,240,.58),
    0 0 0 1px rgba(255,255,255,.03),
    32px 34px 0 -10px rgba(0,200,150,.13);
  position: relative;
  overflow: hidden;
}
.feed::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at bottom left, rgba(0,200,150,.14), transparent 55%),
    radial-gradient(ellipse at top right, rgba(109,77,240,.18), transparent 55%);
  pointer-events: none;
}
.feed-inner { position: relative; z-index: 1; }
.feed-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}
.feed-logo { width: 54px; height: 54px; object-fit: contain; display: block; }
.feed-title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.feed-title strong { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(0,200,150,.16);
  flex: 0 0 auto;
}
.updated { color: #b8bce0; font-size: 12px; white-space: nowrap; }
.row {
  display: grid;
  grid-template-columns: 92px 58px 1fr 78px 22px;
  gap: 12px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 14px;
}
.row:last-of-type { border-bottom: none; }
.feed .pill { justify-self: start; padding: 4px 8px; }
.pill.value { background: var(--mint); color: #09261d; }
.pill.live  { background: #ef4a6b; color: #fff; }
.pill.mon   { background: #8a7df0; color: #fff; }
.match-time { font-size: 12px; color: #b8bce0; }
.match-info .m { font-weight: 900; font-size: 15px; line-height: 1.2; }
.match-info .pick {
  font-size: 11px;
  color: #d8d6ff;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-top: 3px;
  font-weight: 800;
}
.odds {
  text-align: right;
  font-size: 25px;
  font-weight: 950;
  color: var(--mint);
  letter-spacing: -0.02em;
}
.lock { color: #d5a24c; font-size: 14px; text-align: right; }
.feed-foot {
  margin-top: 14px;
  padding: 13px 14px;
  background: rgba(255,255,255,.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #d7dbff;
}
.feed-foot a { color: var(--mint); font-weight: 900; white-space: nowrap; }

/* ===== Stats band (home page) ===== */
.stats { margin: 18px auto 36px; max-width: var(--max); padding: 0 24px; }
.stats-inner {
  background: var(--navy-2);
  color: #fff;
  border-radius: 18px;
  padding: 24px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(31,25,70,.16);
  width: 100%;
}
.stat { border-right: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-right: none; }
.stat .v {
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 950;
  color: var(--mint);
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}
.stat .l { font-size: 13px; color: #d7dbff; }

/* ===== Process steps (home page) ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step {
  background: var(--bg-soft);
  border: 1px solid #f0ecff;
  border-radius: var(--radius);
  padding: 22px 20px;
  min-height: 170px;
}
.step-icon {
  width: 42px;
  height: 42px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin-bottom: 22px;
  font-size: 20px;
  font-weight: 950;
}
.step h3 { font-size: 17px; font-weight: 900; margin-bottom: 8px; }
.step p  { color: var(--muted); font-size: 14px; }

/* ===== Why band (home page) ===== */
.why { background: linear-gradient(180deg, #fff 0%, #faf9ff 100%); }
.why-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: center;
}
.why-card {
  background: var(--navy);
  border-radius: 18px;
  padding: 28px;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 290px;
}
.why-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(0,200,150,.12);
  right: -110px;
  bottom: -90px;
}
.why-card img {
  width: 150px;
  height: auto;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.why-card p { position: relative; z-index: 1; color: #d7dbff; }
.why-copy p { color: var(--muted); margin-bottom: 12px; font-size: 16px; }
.why-copy strong { color: var(--fg); }

/* ===== Results table + testimonial (home page) ===== */
.results-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: start;
}
.results-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
.results-table th {
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-align: left;
  padding: 14px 18px;
}
.results-table th:first-child { border-top-left-radius: 10px; }
.results-table th:last-child  { border-top-right-radius: 10px; }
.results-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  background: #fff;
}
.results-table td.pick { font-weight: 900; }
.result-pill {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.result-pill.win    { background: var(--mint-soft); color: #067755; }
.result-pill.live-r { background: var(--purple-soft); color: var(--purple); }

.testimonial {
  background: var(--navy);
  color: #fff;
  border-radius: 18px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  min-height: 365px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.testimonial::before {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 270px;
  height: 270px;
  background: radial-gradient(circle, rgba(0,200,150,.18), transparent 62%);
}
.q-mark {
  font-family: Georgia, serif;
  font-size: 62px;
  color: #9d84ff;
  line-height: .75;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.q-mark.close {
  text-align: right;
  max-width: 245px;
  margin: 4px 0 12px;
}
.testimonial p {
  margin-bottom: 13px;
  font-size: 15px;
  color: #e7e6f6;
  max-width: 245px;
  position: relative;
  z-index: 2;
}
.testimonial p strong { color: #fff; }
.testimonial .who {
  margin-top: auto;
  color: #b8bce0;
  font-size: 14px;
  position: relative;
  z-index: 2;
}
.testimonial .who b { color: var(--mint); }
.testimonial img {
  position: absolute;
  right: -10px;
  bottom: -8px;
  width: 210px;
  height: auto;
  z-index: 1;
}

/* ===== Final CTA band ===== */
.final-cta {
  margin: 28px 0 44px;
  background: linear-gradient(90deg, #e9e3ff 0%, #d6f7ec 100%);
  border-radius: 18px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  box-shadow: 0 14px 36px rgba(31,25,70,.08);
}
.final-cta h3 {
  font-size: clamp(23px, 2.8vw, 30px);
  font-weight: 950;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.final-cta p { color: var(--muted); font-size: 14px; }
.final-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* ===== Site footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 24px 0 28px;
}
.footer-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
}
.brand-mini { display: flex; align-items: center; gap: 12px; }
.brand-mini img { width: 42px; height: 42px; object-fit: contain; }
.brand-mini strong { display: block; }
.brand-mini span,
.compliance {
  color: var(--muted-2);
  font-size: 13px;
}
.footer-links,
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-links a {
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}
.footer-links a:hover { color: var(--purple); }
.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--purple-soft);
  color: var(--purple);
  display: grid;
  place-items: center;
}
.social-btn:hover { background: var(--purple); color: #fff; }
.social-btn svg  { width: 18px; height: 18px; }
.compliance {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  line-height: 1.5;
  max-width: 900px;
}

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .nav-links { display: none; }
  .hero-grid,
  .results-grid,
  .why-grid,
  .split,
  .grid-2,
  .grid-3,
  .footer-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .steps      { grid-template-columns: repeat(2, 1fr); }
  .stats-inner{ grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .final-cta  { grid-template-columns: 1fr; }
  .final-cta-actions { justify-content: flex-start; }
  .feed       { max-width: 620px; }
}
@media (max-width: 620px) {
  .container,
  .nav,
  .stats {
    padding-left: 18px;
    padding-right: 18px;
  }
  .brand-logo  { width: 46px; height: 46px; }
  .brand       { font-size: 16px; }
  .nav-actions .ghost { display: none; }
  .hero,
  .page-hero  { padding: 28px 0 16px; }
  .hero h1,
  .page-hero h1 { font-size: 45px; }
  section,
  .section    { padding: 26px 0; }
  .hero-card,
  .doc,
  .info,
  .content-card { padding: 22px; }
  .steps,
  .stats-inner { grid-template-columns: 1fr; }
  .stat {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.12);
    padding-bottom: 14px;
  }
  .stat:last-child { border-bottom: none; padding-bottom: 0; }
  .row { grid-template-columns: 1fr auto; gap: 8px; }
  .feed .pill,
  .match-time,
  .lock { display: none; }
  .match-info .m { font-size: 14px; }
  .odds { font-size: 24px; }
  .feed-head { grid-template-columns: auto 1fr; }
  .updated { display: none; }
  .feed-foot { flex-direction: column; align-items: flex-start; }
  .hero-actions,
  .hero-cta,
  .ctas,
  .cta-row,
  .final-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn { width: 100%; white-space: normal; text-align: center; }
  .testimonial { min-height: 390px; }
  .testimonial img { width: 190px; opacity: .92; }
}
