/* ================================================================
   YourLuckyPlace Dark — main.css
   Dark premium affiliate theme for Peru gambling market
   ================================================================ */

:root {
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --bg:          #09090e;
  --surface:     #10111a;
  --surface-alt: #0c0d14;
  --text:        #ede6d4;
  --muted:       #7a6e5d;
  --line:        rgba(201,166,64,0.13);
  --brand:       #28b46c;
  --brand-dark:  #1e8c52;
  --gold:        #c9a63f;
  --gold-bright: #e8c84a;
  --gold-soft:   rgba(201,166,64,0.09);
  --gold-glow:   rgba(201,166,64,0.22);
  --accent:      #c9a63f;
  --accent-soft: rgba(201,166,64,0.09);
  --sun:         #e8c84a;
  --berry:       #df7956;
  --radius:      22px;
  --shadow:      0 8px 32px rgba(0,0,0,0.55);
  --site-width:  1120px;
  --fs-body:     1rem;
  --fs-lead:     1.0625rem;
  --fs-h1:       clamp(2rem, 4vw, 3.4rem);
  --fs-h2:       clamp(1.55rem, 3vw, 2.3rem);
  --fs-h3:       1.2rem;
  --fs-eyebrow:  0.76rem;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at 6% 10%,  rgba(40,180,108,0.07)  0%, transparent 38%),
    radial-gradient(ellipse at 94% 6%,  rgba(201,166,64,0.09)  0%, transparent 36%),
    radial-gradient(ellipse at 50% 96%, rgba(201,166,64,0.04)  0%, transparent 40%);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(201,166,64,0.022) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg,  rgba(201,166,64,0.022) 0 1px, transparent 1px 88px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.site-main :where(h1,h2,h3,p,li),
.site-footer :where(h2,h3,p,li) {
  width: 100%;
  max-width: none;
  overflow-wrap: break-word;
  word-break: normal;
}

/* ── Shell ──────────────────────────────────────────────────── */
.site-shell {
  width: min(calc(100% - 2rem), var(--site-width));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(9,9,14,0.92);
  border-bottom: 1px solid rgba(201,166,64,0.10);
}

.site-header::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--gold) 42%, rgba(40,180,108,0.5) 68%, transparent);
  opacity: 0.5;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.6rem 0;
}

.brand { display: inline-flex; align-items: center; min-width: 0; }

.brand-link,
.brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 0;
  padding: 0.15rem 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  flex: 0 0 46px;
  filter: drop-shadow(0 4px 14px rgba(201,166,64,0.30));
}

.brand-mark img { display: block; width: auto; max-width: 46px; max-height: 46px; }

.brand .custom-logo {
  display: block;
  width: auto; height: auto;
  max-width: 70px; max-height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(201,166,64,0.22));
}

.brand .custom-logo-link img { display: block; }

.primary-nav ul,
.primary-nav .menu-fallback {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0; padding: 0;
  list-style: none;
}

.primary-nav a {
  color: rgba(237,230,212,0.78);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.18s;
  padding: 0.25rem 0;
  position: relative;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.22s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--gold);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after { width: 100%; }

.menu-toggle { display: none; }

/* ── Main ───────────────────────────────────────────────────── */
.site-main { min-height: 70vh; position: relative; }

.site-main::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top right,  rgba(201,166,64,0.04), transparent 32%),
    radial-gradient(ellipse at bottom left, rgba(40,180,108,0.04), transparent 36%);
  pointer-events: none;
}

/* ── Sections ───────────────────────────────────────────────── */
.hero, .section { padding: 2.8rem 0; }
.section-tight { padding-top: 0; }

.hero { position: relative; overflow: hidden; }

.section-alt {
  background: rgba(16,17,26,0.6);
  border-top:    1px solid rgba(201,166,64,0.07);
  border-bottom: 1px solid rgba(201,166,64,0.07);
}

.section-operators { background: var(--surface-alt); }
.section-footer-cta { background: rgba(12,12,20,0.8); border-top: 1px solid rgba(201,166,64,0.1); }

.hero-grid, .footer-grid { display: grid; gap: 2rem; }
.hero-grid > *, .showcase-grid > *, .dual-column > *, .footer-grid > *, .card-grid > * { min-width: 0; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero-content { max-width: 760px; position: relative; z-index: 1; }

.hero h1, .prose h1 {
  margin: 0.35rem 0 1rem;
  font-size: var(--fs-h1);
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: pretty;
}

.hero-text, .lead { font-size: var(--fs-lead); color: var(--muted); text-wrap: pretty; }

.hero-actions, .operator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.hero-actions--stacked { margin-top: 0.2rem; }

/* ── Buttons ─────────────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-sans);
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
}

.button::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.15) 48%, transparent 100%);
  transform: translateX(-130%);
  transition: transform 0.34s ease;
}

.button:hover::before, .button:focus-visible::before { transform: translateX(130%); }

.button-primary {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 55%, #a07e28 100%);
  color: #07060a;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(201,166,64,0.35);
}

.button-primary:hover, .button-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(201,166,64,0.50);
}

.button-secondary {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid rgba(201,166,64,0.26);
}

.button-secondary:hover, .button-secondary:focus-visible {
  transform: translateY(-1px);
  background: rgba(201,166,64,0.08);
  border-color: rgba(201,166,64,0.48);
  color: var(--gold);
}

.button-small { min-height: 40px; padding: 0.6rem 0.95rem; font-size: 0.9rem; }
.button-hero  { min-height: 54px; font-size: 1rem; box-shadow: 0 10px 24px rgba(201,166,64,0.30); }

/* ── Eyebrow ─────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--gold);
  background: var(--gold-soft);
  border-radius: 999px;
  padding: 0.4rem 0.82rem;
  border: 1px solid rgba(201,166,64,0.18);
}

.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 1px;
  transform: rotate(45deg);
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  box-shadow: 0 0 0 3px rgba(201,166,64,0.10);
}

.eyebrow-inline { display: inline-flex; margin-bottom: 0.45rem; }

/* ── Section headings ────────────────────────────────────────── */
.section-heading { margin-bottom: 1.2rem; width: 100%; }
.section-copy { margin: 0.45rem 0 0; color: var(--muted); max-width: 62ch; text-wrap: pretty; }

.section-heading::after, .section-intro::after {
  content: "";
  display: block;
  width: 68px; height: 2px;
  margin-top: 0.9rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), rgba(40,180,108,0.6), transparent);
}

.section-heading h2 { margin: 0.4rem 0 0; font-size: var(--fs-h2); letter-spacing: -0.02em; }

.section-intro { display: grid; gap: 0.65rem; width: 100%; margin-bottom: 0.85rem; }
.section-intro h2 { font-size: var(--fs-h2); letter-spacing: -0.02em; text-wrap: pretty; }
.section-intro p { color: var(--muted); text-wrap: pretty; }

.section-intro-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

/* ── Metric strip (hero) ─────────────────────────────────────── */
.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.metric-card {
  display: block;
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  min-width: 0;
  height: 100%;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}

.metric-card::before {
  content: "";
  position: absolute;
  right: 12px; top: 12px;
  width: 26px; height: 26px;
  background: linear-gradient(135deg, var(--gold), var(--brand));
  opacity: 0.80;
  -webkit-mask: var(--metric-icon) center / contain no-repeat;
          mask: var(--metric-icon) center / contain no-repeat;
}

.metric-card::after {
  content: "";
  position: absolute;
  right: 7px; top: 7px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,166,64,0.10), transparent 72%);
  pointer-events: none;
}

.metric-card--payment {
  --metric-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 7.5A2.5 2.5 0 0 1 5.5 5h13A2.5 2.5 0 0 1 21 7.5v9a2.5 2.5 0 0 1-2.5 2.5h-13A2.5 2.5 0 0 1 3 16.5zm2.2-.8a.7.7 0 0 0-.7.7v1.2h15V7.4a.7.7 0 0 0-.7-.7zm-.7 4.2v5.6a.7.7 0 0 0 .7.7h13a.7.7 0 0 0 .7-.7v-5.6zm8.8 1.8h4.2v1.6h-4.2z'/%3E%3C/svg%3E");
}
.metric-card--decision {
  --metric-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a4.6 4.6 0 0 1 4.53 3.8l3.28.48a1 1 0 0 1 .55 1.71l-2.37 2.3.56 3.26a1 1 0 0 1-1.45 1.05L12 12.9l-3.1 1.7a1 1 0 0 1-1.45-1.05l.56-3.26-2.37-2.3a1 1 0 0 1 .55-1.7l3.28-.49A4.6 4.6 0 0 1 12 2m0 1.8a2.8 2.8 0 0 0-2.7 2.1l-.16.58a1 1 0 0 1-.8.72l-2.15.31 1.56 1.52a1 1 0 0 1 .29.88l-.37 2.14 2.03-1.1a1 1 0 0 1 .95 0l2.03 1.1-.38-2.14a1 1 0 0 1 .29-.88l1.56-1.52-2.15-.31a1 1 0 0 1-.79-.72l-.17-.59A2.8 2.8 0 0 0 12 3.8'/%3E%3Cpath fill='black' d='M10.9 16.2h2.2v5h-2.2z'/%3E%3C/svg%3E");
}
.metric-card--conversion {
  --metric-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M13.1 2.8a1 1 0 0 1 1.77.9l-1.02 2.02h3.75a1 1 0 0 1 .8 1.6l-3.7 5h2.14a1 1 0 0 1 .77 1.64l-6 7.2a1 1 0 0 1-1.74-.95l1.37-4.05H6.35a1 1 0 0 1-.86-1.5z'/%3E%3C/svg%3E");
}

.metric-card span { display: block; color: var(--muted); font-size: 0.84rem; text-transform: uppercase; letter-spacing: 0.08em; }
.metric-card strong { display: block; margin-top: 0.35rem; font-size: 1rem; letter-spacing: -0.01em; color: var(--text); }
.metric-card small { display: block; margin-top: 0.45rem; padding-right: 2.4rem; color: var(--muted); font-size: 0.84rem; line-height: 1.45; }
.metric-card[href] { cursor: pointer; }
.metric-card[href] strong { padding-right: 2rem; }
.metric-card[href]:hover, .metric-card[href]:focus-visible { border-color: rgba(201,166,64,0.36); background: rgba(201,166,64,0.05); }

/* ── Card surface ────────────────────────────────────────────── */
.hero-panel, .hero-offer, .legal-banner,
.info-card, .operator-card, .inline-highlight, .feature-panel, .trend-board {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel, .hero-offer, .legal-banner,
.info-card, .operator-card, .inline-highlight, .feature-panel, .trend-board {
  padding: 1.4rem;
}

.info-card, .operator-card, .feature-panel, .trend-board, .legal-banner {
  position: relative; overflow: hidden;
}

/* Gold top-accent line */
.info-card::before, .operator-card::before, .feature-panel::before,
.trend-board::before, .legal-banner::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright) 30%, rgba(40,180,108,0.7) 70%, transparent);
  border-radius: var(--radius) var(--radius) 0 0;
}

.hero-panel::after, .hero-offer::after, .legal-banner::after,
.info-card::after, .operator-card::after, .feature-panel::after, .trend-board::after {
  content: "";
  position: absolute;
  top: -16px; right: -16px;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,166,64,0.09), transparent 72%);
  pointer-events: none;
}

.hero-panel::before, .hero-offer::before, .legal-banner::before,
.ad-callout::before, .cta-band::before { content: none; }

.glass-panel {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(160deg, rgba(20,21,30,0.95), rgba(15,16,24,0.88));
  border: 1px solid rgba(201,166,64,0.22);
}

.panel-kicker {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.78rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hero-mini-board { display: grid; gap: 0.65rem; margin: 0.9rem 0 1rem; }

.mini-board-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0.9rem 0.8rem 2.2rem;
  border: 1px solid rgba(201,166,64,0.12);
  border-radius: 14px;
  background: rgba(255,255,255,0.025);
  position: relative;
}

.mini-board-row::before {
  content: "";
  width: 8px; height: 8px;
  position: absolute; left: 14px; top: 50%; margin-top: -4px;
  border-radius: 2px; transform: rotate(45deg);
  background: linear-gradient(135deg, var(--gold), var(--brand));
}

.mini-board-row span { color: var(--muted); }
.mini-board-row strong { font-size: 0.96rem; color: var(--text); }

/* ── Hero offer panel ────────────────────────────────────────── */
.hero-offer { display: flex; flex-direction: column; gap: 0.9rem; }
.hero-offer h2 { margin: 0; font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.08; letter-spacing: -0.03em; }
.hero-offer__summary { margin: 0; color: var(--muted); }
.hero-actions--stacked { margin-top: 0.2rem; }

/* ── Ad callout ──────────────────────────────────────────────── */
.ad-callout, .cta-band {
  display: grid;
  gap: 1rem;
  margin-bottom: 0.9rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(201,166,64,0.18);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(201,166,64,0.07), rgba(16,17,26,0.88) 55%, rgba(40,180,108,0.05));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.ad-callout { grid-template-columns: 1fr auto; align-items: center; }
.ad-callout strong, .cta-band h2 { display: block; font-size: 1rem; letter-spacing: -0.01em; color: var(--text); }
.ad-callout span, .cta-band p { color: var(--muted); }
.ad-callout__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.7rem; }
.ad-callout--soft { margin-bottom: 0.85rem; }
.ad-callout--inline-end { margin-top: 0.85rem; }
.cta-band { grid-template-columns: 1.1fr auto; align-items: center; }
.cta-band h2 { font-size: 1.4rem; margin-top: 0.25rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.legal-banner { display: grid; gap: 0.65rem; }

/* ── Card grids ──────────────────────────────────────────────── */
.card-grid { display: grid; gap: 0.9rem; align-items: stretch; grid-auto-rows: 1fr; }
.card-grid.compact-grid { grid-template-columns: 1fr; }

.info-card, .operator-card, .feature-panel, .trend-item, .ad-callout, .cta-band, .hero-panel, .hero-offer {
  display: flex; flex-direction: column; height: 100%;
}

.info-card, .operator-card, .feature-panel { min-height: 100%; }
.info-card p, .operator-card p, .feature-panel p { flex-grow: 1; }

.info-card--category p, .info-card--payment p, .info-card--guide p,
.info-card--category-network p, .info-card--category-archive p,
.info-card--guide-archive p, .info-card--payment-archive p, .operator-card p {
  min-height: 4.9em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  color: var(--muted);
}

.operator-card h3, .info-card h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.01em; }

.operator-card__header { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }

.operator-card__media, .info-card__media {
  display: block;
  margin: -1.4rem -1.4rem 1rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--surface-alt);
}

.info-card__media { border-top-left-radius: inherit; border-top-right-radius: inherit; }

.operator-card__image, .info-card__image {
  display: block; width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.80;
}

.entry-featured-media {
  margin: 0 0 1.2rem;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface-alt);
}

.entry-featured-media__image { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; opacity: 0.85; }

/* ── Score badge ─────────────────────────────────────────────── */
.score-badge {
  display: inline-flex;
  min-width: 72px;
  justify-content: center;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  font-weight: 700;
  border: 1px solid rgba(201,166,64,0.22);
}

/* ── Operator badge strip ────────────────────────────────────── */
.operator-badge-strip { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.95rem; }
.operator-meta { margin: 0.85rem 0 0; padding: 0; list-style: none; color: var(--muted); }
.operator-meta li + li { margin-top: 0.35rem; }
.operator-actions { margin-top: auto; }

/* ── Tags (small inline labels) ──────────────────────────────── */
.op-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(40,180,108,0.10);
  color: var(--brand);
  border: 1px solid rgba(40,180,108,0.18);
}

.op-tag--pay {
  background: rgba(201,166,64,0.10);
  color: var(--gold);
  border-color: rgba(201,166,64,0.18);
}

.op-tag--license {
  background: rgba(40,100,220,0.10);
  color: #6aa0e8;
  border-color: rgba(40,100,220,0.18);
}

/* ── Promo badge ─────────────────────────────────────────────── */
.promo-badge-row { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 0.65rem 0 0.7rem; }

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 30px;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(201,166,64,0.11);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(201,166,64,0.18);
}

.promo-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(201,166,64,0.10);
}

.promo-badge--soft { background: rgba(40,180,108,0.10); color: var(--brand); border-color: rgba(40,180,108,0.20); }

/* ── Card CTA row / text cta ─────────────────────────────────── */
.card-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(201,166,64,0.10);
}

.text-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 700;
}

.text-cta::after {
  content: "";
  width: 13px; height: 13px;
  flex: 0 0 13px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg) translateY(1px);
}

/* ── Affiliate note ──────────────────────────────────────────── */
.affiliate-note {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.86rem;
  padding-left: 1rem;
  position: relative;
}

.affiliate-note::before {
  content: "";
  position: absolute; left: 0; top: 0.42rem;
  width: 5px; height: 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--brand));
}

.row-note { margin-bottom: 0.2rem; }

/* ── Hover lift ──────────────────────────────────────────────── */
.info-card:hover, .operator-card:hover, .feature-panel:hover,
.cta-band:hover, .ad-callout:hover, .metric-card:hover,
.mini-board-row:hover, .trend-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.60), 0 0 0 1px rgba(201,166,64,0.20);
}

/* ═══════════════════════════════════════════════════════════════
   OPERATOR ROWS (new horizontal layout)
═══════════════════════════════════════════════════════════════ */
.operators-rows { display: flex; flex-direction: column; gap: 0.55rem; }

.operator-row {
  display: grid;
  grid-template-columns: 30px 56px minmax(0,1fr) minmax(0,1.8fr) 110px 90px 68px auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

/* Gold left accent */
.operator-row::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), rgba(40,180,108,0.7), transparent);
  border-radius: 18px 0 0 18px;
}

.operator-row:hover {
  transform: translateX(3px);
  border-color: rgba(201,166,64,0.28);
  box-shadow: 0 6px 22px rgba(0,0,0,0.45), -3px 0 0 rgba(201,166,64,0.38);
}

.op-row__rank {
  font-size: 0.76rem;
  font-weight: 800;
  color: rgba(201,166,64,0.55);
  text-align: center;
}

.op-row__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  overflow: hidden;
  flex: 0 0 52px;
  text-decoration: none;
}

.op-row__logo-img { display: block; width: 100%; height: 100%; object-fit: contain; }

.op-row__logo-initial {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
}

.op-row__body { min-width: 0; }

.op-row__name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.35rem;
  line-height: 1.2;
}

.op-row__name a { color: var(--text); transition: color 0.18s; }
.op-row__name a:hover { color: var(--gold); }

.op-row__tags { display: flex; flex-wrap: wrap; gap: 0.3rem; }

.op-row__bonus, .op-row__deposit, .op-row__speed { min-width: 0; }

.op-row__stat-label {
  display: block;
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.op-row__stat-value {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.op-row__bonus .op-row__stat-value {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.op-row__speed-value.op-row__speed--fast  { color: var(--brand); }
.op-row__speed-value.op-row__speed--medium { color: var(--gold); }
.op-row__speed-value.op-row__speed--slow   { color: var(--berry); }

.op-row__score {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Score ring (used in rows and single-operator) */
.score-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 2px solid rgba(201,166,64,0.28);
  background: rgba(201,166,64,0.07);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.score-ring span { font-size: 0.6rem; font-weight: 400; color: var(--muted); }

.score-ring--large {
  width: 72px; height: 72px;
  font-size: 1.2rem;
  border-width: 3px;
  border-color: rgba(201,166,64,0.35);
  box-shadow: 0 0 0 4px rgba(201,166,64,0.08);
}

.op-row__actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 130px;
}

.op-row__actions .button {
  width: 100%;
  justify-content: center;
  font-size: 0.85rem;
  min-height: 38px;
  padding: 0.55rem 0.9rem;
}

/* ═══════════════════════════════════════════════════════════════
   SINGLE OPERATOR — HERO + STATS BAR
═══════════════════════════════════════════════════════════════ */
.operator-single { display: grid; gap: 1.5rem; }

.operator-hero {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1.4rem;
  align-items: start;
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.operator-hero::before {
  content: "";
  position: absolute; inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright) 30%, rgba(40,180,108,0.7) 70%, transparent);
}

.operator-hero__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px; height: 96px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  overflow: hidden;
  flex: 0 0 96px;
}

.operator-hero__img { display: block; width: 100%; height: 100%; object-fit: contain; }

.operator-hero__initial {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
}

.operator-hero__info { min-width: 0; }
.operator-hero__info h1 { margin: 0.3rem 0 0.6rem; font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -0.03em; }
.operator-hero__tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.5rem; }

.operator-hero__aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  min-width: 140px;
}

.operator-hero__score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.score-ring__label { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

.operator-hero__cta { display: grid; gap: 0.5rem; width: 100%; }
.operator-hero__cta .button { width: 100%; justify-content: center; }

.operator-hero__bonus-pill {
  margin: 0;
  font-size: 0.78rem;
  color: var(--gold);
  text-align: center;
  line-height: 1.4;
}

/* Stats bar */
.operator-stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  border-right: 1px solid var(--line);
}

.stat-item:last-child { border-right: none; }

.stat-item span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); }
.stat-item strong { font-size: 0.92rem; color: var(--text); }

.speed-fast   { color: var(--brand) !important; }
.speed-medium { color: var(--gold) !important; }
.speed-slow   { color: var(--berry) !important; }

/* ═══════════════════════════════════════════════════════════════
   OPERATOR TABS
═══════════════════════════════════════════════════════════════ */
.operator-tabs { margin-top: 0; }

.tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.8rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tabs-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.75rem 1.4rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  cursor: pointer;
  white-space: nowrap;
  margin-bottom: -1px;
  transition: color 0.18s, border-color 0.18s;
}

.tab-btn:hover { color: var(--text); }

.tab-btn.is-active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px; height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(201,166,64,0.12);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
}

.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

/* ── Bonus tab ───────────────────────────────────────────────── */
.bonus-tab { display: grid; gap: 1.5rem; }

.bonus-highlight {
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid rgba(201,166,64,0.18);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1rem;
}

.bonus-highlight::before {
  content: "";
  position: absolute; inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright), rgba(40,180,108,0.7), transparent);
}

.bonus-highlight h2 { margin: 0; font-size: 1.3rem; color: var(--gold); }
.bonus-highlight .button { justify-self: start; }

.pros-cons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.pros-block h3, .cons-block h3 { margin: 0 0 0.8rem; font-size: 1rem; }
.pros-block h3 { color: var(--brand); }
.cons-block h3 { color: var(--berry); }

.pros-list, .cons-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }

.pros-list li, .cons-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.94rem;
  color: var(--muted);
}

.pros-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.55rem;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.cons-list li::before {
  content: "";
  position: absolute; left: 2px; top: 0.55rem;
  width: 6px; height: 6px;
  border-radius: 1px; transform: rotate(45deg);
  background: var(--berry);
}

/* ── Payments tab ────────────────────────────────────────────── */
.payments-tab { display: grid; gap: 1.4rem; }
.payments-tab h2 { margin: 0 0 0.5rem; font-size: 1.2rem; }

.payment-methods-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.7rem; }

.payment-method-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.025);
  text-align: center;
}

.payment-method-item.is-available { border-color: rgba(40,180,108,0.25); }
.payment-method-item.is-unavailable { opacity: 0.45; }

.pm-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(201,166,64,0.08);
  border: 1px solid rgba(201,166,64,0.18);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold);
}

.payment-method-item.is-available .pm-icon { background: rgba(40,180,108,0.10); border-color: rgba(40,180,108,0.22); color: var(--brand); }

.pm-name { font-weight: 700; font-size: 0.9rem; }
.pm-status { font-size: 0.76rem; color: var(--muted); }
.payment-method-item.is-available .pm-status { color: var(--brand); }

.payments-stats { display: grid; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }

.stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.stat-row:last-child { border-bottom: none; }
.stat-row span { color: var(--muted); }
.stat-row strong { color: var(--text); }

/* ── Reviews tab ─────────────────────────────────────────────── */
.reviews-tab { display: grid; gap: 1.2rem; }
.reviews-tab h2 { margin: 0 0 0.5rem; font-size: 1.2rem; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0.8rem; }

.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.review-card::before {
  content: "";
  position: absolute; inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(40,180,108,0.6), transparent);
}

.review-card__score {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.review-card__score span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); }
.review-card__score strong { font-size: 1.1rem; color: var(--gold); font-weight: 800; }

.review-card h3 { margin: 0; font-size: 1rem; }
.review-card h3 a { color: var(--text); }
.review-card h3 a:hover { color: var(--gold); }
.review-card p { margin: 0; color: var(--muted); font-size: 0.9rem; flex-grow: 1; }

/* ── Feature panels ──────────────────────────────────────────── */
.showcase-grid, .dual-column { display: grid; gap: 0.9rem; align-items: stretch; }
.showcase-grid > *, .dual-column > * { min-width: 0; }
.dual-column--balanced { align-items: start; }

.dual-column__stack { display: flex; flex-direction: column; gap: 0.9rem; min-width: 0; }
.dual-column__stack .section-heading { margin-bottom: 0; }

.feature-panel { position: relative; }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(201,166,64,0.16), rgba(40,180,108,0.10));
  color: var(--gold);
  font-weight: 800;
  border: 1px solid rgba(201,166,64,0.22);
  box-shadow: 0 4px 14px rgba(201,166,64,0.16);
  position: relative;
}

.icon-badge::after {
  content: "";
  position: absolute; inset: 7px;
  border-radius: 999px;
  border: 1px solid rgba(201,166,64,0.18);
}

.feature-panel h2 { font-size: 1.32rem; margin-bottom: 0.45rem; letter-spacing: -0.02em; }
.feature-panel .feature-list { margin-top: auto; }

.feature-list { margin: 0.85rem 0 0; padding-left: 0; color: var(--muted); list-style: none; }
.feature-list li { position: relative; padding-left: 1.3rem; }
.feature-list li + li { margin-top: 0.35rem; }
.feature-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.62rem;
  width: 6px; height: 6px;
  border-radius: 1px; transform: rotate(45deg);
  background: linear-gradient(135deg, var(--gold), var(--brand));
}

/* Trend board */
.trend-board { display: grid; gap: 0.7rem; }
.trend-item {
  display: flex; flex-direction: column;
  padding: 0.9rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.022);
  border: 1px solid var(--line);
  min-height: 100%; position: relative; overflow: hidden;
}
.trend-item::before { content: none; }
.trend-item strong { display: block; margin: 0.25rem 0 0.3rem; font-size: 1.04rem; padding-right: 2.2rem; color: var(--text); }
.trend-item .text-cta { margin-top: auto; }
.trend-label { color: var(--gold); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* ── Prose ───────────────────────────────────────────────────── */
.prose { max-width: none; width: 100%; }
.single-entry-shell { display: grid; gap: 1.4rem; }
.single-entry { min-width: 0; display: grid; gap: 1.35rem; }
.single-entry__grid { display: grid; grid-template-columns: minmax(0,1fr) 352px; gap: clamp(1.1rem,2vw,2rem); align-items: start; }
.single-entry__main { min-width: 0; display: grid; gap: 1rem; }
.single-entry__rail { min-width: 0; }

/* Sidebar rail */
.single-rail { position: sticky; top: 108px; display: grid; gap: 1rem; width: 100%; }

.single-rail__card {
  padding: 1.1rem 1.05rem;
  border: 1px solid rgba(201,166,64,0.16);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(18,19,28,0.99), rgba(14,15,22,0.94));
  box-shadow: 0 16px 44px rgba(0,0,0,0.45);
  position: relative; overflow: hidden;
}

.single-rail__card::before {
  content: "";
  position: absolute; inset: 0 auto auto 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(40,180,108,0.7), transparent);
}

.single-rail__card h2 { margin: 0.2rem 0 0.55rem; font-size: 1.1rem; line-height: 1.14; letter-spacing: -0.02em; }
.single-rail__intro { margin: 0 0 0.9rem; font-size: 0.94rem; color: var(--muted); }
.single-rail__card p { margin: 0; color: var(--muted); line-height: 1.48; }
.single-rail__bonus { color: var(--gold) !important; font-weight: 700; }
.single-rail__meta, .single-rail__links { margin: 0.85rem 0 0; padding: 0; list-style: none; }
.single-rail__meta { display: grid; gap: 0.45rem; }
.single-rail__meta li { color: var(--text); font-size: 0.94rem; }
.single-rail__actions { display: grid; gap: 0.7rem; margin-top: 0.95rem; }
.single-rail__actions .button { width: 100%; justify-content: center; }
.single-rail__disclosure { margin-top: 0.85rem; font-size: 0.82rem; color: var(--muted); }
.single-rail__links { display: grid; gap: 0.65rem; }

.single-rail__links li a {
  display: grid; gap: 0.3rem;
  padding: 0.9rem 0.95rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.022);
  border: 1px solid rgba(201,166,64,0.10);
  transition: background 0.18s, border-color 0.18s;
}

.single-rail__links li a:hover { background: rgba(201,166,64,0.06); border-color: rgba(201,166,64,0.26); }
.single-rail__links li a strong { color: var(--gold); line-height: 1.2; }
.single-rail__links li a span { color: var(--muted); font-size: 0.84rem; text-transform: uppercase; letter-spacing: 0.08em; }
.single-rail__links li a small { color: var(--muted); font-size: 0.88rem; line-height: 1.45; }
.single-rail__more { margin-top: 0.95rem; }

/* Related links */
.info-card--related .promo-badge { align-self: flex-start; margin-bottom: 0.45rem; }
.info-card--related h3 { margin-top: 0; }
.info-card--related p { min-height: 4.8em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.ylp-related-links-footer { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.single-entry--category { gap: 1.35rem; }

/* Prose entry */
.prose--entry { display: block; width: 100%; max-width: none; }
.prose--entry > * { min-width: 0; }
.prose--entry > :first-child { margin-top: 0; }
.prose--entry > :last-child { margin-bottom: 0; }

.prose h2 { font-size: clamp(1.4rem,2.4vw,1.95rem); letter-spacing: -0.02em; text-wrap: pretty; }
.prose h3 { font-size: 1.18rem; letter-spacing: -0.01em; text-wrap: pretty; }
.prose p, .prose li { color: rgba(237,230,212,0.82); font-size: 1rem; text-wrap: pretty; }

.prose--entry h1 { margin: 0.15rem 0 1rem; max-width: 15ch; }
.prose--entry h2 { margin: 1.35rem 0 0.5rem; line-height: 1.12; }
.prose--entry h3 { margin: 1rem 0 0.4rem; line-height: 1.2; }
.prose--entry p { margin: 0 0 0.8rem; line-height: 1.46; }
.prose--entry ul, .prose--entry ol { margin: 0.15rem 0 0.9rem; line-height: 1.44; padding-left: 1.25rem; }
.prose--entry li { margin-bottom: 0.28rem; }
.prose--entry ul li, .prose--entry ol li { margin-bottom: 0.45rem; }

.prose a { color: var(--gold); text-decoration: underline; text-decoration-color: rgba(201,166,64,0.40); transition: text-decoration-color 0.18s; }
.prose a:hover { text-decoration-color: var(--gold); }

.prose--entry .ad-callout, .prose--entry .ylp-reusable-block, .prose--entry .inline-highlight { margin: 0.4rem 0; }

.inline-highlight { border: 1px solid rgba(201,166,64,0.18) !important; border-left: 3px solid var(--gold) !important; background: rgba(201,166,64,0.05) !important; }

.review-hero { margin-bottom: 0.5rem; }
.front-copy--rich { color: rgba(237,230,212,0.82); }

/* ── Product blocks ──────────────────────────────────────────── */
.ylp-product-stack { display: grid; gap: 1.2rem; margin: 1.5rem 0; }

.ylp-reusable-block, .ylp-comparison-builder, .review-builder, .author-box, .error-404-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 1.4rem;
  position: relative; overflow: hidden;
}

.ylp-reusable-block::before, .ylp-comparison-builder::before, .review-builder::before,
.author-box::before, .error-404-panel::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(40,180,108,0.7), transparent);
  border-radius: 28px 28px 0 0;
}

.ylp-reusable-block h2, .ylp-comparison-builder h2, .review-builder h2, .author-box h2, .error-404-panel h1 { margin-bottom: 0.75rem; }
.ylp-reusable-block__list, .review-builder ul { margin: 0.85rem 0 0; padding-left: 1.1rem; }
.ylp-reusable-block__list li, .review-builder li { margin-bottom: 0.45rem; }

/* FAQ */
.ylp-faq-list { display: grid; gap: 0.95rem; margin-top: 1rem; }
.ylp-faq-item { padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,0.018); transition: border-color 0.2s; }
.ylp-faq-item:hover { border-color: rgba(201,166,64,0.30); }
.ylp-faq-item h3, .ylp-faq-item h4 { margin-bottom: 0.45rem; color: var(--text); }
.ylp-faq-item p { color: var(--muted); margin: 0; }

.review-builder__cta { margin-top: 1rem; display: grid; gap: 0.85rem; }

/* Author box */
.author-box { margin-top: 1.35rem; }
.author-box__header { display: grid; gap: 0.5rem; }
.author-box__summary { color: var(--muted); max-width: 68ch; }
.author-box__chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.95rem; }

.author-box__chip {
  display: inline-flex; align-items: center;
  min-height: 34px; padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(201,166,64,0.08); border: 1px solid rgba(201,166,64,0.20);
  color: var(--gold); font-size: 0.83rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
}

.author-box__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.1rem 1.4rem; margin-top: 1rem; align-items: start; }
.author-box__fact { padding: 1rem; border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,0.018); }
.author-box__fact strong { display: block; margin-bottom: 0.45rem; color: var(--gold); }
.author-box__role, .author-box__note { color: var(--muted); }
.author-box__note { margin-top: 1rem; padding: 0.95rem 1rem; border-radius: 18px; background: rgba(201,166,64,0.05); border: 1px solid rgba(201,166,64,0.14); }

/* ── Table ───────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.ylp-table { width: 100%; border-collapse: collapse; background: var(--surface); overflow: hidden; position: relative; }
.ylp-table th, .ylp-table td { padding: 0.9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 0.95rem; color: var(--text); }
.ylp-table th { background: rgba(201,166,64,0.08); color: var(--gold); font-size: 0.82rem; letter-spacing: 0.09em; text-transform: uppercase; font-weight: 700; }
.ylp-table tr:last-child td { border-bottom: none; }
.ylp-table tr:hover td { background: rgba(201,166,64,0.03); }

/* ── Pagination ──────────────────────────────────────────────── */
.ylp-pagination { margin-top: 1.15rem; display: grid; gap: 0.7rem; justify-items: start; }
.ylp-pagination__label { color: var(--muted); font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.12em; }
.ylp-pagination__links { display: flex; flex-wrap: wrap; gap: 0.55rem; }

.ylp-pagination__link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  color: var(--text); font-weight: 700;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.ylp-pagination__link:hover { background: rgba(201,166,64,0.09); border-color: rgba(201,166,64,0.38); color: var(--gold); }
.ylp-pagination__link.is-active { background: rgba(201,166,64,0.15); border-color: rgba(201,166,64,0.42); color: var(--gold); }
.ylp-pagination__link--all { padding-inline: 1.1rem; }
.section-category-network { margin-top: 0.35rem; }

/* ── Breadcrumbs ─────────────────────────────────────────────── */
.ylp-breadcrumbs { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1rem; color: var(--muted); font-size: 0.92rem; }
.ylp-breadcrumbs a { color: var(--gold); opacity: 0.72; transition: opacity 0.18s; }
.ylp-breadcrumbs a:hover { opacity: 1; }

/* ── WP prose tables ─────────────────────────────────────────── */
.prose--entry table { width: 100%; border-collapse: collapse; margin: 1rem 0; overflow-x: auto; display: block; }
.prose--entry .wp-block-table table { display: table; }
.prose--entry th, .prose--entry td { padding: 0.75rem 0.9rem; border: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 0.95rem; color: var(--text); }
.prose--entry th { background: rgba(201,166,64,0.07); color: var(--gold); font-size: 0.88rem; font-weight: 700; }
.prose--entry tr:nth-child(even) td { background: rgba(255,255,255,0.012); }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer { padding: 2.5rem 0 1.8rem; background: #050508; color: rgba(237,230,212,0.78); position: relative; overflow: hidden; }
.site-footer::before { content: none; }
.site-footer::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent 5%, var(--gold) 42%, rgba(40,180,108,0.5) 68%, transparent); opacity: 0.38; }

.site-footer .footer-grid { width: 100%; margin: 0 auto; gap: clamp(1.5rem,3vw,3.5rem); align-items: start; padding-bottom: 1.2rem; }
.footer-column { display: grid; align-content: start; gap: 0.8rem; }
.footer-column p, .footer-column li, .footer-column a { max-width: none; }
.footer-column a { color: rgba(237,230,212,0.55); transition: color 0.18s; }
.footer-column a:hover { color: var(--gold); }

.footer-meta { display: flex; justify-content: center; margin-top: 0; padding-top: 1rem; border-top: 1px solid rgba(201,166,64,0.10); }
.footer-meta p { margin: 0; text-align: center; color: rgba(237,230,212,0.35); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; }
.site-footer h2, .site-footer h3 { margin-top: 0; margin-bottom: 0.2rem; color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer .menu, .site-footer .menu-fallback { display: grid; gap: 0.85rem; }
.site-footer p, .site-footer li { line-height: 1.5; }
.site-footer p { margin: 0.35rem 0 0; }

/* ── 404 ─────────────────────────────────────────────────────── */
.ylp-suggestions-404 { margin-top: 1.5rem; }

/* ── Empty suppression ───────────────────────────────────────── */
.card-grid:empty, .prose--entry > .card-grid:empty,
.single-entry > .card-grid:empty, .ylp-comparison-builder:empty { display: none; }

/* ── Accessibility ───────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ================================================================
   RESPONSIVE
================================================================ */

@media (min-width: 760px) {
  .hero-grid { grid-template-columns: minmax(0,1.08fr) minmax(360px,0.92fr); align-items: stretch; }
  .showcase-grid { grid-template-columns: repeat(3,1fr); }
  .dual-column { grid-template-columns: 1.05fr 0.95fr; }
  .footer-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (min-width: 980px) {
  .card-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

/* ≤ 1059px — narrow operator row: hide deposit + speed */
@media (max-width: 1059px) {
  .operator-row { grid-template-columns: 28px 52px minmax(0,1fr) minmax(0,1.6fr) 68px auto; }
  .op-row__deposit, .op-row__speed { display: none; }
}

/* ≤ 959px */
@media (max-width: 959px) {
  .header-inner { gap: 0.75rem; }
  .primary-nav ul, .primary-nav .menu-fallback { gap: 0.75rem; font-size: 0.96rem; }
  .hero-grid, .dual-column { grid-template-columns: 1fr; }
  .hero-grid { gap: 1.25rem; }
  .hero-offer { order: 2; }
  .hero-panel, .hero-offer, .feature-panel, .info-card, .operator-card, .legal-banner, .trend-board { padding: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .single-entry__grid { grid-template-columns: minmax(0,1fr) minmax(290px,340px); gap: 1.25rem; }
  .operator-hero { grid-template-columns: 80px 1fr; }
  .operator-hero__aside { grid-column: 1 / 3; flex-direction: row; align-items: center; justify-content: space-between; }
  .pros-cons-grid { grid-template-columns: 1fr; }
}

/* ≤ 759px — mobile */
@media (max-width: 759px) {
  .site-shell { width: min(calc(100% - 1.25rem), var(--site-width)); }
  .hero, .section { padding: 2rem 0; }
  .header-inner { padding: 0.7rem 0; gap: 0.7rem; }

  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 0.65rem 0.95rem;
    border: 1px solid rgba(201,166,64,0.24); border-radius: 999px;
    background: rgba(255,255,255,0.04); color: var(--gold); font-weight: 700; font-size: 0.9rem;
    cursor: pointer; font-family: var(--font-sans);
    transition: background 0.18s, border-color 0.18s;
  }

  .menu-toggle:hover { background: rgba(201,166,64,0.08); border-color: rgba(201,166,64,0.42); }

  .primary-nav {
    display: none;
    position: absolute; top: 100%; right: 1rem; left: 1rem;
    max-height: calc(100vh - 90px); overflow: auto;
    padding: 1rem;
    background: rgba(13,14,20,0.98); border: 1px solid rgba(201,166,64,0.18);
    border-radius: var(--radius); box-shadow: 0 20px 44px rgba(0,0,0,0.6);
    backdrop-filter: blur(20px);
  }

  .primary-nav.is-open { display: block; }
  .primary-nav ul, .primary-nav .menu-fallback { flex-direction: column; gap: 0.35rem; }
  .primary-nav a { display: block; padding: 0.72rem 0.2rem; font-size: 1rem; }

  /* Operator row → stacked card on mobile */
  .operator-row {
    grid-template-columns: 48px 1fr auto;
    grid-template-rows: auto auto auto;
    gap: 0.6rem 0.8rem;
    padding: 1rem;
  }

  .op-row__rank { display: none; }
  .op-row__logo { grid-column: 1; grid-row: 1; width: 44px; height: 44px; flex: 0 0 44px; }
  .op-row__body { grid-column: 2; grid-row: 1; }
  .op-row__score { grid-column: 3; grid-row: 1; align-items: flex-start; }
  .op-row__bonus { grid-column: 1 / 4; grid-row: 2; }
  .op-row__deposit, .op-row__speed { display: none; }
  .op-row__actions { grid-column: 1 / 4; grid-row: 3; flex-direction: row; }
  .op-row__actions .button { flex: 1; font-size: 0.82rem; min-height: 36px; padding: 0.5rem 0.7rem; }
  .row-note { font-size: 0.78rem; }

  /* Operator single hero */
  .operator-hero { grid-template-columns: 64px 1fr; gap: 0.8rem; }
  .operator-hero__logo { width: 60px; height: 60px; flex: 0 0 60px; }
  .operator-hero__aside { grid-column: 1 / 3; flex-direction: row; align-items: center; gap: 1rem; flex-wrap: wrap; }
  .operator-hero__cta { flex: 1; }
  .operator-stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item { border-bottom: 1px solid var(--line); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat-item:last-child, .stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }

  /* Single entry */
  .single-entry__grid { grid-template-columns: 1fr; }
  .single-rail { position: static; gap: 0.8rem; }
  .single-entry { gap: 1rem; }
  .prose--entry { max-width: none; }
  .prose--entry h1, .prose--entry h2, .prose--entry h3, .prose--entry p, .prose--entry ul, .prose--entry ol { max-width: none; }
  .prose--entry h1 { margin-bottom: 0.8rem; }
  .prose--entry h2 { margin: 1.15rem 0 0.45rem; }
  .prose--entry h3 { margin: 0.9rem 0 0.35rem; }
  .prose--entry p { line-height: 1.55; }
  .prose--entry ul, .prose--entry ol { padding-left: 1.1rem; }

  /* Sections */
  .section-heading, .section-intro { margin-bottom: 0.95rem; }
  .section-heading::after, .section-intro::after { width: 56px; margin-top: 0.7rem; }
  .section-copy { max-width: none; }
  .section-intro-row { flex-direction: column; align-items: flex-start; }

  body::before { opacity: 0.40; }
  .brand-mark { width: 41px; height: 41px; flex-basis: 41px; }
  .brand-mark img { max-width: 41px; max-height: 41px; }
  .brand .custom-logo { max-width: 62px; max-height: 50px; }

  .ad-callout, .cta-band { grid-template-columns: 1fr; align-items: start; }
  .hero-actions, .operator-actions, .cta-band__actions, .ad-callout__actions { width: 100%; flex-direction: column; align-items: stretch; }
  .hero-actions .button, .operator-actions .button, .cta-band__actions .button, .ad-callout__actions .button { width: 100%; }
  .hero-panel::before, .hero-offer::before, .legal-banner::before, .ad-callout::before, .cta-band::before { content: none; }
  .ad-callout__actions { justify-content: flex-start; }

  .metric-strip { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0.65rem; }
  .metric-card { min-width: 0; }
  .card-cta-row { flex-direction: column; align-items: stretch; }
  .card-cta-row .button, .card-cta-row .text-cta { width: 100%; }
  .ylp-related-links-footer { flex-direction: column; }
  .text-cta { justify-content: center; }
  .ylp-breadcrumbs { gap: 0.35rem; row-gap: 0.25rem; font-size: 0.84rem; margin-bottom: 0.75rem; }
  .ylp-table th, .ylp-table td { padding: 0.75rem; font-size: 0.92rem; }
  .author-box__grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }

  /* Tabs — scroll on mobile, keep 44px tap target */
  .tab-btn { min-height: 44px; padding: 0.65rem 0.95rem; font-size: 0.88rem; }

  /* Score ring compact on mobile hero */
  .score-ring--large { width: 60px; height: 60px; font-size: 1.05rem; }
}

/* ≤ 479px — very small phones (360px) */
@media (max-width: 479px) {
  :root { --fs-h1: 1.8rem; --fs-h2: 1.42rem; --fs-h3: 1.08rem; --fs-lead: 1rem; }
  .header-inner { padding: 0.85rem 0; }
  .brand-mark { width: 37px; height: 37px; flex-basis: 37px; }
  .brand-mark img { max-width: 37px; max-height: 37px; }
  .brand .custom-logo { max-width: 58px; max-height: 46px; }
  .site-shell { width: min(calc(100% - 1rem), var(--site-width)); }
  .single-rail__card { padding: 1rem; border-radius: 18px; }
  .metric-strip { grid-template-columns: 1fr; }
  .hero-panel, .hero-offer, .legal-banner, .info-card, .operator-card, .inline-highlight, .feature-panel, .trend-board { padding: 1.1rem; }
  .operator-card__media { margin: -1.1rem -1.1rem 0.9rem; }
  .button { width: 100%; }
  .cta-band__actions, .operator-actions { width: 100%; }
  .card-cta-row .button, .card-cta-row .text-cta { width: 100%; }
  .hero-actions, .operator-actions { gap: 0.65rem; }
  .single-rail__links li a { padding: 0.72rem 0.8rem; }

  /* Operator row: tighter on 360px */
  .operator-row { padding: 0.85rem; gap: 0.5rem 0.65rem; }
  .op-row__logo { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px; }
  .op-row__name { font-size: 0.92rem; }
  .op-row__stat-label { font-size: 0.65rem; }
  .op-row__stat-value { font-size: 0.82rem; }
  .op-row__actions .button { font-size: 0.78rem; min-height: 34px; padding: 0.4rem 0.6rem; }
  .score-ring { width: 46px; height: 46px; font-size: 0.8rem; }

  /* Operator single hero: compact */
  .operator-hero { grid-template-columns: 56px 1fr; gap: 0.65rem; padding: 1.1rem; }
  .operator-hero__logo { width: 52px; height: 52px; flex: 0 0 52px; }
  .operator-hero__aside { gap: 0.65rem; }
  .score-ring--large { width: 52px; height: 52px; font-size: 0.9rem; }
  .operator-stats-bar { grid-template-columns: 1fr 1fr; }

  /* Tabs */
  .tab-btn { padding: 0.55rem 0.8rem; font-size: 0.82rem; }
}
