/* =====================================================
   CasinoUZ.space — Main Stylesheet
   Mobile-first responsive design
   ===================================================== */

/* =====================================================
   CSS VARIABLES
   ===================================================== */
:root {
  --blue:      #1a73e8;
  --grn:       #27ae60;
  --red:       #e74c3c;
  --yel:       #f5a623;
  --acc:       #f5a623;
  --hdr:       #1a1a2e;
  --txt:       #333;
  --txt2:      #666;
  --brd:       #e2e8f0;
  --br:        12px;
  --br2:       8px;
  --card:      #fff;
  --shadow:    0 2px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 6px 28px rgba(0,0,0,.14);
}

/* =====================================================
   BASE RESET
   ===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--txt);
  background: #f4f6fb;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  min-width: 0;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
table { border-collapse: collapse; width: 100%; }
h1, h2, h3, h4, h5 { line-height: 1.25; }

/* =====================================================
   CONTAINER
   ===================================================== */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 14px;
}

/* =====================================================
   HEADER
   ===================================================== */
header {
  background: var(--hdr);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
}

/* Notice bar — shown only on desktop */
.hdr-notice {
  display: none;
  background: rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 6px 0;
  font-size: 12px;
  color: rgba(255,255,255,.72);
}
.hn-links { display: flex; gap: 16px; }
.hn-links a { color: rgba(255,255,255,.6); font-size: 12px; transition: color .2s; }
.hn-links a:hover { color: #fff; }

/* Header main row */
.hdr-main {
  display: flex;
  align-items: center;
  padding: 0 14px;
  min-height: 54px;
}
.logo { flex-shrink: 0; display: flex; align-items: center; }
.logo img { height: 30px; width: auto; }

/* Burger */
.burger {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  font-size: 20px;
  padding: 5px 10px;
  border-radius: 6px;
  margin-left: auto;
  line-height: 1;
  cursor: pointer;
  transition: background .2s;
  flex-shrink: 0;
}
.burger:hover { background: rgba(255,255,255,.12); }

/* Mobile nav overlay */
#main-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,16,40,.97);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 200;
  padding: 60px 20px 30px;
  overflow-y: auto;
}
#main-nav.open { display: flex; }
#nav-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: 22px;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
}
.nl {
  color: rgba(255,255,255,.85);
  padding: 11px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  transition: background .18s, color .18s;
  display: block;
  text-align: center;
  width: 260px;
}
.nl:hover { background: rgba(255,255,255,.12); color: #fff; }
.nl.active { background: var(--blue); color: #fff; }

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  position: relative;
  overflow: hidden;
  padding: 36px 0 32px;
  color: #fff;
}
.hero-bg {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  opacity: .05;
  pointer-events: none;
}
.hero-wrap {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero-wrap h1 {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #fff;
}
.hero-wrap h1 em { color: var(--yel); font-style: normal; }
.hero-sub {
  font-size: 14px;
  color: rgba(255,255,255,.8);
  max-width: 680px;
  margin: 0 auto 20px;
  line-height: 1.65;
}
.hero-stats {
  display: flex;
  gap: 7px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hs {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  padding: 9px 11px;
  min-width: 74px;
  text-align: center;
}
.hs strong {
  display: block;
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 2px;
  line-height: 1.1;
}
.hs span {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,.62);
  line-height: 1.3;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
}
.pill {
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.9);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
}
.pill b { color: var(--grn); margin-right: 3px; }
.pill-red { background: rgba(231,76,60,.15); border-color: rgba(231,76,60,.4); }

/* =====================================================
   FILTER BAR
   ===================================================== */
.filter-bar {
  background: #fff;
  border-bottom: 1px solid var(--brd);
  padding: 8px 0;
  position: sticky;
  top: 54px;
  z-index: 90;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
}
.fb-inner {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-wrap: wrap;
}
.fb-lbl {
  font-size: 12px;
  color: var(--txt2);
  font-weight: 600;
  white-space: nowrap;
}
.fb-btn {
  background: #f0f2f8;
  border: 1px solid #dde2ed;
  color: var(--txt);
  padding: 4px 10px;
  border-radius: 18px;
  font-size: 11.5px;
  font-weight: 500;
  transition: all .18s;
  white-space: nowrap;
  cursor: pointer;
}
.fb-btn:hover { background: #e2e8f7; border-color: #c0cadf; }
.fb-btn.on { background: var(--hdr); border-color: var(--hdr); color: #fff; }

/* =====================================================
   BREADCRUMB
   ===================================================== */
.bc {
  display: flex;
  flex-wrap: wrap;
  padding: 10px 0;
  font-size: 12px;
  color: var(--txt2);
}
.bc a { color: var(--blue); }
.bc a::after { content: ' › '; margin: 0 4px; color: var(--txt2); }

/* =====================================================
   MAIN LAYOUT
   ===================================================== */
.layout {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 12px 0 28px;
}
.main-col { width: 100%; min-width: 0; }

/* =====================================================
   SECTIONS
   ===================================================== */
.sec {
  background: var(--card);
  border: 1px solid var(--brd);
  border-radius: var(--br);
  padding: 16px 14px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.sec h2 {
  font-size: 17px;
  font-weight: 800;
  color: var(--hdr);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--acc);
}
.sec h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--hdr);
  margin: 14px 0 7px;
}
.sec p {
  font-size: 13.5px;
  color: var(--txt);
  line-height: 1.7;
  margin-bottom: 10px;
}
.sec ul {
  padding-left: 18px;
  list-style: disc;
}
.sec ul li {
  font-size: 13px;
  color: var(--txt);
  margin-bottom: 4px;
  line-height: 1.6;
}

/* =====================================================
   AUTHOR BOX
   ===================================================== */
.author-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--brd);
  border-radius: var(--br);
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  flex-wrap: wrap;
}
.author-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}
.author-box > div { flex: 1; min-width: 150px; }
.ai-name { font-size: 14px; font-weight: 800; color: var(--hdr); }
.ai-role { font-size: 11.5px; color: var(--blue); font-weight: 600; margin: 2px 0 4px; }
.ai-bio { font-size: 12.5px; color: var(--txt2); line-height: 1.55; }
.ab-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  font-size: 11.5px;
  color: var(--txt2);
  flex: 0 0 auto;
  min-width: auto;
}
.rev-badge {
  background: var(--grn);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

/* =====================================================
   CASINO CARDS — Mobile (grid 2-column header)
   =====================================================
   HTML structure:
     .cc > .rib (absolute)
     .cc > .rnum
     .cc > .clogo
     .cc > .cbody
     .cc > .crat
     .cc > .cact
   ===================================================== */
.casino-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.cc {
  background: var(--card);
  border: 1px solid var(--brd);
  border-radius: var(--br);
  padding: 12px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: box-shadow .22s, transform .22s;

  /* Grid: rank | logo on row 1, rest span full width */
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto;
  column-gap: 10px;
  row-gap: 9px;
  align-items: start;
}
.cc:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.cc.top3 {
  border: 2px solid var(--acc);
  background: linear-gradient(to bottom, #fffdf0, #fff);
}

/* Ribbon — absolute, doesn't consume grid space */
.rib {
  position: absolute;
  top: 13px;
  right: -24px;
  padding: 4px 32px;
  font-size: 10px;
  font-weight: 700;
  transform: rotate(30deg);
  white-space: nowrap;
  letter-spacing: .3px;
  z-index: 2;
}
.rib-gold { background: var(--acc); color: #fff; }
.rib-new  { background: var(--blue); color: #fff; }

/* Rank — grid col 1, row 1 */
.rnum {
  grid-column: 1;
  grid-row: 1;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eee;
  color: var(--txt2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  align-self: center;
  justify-self: center;
  flex-shrink: 0;
}
.r1 { background: #ffd700; color: #6b4f00; }
.r2 { background: #c0c0c0; color: #3a3a3a; }
.r3 { background: #cd7f32; color: #fff; }

/* Logo — grid col 2, row 1 */
.clogo {
  grid-column: 2;
  grid-row: 1;
  width: 86px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.clogo img {
  max-width: 82px;
  max-height: 38px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Body — spans full width */
.cbody {
  grid-column: 1 / -1;
  min-width: 0;
}
.cname {
  font-size: 15px;
  font-weight: 800;
  color: var(--hdr);
  margin-bottom: 2px;
}
.cbonus {
  font-size: 12.5px;
  color: var(--grn);
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.4;
}
.ctags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 6px;
}
.tag {
  background: #eef2ff;
  color: #3a5fcf;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 600;
  border: 1px solid #d4dcf8;
}
.cpay {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-wrap: wrap;
}
.cpay img { height: 18px; width: auto; max-width: 40px; object-fit: contain; }

/* Rating — spans full width, inline row */
.crat {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rscore {
  font-size: 22px;
  font-weight: 900;
  color: var(--grn);
  line-height: 1;
  flex-shrink: 0;
}
.rmax { font-size: 11px; color: var(--txt2); flex-shrink: 0; }
.stars { display: flex; gap: 1px; align-items: center; flex-shrink: 0; }
.stars img { width: 12px; height: 12px; }
.rverdict {
  font-size: 10px;
  font-weight: 700;
  color: var(--acc);
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-left: auto;
  text-align: right;
}

/* Actions — spans full width, stacked column */
.cact {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.btn-play {
  background: var(--grn);
  color: #fff;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: background .2s;
  display: block;
  width: 100%;
}
.btn-play:hover { background: #1e9650; }
.btn-rev {
  color: var(--blue);
  font-size: 12.5px;
  text-align: center;
  padding: 8px;
  border: 1px solid #c8d8f8;
  border-radius: 6px;
  transition: all .18s;
  display: block;
  width: 100%;
}
.btn-rev:hover { background: #eef3ff; border-color: var(--blue); }

/* =====================================================
   PROS / CONS GRID
   ===================================================== */
.pc {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 12px 0;
}
.pros, .cons {
  background: #f9fafb;
  border: 1px solid var(--brd);
  border-radius: var(--br2);
  padding: 13px 15px;
}
.pros { border-left: 3px solid var(--grn); }
.cons { border-left: 3px solid var(--red); }
.pros h4, .cons h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--hdr);
}
.pros ul, .cons ul { padding-left: 16px; list-style: disc; }
.pros ul li, .cons ul li {
  font-size: 13px;
  color: var(--txt);
  margin-bottom: 4px;
  line-height: 1.5;
}

/* =====================================================
   INFO BOXES
   ===================================================== */
.ibox {
  background: #f9fafb;
  border: 1px solid var(--brd);
  border-left: 4px solid var(--brd);
  border-radius: var(--br2);
  padding: 13px 15px;
  font-size: 13.5px;
  line-height: 1.65;
}
.ibox strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--hdr);
  margin-bottom: 7px;
}
.ibox ul { padding-left: 16px; list-style: disc; }
.ibox ul li { margin-bottom: 4px; line-height: 1.5; font-size: 13px; }
.ibox.grn, .ibox.green {
  background: #f0fff6;
  border-color: #a8d8b6;
  border-left-color: var(--grn);
}
.ibox.red {
  background: #fff5f5;
  border-color: #f5b3b3;
  border-left-color: var(--red);
}
.ibox.blu, .ibox.blue {
  background: #f0f5ff;
  border-color: #b3c8f8;
  border-left-color: var(--blue);
}

/* =====================================================
   TABLE
   ===================================================== */
.tbl {
  overflow-x: auto;
  border-radius: var(--br2);
  margin: 12px 0;
  -webkit-overflow-scrolling: touch;
}
.tbl table { font-size: 12.5px; min-width: 420px; }
.tbl th {
  background: var(--hdr);
  color: #fff;
  padding: 9px 12px;
  text-align: left;
  font-weight: 700;
  white-space: nowrap;
}
.tbl th:first-child { border-radius: var(--br2) 0 0 0; }
.tbl th:last-child  { border-radius: 0 var(--br2) 0 0; }
.tbl td {
  padding: 8px 12px;
  border-bottom: 1px solid #f2f4f8;
  color: var(--txt);
  line-height: 1.45;
}
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover td { background: #fafbff; }
.td-b { font-weight: 700; color: var(--hdr); }
.td-g { color: var(--grn); font-weight: 600; }
.td-r { color: var(--red); font-weight: 600; }

/* =====================================================
   NOTICE BOXES
   ===================================================== */
.notice {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-left: 4px solid var(--acc);
  border-radius: var(--br2);
  padding: 11px 13px;
  font-size: 13px;
  line-height: 1.65;
  margin: 10px 0;
  color: #555;
}
.notice.notice-grn, .notice-grn {
  background: #f0fff6;
  border-color: #a8d8b6;
  border-left-color: var(--grn);
}
.notice.notice-red, .notice-red {
  background: #fff5f5;
  border-color: #f5b3b3;
  border-left-color: var(--red);
}

/* =====================================================
   GRID HELPERS
   ===================================================== */
.g2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 10px 0;
}
.g3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 10px 0;
}

/* =====================================================
   TOP PICKS GRID
   ===================================================== */
.tp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 10px 0;
}
.tp {
  background: #f8faff;
  border: 1px solid var(--brd);
  border-radius: var(--br2);
  padding: 11px;
}
.tp strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--hdr);
  margin-bottom: 3px;
}
.tp-cn { font-size: 13.5px; font-weight: 800; color: var(--blue); margin-bottom: 2px; }
.tp-val { font-size: 11px; color: var(--txt2); }

/* =====================================================
   CRITERIA ITEMS
   ===================================================== */
.crit-item {
  background: #f9fafb;
  border: 1px solid var(--brd);
  border-radius: var(--br2);
  padding: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
}
.crit-icon { font-size: 20px; }
.crit-item strong { font-size: 12px; font-weight: 700; color: var(--hdr); }
.crit-item span { font-size: 11px; color: var(--txt2); }

/* =====================================================
   STEPS
   ===================================================== */
.steps { display: flex; flex-direction: column; gap: 7px; margin: 10px 0; }
.step {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  background: #f9fafb;
  border: 1px solid var(--brd);
  border-radius: var(--br2);
  padding: 11px 13px;
}
.snum {
  width: 26px;
  height: 26px;
  background: var(--hdr);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.sbody { flex: 1; min-width: 0; }
.sbody strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--hdr);
  margin-bottom: 2px;
}
.sbody p { font-size: 12.5px; color: var(--txt2); line-height: 1.6; margin: 0; }

/* =====================================================
   FAQ
   ===================================================== */
.faq-list, .faq-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 10px 0;
}
.faq-item {
  background: #f9fafb;
  border: 1px solid var(--brd);
  border-radius: var(--br2);
  overflow: hidden;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 13px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hdr);
  cursor: pointer;
  gap: 10px;
  user-select: none;
  line-height: 1.4;
}
.faq-q:hover { background: #f0f2f8; }
.faq-icon {
  font-size: 18px;
  font-weight: 300;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform .28s;
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 10px 13px 12px;
  font-size: 13px;
  color: var(--txt);
  line-height: 1.7;
  border-top: 1px solid #f0f0f0;
}
.faq-item.open .faq-a { display: block; }

/* =====================================================
   INTERNAL LINK GRID
   ===================================================== */
.int-link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.int-link-card {
  display: block;
  background: #fff;
  border: 1px solid var(--brd);
  border-radius: var(--br2);
  padding: 12px;
  transition: all .2s;
}
.int-link-card:hover {
  border-color: var(--blue);
  box-shadow: 0 2px 14px rgba(26,115,232,.12);
  transform: translateY(-2px);
}
.ilc-icon { font-size: 20px; margin-bottom: 4px; }
.ilc-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--hdr);
  margin-bottom: 3px;
  line-height: 1.3;
}
.ilc-desc { font-size: 11px; color: var(--txt2); line-height: 1.4; }

/* =====================================================
   SIDEBAR
   ===================================================== */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 14px;
}
.sw {
  background: var(--card);
  border: 1px solid var(--brd);
  border-radius: var(--br);
  padding: 14px;
  box-shadow: var(--shadow);
}
.sw h3 {
  font-size: 13px;
  font-weight: 800;
  color: var(--hdr);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--brd);
}
.sw-row {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #f4f4f8;
}
.sw-row:last-of-type { border-bottom: none; }
.sw-logo { width: 34px; height: 22px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sw-logo img { max-width: 32px; max-height: 20px; object-fit: contain; }
.sw-cn { font-size: 12px; font-weight: 700; color: var(--hdr); }
.sw-bon { font-size: 11px; color: var(--txt2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100px; }
.sw-go {
  margin-left: auto;
  background: var(--grn);
  color: #fff;
  padding: 4px 9px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  transition: background .18s;
}
.sw-go:hover { background: #1e9650; }
.sw-link {
  display: block;
  text-align: center;
  padding: 7px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  margin-top: 8px;
  transition: all .18s;
}
.sw-link.grn { background: var(--grn); color: #fff; }
.sw-link.grn:hover { background: #1e9650; }
.sw-link.out { border: 1px solid var(--brd); color: var(--txt2); }
.sw-link.out:hover { border-color: var(--blue); color: var(--blue); background: #eef3ff; }
.pay-logos { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.pay-logos img { height: 22px; width: auto; max-width: 42px; object-fit: contain; }
.tip {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 6px;
  padding: 8px 11px;
  font-size: 12px;
  color: #555;
  margin-bottom: 8px;
  line-height: 1.5;
}

/* =====================================================
   PROMO CODES (bonuses page)
   ===================================================== */
.promo-code {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #f9fafb;
  border: 1px dashed #c0c0c0;
  border-radius: 6px;
  padding: 7px 11px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.pc-lbl { font-size: 11px; color: #888; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.pc-val {
  font-size: 13px;
  font-weight: 800;
  color: var(--hdr);
  letter-spacing: 1px;
  font-family: monospace;
  background: #fff;
  border: 1px solid var(--brd);
  padding: 3px 9px;
  border-radius: 4px;
}
.pc-copy {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 5px 11px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.pc-copy:hover { background: #1558b0; }

/* =====================================================
   BONUS DETAIL SECTIONS (bonuses page)
   ===================================================== */
.bonus-detail {
  background: var(--card);
  border: 1px solid var(--brd);
  border-radius: var(--br);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.bonus-detail h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--hdr);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--acc);
}
.bd-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 10px 0;
}
.bd-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid #f0f2f8;
  font-size: 13px;
  gap: 8px;
}
.bd-row:last-child { border-bottom: none; }
.bd-lbl { color: var(--txt2); font-weight: 500; }
.bd-val { font-weight: 700; color: var(--hdr); text-align: right; }
.bd-val.g { color: var(--grn); }
.bd-val.r { color: var(--red); }

/* =====================================================
   BONUS TYPES GRID
   ===================================================== */
.bonus-types-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 10px 0;
}
.bt-card {
  background: #f9fafb;
  border: 1px solid var(--brd);
  border-radius: var(--br2);
  padding: 12px;
  text-align: center;
}
.bt-icon { font-size: 22px; margin-bottom: 5px; }
.bt-name { font-size: 12px; font-weight: 700; color: var(--hdr); margin-bottom: 3px; }
.bt-desc { font-size: 11px; color: var(--txt2); line-height: 1.4; }

/* =====================================================
   WAGER PROGRESS BARS
   ===================================================== */
.wager-viz { margin: 14px 0; }
.wager-bar { margin-bottom: 9px; }
.wb-label { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 600; margin-bottom: 4px; }
.wb-track { background: #f0f2f8; border-radius: 4px; height: 9px; overflow: hidden; }
.wb-fill { height: 100%; border-radius: 4px; transition: width .6s; }

/* =====================================================
   PAGE-SPECIFIC GRIDS
   ===================================================== */
.mech-grid, .doc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 10px 0;
}
.strat-grid, .why-grid, .myth-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin: 10px 0;
}

/* =====================================================
   FOOTER
   ===================================================== */
footer {
  background: var(--hdr);
  color: rgba(255,255,255,.72);
  padding: 32px 0 0;
  margin-top: 28px;
}
.ft-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.ft-brand {
  grid-column: 1 / -1;
}
.ft-brand p {
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(255,255,255,.58);
  margin: 8px 0 12px;
}
.ft-col h4 { color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 9px; }
.ft-col ul li { margin-bottom: 5px; }
.ft-col ul li a { color: rgba(255,255,255,.58); font-size: 12.5px; transition: color .18s; }
.ft-col ul li a:hover { color: #fff; }
.age18 {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 800;
}
.ft-disc {
  font-size: 11.5px;
  color: rgba(255,255,255,.42);
  line-height: 1.7;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.ft-disc a { color: rgba(255,255,255,.62); text-decoration: underline; }
.ft-hr { border: none; border-top: 1px solid rgba(255,255,255,.08); }
.ft-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  font-size: 11.5px;
  color: rgba(255,255,255,.38);
  text-align: center;
}
.ft-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.ft-links a { color: rgba(255,255,255,.48); font-size: 11.5px; transition: color .18s; }
.ft-links a:hover { color: #fff; }

/* =====================================================
   TABLET (≥ 600px)
   ===================================================== */
@media (min-width: 600px) {
  .container { padding: 0 20px; }

  .g2 { grid-template-columns: 1fr 1fr; }

  .pc { grid-template-columns: 1fr 1fr; }
  .bd-grid { grid-template-columns: 1fr 1fr; }

  .ft-brand { grid-column: auto; }
  .ft-grid { grid-template-columns: 2fr 1fr 1fr; }
  .ft-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* =====================================================
   DESKTOP (≥ 1024px)
   ===================================================== */
@media (min-width: 1024px) {

  /* Header */
  .hdr-notice { display: block; }
  .hdr-main { padding: 10px 20px; min-height: 62px; }
  .logo img { height: 36px; }
  .filter-bar { top: 95px; }

  /* Nav — inline row */
  .burger { display: none; }
  #main-nav {
    display: flex !important;
    position: static;
    background: none;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 2px;
    padding: 0;
    overflow: visible;
    inset: auto;
    margin-left: auto;
  }
  #nav-close { display: none; }
  .nl {
    font-size: 13.5px;
    padding: 7px 11px;
    width: auto;
    text-align: left;
  }

  /* Hero */
  .hero { padding: 56px 0 48px; }
  .hero-bg { width: 440px; opacity: .07; }
  .hero-wrap h1 { font-size: clamp(28px, 3.5vw, 44px); }
  .hero-sub { font-size: 16px; }
  .hs { padding: 13px 18px; }
  .hs strong { font-size: 20px; }
  .hs span { font-size: 11px; }
  .pill { font-size: 12.5px; padding: 5px 12px; }

  /* 2-column layout */
  .layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    column-gap: 22px;
    align-items: start;
    padding: 20px 0 40px;
  }
  .main-col { min-width: 0; }
  .sidebar {
    position: sticky;
    top: 122px;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
  }

  /* Sections */
  .sec { padding: 24px 26px; }
  .sec h2 { font-size: 21px; }
  .sec h3 { font-size: 15.5px; }
  .author-box { padding: 16px 20px; }
  .ab-meta { align-items: flex-end; }

  /* CASINO CARDS — desktop horizontal 5-column grid */
  .cc {
    grid-template-columns: 38px 96px 1fr auto auto;
    grid-template-rows: auto;
    column-gap: 14px;
    row-gap: 0;
    padding: 18px 20px;
    align-items: center;
    overflow: hidden;
  }

  .rnum {
    grid-column: 1;
    grid-row: 1;
    width: 34px;
    height: 34px;
    font-size: 14px;
    justify-self: center;
  }
  .clogo {
    grid-column: 2;
    grid-row: 1;
    width: 96px;
    height: 50px;
    justify-content: center;
  }
  .clogo img { max-width: 90px; max-height: 46px; }

  .cbody {
    grid-column: 3;
    grid-row: 1;
  }
  .cname { font-size: 17px; }

  .crat {
    grid-column: 4;
    grid-row: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2px;
    min-width: 68px;
  }
  .rscore { font-size: 26px; }
  .rverdict { margin-left: 0; text-align: center; }

  .cact {
    grid-column: 5;
    grid-row: 1;
    flex-direction: column;
    gap: 7px;
    flex-shrink: 0;
    min-width: 130px;
    align-self: center;
  }
  .btn-play { font-size: 13.5px; padding: 10px 14px; width: auto; display: block; }
  .btn-rev  { font-size: 12px; padding: 7px 10px; width: auto; display: block; }

  /* Grids */
  .g3 { grid-template-columns: repeat(3, 1fr); }
  .tp-grid { grid-template-columns: repeat(3, 1fr); }
  .int-link-grid { grid-template-columns: repeat(3, 1fr); }
  .bonus-types-grid { grid-template-columns: repeat(3, 1fr); }
  .mech-grid { grid-template-columns: repeat(3, 1fr); }
  .doc-grid  { grid-template-columns: repeat(3, 1fr); }
  .strat-grid { grid-template-columns: 1fr 1fr; }
  .why-grid  { grid-template-columns: 1fr 1fr; }
  .myth-grid { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .ft-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
  .ft-brand { grid-column: auto; }
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Casino cards staggered entrance */
.cc {
  animation: fadeInUp .42s ease both;
}
.casino-list .cc:nth-child(1) { animation-delay: .04s; }
.casino-list .cc:nth-child(2) { animation-delay: .10s; }
.casino-list .cc:nth-child(3) { animation-delay: .16s; }
.casino-list .cc:nth-child(4) { animation-delay: .22s; }
.casino-list .cc:nth-child(5) { animation-delay: .28s; }
.casino-list .cc:nth-child(6) { animation-delay: .34s; }
.casino-list .cc:nth-child(7) { animation-delay: .40s; }
.casino-list .cc:nth-child(8) { animation-delay: .46s; }

/* Sections fade in */
.sec, .author-box, .bonus-detail {
  animation: fadeIn .5s ease both;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cc, .sec, .author-box, .bonus-detail {
    animation: none;
  }
}

/* =====================================================
   BACK TO TOP BUTTON
   ===================================================== */
#btt {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--hdr);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0,0,0,.28);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .28s, transform .28s, background .2s;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
#btt.visible {
  opacity: 1;
  transform: translateY(0);
}
#btt:hover { background: var(--blue); }

/* =====================================================
   COUNTDOWN TIMER (bonus urgency)
   ===================================================== */
.bonus-countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(231,76,60,.1);
  border: 1px solid rgba(231,76,60,.25);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 12px;
  color: var(--red);
  font-weight: 700;
  margin-top: 6px;
}
.bonus-countdown .cd-time {
  font-family: monospace;
  font-size: 13px;
  letter-spacing: .5px;
  color: var(--red);
}

/* =====================================================
   DARK THEME
   ===================================================== */
@media (prefers-color-scheme: dark) {
  :root {
    --txt:       #e2e8f0;
    --txt2:      #94a3b8;
    --brd:       #2d3748;
    --card:      #1e2433;
    --hdr:       #c8d6f0;
    --shadow:    0 2px 12px rgba(0,0,0,.3);
    --shadow-lg: 0 6px 28px rgba(0,0,0,.5);
  }
  body { background: #131720; }

  /* Переопределяем --hdr только там, где он используется как фон (не текст) */
  header                { background: #1a1a2e; }
  .fb-btn.on            { background: #1a1a2e; border-color: #1a1a2e; }
  .snum                 { background: #1a1a2e; }
  .tbl th               { background: #0f1629; }
  footer                { background: #1a1a2e; }
  #btt                  { background: #1a1a2e; }

  /* Карточки и контейнеры */
  .filter-bar           { background: #1e2433; border-color: #2d3748; }
  .sec, .author-box, .sw, .bonus-detail, .int-link-card { background: #1e2433; border-color: #2d3748; }
  .cc                   { background: #1e2433; border-color: #2d3748; }
  .cc.top3              { background: linear-gradient(to bottom, #26201a, #1e2433); }
  .faq-item, .step, .pros, .cons, .ibox, .tp, .crit-item, .bt-card { background: #252d3d; border-color: #2d3748; }
  .int-link-card        { background: #1e2433; }
  .int-link-card:hover  { background: #252d3d; }

  /* Теги */
  .tag { background: #1a2540; border-color: #2a3a5c; color: #7ca3f0; }

  /* Таблица */
  .tbl td               { border-color: #2d3748; color: #e2e8f0; }
  .tbl tr:hover td      { background: #252d3d; }

  /* Notice / ibox цвета текста */
  .notice               { background: #2a2210; border-color: #4a3a10; color: #c8a44a; }
  .notice-grn           { background: #122010; border-color: #1e4020; color: #6abf7b; }
  .notice-red           { background: #2a1010; border-color: #4a2010; color: #f08080; }
  .ibox                 { color: #b0bac8; }
  .ibox.grn, .ibox.green { background: #0e2018; border-color: #1e4030; }
  .ibox.red             { background: #2a1010; border-color: #4a2010; }
  .ibox.blu, .ibox.blue { background: #0e1830; border-color: #1e3060; }

  /* Filter bar */
  .fb-btn               { background: #252d3d; border-color: #2d3748; color: #e2e8f0; }
  .fb-lbl               { color: #94a3b8; }

  /* FAQ */
  .faq-q:hover          { background: #2d3748; }
  .faq-a                { border-top-color: #2d3748; }

  /* Sidebar */
  .sw-row               { border-bottom-color: #2d3748; }

  /* Wager bar */
  .wb-track             { background: #2d3748; }

  /* Promo code */
  .promo-code           { background: #252d3d; border-color: #3d3d3d; }
  .pc-val               { background: #1e2433; border-color: #2d3748; color: #e2e8f0; }
  .pc-lbl               { color: #94a3b8; }

  /* Tip */
  .tip                  { background: #2a2210; border-color: #4a3a10; color: #c8a44a; }

  /* Breadcrumb */
  .bc                   { color: #94a3b8; }

  /* BD rows */
  .bd-row               { border-bottom-color: #2d3748; }
}

/* =====================================================
   AFFILIATE EXTENSIONS — не изменять блоки выше
   ===================================================== */

/* Exclusive / Verified badges */
.badge-excl {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}
.badge-verified {
  display: inline-block;
  background: var(--grn);
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 4px;
  vertical-align: middle;
}

/* Claim CTA box — между секциями обзора/гайда */
.claim-box {
  background: linear-gradient(135deg, #f0fff6 0%, #e8f5ff 100%);
  border: 1px solid #a8d8b6;
  border-left: 4px solid var(--grn);
  border-radius: var(--br2);
  padding: 14px 16px;
  margin: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.claim-box strong { font-size: 13px; font-weight: 800; color: var(--hdr); }
.claim-box span   { font-size: 12px; color: var(--txt2); line-height: 1.5; }
.claim-box a.btn-play { align-self: flex-start; padding: 10px 22px; font-size: 13.5px; }
@media (min-width: 600px) {
  .claim-box            { flex-direction: row; align-items: center; justify-content: space-between; }
  .claim-box .claim-text{ flex: 1; }
  .claim-box a.btn-play { flex-shrink: 0; }
}

/* Sticky bottom offer widget */
.sticky-offer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--hdr);
  color: #fff;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 85;
  box-shadow: 0 -3px 18px rgba(0,0,0,.28);
  transform: translateY(100%);
  transition: transform .38s ease;
  flex-wrap: wrap;
}
.sticky-offer.visible    { transform: translateY(0); }
.sticky-offer .so-text   { font-size: 12px; font-weight: 600; line-height: 1.4; flex: 1; min-width: 160px; }
.sticky-offer .so-text em{ color: var(--yel); font-style: normal; }
.sticky-offer .btn-play  { padding: 9px 20px; font-size: 13px; flex-shrink: 0; }

/* Trust badges row */
.trust-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.tbadge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f0fff6;
  border: 1px solid #a8d8b6;
  color: #1e7a3c;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 5px;
}
.tbadge-icon { font-size: 13px; }

/* How-to-claim steps */
.claim-steps { display: flex; flex-direction: column; gap: 7px; margin: 12px 0; }
.claim-step {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  background: #f0fff6;
  border: 1px solid #a8d8b6;
  border-radius: var(--br2);
  padding: 11px 13px;
}
.claim-step .snum { background: var(--grn); flex-shrink: 0; }
.claim-step .sbody strong { color: var(--hdr); }

/* Wager info row */
.wager-row {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: var(--br2);
  padding: 9px 13px;
  font-size: 12.5px;
  font-weight: 600;
  color: #5a4500;
  margin: 8px 0;
}
.wager-row .wr-label { flex: 1; }
.wager-row .wr-val   { font-size: 14px; font-weight: 900; color: var(--red); }

/* Comparison table best-for column */
.td-best { background: #f0fff6; color: var(--grn); font-size: 11px; font-weight: 700; }

/* Dark mode overrides */
@media (prefers-color-scheme: dark) {
  .claim-box          { background: #0e2018; border-color: #1e4030; }
  .claim-box strong   { color: #e2e8f0; }
  .sticky-offer       { background: #0f1629; }
  .tbadge             { background: #0e2018; border-color: #1e4030; color: #6abf7b; }
  .claim-step         { background: #0e2018; border-color: #1e4030; }
  .wager-row          { background: #2a2210; border-color: #4a3a10; color: #c8a44a; }
  .td-best            { background: #0e2018; }
}
