@import url("https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600;700;800;900&display=swap");


  /* icon spans */
  .ic { display:inline-flex;align-items:center;justify-content:center;font-style:normal;line-height:1; }


/* ══════════════════════════════════════════
   RESET & ROOT
══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg0: #0c1018;
  --bg1: #111820;
  --bg2: #161f2c;
  --bg3: #1c2738;
  --bg4: #21304a;

  --gold:  #f4c842;
  --gold2: #e0b020;
  --green: #27c96a;
  --red:   #e84040;
  --blue:  #3b82f6;

  --t1: #f0f2f7;
  --t2: #8898aa;
  --t3: #4a5a6e;
  --t4: #2a3a4e;

  --border: #1e2d40;
  --border2: #263344;

  --r4:  4px;
  --r8:  8px;
  --r12: 12px;
  --r16: 16px;

  --hh: 56px;   /* header height */
  --sl: 220px;  /* sidebar left */
  --sr: 220px;  /* sidebar right */
  --mb: 60px;   /* mobile bottom bar */

  font-family: 'Exo 2', sans-serif;
}

html { height: 100%; }
body {
  background: var(--bg0);
  color: var(--t1);
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100%;
}
a { text-decoration: none; color: inherit; }
img { display: block; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }

/* scrollbar */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: var(--bg0); }
::-webkit-scrollbar-thumb { background: var(--bg3); border-radius: 2px; }


/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
.header {
  position: sticky; top: 0; z-index: 200;
  height: var(--hh);
  background: var(--bg1);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 10px;
  gap: 8px;
}

.logo {
  flex-shrink: 0;
  display: flex; align-items: center;
  gap: 6px;
  padding-right: 8px;
}
.logo img { height: 36px; width: auto; }

/* header nav */
.h-nav {
  flex: 1; display: flex; align-items: center; gap: 2px;
  overflow-x: auto; scrollbar-width: none;
  padding: 0 4px;
}
.h-nav::-webkit-scrollbar { display: none; }

.h-nav a {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 11px;
  border-radius: var(--r8);
  color: var(--t2); font-size: 13px; font-weight: 500;
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.h-nav a i { font-size: 13px; }
.h-nav a:hover { color: var(--t1); background: rgba(255,255,255,.06); }
.h-nav a.active { color: var(--t1); background: rgba(255,255,255,.07); }

/* header right */
.h-right {
  flex-shrink: 0; display: flex; align-items: center; gap: 8px;
}
.h-search {
  background: none; color: var(--t2); font-size: 18px; padding: 6px;
  transition: color .15s; line-height:1;
}
.h-search:hover { color: var(--t1); }

.h-lang {
  display: flex; align-items: center; gap: 4px;
  color: var(--t2); font-size: 12px; font-weight: 600;
  cursor: pointer; transition: color .15s;
}
.h-lang:hover { color: var(--t1); }
.h-lang img { border-radius: 2px; }

.btn-login {
  background: transparent;
  border: 1px solid var(--border2);
  color: var(--t1); border-radius: var(--r8);
  padding: 7px 16px; font-size: 13px; font-weight: 600;
  transition: border-color .15s;
}
.btn-login:hover { border-color: var(--gold); color: var(--gold); }

.btn-reg {
  background: var(--gold); color: #0b0e14;
  border-radius: var(--r8);
  padding: 7px 18px; font-size: 13px; font-weight: 700;
  transition: background .15s, transform .1s;
}
.btn-reg:hover { background: var(--gold2); transform: translateY(-1px); }


/* ══════════════════════════════════════════
   LAYOUT
══════════════════════════════════════════ */
.layout {
  display: flex;
  min-height: calc(100vh - var(--hh));
}


/* ══════════════════════════════════════════
   LEFT SIDEBAR
══════════════════════════════════════════ */
.sidebar-left {
  width: var(--sl); flex-shrink: 0;
  background: var(--bg1);
  border-right: 1px solid var(--border);
  position: sticky; top: var(--hh);
  height: calc(100vh - var(--hh));
  overflow-y: auto; scrollbar-width: none;
  padding: 8px 0;
}
.sidebar-left::-webkit-scrollbar { display: none; }

.sl-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 16px;
  color: var(--t2); font-size: 13px; font-weight: 500;
  border-left: 2px solid transparent;
  transition: color .15s, background .15s, border-color .15s;
}
.sl-link i { width: 16px; text-align: center; font-size: 14px; flex-shrink: 0; }
.sl-link:hover { color: var(--t1); background: rgba(255,255,255,.04); }
.sl-link.active {
  color: var(--gold); background: rgba(244,200,66,.07);
  border-left-color: var(--gold);
}

.sl-heading {
  padding: 14px 16px 5px;
  font-size: 10px; font-weight: 700; letter-spacing: 1.2px;
  color: var(--t4); text-transform: uppercase;
}

.league-link {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  color: var(--t2); font-size: 12px;
  transition: color .15s, background .15s;
}
.league-link:hover { color: var(--t1); background: rgba(255,255,255,.04); }

.l-icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: var(--t3); flex-shrink: 0;
}
.league-link .fa-chevron-right { margin-left: auto; font-size: 9px; color: var(--t4); }


/* ══════════════════════════════════════════
   MAIN CONTENT
══════════════════════════════════════════ */
.main {
  flex: 1; min-width: 0;
  padding: 14px 14px 40px;
}


/* ── SLIDER ── */
.slider {
  border-radius: var(--r16);
  background: linear-gradient(120deg, #082518 0%, #0f3d26 30%, #0a2e46 70%, #071e34 100%);
  padding: 36px 30px 36px 36px;
  margin-bottom: 18px;
  position: relative; overflow: hidden;
  min-height: 190px;
  display: flex; align-items: center;
}
/* decorative dots pattern */
.slider::before {
  content:'';position:absolute;inset:0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
/* glow */
.slider::after {
  content:'';position:absolute;top:-60px;right:80px;
  width:320px;height:320px;border-radius:50%;
  background: radial-gradient(circle, rgba(39,201,106,.12) 0%, transparent 70%);
  pointer-events:none;
}

.slider-inner { position:relative;z-index:1; }

.slider-tag {
  display: inline-block;
  background: rgba(244,200,66,.15);
  color: var(--gold);
  border: 1px solid rgba(244,200,66,.3);
  border-radius: 20px;
  padding: 3px 12px; font-size: 11px; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase;
  margin-bottom: 10px;
}

.slider-title {
  font-size: clamp(22px, 3.5vw, 40px);
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .5px;
  line-height: 1.05;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
  margin-bottom: 8px;
}

.slider-sub {
  font-size: 14px; color: rgba(255,255,255,.65);
  margin-bottom: 22px;
}

.btn-play {
  background: var(--gold); color: #0b0e14;
  border-radius: var(--r8); padding: 10px 28px;
  font-size: 14px; font-weight: 800;
  letter-spacing: .3px;
  transition: background .15s, transform .1s, box-shadow .15s;
  box-shadow: 0 4px 20px rgba(244,200,66,.35);
}
.btn-play:hover {
  background: var(--gold2); transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(244,200,66,.45);
}


/* ── CATEGORIES ── */
.cats {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 20px;
}
.cat-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r12);
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  font-size: 12px; font-weight: 600; color: var(--t2);
  cursor: pointer; transition: border-color .15s, color .15s, transform .15s;
  white-space: nowrap;
}
.cat-item:hover { border-color: var(--border2); color: var(--t1); transform: translateY(-2px); }

.cat-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.cat-icon.ci-bonus  { background: linear-gradient(135deg,#ff6b35,#ff3a6e); }
.cat-icon.ci-slots  { background: linear-gradient(135deg,#6c3ce3,#9b50e5); }
.cat-icon.ci-sultan { background: linear-gradient(135deg,#0ea5e9,#2563eb); }
.cat-icon.ci-sport  { background: linear-gradient(135deg,#22c55e,#16a34a); }
.cat-icon.ci-fast   { background: linear-gradient(135deg,#f59e0b,#ef4444); }
.cat-icon.ci-tg     { background: linear-gradient(135deg,#38bdf8,#0284c7); }
.cat-icon.ci-live   { background: linear-gradient(135deg,#ec4899,#a855f7); }
.cat-icon.ci-vip    { background: linear-gradient(135deg,#fbbf24,#b45309); }


/* ── SECTION HEADER ── */
.sec-hdr {
  display: flex; align-items: center; justify-content: space-between;
  margin: 22px 0 12px;
}
.sec-title {
  font-size: 16px; font-weight: 700; color: var(--t1);
  display: flex; align-items: center; gap: 8px;
}
.sec-title .dot { width:8px;height:8px;border-radius:50%;background:var(--red);box-shadow:0 0 6px var(--red); }
.sec-more {
  font-size: 12px; color: var(--t3);
  display: flex; align-items: center; gap: 4px;
  transition: color .15s;
}
.sec-more:hover { color: var(--gold); }
.sec-more i { font-size: 10px; }


/* ── GAMES GRID ── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 4px;
}

.game-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r12);
  overflow: hidden;
  cursor: pointer;
  transition: transform .18s, border-color .18s, box-shadow .18s;
  position: relative;
}
.game-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(244,200,66,.3);
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
}
.game-card:hover .gc-overlay { opacity: 1; }

.gc-img {
  width: 100%; aspect-ratio: 3/4;
  background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.gc-img img { width:100%; height:100%; object-fit:cover; }

/* placeholder gradient when no image */
.gc-img .ph {
  width:100%; height:100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  font-size: 10px; color: var(--t3); font-weight: 600;
}
.gc-img .ph i { font-size: 24px; color: var(--t4); }

.gc-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s;
}
.gc-overlay button {
  background: var(--gold); color: #0b0e14;
  border-radius: var(--r8); padding: 7px 16px;
  font-size: 12px; font-weight: 700;
}

.gc-name {
  padding: 6px 8px;
  font-size: 11px; font-weight: 500; color: var(--t2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: var(--bg2);
}


/* ── WINNERS ── */
.winners-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 4px;
}

.winner-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r12);
  display: flex; align-items: center; gap: 12px;
  padding: 12px;
  flex: 0 0 calc(50% - 5px);
  cursor: pointer;
  transition: border-color .15s;
}
.winner-card:hover { border-color: var(--border2); }

.wc-img {
  width: 50px; height: 50px; border-radius: var(--r8);
  background: var(--bg3); flex-shrink: 0;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.wc-img img { width:100%;height:100%;object-fit:cover; }
.wc-img i { font-size: 20px; color: var(--t4); }

.wc-info { flex:1; min-width:0; }
.wc-game { font-size: 12px; font-weight: 600; color: var(--t1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wc-id   { font-size: 11px; color: var(--t3); margin: 2px 0; }
.wc-sum  { font-size: 15px; font-weight: 700; color: var(--gold); }


/* ── PROVIDERS ── */
.providers-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 4px;
}

.prov-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r12);
  padding: 10px 4px 8px;
  text-align: center; cursor: pointer;
  transition: border-color .15s, transform .15s;
}
.prov-card:hover { border-color: var(--border2); transform: translateY(-2px); }

.prov-img {
  width: 42px; height: 42px; margin: 0 auto 6px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg3); border-radius: var(--r8);
}
.prov-img img { width:100%;height:100%;object-fit:contain;border-radius:var(--r8); }
.prov-img i { font-size: 18px; color: var(--t4); }

.prov-name { font-size: 9px; font-weight: 600; color: var(--t2); line-height: 1.3; }


/* ── ABOUT ── */
.about-block {
  margin-top: 28px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r16);
  padding: 24px;
}
.about-block h1 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.about-block p { font-size: 13px; color: var(--t2); line-height: 1.7; }


/* ══════════════════════════════════════════
   RIGHT SIDEBAR — COUPON
══════════════════════════════════════════ */
.sidebar-right {
  width: var(--sr); flex-shrink: 0;
  background: var(--bg1);
  border-left: 1px solid var(--border);
  position: sticky; top: var(--hh);
  height: calc(100vh - var(--hh));
  overflow-y: auto;
}

.coupon-hdr {
  padding: 14px 16px;
  font-size: 14px; font-weight: 700; color: var(--t1);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.coupon-hdr i { color: var(--t3); }

.coupon-empty {
  padding: 50px 20px;
  text-align: center;
}
.coupon-empty-icon { font-size: 42px; color: var(--t4); margin-bottom: 14px; }
.coupon-empty-title { font-size: 13px; font-weight: 600; color: var(--t2); margin-bottom: 8px; }
.coupon-empty-sub { font-size: 11px; color: var(--t3); line-height: 1.7; }


/* ══════════════════════════════════════════
   MOBILE BOTTOM NAV
══════════════════════════════════════════ */
.mob-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  height: var(--mb);
  background: var(--bg1);
  border-top: 1px solid var(--border);
  align-items: stretch;
  overflow-x: auto; scrollbar-width: none;
}
.mob-nav::-webkit-scrollbar { display: none; }

.mob-nav a {
  flex: 1; min-width: 52px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  color: var(--t3); font-size: 10px; font-weight: 600;
  border-top: 2px solid transparent;
  padding: 6px 4px;
  transition: color .15s;
}
.mob-nav a i { font-size: 18px; }
.mob-nav a.active { color: var(--gold); border-top-color: var(--gold); }
.mob-nav a:hover { color: var(--t1); }


/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1200px) {
  :root { --sr: 0px; }
  .sidebar-right { display: none; }
  .games-grid { grid-template-columns: repeat(5, 1fr); }
  .providers-grid { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 991px) {
  :root { --sl: 0px; }
  .sidebar-left { display: none; }
  .h-nav { display: none; }
  .mob-nav { display: flex; }
  body { padding-bottom: var(--mb); }
  .main { padding: 12px 12px 20px; }
  .games-grid { grid-template-columns: repeat(4, 1fr); }
  .providers-grid { grid-template-columns: repeat(5, 1fr); }
  .winner-card { flex: 0 0 calc(50% - 5px); }
}

@media (max-width: 700px) {
  .btn-login { display: none; }
  .h-lang    { display: none; }
  .games-grid { grid-template-columns: repeat(3, 1fr); }
  .providers-grid { grid-template-columns: repeat(4, 1fr); }
  .cats { gap: 6px; }
  .cat-item { padding: 7px 10px; font-size: 11px; }
  .slider { padding: 24px 18px; min-height: 160px; }
  .slider-title { font-size: 22px; }
  .winner-card { flex: 0 0 100%; }
}

@media (max-width: 480px) {
  :root { --hh: 50px; }
  .logo-text span { display: none; }
  .games-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .providers-grid { grid-template-columns: repeat(3, 1fr); }
  .btn-reg { padding: 6px 12px; font-size: 12px; }
  .slider { padding: 20px 14px; border-radius: var(--r12); }
  .slider-title { font-size: 18px; }
  .slider-sub { font-size: 12px; margin-bottom: 16px; }
  .btn-play { padding: 9px 20px; font-size: 13px; }
  .sec-title { font-size: 14px; }
}


/* ══════════════════════════════════════════
   TYPOGRAPHY — TEXT FORMATTING
══════════════════════════════════════════ */

/* ── Wrapper ──────────────────────────────
   Обгортайте текстовий контент в .content
   щоб стилі не ламали інтерфейс
──────────────────────────────────────────── */
.content {
  color: var(--t1);
  font-size: 15px;
  line-height: 1.75;
  max-width: 780px;
}

/* ── Headings ─────────────────────────── */
.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
  font-family: 'Exo 2', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--t1);
  margin-top: 2em;
  margin-bottom: .6em;
}
.content h1 { font-size: 2rem;   letter-spacing: -.5px; }
.content h2 { font-size: 1.6rem; letter-spacing: -.3px; }
.content h3 { font-size: 1.3rem; }
.content h4 { font-size: 1.1rem; }
.content h5 { font-size: 1rem;   font-weight: 700; }
.content h6 { font-size: .9rem;  font-weight: 700; color: var(--t2); text-transform: uppercase; letter-spacing: .8px; }

/* первый heading без верхнего отступа */
.content > h1:first-child,
.content > h2:first-child,
.content > h3:first-child { margin-top: 0; }

/* золота лінія під h2 */
.content h2 {
  padding-bottom: .4em;
  border-bottom: 2px solid var(--border);
  position: relative;
}
.content h2::after {
  content: '';
  position: absolute; bottom: -2px; left: 0;
  width: 48px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* ── Paragraph ─────────────────────────── */
.content p {
  margin-bottom: 1.1em;
  color: var(--t2);
}
.content p:last-child { margin-bottom: 0; }

/* ── Links ─────────────────────────────── */
.content a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(244,200,66,.35);
  text-underline-offset: 3px;
  transition: color .15s, text-decoration-color .15s;
}
.content a:hover {
  color: #fff;
  text-decoration-color: rgba(255,255,255,.4);
}

/* ── Bold / Italic / Mark ──────────────── */
.content strong, .content b { font-weight: 700; color: var(--t1); }
.content em, .content i     { font-style: italic; color: var(--t1); }
.content mark {
  background: rgba(244,200,66,.22);
  color: var(--gold);
  border-radius: 3px;
  padding: 1px 5px;
}
.content del, .content s { color: var(--t3); text-decoration: line-through; }
.content ins              { color: var(--green); text-decoration: underline; }
.content small            { font-size: .8em; color: var(--t3); }
.content sub, .content sup { font-size: .75em; line-height: 0; position: relative; vertical-align: baseline; }
.content sup { top: -.5em; }
.content sub { bottom: -.25em; }
.content abbr[title] {
  border-bottom: 1px dotted var(--t3);
  cursor: help;
  text-decoration: none;
}

/* ── Lists ─────────────────────────────── */
.content ul,
.content ol {
  margin: 0 0 1.1em 1.4em;
  padding: 0;
  color: var(--t2);
}
.content ul { list-style: none; margin-left: 0; }
.content ul li {
  padding-left: 1.4em;
  position: relative;
  margin-bottom: .4em;
}
.content ul li::before {
  content: '';
  position: absolute; left: 0; top: .6em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
}
.content ol { list-style: decimal; }
.content ol li { margin-bottom: .4em; padding-left: .3em; }
.content li::marker { color: var(--gold); }

/* вкладені списки */
.content ul ul,
.content ol ol,
.content ul ol,
.content ol ul { margin-top: .4em; margin-bottom: .4em; }
.content ul ul li::before { background: var(--t3); width: 4px; height: 4px; top: .7em; }

/* Definition list */
.content dl { margin-bottom: 1.1em; }
.content dt { font-weight: 700; color: var(--t1); margin-top: .8em; }
.content dd { margin-left: 1.4em; color: var(--t2); }

/* ── Blockquote ────────────────────────── */
.content blockquote {
  margin: 1.4em 0;
  padding: 14px 20px;
  border-left: 3px solid var(--gold);
  background: rgba(244,200,66,.05);
  border-radius: 0 var(--r8) var(--r8) 0;
  color: var(--t2);
  font-style: italic;
}
.content blockquote p { margin-bottom: 0; color: inherit; }
.content blockquote cite {
  display: block;
  margin-top: .6em;
  font-size: .85em;
  font-style: normal;
  color: var(--t3);
}
.content blockquote cite::before { content: '— '; }

/* ── Code ──────────────────────────────── */
.content code {
  font-family: 'Courier New', Courier, monospace;
  font-size: .85em;
  background: var(--bg3);
  color: var(--gold);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  white-space: nowrap;
}
.content pre {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r12);
  padding: 18px 20px;
  overflow-x: auto;
  margin: 0 0 1.2em;
  font-size: .85em;
  line-height: 1.7;
}
.content pre code {
  background: none;
  border: none;
  padding: 0;
  color: #a8d8a0;
  white-space: pre;
  font-size: 1em;
}

/* ── Keyboard ──────────────────────────── */
.content kbd {
  display: inline-block;
  font-family: 'Courier New', monospace;
  font-size: .8em;
  background: var(--bg3);
  color: var(--t1);
  border: 1px solid var(--border2);
  border-bottom-width: 3px;
  border-radius: 4px;
  padding: 1px 7px;
}

/* ── Horizontal Rule ───────────────────── */
.content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2em 0;
  position: relative;
}
.content hr::after {
  content: '◆';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg0);
  padding: 0 10px;
  color: var(--t4);
  font-size: 10px;
}

/* ── Table ─────────────────────────────── */
.content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.4em;
  font-size: 14px;
}
.content thead tr {
  background: var(--bg3);
  border-bottom: 2px solid var(--border2);
}
.content th {
  padding: 10px 14px;
  font-weight: 700;
  color: var(--t1);
  text-align: left;
  white-space: nowrap;
}
.content th:first-child { border-radius: var(--r8) 0 0 0; }
.content th:last-child  { border-radius: 0 var(--r8) 0 0; }
.content td {
  padding: 10px 14px;
  color: var(--t2);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.content tbody tr:hover td { background: rgba(255,255,255,.03); color: var(--t1); }
.content tbody tr:last-child td { border-bottom: none; }

/* ── Figure / Image ────────────────────── */
.content figure {
  margin: 1.4em 0;
  border-radius: var(--r12);
  overflow: hidden;
}
.content figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r12);
}
.content figcaption {
  margin-top: 8px;
  font-size: .82em;
  color: var(--t3);
  text-align: center;
  font-style: italic;
}

/* ── Details / Summary ─────────────────── */
.content details {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r12);
  margin-bottom: .8em;
  overflow: hidden;
}
.content summary {
  padding: 12px 16px;
  font-weight: 600;
  color: var(--t1);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .15s;
}
.content summary:hover { background: rgba(255,255,255,.04); }
.content summary::after {
  content: '›';
  font-size: 18px; color: var(--t3);
  transition: transform .2s;
}
.content details[open] summary::after { transform: rotate(90deg); }
.content details[open] summary { border-bottom: 1px solid var(--border); }
.content details > *:not(summary) { padding: 14px 16px; color: var(--t2); }

/* ── Utility text classes ──────────────── */
.text-gold    { color: var(--gold) !important; }
.text-green   { color: var(--green) !important; }
.text-red     { color: var(--red) !important; }
.text-muted   { color: var(--t3) !important; }
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-upper   { text-transform: uppercase; letter-spacing: .8px; }
.text-bold    { font-weight: 700; }
.text-sm      { font-size: .85em; }
.text-lg      { font-size: 1.15em; }
.text-nowrap  { white-space: nowrap; }

/* ── Lead paragraph ────────────────────── */
.content .lead {
  font-size: 1.15em;
  color: var(--t1);
  font-weight: 400;
  line-height: 1.65;
  margin-bottom: 1.2em;
}

/* ── Badge / Tag ───────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  line-height: 1.5;
}
.badge-gold  { background: rgba(244,200,66,.15); color: var(--gold);  border: 1px solid rgba(244,200,66,.3); }
.badge-green { background: rgba(39,201,106,.15); color: var(--green); border: 1px solid rgba(39,201,106,.3); }
.badge-red   { background: rgba(232,64,64,.15);  color: var(--red);   border: 1px solid rgba(232,64,64,.3);  }
.badge-blue  { background: rgba(59,130,246,.15); color: var(--blue);  border: 1px solid rgba(59,130,246,.3); }
.badge-grey  { background: var(--bg3);           color: var(--t2);    border: 1px solid var(--border);        }