/* ============================================================
   Best NY Online Casinos — shared stylesheet
   Palette inspired by NY skyline: deep navy + Empire State gold.
   ============================================================ */

:root {
  --navy: #0B2545;
  --navy-light: #13315C;
  --gold: #F2A900;
  --gold-deep: #C68A00;
  --red: #C8102E;
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --text: #0F172A;
  --text-muted: #475569;
  --text-light: #64748B;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --success: #10B981;
  --warn: #F59E0B;
  --shadow-sm: 0 1px 3px rgba(11,37,69,0.08);
  --shadow-md: 0 4px 12px rgba(11,37,69,0.10);
  --shadow-lg: 0 10px 30px rgba(11,37,69,0.12);
  --radius: 12px;
  --radius-lg: 16px;
  --max: 1200px;
  --max-narrow: 880px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  padding-top: 108px;
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 820px) { body { padding-top: 80px; } }
@media (max-width: 480px) { body { padding-top: 72px; } }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.container-narrow { max-width: var(--max-narrow); margin: 0 auto; padding: 0 1.25rem; }

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  height: 108px;
  border-bottom: 3px solid var(--gold);
}
@media (max-width: 820px) { .navbar { height: 80px; } }
@media (max-width: 480px) { .navbar { height: 72px; } }
.navbar-content { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; height: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand { font-size: 1.15rem; font-weight: 800; color: var(--navy); text-decoration: none; display: flex; align-items: center; gap: 0.5rem; letter-spacing: -0.01em; }
.brand-mark { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 0.85rem; letter-spacing: 0; }
.brand-logo-img {
  height: 96px;
  width: auto;
  display: block;
  object-fit: contain;
  margin: -2px 0;
}
@media (max-width: 820px) {
  .brand-logo-img { height: 68px; }
}
@media (max-width: 480px) {
  .brand-logo-img { height: 60px; }
}
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.15s; }
.nav-links a:hover { color: var(--gold-deep); }
.nav-toggle {
  display: none;
  background: rgba(242,169,0,0.10);
  border: 1px solid rgba(242,169,0,0.45);
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  flex-shrink: 0;
  z-index: 1101;
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover { background: rgba(242,169,0,0.22); }
.nav-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  margin: 5px 0;
  transition: 0.2s;
}

@media (max-width: 1024px) {
  /* Tablet + mobile: collapse nav-links into a dropdown opened by hamburger */
  .nav-links { position: fixed; top: 108px; left: 0; right: 0; background: var(--surface); flex-direction: column; gap: 0; padding: 0; max-height: 0; overflow: auto; transition: max-height 0.25s ease; box-shadow: var(--shadow-md); }
  .nav-links.open { max-height: 80vh; }
  .nav-links > a { padding: 14px 1.25rem; border-bottom: 1px solid var(--border); width: 100%; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 820px) {
  .nav-links { top: 80px; }
}
@media (max-width: 480px) {
  .nav-links { top: 72px; }
  .nav-toggle span { width: 24px; height: 3px; margin: 4px 0; }
}

/* ===== Nav dropdown (Casinos) ===== */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  background: none; border: none; cursor: pointer;
  color: var(--text); font: inherit; font-size: 0.95rem;
  font-weight: 500;
  padding: 0; margin: 0;
  transition: color 0.15s;
  display: inline-flex; align-items: center; gap: 4px;
}
.nav-dropdown-toggle:hover { color: var(--gold-deep); }
.nav-arrow { font-size: 0.7rem; transition: transform 0.2s; }
.nav-dropdown.open .nav-arrow { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute; top: calc(100% + 22px); left: -16px;
  background: #FFFFFF; border-radius: 10px;
  box-shadow: 0 8px 28px rgba(11,37,69,0.18);
  list-style: none; margin: 0; padding: 8px 0;
  min-width: 200px;
  border: 1px solid var(--border);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  z-index: 1100;
}
.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown-menu li { margin: 0; }
.nav-dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  border-bottom: none;
  transition: background 0.12s, color 0.12s;
  width: auto;
}
.nav-dropdown-menu a:hover {
  background: #FFFBEB;
  color: var(--gold-deep);
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

@media (max-width: 820px) {
  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 14px 1.25rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
    display: flex;
  }
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    width: 100%;
    min-width: 0;
    border: none;
    border-radius: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 1; visibility: visible; transform: none;
    transition: max-height 0.25s ease;
    background: #F8FAFC;
  }
  .nav-dropdown.open .nav-dropdown-menu { max-height: 360px; }
  .nav-dropdown:hover .nav-dropdown-menu { max-height: 0; }
  .nav-dropdown.open:hover .nav-dropdown-menu { max-height: 360px; }
  .nav-dropdown-menu a {
    padding: 12px 2.5rem;
    border-bottom: 1px solid var(--border);
    background: #F8FAFC;
    font-size: 0.9rem;
  }
}

/* ===== Age gate / disclosure strip ===== */
.disclosure-strip {
  background: var(--navy);
  color: #E2E8F0;
  font-size: 0.78rem;
  padding: 8px 1.25rem;
  text-align: center;
}
.disclosure-strip a { color: var(--gold); text-decoration: underline; }
.disclosure-strip strong { color: var(--gold); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #1B4173 100%);
  color: #fff;
  padding: 0.75rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; right: -80px; bottom: -80px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(242,169,0,0.18), transparent 70%);
  pointer-events: none;
}
.hero h1 { font-size: 2.6rem; font-weight: 900; line-height: 1.15; margin-bottom: 1rem; letter-spacing: -0.02em; }
.hero h1 .accent { color: var(--gold); }
.hero p.lead { font-size: 1.15rem; color: #CBD5E1; max-width: 720px; margin-bottom: 1.5rem; }
.hero-meta { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; font-size: 0.875rem; color: #94A3B8; }
.hero-meta .verified-badge { background: var(--success); color: #fff; padding: 3px 10px; border-radius: 12px; font-weight: 600; font-size: 0.75rem; }
@media (max-width: 640px) { .hero h1 { font-size: 1.9rem; } .hero p.lead { font-size: 1rem; } }

/* Mobile: collapse hero/intro so the affiliate cards appear above the fold */
@media (max-width: 720px) {
  /* Disclosure strip: tight one-liner */
  .disclosure-strip { font-size: 0.66rem; padding: 5px 0.75rem; line-height: 1.35; }

  /* Hero: keep only H1; hide breadcrumb, "Updated" tag, lead paragraph and author byline */
  .hero { padding: 0.5rem 0 0.5rem; }
  .hero .crumbs,
  .hero .tag,
  .hero p.lead,
  .hero-meta { display: none; }
  .hero h1 { font-size: 1.2rem; margin: 0; line-height: 1.25; }

  /* First content section: tight padding, smaller H2, hide the intro paragraph */
  main > section:first-of-type { padding-top: 0.6rem; }
  main > section:first-of-type > .container > h2:first-of-type {
    font-size: 1rem; margin: 0 0 0.5rem; line-height: 1.3;
  }
  main > section:first-of-type > .container > h2:first-of-type + p { display: none; }

  /* Pre-table callouts (e.g., S5935A warning on NY) — compact, not hidden */
  main > section:first-of-type > .container > .callout {
    margin: 0.5rem auto 0.75rem; padding: 10px 14px;
    font-size: 0.82rem; line-height: 1.45;
  }

  /* Compact mobile-cards so the first one sits inside the viewport */
  .mcard { padding: 1.25rem 1rem 1rem; margin-bottom: 0.9rem; max-width: 100%; }
  .mcard-rank { font-size: 1.05rem; margin-bottom: 0.4rem; }
  .mcard-logo-wrap { width: 132px; padding: 6px 10px; margin-bottom: 0.5rem; }
  .mcard-logo { height: 40px; }
  .mcard-name { font-size: 1rem; margin-bottom: 0.55rem; }
  .mcard-bonus { font-size: 0.92rem; padding: 0.55rem 0.75rem; margin-bottom: 0.55rem; line-height: 1.3; }
  .mcard-pills { margin-bottom: 0.55rem; gap: 5px; }
  .mcard-pill { font-size: 0.68rem; padding: 3px 8px; }
  .mcard-cta { padding: 0.7rem 1rem; font-size: 0.92rem; }
  .mcard-sub { font-size: 0.7rem; margin-top: 0.45rem; }
}

/* ===== Author block ===== */
.author-meta { display: flex; align-items: center; gap: 12px; margin: 1.5rem 0 0.5rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); display: flex; align-items: center; justify-content: center; color: var(--navy); font-weight: 800; font-size: 14px; flex-shrink: 0; }
img.avatar { object-fit: cover; background: transparent; box-shadow: 0 0 0 2px rgba(242,169,0,0.5); }
.author-photo {
  display: block;
  width: 110px; height: 110px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px rgba(242,169,0,0.6);
  flex-shrink: 0;
}
.author-info { display: flex; flex-direction: column; gap: 2px; }
.author-name { font-weight: 700; font-size: 0.95rem; }
.author-name a { color: inherit; text-decoration: none; }
.author-name a:hover { text-decoration: underline; }
.publish-date { font-size: 0.8rem; color: var(--text-light); }

/* ===== Sections ===== */
section { padding: 2.5rem 0; }
section.tight { padding: 1.5rem 0; }
h2 { font-size: 1.85rem; font-weight: 800; color: var(--navy); margin: 0 0 1rem; letter-spacing: -0.015em; line-height: 1.25; }
h3 { font-size: 1.3rem; font-weight: 700; color: var(--navy); margin: 1.75rem 0 0.75rem; }
h4 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin: 1.25rem 0 0.5rem; }
p { margin-bottom: 1rem; color: var(--text); }
ul, ol { margin: 0 0 1rem 1.25rem; }
li { margin-bottom: 0.4rem; }

.lead { font-size: 1.1rem; color: var(--text-muted); }

/* ===== Cards / comparison table ===== */
.comparison-table { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); margin: 1.5rem 0 2.5rem; overflow: hidden; }
.comparison-table table { width: 100%; border-collapse: collapse; }
.comparison-table th { background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: #fff; padding: 14px 12px; text-align: left; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.02em; text-transform: uppercase; }
.comparison-table td { padding: 16px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; font-size: 0.95rem; }
.comparison-table tr:last-child td { border-bottom: none; }
.rank-badge { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 800; align-items: center; justify-content: center; font-size: 0.85rem; }
.casino-name { font-weight: 700; color: var(--navy); }
.casino-tag { font-size: 0.78rem; color: var(--text-light); display: block; margin-top: 2px; }
.rating { color: var(--gold-deep); font-weight: 700; }
.rating-stars { color: var(--gold); }

.btn { display: inline-block; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: var(--navy); padding: 10px 20px; border-radius: 10px; font-weight: 700; text-decoration: none; font-size: 0.9rem; transition: transform 0.1s, box-shadow 0.2s; border: none; cursor: pointer; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); color: var(--navy); }
.btn-secondary { background: var(--navy); color: #fff; }
.btn-secondary:hover { background: var(--navy-light); color: #fff; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ===== Casino review cards ===== */
.casino-card { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 1.5rem; margin-bottom: 1.5rem; display: grid; grid-template-columns: 80px 1fr auto; gap: 1.25rem; align-items: start; }
.casino-card .rank { font-size: 2rem; font-weight: 900; color: var(--gold); line-height: 1; }
.casino-card h3 { margin: 0 0 0.25rem; font-size: 1.25rem; }
.casino-card .stars { color: var(--gold); margin-bottom: 0.5rem; }
.casino-card .bonus { background: #FFF7E0; color: var(--navy); padding: 6px 10px; border-radius: 8px; display: inline-block; font-weight: 600; font-size: 0.85rem; margin-bottom: 0.5rem; }
.casino-card .pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 0.75rem; }
.casino-card .pros li::marker { color: var(--success); }
.casino-card .cons li::marker { color: var(--red); }
.casino-card .cta-col { display: flex; flex-direction: column; gap: 8px; align-items: stretch; min-width: 160px; }
@media (max-width: 720px) {
  .casino-card { grid-template-columns: 1fr; }
  .casino-card .pros-cons { grid-template-columns: 1fr; }
  .casino-card .cta-col { min-width: 0; }
}

/* ===== TOC ===== */
.toc { background: #F1F5F9; border-left: 4px solid var(--gold); padding: 1rem 1.25rem; border-radius: 8px; margin: 1.5rem 0; }
.toc h4 { margin-top: 0; margin-bottom: 0.5rem; color: var(--navy); }
.toc ol { margin-left: 1.25rem; columns: 2; column-gap: 2rem; }
.toc a { text-decoration: none; }
@media (max-width: 640px) { .toc ol { columns: 1; } }

/* ===== Callouts ===== */
.callout {
  max-width: 680px;
  margin: 1.5rem auto;        /* auto left/right centers within the parent */
  padding: 20px 22px;
  border: 1px solid #e0c97f;  /* warm gold tint */
  border-radius: 8px;
  background: #fdf9ec;        /* light cream tint */
  box-sizing: border-box;
}
.callout-warn   { border-color: var(--warn); background: #FFFBEB; }
.callout-danger { border-color: var(--red);  background: #FEF2F2; }
.callout-info   { border-color: var(--navy); background: #EFF6FF; }
.callout strong { color: var(--navy); }

/* ===== FAQ ===== */
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 0.75rem; padding: 0; }
.faq summary { padding: 1rem 1.25rem; cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 1.25rem; font-size: 1.3rem; color: var(--gold-deep); }
.faq details[open] summary::after { content: '−'; }
.faq details[open] summary { border-bottom: 1px solid var(--border); }
.faq .answer { padding: 1rem 1.25rem; color: var(--text-muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ===== Pros/Cons grid ===== */
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 1.25rem 0; }
.pc-box { background: var(--surface); border-radius: 12px; padding: 1.25rem; box-shadow: var(--shadow-sm); }
.pc-box h4 { margin-top: 0; }
.pc-box.pros h4 { color: var(--success); }
.pc-box.cons h4 { color: var(--red); }
@media (max-width: 640px) { .pc-grid { grid-template-columns: 1fr; } }

/* ===== Tables (general) ===== */
.data-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); margin: 1.25rem 0; }
.data-table th, .data-table td { padding: 12px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.data-table th { background: #F1F5F9; font-weight: 700; color: var(--navy); }
.data-table tr:last-child td { border-bottom: none; }

/* ===== Breadcrumbs ===== */
.crumbs { font-size: 0.85rem; color: var(--text-light); padding: 0.75rem 0; }
.crumbs a { color: var(--text-light); text-decoration: none; }
.crumbs a:hover { color: var(--navy); }
.crumbs span { margin: 0 6px; }

/* ===== Footer ===== */
.footer { background: var(--navy); color: #CBD5E1; padding: 3rem 0 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer h4 { color: var(--gold); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 0.4rem; font-size: 0.9rem; }
.footer a { color: #CBD5E1; text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer-brand { color: #fff; }
.footer-brand p { color: #94A3B8; font-size: 0.85rem; margin: 0.75rem 0 0; }
.footer-bottom { border-top: 1px solid #1E3A5F; margin-top: 2rem; padding-top: 1.25rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.8rem; color: #94A3B8; }
.rg-badges { display: flex; gap: 1rem; align-items: center; }
.rg-badges span { background: rgba(255,255,255,0.05); border: 1px solid #1E3A5F; padding: 4px 10px; border-radius: 6px; font-size: 0.75rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ===== Utility ===== */
.text-muted { color: var(--text-muted); }
.text-small { font-size: 0.85rem; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.center { text-align: center; }
.tag { display: inline-block; background: var(--gold); color: var(--navy); font-size: 0.7rem; font-weight: 800; padding: 2px 8px; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.05em; }
.tag-navy { background: var(--navy); color: var(--gold); }
.tag-red { background: var(--red); color: #fff; }

/* Print */
@media print {
  .navbar, .footer, .disclosure-strip, .nav-toggle, .promo-modal-backdrop { display: none; }
  body { padding-top: 0; }
}

/* ===== Affiliate row list (desktop card-row format) ===== */
.aff-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 1.5rem 0 2.5rem;
}
.aff-row {
  background: var(--navy);
  color: #FFFFFF;
  border-radius: 14px;
  padding: 1.1rem 1.5rem;
  display: grid;
  grid-template-columns: 44px 138px minmax(160px, 1.6fr) minmax(120px, 1.3fr) minmax(80px, 0.9fr) minmax(160px, 1.2fr) auto;
  gap: 1.1rem;
  align-items: center;
  box-shadow: 0 4px 14px rgba(11,37,69,0.10);
  transition: transform 0.15s, box-shadow 0.2s;
}
.aff-row:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(11,37,69,0.14); }
.aff-rank {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 800; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
}
.aff-logo {
  background: #FFFFFF; border-radius: 10px;
  padding: 8px 12px;
  height: 70px; display: flex; align-items: center; justify-content: center;
}
.aff-logo img {
  max-height: 52px; max-width: 100%;
  width: auto; height: auto;
  object-fit: contain;
}
.aff-brand h3 {
  margin: 0; color: #FFFFFF; font-size: 1.15rem; font-weight: 700;
  letter-spacing: -0.01em;
}
.aff-brand small {
  display: block; color: #94A3B8; font-size: 0.78rem;
  margin-top: 4px; line-height: 1.4;
}
.aff-bonus {
  text-align: center;
  background: linear-gradient(135deg, rgba(242,169,0,0.18) 0%, rgba(242,169,0,0.06) 100%);
  border: 1px solid rgba(242,169,0,0.35);
  border-radius: 10px;
  padding: 10px 12px;
  position: relative;
  box-shadow: 0 0 0 1px rgba(242,169,0,0.05), 0 2px 8px rgba(242,169,0,0.10);
}
.aff-bonus::before {
  content: 'WELCOME BONUS';
  display: block;
  font-size: 0.58rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 4px;
  text-transform: uppercase;
  opacity: 0.85;
}
.aff-bonus .amt {
  display: block; color: var(--gold);
  font-size: 1.18rem; font-weight: 800;
  margin-bottom: 4px; letter-spacing: -0.01em;
  line-height: 1.15;
}
.aff-bonus small {
  color: #CBD5E1; font-size: 0.76rem; line-height: 1.4;
  display: block;
}
.aff-rating { text-align: center; }
.aff-rating .stars {
  display: block; color: var(--gold); font-size: 0.92rem;
  margin-bottom: 4px; letter-spacing: 1px;
}
.aff-rating strong {
  color: #FFFFFF; font-size: 0.95rem; font-weight: 700;
}
.aff-pills {
  display: flex; flex-wrap: wrap; gap: 6px;
  align-items: center;
}
.aff-pills .pill {
  font-size: 0.7rem; font-weight: 700;
  padding: 5px 11px; border-radius: 999px;
  color: #FFFFFF; white-space: nowrap;
  letter-spacing: 0.01em;
}
.pill-purple { background: #7C3AED; }
.pill-green  { background: #10B981; }
.pill-blue   { background: #3B82F6; }
.pill-gold   { background: var(--gold); color: var(--navy); }
.pill-red    { background: #EF4444; }
.aff-cta {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  min-width: 130px;
}
.aff-btn {
  background: var(--gold); color: var(--navy);
  text-decoration: none; padding: 12px 22px;
  border-radius: 12px;
  font-weight: 800; font-size: 0.92rem;
  display: inline-block; white-space: nowrap;
  transition: background 0.15s, transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 3px 10px rgba(242,169,0,0.35);
}
.aff-btn:hover {
  background: #FFB620; color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(242,169,0,0.5);
}
.aff-review {
  font-size: 0.78rem; color: var(--gold);
  text-decoration: none; white-space: nowrap;
}
.aff-review:hover { text-decoration: underline; color: var(--gold); }

@media (max-width: 1100px) {
  .aff-row {
    grid-template-columns: 38px 110px minmax(140px,1.4fr) minmax(110px,1.2fr) 80px auto;
    gap: 0.85rem;
    padding: 1rem 1.2rem;
  }
  .aff-pills { display: none; }
  .aff-logo { height: 60px; padding: 6px 10px; }
  .aff-logo img { max-height: 44px; }
}
@media (max-width: 720px) {
  .aff-list { display: none; }
}

/* Hide the legacy comparison-table when aff-list is present on the same page */
.aff-list ~ .comparison-table, .aff-list + .comparison-table { display: none; }

/* ===== Mobile affiliate cards (visible only at narrow widths) ===== */
.mobile-cards { display: none; }
@media (max-width: 720px) {
  .comparison-table { display: none; }
  .mobile-cards { display: block; margin: 1rem 0 2rem; }
}

.mcard {
  position: relative;
  background: #FFFFFF;
  border: 1.5px solid #C24034;
  border-radius: 16px;
  padding: 2.75rem 1.25rem 1.25rem;
  margin: 0 auto 1.5rem;
  max-width: 360px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  overflow: hidden;
}
.mcard-badge {
  position: absolute;
  top: 14px;
  left: -2px;
  background: #C24034;
  color: #fff;
  padding: 5px 14px 5px 12px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 2px 6px rgba(194,64,52,0.3);
}
.mcard-rank {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 0.85rem;
}
.mcard-logo-wrap {
  display: block;
  margin: 0 auto 1rem;
  width: 168px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 10px 14px;
}
.mcard-logo {
  display: block;
  width: 100%;
  height: 56px;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  border-radius: 0;
}
.mcard-name {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 1rem;
  color: var(--navy);
}
.mcard-bonus {
  background: linear-gradient(135deg, #F2A900 0%, #E69500 100%);
  color: #0F172A;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  line-height: 1.35;
  margin-bottom: 1rem;
  box-shadow: 0 3px 10px rgba(242,169,0,0.25);
}
.mcard-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 1rem;
}
.mcard-pill {
  background: #FAF5E6;
  color: #6B5A2E;
  border: 1px solid #E8DDB6;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}
.mcard-cta {
  display: block;
  background: #C24034;
  color: #fff;
  text-decoration: none;
  padding: 0.95rem 1.25rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.02rem;
  margin: 0.5rem 0 0.75rem;
  transition: background 0.15s, transform 0.1s;
}
.mcard-cta:hover, .mcard-cta:focus {
  background: #D14B3E;
  color: #fff;
  transform: translateY(-1px);
}
.mcard-sub {
  font-size: 0.78rem;
  color: #6B7280;
  margin: 0;
}

/* ===== Brand logos ===== */
.brand-cell { display: flex; align-items: center; gap: 0.9rem; min-width: 0; }
.brand-cell > div { min-width: 0; }
.brand-logo {
  height: 64px;
  width: 120px;
  object-fit: contain;
  flex-shrink: 0;
  background: #FFFFFF;
  border-radius: 10px;
  padding: 6px 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.10);
}
.brand-logo-card {
  display: block;
  height: 88px;
  max-width: 200px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.8rem;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.10);
}
@media (max-width: 720px) {
  .brand-logo { height: 52px; width: 100px; padding: 5px 8px; }
  .brand-logo-card { height: 70px; max-width: 160px; padding: 8px 12px; }
}
@media (max-width: 480px) {
  .brand-logo { height: 44px; width: 84px; }
}

/* ===== Welcome-bonus modal (NY brand) ===== */
.promo-modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(11,37,69,0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
  animation: fadeIn 0.25s ease;
}
.promo-modal-backdrop.open { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.promo-modal {
  background: linear-gradient(160deg, #0B2545 0%, #13315C 60%, #1B4173 100%);
  border-radius: 20px;
  max-width: 460px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 70px rgba(0,0,0,0.55), 0 0 0 1px rgba(242,169,0,0.18) inset;
  overflow: hidden;
  animation: slideUp 0.35s cubic-bezier(.2,.85,.35,1);
}
.promo-modal::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, transparent 0%, #F2A900 20%, #FFD060 50%, #F2A900 80%, transparent 100%);
}
.promo-modal-inner { padding: 2.25rem 2rem 1.5rem; text-align: center; position: relative; }
.promo-modal-close {
  position: absolute; top: 12px; right: 14px;
  background: none; border: none; color: #94A3B8;
  font-size: 1.35rem; cursor: pointer; padding: 4px 10px;
  transition: color 0.15s; line-height: 1; z-index: 2;
}
.promo-modal-close:hover { color: var(--gold); }

.promo-modal-skyline {
  display: block; margin: 0.25rem auto 1.25rem;
  width: 180px; height: auto;
  filter: drop-shadow(0 4px 18px rgba(242,169,0,0.3));
}
.promo-modal-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(242,169,0,0.12);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(242,169,0,0.3);
  margin-bottom: 1rem;
}
.promo-modal h2 {
  color: #FFFFFF;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.85rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
  letter-spacing: -0.015em;
  line-height: 1.18;
}
.promo-modal h2 .accent { color: var(--gold); }
.promo-modal p {
  color: #CBD5E1;
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 1.5rem;
}
.promo-modal p strong { color: var(--gold); font-weight: 700; }

.promo-modal-claim {
  display: block;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--navy);
  text-decoration: none;
  padding: 0.95rem 1.5rem;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin: 0 auto;
  transition: transform 0.12s, box-shadow 0.2s, filter 0.2s;
  box-shadow: 0 6px 20px rgba(242,169,0,0.35);
}
.promo-modal-claim:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(242,169,0,0.5);
  color: var(--navy);
  filter: brightness(1.08);
}
.promo-modal-claim .arrow { display: inline-block; margin-left: 6px; transition: transform 0.2s; }
.promo-modal-claim:hover .arrow { transform: translateX(3px); }

.promo-modal-trust {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.85rem;
  font-size: 0.72rem;
  color: #94A3B8;
}
.promo-modal-trust span::before { content: '✓ '; color: var(--gold); font-weight: 700; }

.promo-modal-dismiss {
  display: inline-block;
  margin-top: 0.85rem;
  color: #64748B;
  font-size: 0.84rem;
  background: none; border: none; cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}
.promo-modal-dismiss:hover { color: #CBD5E1; text-decoration: underline; }

@media (max-width: 480px) {
  .promo-modal-inner { padding: 1.85rem 1.4rem 1.25rem; }
  .promo-modal-skyline { width: 150px; }
  .promo-modal h2 { font-size: 1.5rem; }
  .promo-modal p { font-size: 0.93rem; }
  .promo-modal-claim { font-size: 0.98rem; padding: 0.85rem 1.1rem; }
  .promo-modal-trust { gap: 0.6rem; flex-wrap: wrap; font-size: 0.68rem; }
}
