/**
 * review.css
 *
 * Casino review single page — score card, author bar, changelog,
 * tabs, pros/cons, bonuses, calculator, games, safety, decisions,
 * quick verdict, bottom CTA, related reading.
 *
 * @package BeatTheFish
 * @since   2.1.0
 */

/* ── Score Card (hero sidebar) ────────────────────────────────── */

.score-card {
  width: 100%;
  border-radius: 16px;
  overflow-y: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.card-top {
  background: var(--felt2);
  padding: 28px 26px 26px;
  position: relative;
  overflow-y: hidden;
  border-radius: 16px 16px 0 0;
}

/* felt texture ::before in base.css */

.card-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
}

.card-score-row { display: flex; align-items: baseline; }

.card-score-num {
  font-family: 'Instrument Serif', serif;
  font-size: 3rem;
  font-weight: 400;
  color: var(--on-dark);
  line-height: 1;
}

.card-score-denom {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.3);
  margin-left: 4px;
}

.card-verdict-row { margin-top: 8px; }
.card-verdict-text { font-size: 0.92rem; color: rgba(244, 239, 230, 0.7); }

.card-pips { display: flex; gap: 4px; margin-top: 8px; }
.pip       { width: 24px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.15); }
.pip-full  { background: rgba(74, 222, 128, 0.7); }
.pip-half  { background: rgba(74, 222, 128, 0.3); }
.pip-empty { background: rgba(255, 255, 255, 0.15); }

.card-body {
  padding: 18px 20px 20px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sub-row {
  display: grid;
  grid-template-columns: 68px 1fr 30px;
  align-items: center;
  gap: 10px;
}

.sub-name { font-size: 0.8rem; font-weight: 500; color: var(--ink3); }

.sub-track {
  height: 5px;
  background: rgba(28, 24, 20, 0.1);
  border-radius: 100px;
  overflow-y: hidden;
}

.sub-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 0.8s cubic-bezier(.4, 0, .2, 1);
}

.sub-fill.fill-strong { background: var(--felt3); }
.sub-fill.fill-mid    { background: var(--amber); }
.sub-fill.fill-weak   { background: var(--red); opacity: 0.7; }

.sub-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  font-weight: 700;
}

.sub-val.val-strong { color: var(--felt); }
.sub-val.val-mid    { color: var(--amber); }
.sub-val.val-weak   { color: var(--red); }

.card-cta-wrap {
  padding: 0 20px 20px;
  background: var(--bg);
}

.card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--felt);
  color: var(--on-dark);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 13px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}

.card-cta:hover { background: var(--felt2); color: var(--on-dark); transform: translateY(-1px); }

.card-disclaimer {
  font-size: 0.68rem;
  color: var(--ink4);
  text-align: center;
  margin-top: 8px;
  line-height: 1.4;
}

.card-top > .card-watermark {
  font-family: 'Instrument Serif', serif;
  font-size: 11rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  right: -18px;
  bottom: -28px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Author bar and meta dates are in base.css; changelog drawer in changelog.css */

/* ── Score Bars (full-page section) ───────────────────────────── */

#scores .grid-2 { margin-bottom: 28px; }

.score-bars {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.score-bar-row {
  display: grid;
  grid-template-columns: 120px 1fr 36px;
  align-items: center;
  gap: 10px;
}

.score-bar-name { font-size: 0.92rem; color: var(--ink2); font-weight: 500; }
.score-weight { font-size: 0.7rem; color: var(--ink4); font-weight: 400; margin-left: 4px; }

.score-bar-track {
  height: 10px;
  background: var(--bg3);
  border-radius: 100px;
  overflow-y: hidden;
}

.score-bar-fill {
  height: 100%;
  border-radius: 100px;
  background: var(--felt3);
  transition: width 0.8s cubic-bezier(.4, 0, .2, 1);
}

.score-bar-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

/* ── Quick Verdict ────────────────────────────────────────────── */

.quick-verdict {
  background: var(--felt);
  border: none;
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
  overflow-y: hidden;
}

.quick-verdict::before {
  content: '"';
  font-family: 'Instrument Serif', serif;
  font-size: 12rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.04);
  position: absolute;
  top: -40px;
  left: 16px;
  line-height: 1;
  pointer-events: none;
}

/* ::after felt texture is in base.css */

.qv-tag, h2.qv-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(154, 123, 60, 0.9);
  margin: 0 0 12px;
  line-height: 1.2;
}

.qv-text {
  font-family: 'Instrument Serif', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--on-dark);
  line-height: 1.35;
  font-style: italic;
}

.qv-text em { font-style: italic; color: rgba(184, 151, 63, 0.9); }
.qv-signed  { font-size: 0.82rem; color: rgba(255, 255, 255, 0.4); margin-top: 12px; }

.verdict-label, h2.verdict-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(154, 123, 60, 0.9);
  margin: 0 0 20px;
  line-height: 1.2;
}

/* ── Tabs ─────────────────────────────────────────────────────── */

.tabs {
  border-bottom: 2px solid var(--rule);
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar { display: none; }

.tab-btn {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink4);
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 18px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}

.tab-btn:hover { color: var(--ink2); }

.tab-btn.active,
.tab-btn[aria-selected="true"] {
  color: var(--felt);
  border-bottom-color: var(--felt);
  font-weight: 600;
}

.tab-panel { display: none; padding-top: 24px; }
.tab-panel.active,
.tab-panel[hidden="false"] { display: block; }

/* ── Pros & Cons ──────────────────────────────────────────────── */

.pros-cons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.pros-box,
.cons-box {
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(139, 45, 45, 0.2);
  background: rgba(139, 45, 45, 0.03);
}

.pros-box {
  border: 1px solid rgba(27, 58, 45, 0.2);
  background: rgba(27, 58, 45, 0.03);
}

.pc-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pc-label-good { color: var(--felt); }
.pc-label-bad  { color: var(--red); }

.pc-list { display: flex; flex-direction: column; gap: 10px; }

.pc-list li {
  font-size: 0.9rem;
  color: var(--ink3);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.pc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

.dot-green { background: var(--felt3); }
.dot-red   { background: var(--red); }

/* ── Bonus Section ────────────────────────────────────────────── */

.bonus-hero {
  border-radius: var(--radius);
  border: 1px solid var(--rule);
}

.bonus-top {
  background: linear-gradient(135deg, var(--felt) 0%, var(--felt2) 60%, var(--felt-grad) 100%);
  padding: 28px 24px;
  color: var(--on-dark);
  position: relative;
  z-index: 2;
  border-radius: var(--radius) var(--radius) 0 0;
}

.bonus-top:last-child { border-radius: var(--radius); }

/* felt texture ::before in base.css */

.bonus-header-row {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  flex-wrap: wrap;
  gap: 12px;
  z-index: 10; /* Above stats row so popover escapes */
}

@media (min-width: 600px) {
  .bonus-header-row { justify-content: space-between; }
}

.bonus-amount-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}

.bonus-amount {
  font-family: 'Instrument Serif', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--on-dark);
  line-height: 1.2;
}

.bonus-cta-wrap {
  width: 100%;
  text-align: left;
}

.bonus-legal { margin-top: 10px; }
@media (min-width: 600px) {
  .bonus-cta-wrap { width: auto; text-align: right; margin-left: auto; }
  .bonus-legal { white-space: nowrap; }
}

.bonus-stats-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.bonus-term-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--on-dark-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.bonus-stat-value { font-size: 0.92rem; font-weight: 600; color: var(--on-dark); }
.bonus-stat-label { font-size: 0.78rem; color: var(--ink4); margin-bottom: 6px; }

.bonus-body { padding: 24px; background: var(--surface); border-radius: 0 0 var(--radius) var(--radius); }

.bonus-type-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--felt);
  margin-bottom: 4px;
}

.bonus-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

@media (min-width: 600px) {
  .bonus-cards[data-count="2"] { grid-template-columns: 1fr 1fr; }
  .bonus-cards[data-count="3"] { grid-template-columns: 1fr 1fr 1fr; }
  .bonus-cards[data-count="4"],
  .bonus-cards[data-count="5"],
  .bonus-cards[data-count="6"] { grid-template-columns: 1fr 1fr 1fr; }
}

.bonus-show-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 16px auto 0;
  padding: 9px 24px;
  background: var(--card-bg, #fff);
  border: 1px solid var(--felt-border, #2c5a3f);
  border-radius: 8px;
  color: var(--felt, #1a3a2a);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.bonus-show-more:hover {
  background: var(--felt-bg, #eaf5ef);
  border-color: var(--felt, #1a3a2a);
}
.bonus-show-more svg { transition: transform 0.15s; }
.bonus-show-more:hover svg { transform: translateY(1px); }
/* Center the button below the grid */
#bonus .wrap { text-align: left; }
.bonus-show-more { display: flex; width: fit-content; margin-left: auto; margin-right: auto; }

.bonus-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.bonus-card-name   { font-size: 0.85rem; color: var(--ink4); margin-bottom: 8px; }
.bonus-card-amount { font-family: 'Instrument Serif', serif; font-size: 1.3rem; color: var(--felt); margin-bottom: 12px; line-height: 1.2; }

.bonus-card-row { display: flex; justify-content: space-between; margin-bottom: 6px; }
.bonus-card-row-label { font-size: 0.85rem; color: var(--ink4); }
.bonus-card-row-value { font-family: 'JetBrains Mono', monospace; font-size: 0.82rem; color: var(--ink2); font-weight: 500; }

.bonus-take {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: auto;
  padding-top: 12px;
  text-align: center;
}

.bonus-take.good { background: var(--felt-bg); color: var(--felt); }
.bonus-take.warn { background: var(--amber-bg); color: var(--amber); }

.bonus-claim-btn {
  display: block;
  text-align: center;
  padding: 10px 16px;
  margin-top: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--felt);
  border: 1px solid var(--felt);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.bonus-claim-btn:hover { background: var(--felt); color: var(--bg); }

/* ── Bonus Cards (new modular layout) ─────────────────────────── */

.bc {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.bc.bc--hidden { display: none !important; }

/* Header: badge + info icon */
.bc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bc-badges {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.bc-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--felt-bg);
  color: var(--felt);
}
.bc-badge--limited {
  background: #FFF3E0;
  color: #BF5600;
}

/* Title */
.bc-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

/* Hero number box */
.bc-hero-box {}
.bc-hero-val {
  font-family: 'Instrument Serif', serif;
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.bc-hero-val--sm {
  font-family: 'Instrument Serif', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.25;
}
.bc-hero-lbl {
  font-size: 0.78rem;
  color: var(--ink4);
  margin-top: 4px;
}


/* Promo code box */
.bc-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
  border: 1px dashed var(--rule);
  border-radius: 10px;
  padding: 11px 14px;
}
.bc-promo--none {
  justify-content: center;
  border-style: solid;
  border-color: transparent;
  background: var(--bg2);
  color: var(--ink4);
  opacity: 0.7;
  min-height: 67px;
  cursor: not-allowed;
}
.bc-promo-eye {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink4);
}
.bc-promo-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.05em;
  margin-top: 2px;
}
.bc-copy-btn {
  font-family: 'DM Sans', 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--felt);
  background: transparent;
  border: 1px solid var(--felt3);
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
  transition: background 0.15s;
}
.bc-copy-btn:hover { background: var(--felt-bg); }

/* "Copied!" toast popover */
.copy-toast {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--felt, #1a3a2a);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  animation: toastFade 1.5s ease forwards;
  z-index: 10;
}
.copy-toast::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--felt, #1a3a2a);
}
@keyframes toastFade {
  0%, 70% { opacity: 1; }
  100% { opacity: 0; }
}

/* Clickable code in hero stats */
.bonus-code-copy {
  cursor: pointer;
  border-bottom: 1px dashed rgba(255,255,255,0.4);
  transition: border-color 0.15s;
}
.bonus-code-copy:hover {
  border-color: rgba(255,255,255,0.8);
}

/* Stat grid */
.bc-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.bc-stat {
  background: var(--bg);
  border-radius: 10px;
  padding: 12px 14px;
}
.bc-stat-val {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
}
.bc-stat-lbl {
  font-size: 0.7rem;
  color: var(--ink4);
  margin-top: 3px;
}

/* Min deposit row */
.bc-dep-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
  border-radius: 10px;
  padding: 12px 16px;
}
.bc-dep-lbl { font-size: 0.78rem; color: var(--ink4); }
.bc-dep-val { font-size: 0.95rem; font-weight: 700; color: var(--ink); }

/* Terms divider + inline terms */
.bc-terms-divider {
  height: 1px;
  background: var(--rule);
}
.bc-terms {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.bc-term {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--ink3);
  line-height: 1.5;
}
.bc-term-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--felt3);
  flex-shrink: 0;
  margin-top: 5px;
}

/* Inline key terms (shown when all structured fields are empty) */
.bc-key-terms {
  list-style: none;
  margin: 0;
  padding: 12px 16px;
  background: var(--section-bg, #f5f2ed);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bc-key-terms li {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink3);
  padding-left: 14px;
  position: relative;
}
.bc-key-terms li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--felt3, #3d7a54);
}

/* CTA button */
.bc-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--felt);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 14px;
  border-radius: 10px;
  text-decoration: none;
  margin-top: auto;
  transition: background 0.15s;
}
.bc-cta:hover { background: var(--felt2); color: #fff; }

/* ── Key Terms Popover ─────────────────────────────────────────── */

/* Wrapper — positions popover. Inline-block in hero title, inline-flex in card header.
   Must be a <div> (not <span>) because the popover inside contains <ul>, which is not phrasing content. */
.kt-wrap { position: relative; z-index: 50; display: inline-block; margin-left: 4px; vertical-align: middle; }
.kt-wrap--card { display: inline-flex; margin-left: 0; }

/* Info icon trigger */
.kt-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
  background: transparent;
  vertical-align: middle;
}

.kt-trigger svg { display: block; }
.kt-trigger:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }

/* Hero variant — light icon on dark bg */
.kt-trigger--hero { color: rgba(255,255,255,0.45); }
.kt-trigger--hero:hover { color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.08); }
.kt-trigger--hero[aria-expanded="true"] { color: var(--brass); background: rgba(255,255,255,0.1); }

/* Card variant — muted icon on light bg */
.kt-trigger--card { color: var(--ink4); }
.kt-trigger--card:hover { color: var(--felt); background: var(--bg2); }
.kt-trigger--card[aria-expanded="true"] { color: var(--felt); background: var(--felt-bg); }

/* Popover panel */
.kt-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 320px;
  max-width: calc(100vw - 40px);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.08);
  animation: kt-fade-in 0.15s ease-out;
  z-index: 500;
  pointer-events: auto;
}

@keyframes kt-fade-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero popover — dark card */
.kt-popover--hero {
  background: var(--felt2);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--on-dark);
}

/* Card popover — light card */
.kt-popover--card {
  background: var(--surface);
  border: 1px solid var(--rule);
  color: var(--ink);
}

/* Popover header */
.kt-popover-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(128,128,128,0.15);
}

.kt-popover-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.kt-popover--hero .kt-popover-title { color: var(--on-dark-dim); }
.kt-popover--card .kt-popover-title { color: var(--ink4); }

/* Close button — mobile only (desktop uses hover dismiss) */
.kt-close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: transparent;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: background 0.12s;
}
@media (hover: none), (max-width: 599px) {
  .kt-close { display: flex; }
}

.kt-popover--hero .kt-close { color: rgba(255,255,255,0.5); }
.kt-popover--hero .kt-close:hover { color: #fff; background: rgba(255,255,255,0.1); }
.kt-popover--card .kt-close { color: var(--ink4); }
.kt-popover--card .kt-close:hover { color: var(--ink); background: var(--bg2); }

/* Popover list */
.kt-popover-list {
  list-style: none;
  margin: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.kt-popover-list li {
  font-size: 0.8rem;
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}

.kt-popover-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.kt-popover--hero .kt-popover-list li { color: rgba(255,255,255,0.85); }
.kt-popover--hero .kt-popover-list li::before { background: var(--brass); }
.kt-popover--card .kt-popover-list li { color: var(--ink3); }
.kt-popover--card .kt-popover-list li::before { background: var(--felt3); }

/* Mobile: popover goes full-width */
@media (max-width: 599px) {
  .kt-popover { width: calc(100vw - 40px); left: auto; right: -10px; }
}

/* ── Calculator ───────────────────────────────────────────────── */

.calc-body { padding: 24px 32px; }
.calc-title { font-size: 0.92rem; font-weight: 600; color: var(--ink2); margin-bottom: 16px; }

.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.calc-input-wrap { display: flex; align-items: center; }

.calc-prefix {
  background: var(--bg2);
  border: 1px solid var(--rule);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.92rem;
  color: var(--ink4);
  font-weight: 600;
}

.calc-input {
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: 'Outfit', sans-serif;
  color: var(--ink);
  background: var(--surface);
}

.calc-input:focus { outline: none; border-color: var(--felt); }

.calc-output {
  background: var(--bg2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--felt);
}

.calc-result {
  background: var(--felt-bg);
  border: 1px solid rgba(27, 58, 45, 0.12);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.calc-result-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--felt);
}

.calc-disclaimer { margin-top: 12px; font-size: 0.72rem; color: var(--ink4); line-height: 1.7; }

/* ── Game Cards (tabs) ────────────────────────────────────────── */

.game-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.game-card {
  padding: 20px;
}

.game-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.game-name { font-size: 1.05rem; font-weight: 700; color: var(--ink); }

.game-verdict {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
}

.game-verdict.ok, .game-verdict.excellent, .game-verdict.strong { background: var(--felt-bg); color: var(--felt); }
.game-verdict.bad, .game-verdict.weak, .game-verdict.limited    { background: var(--red-bg); color: var(--red); }
.game-verdict.mid, .game-verdict.decent                         { background: var(--bg2); color: var(--ink4); }

.game-body { font-size: 0.9rem; color: var(--ink3); line-height: 1.6; }
.game-card .game-body + .game-body { margin-top: 0; }

.game-card .game-body-data {
  font-size: 0.82rem;
  color: var(--ink3);
  line-height: 1.7;
  margin-top: 8px;
}

.game-card .game-body-data strong { font-weight: 600; color: var(--ink2); }

.section-recommendation {
  margin-top: 20px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--brass-bg);
  border: 1px solid rgba(154, 123, 60, 0.1);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink2);
  line-height: 1.6;
}

/* ── Decision Grid ────────────────────────────────────────────── */

.decision-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.decision-card {
  padding: 24px;
}

.decision-card.recommended { border: 2px solid var(--felt); }
.decision-card.alternative { opacity: 0.85; }

.decision-scenario {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.decision-scenario.win  { color: var(--felt); }
.decision-scenario.lose { color: var(--ink4); }

.decision-title { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.decision-body  { font-size: 0.9rem; color: var(--ink3); line-height: 1.6; margin-bottom: 10px; }

.decision-pick { font-size: 0.85rem; font-weight: 600; }
.decision-pick.ignition { color: var(--felt); }
.decision-pick.other    { color: var(--ink4); }

.decision-pick a { color: var(--felt); font-weight: 600; text-decoration: none; }
.decision-pick a:hover { text-decoration: underline; }

p.decision-note     { font-size: 0.85rem; color: var(--ink4); margin-top: 16px; }
.decision-note-link { color: var(--felt); font-weight: 600; }

/* ── Safety Grid ──────────────────────────────────────────────── */

.safety-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.safety-card {
  padding: 24px;
}

.safety-icon  { font-size: 1.5rem; margin-bottom: 10px; }
.safety-title { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.safety-body  { font-size: 0.88rem; color: var(--ink3); line-height: 1.6; }

.safety-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--felt);
  margin-top: 10px;
}

.safety-info-card .methodology-link { margin-bottom: 0; }

/* ── Review Method Grid ───────────────────────────────────────── */

.review-method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.method-card {
  padding: 20px;
}

.method-icon { font-size: 1.5rem; margin-bottom: 8px; }
.method-title { font-size: 0.92rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.method-desc { font-size: 0.82rem; color: var(--ink4); line-height: 1.5; }

/* ── Responsible Gambling ─────────────────────────────────────── */

.rg-tools {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 16px 0;
}

.rg-tool {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
}

.rg-tool-icon { font-size: 1.2rem; flex-shrink: 0; }
.rg-tool-name { font-size: 0.9rem; font-weight: 600; color: var(--ink2); }
.rg-tool-desc { font-size: 0.8rem; color: var(--ink4); }

.rg-helplines {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}

.rg-helpline {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--felt);
  padding: 8px 14px;
  background: var(--felt-bg);
  border-radius: var(--radius-sm);
  text-decoration: none;
}

/* ── Bottom CTA & Related ─────────────────────────────────────── */

/* review-meta-text, review-body-text, methodology-link are in base.css */

.cta-inner  { text-align: center; max-width: 600px; }
.cta-heading { font-family: 'Instrument Serif', serif; font-size: 1.8rem; color: var(--ink); margin-bottom: 10px; }
.cta-text   { color: var(--ink3); margin-bottom: 24px; font-size: 1.05rem; line-height: 1.6; }

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--felt);
  color: var(--on-dark);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 700;
  transition: all 0.2s;
  text-decoration: none;
}

.cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(27, 58, 45, 0.2);
  color: var(--on-dark);
}

.bottom-text {
  font-family: 'Instrument Serif', serif;
  font-size: 1.4rem;
  line-height: 1.45;
  color: var(--on-dark);
  max-width: 700px;
  margin-bottom: 32px;
}

/* ── T&C Changelog ─────────────────────────────────────────────── */

.tc-cl-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tc-cl-card { padding: 16px 20px; }
.tc-cl-hidden { display: none; }

.tc-cl-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.tc-cl-card-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tc-cl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tc-sev-high { background: var(--red, #8B2D2D); }
.tc-sev-med  { background: var(--brass, #92700A); }
.tc-sev-low  { background: var(--felt, #1B3A2D); }

.tc-cl-card-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}

.tc-cl-card-label {
  font-size: 0.8rem;
  color: var(--ink3);
}

.tc-cl-card-tcdate {
  font-size: 0.7rem;
  color: var(--ink4);
  font-family: 'JetBrains Mono', monospace;
}

.tc-cl-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tc-cl-li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.tc-cl-sev {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 3px;
}

.tc-cl-sev.tc-sev-high { background: #FFEBEE; color: #8B2D2D; }
.tc-cl-sev.tc-sev-med  { background: #FFF8E1; color: #92700A; }
.tc-cl-sev.tc-sev-low  { background: #E8F5E9; color: #1B3A2D; }

.tc-cl-cat {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink3);
  background: var(--bg);
  padding: 2px 7px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 3px;
}

.tc-cl-desc { color: var(--ink2); }

.tc-cl-summary {
  font-size: 0.85rem;
  color: var(--ink2);
  line-height: 1.6;
  margin: 0;
}

.tc-cl-toggle {
  display: block;
  margin: 16px auto 0;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  color: var(--ink3);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

.tc-cl-toggle:hover {
  background: var(--bg);
  color: var(--ink);
}

/* ── Responsive ───────────────────────────────────────────────── */

@media (min-width: 600px) {
  .calc-grid          { grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
  .game-card-grid     { grid-template-columns: 1fr 1fr; }
  .safety-grid        { grid-template-columns: 1fr 1fr; }
  .review-method-grid { grid-template-columns: 1fr 1fr; }
  .rg-tools           { grid-template-columns: 1fr 1fr; }
  .pros-cons          { grid-template-columns: 1fr 1fr; }
  .score-bar-row      { grid-template-columns: 160px 1fr 44px; }
}

@media (min-width: 768px) {
  .quick-verdict { padding: 32px 36px; }
  .qv-text       { font-size: 1.8rem; }
  .pros-cons     { gap: 20px; }
  .bottom-text   { font-size: 1.6rem; }
}

@media (min-width: 900px) {
  .score-bar-row      { gap: 14px; }
  .game-card-grid     { grid-template-columns: repeat(3, 1fr); }
  .decision-grid      { grid-template-columns: 1fr 1fr; }
  .safety-grid        { grid-template-columns: repeat(3, 1fr); }
  .review-method-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Comparison Table ──────────────────────────────────────────── */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius, 12px);
  overflow: hidden;
  font-size: 0.88rem;
}
.comparison-table thead {
  background: var(--felt);
}
.comparison-table th {
  padding: 12px 16px;
  text-align: left;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  border: none;
}
.comparison-table td {
  padding: 12px 16px;
  color: var(--ink3);
  border: none;
  border-top: 1px solid var(--rule);
}
.comparison-table tbody tr:nth-child(odd) { background: var(--surface); }
.comparison-table tbody tr:nth-child(even) { background: #fff; }
.comparison-table td strong { color: var(--ink); }
.comparison-table td a { color: var(--felt); font-weight: 600; text-decoration: none; }
.comparison-table td a:hover { text-decoration: underline; }

/* Highlighted current casino row */
.comparison-current {
  background: var(--felt-bg, #eaf5ef) !important;
  border-left: 3px solid var(--felt);
}
.comparison-current td { color: var(--ink); font-weight: 500; }
.comparison-current td:first-child { font-weight: 700; color: var(--felt); }

/* Scrollable wrapper for mobile */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0;
  border-radius: var(--radius, 12px);
}

/* Footer note */
.section-note {
  font-size: 0.82rem;
  color: var(--ink4);
  margin-top: 12px;
}
.section-note a { color: var(--felt); font-weight: 600; text-decoration: none; }
.section-note a:hover { text-decoration: underline; }
