/* VegasSweeps theme — Vegas night, premium */
:root {
  --bg: #0A0E27;
  --bg-deep: #060914;
  --surface: #141936;
  --surface-2: #1B2147;
  --border: rgba(245, 200, 66, 0.15);
  --border-strong: rgba(245, 200, 66, 0.35);

  --gold: #F5C842;
  --gold-soft: #E8B82E;
  --cyan: #22D3EE;
  --pink: #EC4899;

  --ink: #F1F5F9;
  --ink-soft: #94A3B8;
  --ink-mute: #64748B;

  --radius: 14px;
  --radius-lg: 18px;
  --shadow-gold: 0 0 24px rgba(245, 200, 66, 0.25);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  min-height: 100vh;
  display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cyan); text-decoration: none; transition: color .15s; }
a:hover { color: var(--gold); }

main { flex: 1; max-width: 1180px; width: 100%; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border-strong);
  padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.site-header .brand {
  font-weight: 800; font-size: 1.35rem; letter-spacing: .02em;
  color: var(--gold); display: inline-flex; align-items: center; gap: .5rem;
}
.site-header .brand .glyph { color: var(--gold); font-size: 1.15em; }
.site-header nav { display: flex; gap: 1.75rem; }
.site-header nav a {
  color: var(--ink-soft); font-weight: 500; font-size: .95rem;
  position: relative; padding-bottom: 2px;
}
.site-header nav a:hover { color: var(--gold); }
.site-header nav a.active { color: var(--gold); }
.site-header nav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--gold); border-radius: 2px;
}

/* ----- Hero ----- */
.hero {
  text-align: center;
  padding: 4rem 1rem 2.5rem;
  position: relative;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  margin: 0 0 1rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.25;
  padding-bottom: .15em;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  color: var(--ink-soft); font-size: 1.15rem;
  max-width: 680px; margin: 0 auto;
}

.cta {
  display: inline-block; margin-top: 2rem;
  background: var(--gold); color: var(--bg-deep);
  padding: .95rem 2rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  box-shadow: var(--shadow-gold);
  transition: transform .15s, box-shadow .15s;
}
.cta:hover {
  background: var(--gold-soft);
  color: var(--bg-deep);
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(245, 200, 66, 0.4);
  text-decoration: none;
}
.cta-secondary {
  display: inline-block;
  color: var(--cyan);
  font-weight: 600;
  font-size: .9rem;
}

/* ----- Section ----- */
.section { margin-top: 4rem; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}
.section-head h2 {
  margin: 0; font-size: 1.5rem; font-weight: 700;
  color: var(--ink);
}
.section-head .meta {
  color: var(--ink-mute); font-size: .85rem;
}

/* ----- Operator cards ----- */
.operators {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.op-card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex; flex-direction: column; align-items: center; gap: .65rem;
  text-align: center;
  transition: border-color .15s, transform .15s;
}
.op-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.op-card .op-rank {
  font-size: .75rem; color: var(--gold);
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  text-align: center;
}
.op-card .op-logo {
  margin: .35rem auto .6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
}
.op-card .op-logo img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 180px;
  /* Lift dark-on-dark logos so they read on the dark card surface. */
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 8px rgba(245, 200, 66, 0.12));
}
.op-card .op-name {
  font-size: 1.15rem; font-weight: 700; color: var(--ink);
  text-align: center;
}
.op-card .op-stars {
  color: var(--gold); font-size: .9rem; letter-spacing: 1px;
  text-align: center;
}
.op-card .op-stars .num { color: var(--ink-soft); margin-left: .35rem; font-size: .8rem; }
.op-card .op-bonus {
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  color: var(--cyan);
  padding: .5rem .75rem;
  border-radius: 8px;
  font-size: .9rem; font-weight: 600;
  text-align: center;
  width: 100%;
}
.op-card .op-bullet {
  font-size: .82rem; color: var(--ink-soft); line-height: 1.5;
  text-align: center;
}
.op-card .op-actions {
  margin-top: auto; display: flex; flex-direction: column; gap: .5rem; padding-top: .35rem;
  width: 100%;
  align-items: center;
}
.op-card .visit-btn {
  background: var(--gold); color: var(--bg-deep);
  padding: .6rem 1rem; border-radius: 8px;
  font-weight: 700; font-size: .9rem;
  text-align: center;
  width: 100%;
  transition: background .15s;
}
.op-card .visit-btn:hover {
  background: var(--gold-soft); color: var(--bg-deep); text-decoration: none;
}
.op-card .review-link {
  text-align: center; font-size: .82rem; color: var(--ink-soft);
}
.op-card .review-link:hover { color: var(--gold); }

/* ----- Trust block ----- */
.trust {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.trust-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.trust-item h3 { margin: 0 0 .5rem; color: var(--gold); font-size: 1.05rem; }
.trust-item p { margin: 0; color: var(--ink-soft); font-size: .92rem; }

/* ----- Blog cards ----- */
.blog-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.blog-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color .15s, transform .15s, box-shadow .15s;
  color: inherit;
  text-decoration: none;
}
.blog-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  text-decoration: none;
  color: inherit;
}
.blog-card:hover h3 { color: var(--gold); }
.blog-card .date {
  font-size: .75rem; color: var(--ink-mute);
  letter-spacing: .05em; text-transform: uppercase;
}
.blog-card h3 {
  margin: .35rem 0 .5rem;
  font-size: 1.1rem; color: var(--ink);
}
.blog-card p { margin: 0; color: var(--ink-soft); font-size: .9rem; }

/* ----- FAQ ----- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
}
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--ink);
  list-style: none; outline: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; color: var(--gold); font-size: 1.4rem; font-weight: 400;
  transition: transform .15s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); margin: .75rem 0 0; font-size: .95rem; }

/* ----- Responsible play band ----- */
.rg-band {
  margin-top: 4rem;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: .82rem; color: var(--ink-mute);
  text-align: center;
}
.rg-band strong { color: var(--gold); }

/* ----- Page header (reused on /reviews etc.) ----- */
.page-head { padding: 3rem 0 2rem; text-align: center; }
.page-head h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin: 0 0 .75rem;
  color: var(--gold);
  letter-spacing: -.01em;
}
.page-head p { color: var(--ink-soft); max-width: 640px; margin: 0 auto; font-size: 1.05rem; }

.coming-soon {
  margin-top: 2rem;
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--ink-soft);
}
.coming-soon strong { color: var(--gold); }

/* ----- Footer ----- */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-strong);
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--ink-mute);
  font-size: .85rem;
}
.site-footer p { margin: .35rem 0; }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--gold); }

/* ----- Review-page sidebar (TOC) ----- */
.rev-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  grid-template-areas: "aside main";
  gap: 2rem;
  /* No align-items:start so the aside stretches to match the main column's
     height. This gives the sticky #article-toc a containing block that spans
     the entire article scroll range, so the TOC stays pinned for the whole
     read instead of unsticking once the aside's natural ~750px is scrolled. */
  margin-top: 2rem;
}
.rev-main { grid-area: main; min-width: 0; }
/* Drop the first child's natural top margin so the sidebar's first card
   and the main column's first block start at the same Y in the grid.
   Applies to .section (review pages), .reviews-grid (reviews index), and
   the answer-block on the bonuses page. */
.rev-main > :first-child { margin-top: 0; }
.rev-aside {
  grid-area: aside;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
/* Keep ONLY the TOC card pinned while reading; other sidebar cards scroll
   naturally with the page. z-index:10 keeps the sticky TOC above the later
   non-sticky sibling cards (which would otherwise overlap during scroll). */
.rev-aside #article-toc {
  position: sticky;
  top: 5.5rem;
  z-index: 10;
}
@media (max-width: 900px) {
  .rev-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "main" "aside";
  }
}

/* Shared sidebar card primitives (used by review TOC; blog has its own
   scoped equivalents inside BlogPostLayout, kept for back-compat). */
.rev-aside .side-card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 0 1.25rem 1.15rem;
}
.rev-aside .side-eyebrow {
  color: var(--gold);
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .12em;
  margin: 0 -1.25rem 1.5rem;
  padding: 0 1.25rem .75rem;
  border-bottom: 1px solid var(--border);
  line-height: 2.475rem;
}
.rev-aside .toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}
.rev-aside .toc-list li {
  counter-increment: toc;
  margin-bottom: .55rem;
  position: relative;
  padding-left: 1.55rem;
  line-height: 1.4;
}
.rev-aside .toc-list li::before {
  content: counter(toc) ".";
  position: absolute;
  left: 0;
  color: #F1F5F9;
  font-weight: 700;
  font-size: .85rem;
}
.rev-aside .toc-list a {
  color: #F1F5F9;
  font-size: .88rem;
  text-decoration: none;
  transition: color .15s;
}
.rev-aside .toc-list a:hover { color: var(--gold); }
.rev-main h2 { scroll-margin-top: 6rem; }

/* Sidebar curated cards (used on /reviews/ and /bonuses/) */
.rev-aside .side-pick { text-align: center; }
.rev-aside .side-pick-logo {
  display: flex; justify-content: center;
  margin: .25rem 0 .55rem;
}
.rev-aside .side-pick-logo img {
  display: block; height: 38px; width: auto; max-width: 160px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.45)) drop-shadow(0 0 8px rgba(245,200,66,.12));
}
.rev-aside .side-pick-name {
  color: var(--ink); font-weight: 700; font-size: 1.1rem; margin-bottom: .35rem;
}
.rev-aside .side-pick-score {
  display: flex; justify-content: center; align-items: baseline;
  gap: .5rem; margin-bottom: .6rem;
}
.rev-aside .side-pick-score .stars { color: var(--gold); letter-spacing: 1px; }
.rev-aside .side-pick-score .num { color: var(--ink-soft); font-size: .88rem; font-weight: 600; }
.rev-aside .side-pick-bonus {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .45rem .7rem;
  color: var(--ink);
  font-weight: 600;
  font-size: .85rem;
  margin-bottom: .85rem;
}
.rev-aside .side-pick-btn {
  display: block;
  background: var(--gold);
  color: var(--bg-deep);
  padding: .55rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: .55rem;
  transition: background .15s;
}
.rev-aside .side-pick-btn:hover { background: var(--gold-soft); color: var(--bg-deep); }
.rev-aside .side-pick-review {
  color: var(--ink-soft); font-size: .82rem;
}
.rev-aside .side-pick-review:hover { color: var(--gold); }

.rev-aside .side-bullets {
  list-style: none; margin: 0; padding: 0;
  color: var(--ink-soft); font-size: .88rem;
}
.rev-aside .side-bullets li {
  padding-left: 1.1rem; margin-bottom: .5rem; position: relative; line-height: 1.45;
}
.rev-aside .side-bullets li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: var(--gold); font-weight: 700;
}

.rev-aside .side-blurb {
  color: var(--ink-soft); font-size: .88rem; line-height: 1.55; margin: 0 0 .7rem;
}
.rev-aside .side-cta {
  color: var(--gold); font-weight: 700; font-size: .88rem;
}
.rev-aside .side-cta:hover { color: var(--gold-soft); }
