/* KonjoBet.ca — bespoke stylesheet.
   Character: Ethiopian-heritage sportsbook review, community-warm, deep olive
   + vivid green on near-black, heritage green/yellow/red used only as a thin
   accent thread. Hero leads with the Special Games (JetX) shelf, then the
   500+-market sportsbook. Not a clone of any donor or sibling site. */

:root {
  --c-olive: #3b4d03;         /* structural — header, footer, card frames */
  --c-olive-deep: #2b3802;
  --c-olive-soft: #55700a;
  --c-green: #03a84e;         /* primary accent — CTA, checkmarks, numerals */
  --c-green-deep: #028a3f;
  --c-green-soft: #bdeed2;
  --c-gold: #f2b705;          /* heritage thread — sparing use only */
  --c-red: #c81e1e;           /* heritage thread — sparing use only */
  --c-bg: #121212;
  --c-bg-alt: #181812;
  --c-surface: #1e2013;
  --c-surface-2: #262a17;
  --c-border: rgba(250, 250, 250, 0.09);
  --c-border-strong: rgba(250, 250, 250, 0.2);
  --c-text: #fafafa;
  --c-text-dim: #b9bfae;
  --c-white: #ffffff;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 20px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-green-soft); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; background: var(--c-green);
  color: #04150d; font-weight: 700; padding: 10px 16px; border-radius: var(--radius-s);
  z-index: 200; transition: top .15s ease;
}
.skip-link:focus { top: 8px; }

.shell { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ===== Heritage thread — a single 3px line, used exactly twice on the page ===== */
.heritage-thread {
  height: 3px;
  background: linear-gradient(90deg, var(--c-green) 0 34%, var(--c-gold) 34% 67%, var(--c-red) 67% 100%);
}

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(18, 18, 18, 0.97);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--c-border);
}
.site-header .shell { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; }
.brand { display: flex; align-items: center; gap: 9px; min-width: 0; }
.brand-badge { width: 32px; height: 32px; flex: 0 0 auto; display: block; }
.brand-word { font-weight: 900; font-size: 1.1rem; color: var(--c-white); letter-spacing: -.01em; white-space: nowrap; }
.brand-word .accent { color: var(--c-green); }

.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-desktop a {
  color: var(--c-text-dim); font-weight: 600; font-size: .92rem;
  padding: 9px 13px; border-radius: var(--radius-s);
}
.nav-desktop a:hover, .nav-desktop a:focus-visible { color: var(--c-white); background: var(--c-surface-2); text-decoration: none; }
.nav-desktop a.active { color: var(--c-green-soft); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--radius-s); font-weight: 700; font-size: .9rem;
  padding: 10px 17px; border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-green); color: #04150d; }
.btn-primary:hover { background: var(--c-green-deep); color: var(--c-white); }
.btn-outline { background: transparent; color: var(--c-text); border-color: var(--c-border-strong); }
.btn-outline:hover { border-color: var(--c-green-soft); color: var(--c-green-soft); }
.btn-block { width: 100%; }

.burger {
  display: none; width: 40px; height: 40px; border: 1px solid var(--c-border);
  border-radius: var(--radius-s); background: var(--c-surface); position: relative;
}
.burger span, .burger::before, .burger::after {
  content: ""; position: absolute; left: 9px; right: 9px; height: 2px; background: var(--c-white);
  transition: transform .2s ease, opacity .2s ease;
}
.burger::before { top: 13px; }
.burger span { top: 19px; }
.burger::after { top: 25px; }
.burger[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }
.burger[aria-expanded="true"] span { opacity: 0; }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 90;
  background: var(--c-bg-alt);
  transform: translateX(100%);
  transition: transform .22s ease;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav .shell { padding-top: 22px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 2px; }
.mobile-nav a {
  color: var(--c-text); font-weight: 700; font-size: 1.05rem; padding: 14px 4px;
  border-bottom: 1px solid var(--c-border);
}
.mobile-nav .mobile-cta { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }

/* ===== Hero — Special Games shelf leads ===== */
.hero {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--c-border);
  background:
    radial-gradient(700px 420px at 88% -10%, rgba(3,168,78,.20), transparent 60%),
    linear-gradient(180deg, var(--c-olive-deep) 0%, var(--c-bg) 72%);
}
.hero-inner { padding: 50px 0 34px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--c-surface); border: 1px solid var(--c-border-strong); color: var(--c-green-soft);
  font-weight: 800; font-size: .74rem; letter-spacing: .07em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-green); }
.hero-title {
  font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 900; color: var(--c-white);
  margin: 0 0 12px; letter-spacing: -.01em; max-width: 22ch; line-height: 1.18;
}
.hero-sub { color: var(--c-text-dim); max-width: 60ch; margin: 0 0 26px; font-size: 1.02rem; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }

/* Special Games shelf — the hero's visual centrepiece */
.specials-shelf-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.specials-shelf-label { font-weight: 800; font-size: .82rem; letter-spacing: .04em; color: var(--c-text-dim); text-transform: uppercase; }
.specials-shelf {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.specials-shelf::-webkit-scrollbar { height: 6px; }
.specials-shelf::-webkit-scrollbar-thumb { background: var(--c-border-strong); border-radius: 999px; }
.game-chip {
  scroll-snap-align: start; flex: 0 0 auto; width: 152px;
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-m);
  padding: 16px 14px; position: relative;
}
.game-chip.is-lead { border-color: var(--c-green); background: linear-gradient(160deg, var(--c-surface-2), var(--c-surface)); }
.game-chip .chip-icon {
  width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: var(--c-olive-soft); color: var(--c-green-soft); margin-bottom: 12px;
}
.game-chip .chip-icon svg { width: 20px; height: 20px; }
.game-chip p.name { margin: 0; font-weight: 800; font-size: .92rem; color: var(--c-white); }
.game-chip p.tag {
  margin: 6px 0 0; font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: var(--c-green-soft);
}
.game-chip .new-badge {
  position: absolute; top: 10px; right: 10px; background: var(--c-gold); color: #2b1e00;
  font-size: .62rem; font-weight: 900; letter-spacing: .04em; padding: 3px 7px; border-radius: 999px;
}

/* ===== Fact strip ===== */
.fact-strip { background: var(--c-bg-alt); border-bottom: 1px solid var(--c-border); }
.fact-strip .shell {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 22px 20px;
}
.fact-item { text-align: center; }
.fact-num { display: block; font-weight: 900; font-size: 1.12rem; color: var(--c-green-soft); }
.fact-label { display: block; font-size: .76rem; color: var(--c-text-dim); margin-top: 2px; }

/* ===== Section shell ===== */
.section { padding: 46px 0; border-bottom: 1px solid var(--c-border); }
.section-head { max-width: 62ch; margin-bottom: 26px; }
.section-eyebrow {
  display: block; color: var(--c-green-soft); font-weight: 800; font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px;
}
.section-title { font-size: 1.3rem; font-weight: 900; color: var(--c-white); margin: 0 0 8px; }
.section-lede { color: var(--c-text-dim); font-size: .95rem; margin: 0; }

/* Sportsbook-led tile grid — category names only, no invented odds */
.sport-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sport-tile {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-m);
  padding: 16px 14px; text-align: center;
}
.sport-tile svg { width: 24px; height: 24px; color: var(--c-green); margin: 0 auto 8px; display: block; }
.sport-tile p { margin: 0; font-weight: 700; font-size: .86rem; color: var(--c-text); }

.esports-strip { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.esports-pill {
  background: var(--c-surface-2); border: 1px solid var(--c-border); border-radius: 999px;
  padding: 8px 14px; font-size: .82rem; font-weight: 600; color: var(--c-text-dim);
}

/* Special-games detail cards */
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.detail-card {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-m);
  padding: 18px; display: flex; gap: 12px; align-items: flex-start;
}
.detail-icon {
  width: 34px; height: 34px; border-radius: 50%; flex: 0 0 auto;
  background: var(--c-green-soft); color: var(--c-green-deep);
  display: flex; align-items: center; justify-content: center;
}
.detail-icon svg { width: 18px; height: 18px; }
.detail-name { font-weight: 800; color: var(--c-white); font-size: .94rem; margin: 0 0 4px; }
.detail-desc { color: var(--c-text-dim); font-size: .82rem; margin: 0; }

/* ===== Trust / caveat bar ===== */
.trust-bar { background: var(--c-bg-alt); border-bottom: 1px solid var(--c-border); padding: 20px 0; }
.trust-bar .shell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.trust-note { color: var(--c-text-dim); font-size: .82rem; max-width: 62ch; }
.trust-note strong { color: var(--c-text); }

/* ===== Article / SEO block — the ONLY place with h1/h2/h3 ===== */
.article-wrap { padding: 44px 0 60px; }
.article-wrap .section-eyebrow { display: block; margin-bottom: 10px; }
.article {
  max-width: 760px; margin: 0 auto; background: var(--c-surface);
  border: 1px solid var(--c-border); border-radius: var(--radius-l);
  padding: clamp(20px, 4vw, 44px);
}
.article h1 {
  font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 900; color: var(--c-white); line-height: 1.28;
  margin: 0 0 20px; letter-spacing: -.01em;
}
.article h2 {
  font-size: 1.18rem; font-weight: 800; color: var(--c-white); margin: 32px 0 12px;
  padding-top: 18px; border-top: 1px solid var(--c-border);
}
.article h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 8px; }
.article h3 {
  font-size: 1rem; font-weight: 700; color: var(--c-white); margin: 0; cursor: pointer;
  padding: 14px 34px 14px 4px; position: relative; border-top: 1px solid var(--c-border);
}
.article h3:first-of-type { border-top: 1px solid var(--c-border); }
.article h3::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  color: var(--c-green); font-size: 1.2rem; font-weight: 800; line-height: 1;
}
.article h3[aria-expanded="true"]::after { content: "\2212"; }
.article h3 + p { margin-top: 0; padding-bottom: 14px; }
.article p { color: var(--c-text-dim); margin: 0 0 16px; }
.article ul, .article ol { color: var(--c-text-dim); margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.article ol { list-style: decimal; }
.article li { margin-bottom: 6px; }
.article a { color: var(--c-green-soft); font-weight: 600; }
.article strong { color: var(--c-white); }

/* Responsive tables inside the article */
.article .table-scroll { overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--c-border); border-radius: var(--radius-s); }
.article table { width: 100%; border-collapse: collapse; table-layout: fixed; min-width: 460px; }
.article th, .article td {
  border-bottom: 1px solid var(--c-border); padding: 10px 12px; text-align: left;
  font-size: .9rem; color: var(--c-text-dim); overflow-wrap: anywhere;
}
.article th { color: var(--c-white); font-weight: 800; background: var(--c-surface-2); font-variant-numeric: normal; }
.article td { font-variant-numeric: tabular-nums; }
.article tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) {
  .article th, .article td { padding: 7px 8px; font-size: .78rem; }
}

/* ===== Blog ===== */
.blog-hero { background: linear-gradient(180deg, var(--c-olive-deep), var(--c-bg)); border-bottom: 1px solid var(--c-border); padding: 44px 0 34px; }
.blog-hero .section-title { font-size: 1.7rem; margin: 0 0 10px; }
.blog-hero .section-lede { max-width: 62ch; }
.blog-section { padding: 46px 0 60px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.blog-card {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-m);
  padding: 20px; display: flex; flex-direction: column; gap: 10px;
}
.blog-card-date { color: var(--c-text-dim); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; margin: 0; }
.blog-card-title { font-size: 1.04rem; font-weight: 800; color: var(--c-white); margin: 0; line-height: 1.3; }
.blog-card-title a { color: var(--c-white); }
.blog-card-title a:hover { color: var(--c-green-soft); text-decoration: none; }
.blog-card-excerpt { color: var(--c-text-dim); font-size: .88rem; margin: 0; flex: 1; }
.blog-card-link { color: var(--c-green-soft); font-weight: 700; font-size: .85rem; }
.blog-card-link:hover { text-decoration: none; }
.blog-crumb { color: var(--c-text-dim); font-size: .85rem; margin: 0 0 14px; }
.blog-crumb a { color: var(--c-green-soft); }
.blog-meta { color: var(--c-text-dim); font-size: .82rem; margin: 0 0 6px; }

/* ===== Footer ===== */
.site-footer { background: #0f110a; border-top: 1px solid var(--c-border); padding: 40px 0 26px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; margin-bottom: 26px; }
.footer-brand .brand { margin-bottom: 10px; }
.footer-brand p { color: var(--c-text-dim); font-size: .85rem; max-width: 44ch; }
.footer-col .footer-heading { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-text-dim); margin: 0 0 12px; font-weight: 800; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: var(--c-text-dim); font-size: .88rem; }
.footer-col a:hover { color: var(--c-white); }
.footer-legal {
  border-top: 1px solid var(--c-border); padding-top: 18px; color: var(--c-text-dim); font-size: .78rem;
  display: flex; flex-direction: column; gap: 6px;
}
.rg-line { color: var(--c-text-dim); }
.rg-line strong { color: var(--c-green-soft); }

/* ===== 404 page ===== */
.error-wrap { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 60px 20px; text-align: center; }
.error-wrap .code { font-size: 5rem; font-weight: 900; color: var(--c-green); line-height: 1; margin-bottom: 6px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: repeat(2, 1fr); }
  .sport-band { grid-template-columns: repeat(4, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-desktop, .header-actions .btn-outline { display: none; }
  .burger { display: block; }
}
@media (max-width: 720px) {
  .fact-strip .shell { grid-template-columns: repeat(2, 1fr); }
  .sport-band { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; gap: 20px; }
  .detail-grid { grid-template-columns: 1fr; }
  .sport-band { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .shell { padding: 0 14px; }
  .game-chip { width: 138px; }
}
