/* SifuCasino design system — dark editorial, gold-forward, deliberately distinct
   from SifuFinds' light/green look. Gold is the interactive accent; emerald is
   reserved for verification/trust signals only; wine is reserved for warnings. */

:root {
  --bg: #211d17;
  --surface: #2c2620;
  --surface-raised: #38312a;
  --surface-hover: #443b32;
  --border: rgba(233, 220, 190, 0.16);
  --border-strong: rgba(233, 220, 190, 0.28);

  --text: #f3ecdd;
  --text-muted: #b6ab97;
  --text-faint: #756c5c;

  --gold: #d1a44b;
  --gold-bright: #e8c775;
  --gold-ink: #241a08;

  --emerald: #2f7d5a;
  --emerald-bright: #4caf82;
  --wine: #a84545;
  --wine-bright: #e07a7a;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-section: clamp(3rem, 2.4rem + 3vw, 6rem);

  --text-base: clamp(1rem, 0.94rem + 0.3vw, 1.0625rem);
  --text-h1: clamp(2.1rem, 1.5rem + 3vw, 3.6rem);
  --text-h2: clamp(1.5rem, 1.2rem + 1.5vw, 2.1rem);
  --text-h3: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);

  --font-display: ui-serif, Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --duration-fast: 150ms;
  --duration-normal: 260ms;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-card: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.35);
  --shadow-pop: 0 20px 60px rgba(0,0,0,.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 var(--space-3); color: var(--text); }
h1 { font-size: var(--text-h1); letter-spacing: -0.01em; }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
p { margin: 0 0 var(--space-4); color: var(--text-muted); }

:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: var(--radius-sm); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-4); }
.section { padding: var(--space-section) 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-5); flex-wrap: wrap; }
.section-head p { margin: 0; }
.eyebrow { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--space-2); }

/* ---------- top notice / dev banner ---------- */
.dev-banner {
  background: var(--wine); color: #fff; text-align: center;
  font-size: 13px; font-weight: 600; padding: var(--space-2) var(--space-4);
}
.dev-banner a { text-decoration: underline; color: #fff; }

/* ---------- header / nav ---------- */
.tbar {
  background: var(--surface); border-bottom: 1px solid var(--border);
  font-size: 12.5px; color: var(--text-faint);
}
.tbar .container { display: flex; align-items: center; justify-content: space-between; height: 34px; gap: var(--space-4); }
.tbar a { color: var(--text-faint); }
.tbar a:hover { color: var(--gold-bright); }
.tbar .age-gate { background: var(--gold); color: var(--gold-ink); font-weight: 800; padding: 2px 8px; border-radius: var(--radius-sm); font-size: 11px; }

.mnav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(12,11,10,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.mnav .container { display: flex; align-items: center; gap: var(--space-5); height: 88px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 64px; width: auto; display: block; }
@media (min-width: 640px) {
  .mnav .container { height: 100px; }
  .brand img { height: 74px; }
}
.mnav nav { display: none; align-items: center; gap: var(--space-4); font-size: 14px; font-weight: 600; }
.mnav nav a { color: var(--text-muted); padding: var(--space-2) 0; border-bottom: 2px solid transparent; transition: color var(--duration-fast); }
.mnav nav a:hover, .mnav nav a.on { color: var(--gold-bright); border-color: var(--gold); }
.mnav .spacer { flex: 1; }
.mnav .search-trigger { display: flex; align-items: center; gap: var(--space-2); background: var(--surface-raised); border: 1px solid var(--border); color: var(--text-faint); padding: 8px 14px; border-radius: 999px; font-size: 13px; cursor: pointer; flex-shrink: 0; }
.mnav .search-trigger:hover { border-color: var(--border-strong); color: var(--text-muted); }
.burger { display: flex; background: none; border: 1px solid var(--border); color: var(--text); width: 40px; height: 40px; border-radius: var(--radius-sm); align-items: center; justify-content: center; flex-shrink: 0; }
@media (max-width: 959px) {
  .mnav .search-trigger { width: 40px; height: 40px; padding: 0; justify-content: center; }
  .mnav .search-trigger .search-label { display: none; }
}
@media (min-width: 960px) {
  .mnav nav { display: flex; }
  .burger { display: none; }
}

.mobile-nav { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.6); display: none; }
.mobile-nav.open { display: block; }
.mobile-nav .panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 86vw); background: var(--surface); border-left: 1px solid var(--border); padding: var(--space-5); overflow-y: auto; }
.mobile-nav a { display: block; padding: var(--space-3) 0; border-bottom: 1px solid var(--border); font-weight: 600; }
.mobile-nav .close { background: none; border: 1px solid var(--border); color: var(--text); width: 36px; height: 36px; border-radius: var(--radius-sm); margin-bottom: var(--space-4); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); border-radius: 999px; padding: 12px 22px; font-weight: 700; font-size: 14.5px; cursor: pointer; border: 1px solid transparent; transition: transform var(--duration-fast) var(--ease-out-expo), box-shadow var(--duration-fast); }
.btn:active { transform: translateY(1px); }
.btn-gold { background: linear-gradient(180deg, var(--gold-bright), var(--gold)); color: var(--gold-ink); box-shadow: 0 8px 20px rgba(209,164,75,0.25); }
.btn-gold:hover { box-shadow: 0 10px 26px rgba(209,164,75,0.35); }
.btn-outline { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero { position: relative; padding: var(--space-7) 0 var(--space-6); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 60%;
  background: radial-gradient(60% 60% at 30% 0%, rgba(209,164,75,0.16), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; gap: var(--space-6); position: relative; }
.hero h1 { max-width: 16ch; }
.hero .lede { font-size: 17px; max-width: 52ch; }
.hero-cta { display: flex; gap: var(--space-3); flex-wrap: wrap; margin: var(--space-5) 0; }
.hero-search { display: flex; gap: var(--space-2); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 6px 6px 6px 20px; max-width: 560px; }
.hero-search input { flex: 1; background: none; border: none; color: var(--text); font-size: 14.5px; }
.hero-search input:focus { outline: none; }
.hero-search input::placeholder { color: var(--text-faint); }
.hero-trust { display: flex; gap: var(--space-5); flex-wrap: wrap; margin-top: var(--space-5); font-size: 13px; color: var(--text-faint); }
.hero-trust b { color: var(--gold-bright); font-family: var(--font-display); font-size: 18px; display: block; }

/* ---------- cards ---------- */
.grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--space-5); box-shadow: var(--shadow-card);
  transition: border-color var(--duration-fast), transform var(--duration-fast) var(--ease-out-expo);
}
.card:hover { border-color: var(--border-strong); transform: translateY(-2px); }

.casino-card { display: flex; flex-direction: column; gap: var(--space-3); }
.casino-card .top { display: flex; align-items: center; gap: var(--space-3); }
.casino-card .logo-box { width: 56px; height: 56px; border-radius: var(--radius-md); background: var(--surface-raised); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: var(--gold-bright); flex-shrink: 0; border: 1px solid var(--border); }
.casino-card .name { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gold-bright); font-weight: 700; }
.rating .stars { letter-spacing: 1px; }
.bonus-line { background: var(--surface-raised); border: 1px dashed var(--border-strong); border-radius: var(--radius-md); padding: var(--space-3); font-size: 13.5px; color: var(--text); }
.meta-row { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; }
.chip { background: var(--surface-raised); border: 1px solid var(--border); color: var(--text-muted); padding: 4px 10px; border-radius: 999px; }
.chip.on { color: var(--emerald-bright); border-color: rgba(76,175,130,0.4); }
.card-cta { display: flex; gap: var(--space-2); margin-top: auto; }

/* ---------- badges / notices ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-sm); }
.badge-placeholder { background: rgba(168,69,69,0.16); color: var(--wine-bright); border: 1px solid rgba(168,69,69,0.4); }
.badge-verified { background: rgba(76,175,130,0.14); color: var(--emerald-bright); border: 1px solid rgba(76,175,130,0.4); }

.placeholder-banner {
  background: rgba(168,69,69,0.12); border: 1px solid rgba(168,69,69,0.4); color: var(--wine-bright);
  border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); font-size: 13.5px; font-weight: 600;
  margin-bottom: var(--space-5); display: flex; gap: var(--space-2); align-items: flex-start;
}

.disclosure { font-size: 12.5px; color: var(--text-faint); border-top: 1px solid var(--border); padding-top: var(--space-3); margin-top: var(--space-4); }
.rg-notice { background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-4); font-size: 13px; color: var(--text-muted); display: flex; gap: var(--space-3); align-items: flex-start; }
.rg-notice b { color: var(--text); }

/* ---------- breadcrumb ---------- */
.breadcrumb { font-size: 12.5px; color: var(--text-faint); padding: var(--space-3) 0; }
.breadcrumb a:hover { color: var(--gold-bright); }

/* ---------- comparison table ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); }
table.compare { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 13.5px; }
table.compare th, table.compare td { padding: var(--space-3) var(--space-4); text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
table.compare th { background: var(--surface-raised); color: var(--text-faint); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
table.compare tr:last-child td { border-bottom: none; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); padding: var(--space-3) 0; }
.faq-q { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 700; font-size: 15px; }
.faq-a { display: none; padding-top: var(--space-2); color: var(--text-muted); }
.faq-item.open .faq-a { display: block; }

/* ---------- pros/cons ---------- */
.pc-grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr 1fr; }
.pc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--text-muted); }
.pc-list li { padding-left: 22px; position: relative; }
.pros li::before { content: "+"; position: absolute; left: 0; color: var(--emerald-bright); font-weight: 800; }
.cons li::before { content: "–"; position: absolute; left: 0; color: var(--wine-bright); font-weight: 800; }
@media (max-width: 640px) { .pc-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: var(--space-7) 0 var(--space-5); font-size: 13.5px; color: var(--text-faint); }
.footer-grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-bottom: var(--space-6); }
.footer-col h4 { font-family: var(--font-body); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: var(--space-3); }
.footer-col a { display: block; padding: 4px 0; color: var(--text-faint); }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: var(--space-4); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3); }
.footer-rg { font-size: 12px; line-height: 1.6; max-width: 70ch; }

/* ---------- search modal ---------- */
.search-modal { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.7); display: none; padding: 10vh 16px; }
.search-modal.open { display: block; }
.search-modal .panel { max-width: 640px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-pop); padding: var(--space-4); }
.search-modal .row { display: flex; align-items: center; gap: var(--space-3); border-bottom: 1px solid var(--border); padding-bottom: var(--space-3); margin-bottom: var(--space-3); }
.search-modal input { flex: 1; background: none; border: none; color: var(--text); font-size: 17px; }
.search-modal input:focus { outline: none; }
.search-modal .close { background: none; border: 1px solid var(--border); color: var(--text-faint); width: 32px; height: 32px; border-radius: var(--radius-sm); }
.search-result { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2) var(--space-2); border-radius: var(--radius-sm); }
.search-result:hover { background: var(--surface-raised); }
.sr-type { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold); background: var(--surface-raised); border: 1px solid var(--border); padding: 3px 8px; border-radius: var(--radius-sm); flex-shrink: 0; }
.sr-name { font-size: 14.5px; color: var(--text); }

/* ---------- compare bar ---------- */
#compareBar { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 50; display: none; align-items: center; gap: var(--space-3); background: var(--surface); border: 1px solid var(--border-strong); border-radius: 999px; padding: 10px 16px; box-shadow: var(--shadow-pop); font-size: 13px; }

/* ---------- utility ---------- */
.muted { color: var(--text-faint); }
.stack { display: flex; flex-direction: column; gap: var(--space-3); }
.center { text-align: center; }
