/* ============================================================
   Ruggieri & Co. — shared stylesheet
   css-skin-roulette vector (2026-06-17):
     mode=light · fontpair=saira-condensed/inter · display=upper-condensed
     accent=cobalt+orange · shape=sharp-0 · depth=hard-offset
     borders=heavy-ink · toplist=data-table · divider=eyebrow-label · mono=space-mono
   Neo-brutalist "accountable firm" skin. Paint only — HTML untouched.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Saira+Condensed:wght@500;600;700;800&family=Inter:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

:root {
  --bg: #f2f5fb;
  --surface: #ffffff;
  --surface-2: #e9eef8;
  --ink: #131722;          /* heavy-ink borders + headings */
  --border: #131722;
  --text: #283044;
  --text-muted: #586079;
  --accent: #1f4fd8;       /* cobalt */
  --accent-dark: #163a9f;
  --accent-soft: #e2eafe;
  --accent2: #ef6a16;      /* orange */
  --accent2-soft: #ffe7d4;
  --accent2-text: #8a3d06;
  --display: "Saira Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Space Mono", ui-monospace, Menlo, Consolas, monospace;
  --r: 0px;                /* sharp-0 */
  --shadow: 5px 5px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); }

/* ---------- Header / nav ---------- */
.header {
  background: var(--surface);
  border-bottom: 3px solid var(--ink);
  position: sticky; top: 0; z-index: 1000;
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 1.25rem;
}
.navbar-brand { display: flex; align-items: center; text-decoration: none; }
.navbar-brand img { height: 58px; width: auto; display: block; }
.navbar-brand .mark { color: var(--accent2); font-size: 1.4rem; }
.nav-links { display: flex; list-style: none; gap: 1.3rem; align-items: center; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.03em; }
.nav-links a:hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; flex-direction: column; gap: 5px; justify-content: center; align-items: center; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; }

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.content-block { padding: 1.7rem 0; }
.content-block h2 {
  font-family: var(--display); font-size: 2rem; font-weight: 800; line-height: 1.08;
  margin: 0.4rem 0 0.8rem; color: var(--ink); text-transform: uppercase; letter-spacing: 0.01em;
  position: relative; padding-top: 0.7rem;
}
/* eyebrow-label divider — CSS ::before accent tab above each H2 */
.content-block h2::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 48px; height: 6px; background: var(--accent2);
}
.content-block h3 { font-family: var(--display); font-size: 1.35rem; font-weight: 700; margin: 1.3rem 0 0.4rem; color: var(--accent-dark); text-transform: uppercase; letter-spacing: 0.01em; }
.content-block p { margin: 0.7rem 0; color: var(--text); }
.content-block ul, .content-block ol { margin: 0.7rem 0 0.7rem 1.3rem; }
.content-block li { margin: 0.35rem 0; }
.muted { color: var(--text-muted); }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-bottom: 3px solid var(--ink);
  padding: 3rem 0 2.4rem;
}
.hero .container { max-width: 860px; text-align: center; }
.hero h1 { font-family: var(--display); font-size: 3.1rem; line-height: 1.02; color: var(--ink); text-transform: uppercase; letter-spacing: 0.005em; font-weight: 800; }
.hero .gold { color: var(--accent); }
.hero-sub { font-size: 1.08rem; color: var(--text); margin: 1.1rem auto 1.4rem; max-width: 660px; }
.hero-cta { display: inline-block; }
.hero-byline { display: flex; flex-wrap: wrap; gap: 0.8rem 1.6rem; justify-content: center; align-items: center; margin: 1.3rem 0 0; }
.hero-byline .bp { display: inline-flex; align-items: center; gap: 0.55rem; text-align: left; font-size: 0.82rem; color: var(--text-muted); }
.hero-byline .bp img { width: 38px; height: 38px; border-radius: var(--r); border: 2px solid var(--ink); object-fit: cover; flex: none; }
.hero-byline .bp a { color: var(--ink); font-weight: 700; text-decoration: none; }
.hero-byline .bp a:hover { color: var(--accent); }
.hero-byline .bp small { display: block; color: var(--text-muted); font-size: 0.72rem; }
.hero-byline .bp .role-label { text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.66rem; font-weight: 700; color: var(--accent2-text); }
.trust-strip { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 1.5rem; color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.03em; font-weight: 600; }
/* Mobile-only hero #1-pick card (desktop hidden) */
.hero-pick { display: none; }
@media (max-width: 768px) {
  .hero-pick { display: block; max-width: 340px; margin: 1.3rem auto 0; background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow-sm); padding: 0.9rem 0.9rem 1rem; text-align: center; }
  .hero-pick .pick-label { display: inline-block; background: var(--accent2); color: #fff; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.72rem; font-weight: 700; padding: 0.22rem 0.65rem; margin-bottom: 0.6rem; }
  .hero-pick .pick-logo { width: 124px; height: 60px; object-fit: contain; background: #fff; border: 2px solid var(--ink); border-radius: var(--r); padding: 5px 8px; margin: 0 auto 0.5rem; display: block; }
  .hero-pick .pick-brand { font-family: var(--display); font-size: 1.2rem; font-weight: 800; text-transform: uppercase; color: var(--ink); }
  .hero-pick p { font-size: 0.86rem; line-height: 1.55; color: var(--text); margin: 0.4rem 0 0.6rem; }
  .hero-pick .pick-bonus { display: inline-block; background: var(--accent2-soft); color: var(--accent2-text); font-family: var(--mono); font-weight: 700; border-left: 4px solid var(--accent2); padding: 0.3rem 0.65rem; margin-bottom: 0.7rem; }
  .hero-pick .btn { display: block; width: 100%; box-shadow: var(--shadow-sm), 0 0 14px rgba(31,79,216,0.38); }
}
.trust-strip span { display: inline-flex; align-items: center; gap: 0.4rem; }
.trust-strip b { color: var(--accent2); font-family: var(--mono); }

/* ---------- Buttons (hard-offset, sharp, heavy-ink) ---------- */
.btn {
  display: inline-block; text-decoration: none; font-family: var(--display); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  border-radius: var(--r); padding: 0.75rem 1.5rem; text-align: center; font-size: 1.05rem;
  cursor: pointer; border: 2px solid var(--ink); transition: transform .12s, box-shadow .12s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm), 0 0 16px rgba(31,79,216,0.40); }
.btn-primary:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--ink), 0 0 22px rgba(31,79,216,0.55); }
.btn-primary:active { transform: translate(0,0); box-shadow: 1px 1px 0 var(--ink), 0 0 12px rgba(31,79,216,0.45); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.92rem; box-shadow: 2px 2px 0 var(--ink), 0 0 12px rgba(31,79,216,0.38); }
.btn-sm:hover { transform: translate(-1px,-1px); box-shadow: 3px 3px 0 var(--ink), 0 0 18px rgba(31,79,216,0.52); }

/* ---------- Toplist table (data-table flavour) ---------- */
.toplist-section .table-wrapper { overflow-x: auto; }
.toplist-lead { color: var(--text-muted); margin-bottom: 0.6rem; }
.toplist-table {
  width: 100%; border-collapse: separate; border-spacing: 0; margin: 1rem 0;
  background: var(--surface); border-radius: var(--r); overflow: hidden;
  border: 2px solid var(--ink); box-shadow: var(--shadow);
}
.toplist-table thead th {
  text-align: left; padding: 0.8rem 1rem; background: var(--ink);
  color: #fff; font-family: var(--display); font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.toplist-table tbody td { padding: 0.9rem 1rem; border-bottom: 1.5px solid var(--surface-2); vertical-align: middle; }
.toplist-table tbody tr:last-child td { border-bottom: 0; }
.toplist-row.highlight-row { background: var(--accent-soft); box-shadow: inset 5px 0 0 var(--accent2); }
.toplist-table .col-rank { width: 50px; font-family: var(--mono); font-weight: 700; font-size: 1.15rem; color: var(--accent); }
.toplist-table .col-logo { min-width: 230px; }
.col-logo-inner { display: flex; align-items: center; gap: 0.9rem; }
.toplist-logo { width: 124px; height: 66px; object-fit: contain; background: #fff; padding: 6px 10px; border-radius: var(--r); border: 2px solid var(--ink); flex: none; }
.toplist-brand { display: flex; flex-direction: column; line-height: 1.2; }
.toplist-brand strong { color: var(--ink); font-family: var(--display); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.01em; }
.toplist-descriptor { font-size: 0.78rem; color: var(--text-muted); max-width: 20ch; }
/* bonus highlight: flat sharp fill — NOT button-shaped (no offset shadow, no ink border) */
.toplist-bonus { display: inline-block; background: var(--accent2-soft); color: var(--accent2-text); font-family: var(--mono); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; padding: 0.4rem 0.75rem; border-radius: var(--r); border-left: 5px solid var(--accent2); pointer-events: none; }
.toplist-rating { color: var(--ink); font-family: var(--mono); font-weight: 700; font-size: 1.05rem; }
.toplist-table .col-cta { width: 180px; text-align: right; }
.toplist-table .col-cta .btn { white-space: nowrap; }
.toplist-review { display: block; font-size: 0.74rem; color: var(--text-muted); margin-top: 0.35rem; }

/* ---------- Comparison / data tables ---------- */
.data-table-wrap { overflow-x: auto; margin: 1rem 0; }
.data-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--r); overflow: hidden; border: 2px solid var(--ink); font-size: 0.95rem; box-shadow: var(--shadow-sm); }
.data-table th, .data-table td { padding: 0.7rem 0.9rem; text-align: left; border-bottom: 1.5px solid var(--surface-2); }
.data-table th { background: var(--surface-2); color: var(--ink); font-family: var(--display); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td:first-child { font-weight: 600; }

/* ---------- Cards / criteria ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; }
.card { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r); padding: 1.1rem 1.2rem; box-shadow: var(--shadow-sm); }
.card h3 { margin-top: 0; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; }
.proscons .pros { border-left: 5px solid var(--accent); }
.proscons .cons { border-left: 5px solid var(--accent2); }

/* ---------- Operator review (top-5: screenshot + scorecard) ---------- */
.op-review { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow-sm); padding: 1.1rem 1.2rem; margin: 0.9rem 0; }
.op-review .op-shot { width: 100%; height: 250px; object-fit: cover; object-position: top center; border: 2px solid var(--ink); border-radius: var(--r); display: block; margin-bottom: 0.9rem; }
.op-review h3 { margin-top: 0; }
.op-review .op-meta { font-family: var(--mono); font-size: 0.82rem; color: var(--text-muted); margin: 0.2rem 0 0.5rem; }
.op-review .op-bonus { display: inline-block; background: var(--accent2-soft); color: var(--accent2-text); font-family: var(--mono); font-weight: 700; border-left: 5px solid var(--accent2); padding: 0.3rem 0.7rem; margin: 0.2rem 0 0.7rem; }
.scorecard { margin: 0.6rem 0 0.8rem; }
.sc-row { display: grid; grid-template-columns: 12.5rem 1fr 3rem; align-items: center; gap: 0.6rem; font-size: 0.82rem; margin: 0.2rem 0; }
.sc-row .sc-crit { color: var(--text); }
.sc-bar { height: 9px; background: var(--surface-2); border: 1px solid var(--ink); border-radius: 0; overflow: hidden; }
.sc-bar i { display: block; height: 100%; background: var(--accent); }
.sc-row .sc-num { font-family: var(--mono); text-align: right; color: var(--ink); font-weight: 700; }
.sc-total { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.02em; font-weight: 800; color: var(--ink); border-top: 2px solid var(--ink); margin-top: 0.5rem; padding-top: 0.45rem; }
.sc-total .sc-rating { color: var(--accent); }

/* ---------- See-all inline expand panel ---------- */
.more-toggle { position: absolute; opacity: 0; width: 0; height: 0; }
.seeall-wrap { text-align: center; margin: 1.2rem 0 0.4rem; }
.more-btn { cursor: pointer; }
.more-btn::after { content: "See all 10 California casinos"; }
.more-toggle:checked ~ .seeall-wrap .more-btn::after { content: "Hide casinos 6\2013 10"; }
.more-toggle:focus-visible ~ .seeall-wrap .more-btn { outline: 3px solid var(--accent); outline-offset: 2px; }
.more-casinos { display: none; margin-top: 0.6rem; }
.more-toggle:checked ~ .more-casinos { display: block; }
.more-casinos > .more-head { border-top: 2px solid var(--ink); padding-top: 1.1rem; margin-top: 0.4rem; }

/* ---------- FAQ ---------- */
.faq details { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r); padding: 0.9rem 1.1rem; margin: 0.6rem 0; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); font-family: var(--display); text-transform: uppercase; letter-spacing: 0.01em; font-size: 1.02rem; }
.faq p { margin-top: 0.6rem; }

/* ---------- Author box ---------- */
.author-box { display: flex; gap: 1rem; align-items: center; background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r); padding: 1rem 1.1rem; margin: 1.4rem 0; box-shadow: var(--shadow-sm); }
.author-box .avatar { width: 56px; height: 56px; border-radius: var(--r); background: var(--accent); border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; color: #fff; flex: none; }
.author-box .avatar-img { width: 64px; height: 64px; border-radius: var(--r); border: 2px solid var(--ink); object-fit: cover; flex: none; display: block; }
.author-portrait { width: 100%; max-width: 150px; aspect-ratio: 1/1; object-fit: cover; border: 2px solid var(--ink); border-radius: var(--r); margin-bottom: 0.7rem; }

/* ---------- Responsible-gambling banner ---------- */
.rg-banner { background: var(--accent2-soft); border: 2px solid var(--ink); border-left: 8px solid var(--accent2); border-radius: var(--r); padding: 0.9rem 1.1rem; margin: 1.2rem 0; font-size: 0.92rem; }
.rg-banner h2 { color: var(--accent2-text); }
.rg-banner h2::before { display: none; }

/* ---------- Footer ---------- */
.footer { background: var(--surface-2); border-top: 4px solid var(--ink); margin-top: 2.2rem; padding: 2.2rem 0 1.4rem; }
.footer-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.6rem; }
.footer h4 { color: var(--ink); font-family: var(--display); font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 0.6rem; }
.footer ul { list-style: none; }
.footer li { margin: 0.35rem 0; }
.footer a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; }
.footer a:hover { color: var(--accent-dark); }
.footer-disclaimer { border-top: 2px solid var(--ink); margin-top: 1.6rem; padding-top: 1.1rem; color: var(--text-muted); font-size: 0.8rem; }
.footer-disclaimer b { color: var(--ink); }

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  body { font-size: 16px; }
  .header { padding: 0.2rem 0; }
  .navbar-brand img { height: 50px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--surface);
    border-bottom: 3px solid var(--ink); padding: 0.4rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.8rem 1.25rem; width: 100%; }

  .hero { padding: 2rem 0 1.6rem; }
  .hero h1 { font-size: 2.1rem; }
  .hero-sub { font-size: 1rem; }

  .grid-2, .proscons, .footer-cols { grid-template-columns: 1fr; }

  /* Toplist table -> vertical card */
  .toplist-table thead { display: none; }
  .toplist-table, .toplist-table tbody, .toplist-table tr, .toplist-table td { display: block; width: 100%; }
  .toplist-table tr { border: 2px solid var(--ink); border-radius: var(--r); margin-bottom: 0.8rem; padding: 0.7rem 0.85rem; background: var(--surface); text-align: center; box-shadow: var(--shadow-sm); }
  .toplist-row.highlight-row { box-shadow: var(--shadow-sm); border-color: var(--ink); background: var(--accent-soft); }
  .toplist-table td { border: none; padding: 0.3rem 0; text-align: center; }
  .col-logo-inner { flex-direction: column; gap: 0.4rem; }
  .toplist-table .col-logo { min-width: 0; }
  .toplist-logo { width: 130px; height: 64px; }
  .toplist-descriptor { max-width: none; }
  .toplist-table .col-cta { width: 100%; text-align: center; }
  .toplist-table .col-cta .btn { display: block; width: 100%; }

  /* Operator reviews: uniform shorter screenshot on mobile */
  .op-review .op-shot { height: 190px; }
  .sc-row { grid-template-columns: 9.5rem 1fr 2.6rem; font-size: 0.78rem; gap: 0.4rem; }

  /* Data/comparison tables -> labelled stacked rows (no horizontal scroll) */
  .data-table-wrap { overflow-x: visible; }
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
  .data-table thead { display: none; }
  .data-table tr { border: 2px solid var(--ink); border-radius: var(--r); margin-bottom: 0.7rem; background: var(--surface); box-shadow: var(--shadow-sm); }
  .data-table td { display: flex; justify-content: space-between; gap: 1rem; text-align: right; border: none; border-bottom: 1px solid var(--surface-2); padding: 0.55rem 0.8rem; }
  .data-table tr td:last-child { border-bottom: 0; }
  .data-table td:first-child { background: var(--surface-2); font-weight: 700; }
  .data-table td::before { content: attr(data-label); font-family: var(--display); text-transform: uppercase; letter-spacing: 0.02em; font-size: 0.72rem; color: var(--text-muted); text-align: left; flex: 0 0 42%; font-weight: 700; }
  .data-table td:first-child::before { color: var(--ink); }
}
