:root{
  --accent: #00c2ff;
  --accent-2: #8b0000;
  --bg: #0a0a0a;
  --panel: #181818;
  --panel-2: #202020;
  --text: #fff;
  --muted: #b0b0b0;
  --border: #2a2a2a;
  --shadow: 0 6px 28px rgba(0,0,0,.5);
  --radius: 16px;
}

*{box-sizing:border-box}
body{
  font-family: Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  line-height: 1.6;
}


.cr-hero{padding:36px 0;border-bottom:1px solid var(--border);background:linear-gradient(145deg,#121212,#151515 60%,#101010)}
.cr-logo{width:96px;height:96px;border-radius:20px;object-fit:contain;background:#111;border:1px solid var(--border)}
.cr-title{font-size:2.2rem;margin:0 0 8px}
.cr-meta{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 12px}
.cr-rating{display:flex;align-items:center;gap:10px}
.stars{--s:20px; display:inline-flex;gap:3px}
.stars i{font-size:var(--s);color:#555}
.stars i.active{color:#ffd65a}
.score{font-weight:700}
.count{color:var(--muted);font-size:.95rem}

.cr-cta{display:flex;gap:10px;margin-top:14px}
.btn{border:none;border-radius:10px;padding:12px 16px;font-weight:700;cursor:pointer}
.btn-primary{background:linear-gradient(135deg,#00c2ff,#0099cc 50%,#006699);color:#fff;box-shadow:0 8px 30px rgba(0,194,255,.25)}
.btn-primary:hover{transform:translateY(-1px)}
.btn-ghost{background:#171717;border:1px solid var(--border);color:#fff}
.btn-mini{background:#171717;border:1px solid var(--border);color:#fff;border-radius:8px;padding:6px 10px;font-size:.9rem}
.btn-full{width:100%;margin-top:10px}

.cr-section{padding:36px 0}
.cr-h2{font-size:1.6rem;margin:0 0 14px}
.card{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}
.card-h{padding:14px 16px;border-bottom:1px solid var(--border);font-weight:800;background:linear-gradient(135deg,#1b1b1b,#171717)}
.card-body{padding:16px}

.cr-grid{display:grid;gap:16px}
.cr-flex{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}
.chips{display:flex;flex-wrap:wrap;gap:8px;padding:14px 16px}
.chip{border:1px solid var(--border);border-radius:999px;padding:6px 10px;background:#141414}
.chip-alt{background:#111;border-color:#333}

.rg-note{margin-top:14px;color:var(--muted);font-size:.95rem}

.faq .faq-item{background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:12px 16px;margin-bottom:10px}
.faq summary{cursor:pointer;font-weight:700}
.faq p{color:var(--muted);margin:8px 0 0}

.muted{color:var(--muted)}
.tiny{font-size:.9rem}


/* Collapsible chip lists */
.chip[data-hidden="true"] { display: none; }

.br-chip-toggle {
  margin: 8px 16px 14px;
  background: #171717;
  border: 1px solid var(--border);
  color: #fff !important;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
}
.br-chip-toggle:hover { filter: brightness(1.08); }

/* Fallback: collapse to 6 chips by default */
.br-chip-list[data-collapsible] .chip:nth-child(n+7) { display: none; }
/* When expanded, show all */
.br-chip-list.is-expanded .chip { display: inline-block; }

/* Collapsible chip lists */
.br-chip-toggle[hidden] { display: none !important; }

/* Default: collapse to 6 chips */
.br-chip-list[data-collapsible] .chip:nth-child(n+7) { display: none; }

/* Expanded: show items 7+ (match specificity with nth-child) */
.br-chip-list.is-expanded .chip:nth-child(n+7) { display: inline-block; }

/* Fix rating row on small screens */
@media (max-width: 480px) {
  .cr-rating {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .cr-rating .score {
    font-size: 1rem;
    margin-left: 0;
  }
  .cr-rating .muted {
    display: block;
    margin-left: 0;
  }
}

/* Longform review spacing */
.cr-longform .card + .card { margin-top: 12px; }
.cr-longform .cr-h2 { margin-top: 8px; }
@media (max-width:720px){
  .cr-longform .cr-h2 { font-size:1.4rem; }
}

.cr-longform {
    line-height: 1.7;
    font-size: 1rem;
    color: #ddd;
}

.cr-longform h3 {
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent);
}

.longform-block {
    margin-bottom: 20px;
}

.longform-block p {
    margin-bottom: 14px;
}

.longform-block ol,
.longform-block ul {
    margin-left: 20px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.review-video iframe {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

/* Internal links inside casino longform reviews */
.cr-longform a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(0, 194, 255, 0.4); /* subtle underline */
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.cr-longform a:hover {
  color: #fff !important; /* white on hover */
  text-decoration-color: var(--accent);
}

/* ================================
   NEW BASE LAYOUT (REQUIRED)
   ================================ */

.cr-main { width: 100%; }

/* This is the page “container” that controls the left vs right column */
.cr-shell{
  max-width: 1440px;              /* wider like AskGamblers */
  margin: 0 auto;
  padding: 0 36px;                 /* more room on the sides */
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;  /* BIGGER sticky box */
  gap: 40px;
  align-items: start;
}

/* Left content column */
.cr-left{ min-width: 0; }

/* Right column sits tight to the right padding */
.cr-right{
  min-width: 0;
  width: 520px;
  justify-self: end;
}

/* Sticky wrapper */
.cr-sticky{
  position: sticky;
  top: 92px; /* adjust if your header is taller */
  align-self: start;
}

.cr-main, .cr-shell, .cr-left, .cr-right { overflow: visible !important; }

html, body {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  position: relative !important;
}

/* Safety: never lock scrolling on desktop review pages */
@media (min-width: 769px) {
  body.mobile-menu-open {
    position: static !important;
    overflow: auto !important;
  }
}

/* ===== Sticky reliability patch (casino reviews) ===== */
html, body {
  overflow-x: hidden;
  overflow-y: auto;
}

/* Sticky breaks if any ancestor has overflow not visible */
.cr-main,
.cr-shell,
.cr-left,
.cr-right {
  overflow: visible !important;
}

/* Sidebar must be allowed to stick in grid */
.cr-right { align-self: start; }

/* Sticky box */
.cr-sticky {
  position: sticky;
  top: 88px; /* gives space under header */
}

/* Ensure the page uses normal document scrolling */
html { overflow-y: auto !important; }
body { overflow: visible !important; }

/* ==============================
   Recommended casinos (bottom)
   ============================== */
.cr-recommended {
  padding: 34px 0 10px;
}

.cr-rec-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 4px;
  color: #111827;
}

.cr-rec-sub {
  margin: 0 0 18px;
  color: #6B7280;
  font-weight: 600;
  font-size: 0.92rem;
}

/* Grid — 3 columns, centered cards */
.cr-rec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* Card — centered, matching homepage strip style */
.cr-rec-card {
  background: #fff;
  border: 1px solid rgba(17,24,39,0.07);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(17,24,39,0.05);
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cr-rec-card:hover {
  transform: translateY(-3px);
  border-color: rgba(10,166,214,0.2);
  box-shadow: 0 8px 24px rgba(17,24,39,0.09);
}

.cr-rec-logo {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(17,24,39,0.08);
  padding: 8px;
}

.cr-rec-name {
  font-weight: 800;
  font-size: 0.95rem;
  margin: 10px 0 0;
  color: #111827;
  line-height: 1.15;
}

.cr-rec-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #111827;
}

.cr-rec-star {
  color: #F59E0B;
  font-size: 0.78rem;
}

.cr-rec-offer {
  margin-top: 8px;
  color: #6B7280;
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.35;
}

.cr-rec-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

/* Claim button — teal, full width */
.cr-rec-claim {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  border: 0;
  background: linear-gradient(135deg,#00c2ff,#0099cc 50%,#006699);
  color: #fff !important;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cr-rec-claim:hover {
  background: #0AA6D6;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10, 166, 214, 0.25);
}

/* Review — text link */
.cr-rec-review {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6B7280;
  text-decoration: none;
  transition: color 0.15s ease;
}

.cr-rec-review:hover {
  color: #0AA6D6;
}

/* Responsive */
@media (max-width: 900px) {
  .cr-rec-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .cr-rec-grid { grid-template-columns: 1fr; }
}

/* Cross-links nav */
.cr-crosslinks{
  margin: 32px 0 48px;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(17,24,39,0.08);
  border-radius: 16px;
}
.cr-crosslinks-title{
  margin: 0 0 14px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #111827;
}
.cr-crosslinks-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.cr-crosslinks-list a{
  color: #055A78;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}
.cr-crosslinks-list a:hover{
  text-decoration: underline;
}


/* Author byline (below meta pills) */
.cr-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}
.cr-byline i { margin-right: 4px; font-size: 0.78rem; }
.cr-byline-link { color: inherit; text-decoration: none; font-weight: 800; }
.cr-byline-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }


/* Multiple bonus offers grid */
.cr-bonus-offers { margin: 28px 0; }
.cr-bonus-offers h3 { margin-bottom: 16px; }
.cr-bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  align-items: stretch;
}
.cr-bonus-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  border-top: 3px solid #0099cc;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.18s, transform 0.18s;
}
.cr-bonus-card:hover {
  box-shadow: 0 6px 20px rgba(0,153,204,0.15);
  transform: translateY(-2px);
}
.cr-bonus-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0099cc;
  background: rgba(10,166,214,0.08);
  border-radius: 6px;
  padding: 5px 10px;
  min-height: 36px;
  display: flex;
  align-items: center;
}
.cr-bonus-amount {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0d1b2a;
  line-height: 1.2;
  min-height: 52px;
}
.cr-bonus-meta { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cr-bonus-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #6b7280;
}
.cr-bonus-row strong { color: #0d1b2a; font-weight: 700; }
.cr-bonus-terms { font-size: 0.72rem; color: #6b7280; }
.cr-bonus-claim {
  display: block;
  background: linear-gradient(135deg,#00c2ff,#0099cc 50%,#006699);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 40px;
  height: 40px;
  text-align: center;
  border-radius: 8px;
  text-decoration: none !important;
  border-bottom: none !important;
  padding: 0 16px;
  margin-top: 4px;
  transition: opacity 0.15s;
  box-sizing: border-box;
}
.cr-bonus-claim:hover { opacity: 0.88; }
@media (max-width: 600px) {
  .cr-bonus-grid { grid-template-columns: 1fr; }
}
