/* PokerwPolsce — design inspired by pokerinfluencers.com: dark default, red CTAs, gold accent */

*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--text-primary); background: var(--bg); -webkit-font-smoothing: antialiased; }

/* DARK DEFAULT (pokerinfluencers.com style) */
:root {
  /* Red primary (CTA) */
  --accent: #CC181D;
  --accent-hover: #E11D22;
  --accent-light: rgba(204, 24, 29, 0.12);
  --accent-glow: rgba(204, 24, 29, 0.35);
  --cta: #CC181D;
  --cta-hover: #E11D22;
  --cta-light: rgba(204, 24, 29, 0.12);
  --cta-glow: rgba(204, 24, 29, 0.4);
  /* Gold secondary */
  --gold: #DBB475;
  --gold-hover: #E8C68B;
  --gold-light: rgba(219, 180, 117, 0.12);
  --gold-border: rgba(219, 180, 117, 0.35);
  /* Sky (kept for legacy components) */
  --sky: #DBB475;
  --sky-light: rgba(219, 180, 117, 0.08);
  /* Surfaces */
  --bg: #141414;
  --surface: #1E1E1E;
  --surface-2: #0F0F0F;
  --card-bg: #1E1E1E;
  --border: #2A2A2A;
  --border-light: #333333;
  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: #C9C9C9;
  --text-muted: #8F8F8F;
  /* Status */
  --bonus: #4ADE80;
  --bonus-light: rgba(74, 222, 128, 0.1);
  --danger: #F87171;
  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
  /* Radius + fonts + container */
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --container: 1280px;
  --font-display: 'General Sans', 'Helvetica Neue', system-ui, sans-serif;
  --font-body: 'Satoshi', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* LIGHT MODE OVERRIDE (toggle via [data-theme="light"]) */
[data-theme="light"] {
  --accent: #CC181D;
  --accent-hover: #B01518;
  --accent-light: rgba(204, 24, 29, 0.08);
  --accent-glow: rgba(204, 24, 29, 0.22);
  --cta: #CC181D;
  --cta-hover: #B01518;
  --cta-light: rgba(204, 24, 29, 0.08);
  --cta-glow: rgba(204, 24, 29, 0.25);
  --gold: #9E7B3A;
  --gold-hover: #846229;
  --gold-light: rgba(158, 123, 58, 0.1);
  --gold-border: rgba(158, 123, 58, 0.35);
  --sky: #9E7B3A;
  --sky-light: rgba(158, 123, 58, 0.06);
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --surface-2: #F4F4F4;
  --card-bg: #FFFFFF;
  --border: #E5E5E5;
  --border-light: #EFEFEF;
  --text-primary: #141414;
  --text-secondary: #3D3D3D;
  --text-muted: #666666;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 14px 40px rgba(0, 0, 0, 0.1);
}

h1,h2,h3,h4,h5 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 0.5em; color: var(--text-primary); }
h1 { font-size: clamp(2.25rem, 5vw, 4.2rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--text-secondary); }
a { color: var(--accent); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent-hover); }

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

/* Disclosure bar */
.disclosure-bar { background: var(--surface-2); border-bottom: 1px solid var(--border); font-size: .8125rem; color: var(--text-muted); padding: .55rem 0; text-align: center; }
.disclosure-bar a { color: var(--text-secondary); text-decoration: underline; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; backdrop-filter: saturate(180%) blur(8px); -webkit-backdrop-filter: saturate(180%) blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo-link { display: flex; align-items: center; gap: .5rem; color: var(--text-primary); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.logo-link:hover { color: var(--text-primary); }
.logo-link svg { height: 28px; width: auto; }
.nav-links { display: none; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text-secondary); font-weight: 500; font-size: .9375rem; }
.nav-links a:hover { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.theme-toggle, .menu-toggle { background: transparent; border: 1px solid var(--border); color: var(--text-secondary); width: 40px; height: 40px; border-radius: var(--radius); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: all .15s; }
.theme-toggle:hover, .menu-toggle:hover { background: var(--surface-2); border-color: var(--accent); color: var(--accent); }
.menu-toggle { display: inline-flex; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
}

/* Mobile nav */
.mobile-nav { display: none; position: fixed; top: 64px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 1rem 1.25rem; z-index: 99; box-shadow: var(--shadow-lg); }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.mobile-nav a { color: var(--text-primary); font-weight: 500; display: block; padding: .5rem 0; border-bottom: 1px solid var(--border-light); }

/* Hero — pokerinfluencers style: dark, bold, with radial glow */
.hero { padding: 5rem 0 4rem; background: var(--bg); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; text-align: center; }
.hero::before { content: ""; position: absolute; top: -50%; left: 50%; transform: translateX(-50%); width: 1200px; height: 800px; background: radial-gradient(ellipse at center, rgba(204,24,29,0.22) 0%, rgba(204,24,29,0.08) 30%, transparent 60%); pointer-events: none; z-index: 0; }
[data-theme="light"] .hero::before { background: radial-gradient(ellipse at center, rgba(204,24,29,0.08) 0%, rgba(204,24,29,0.03) 30%, transparent 60%); }
.hero .container { position: relative; z-index: 1; }
.hero h1 { max-width: 960px; margin: 0 auto .75rem; font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -0.04em; line-height: 1.05; font-weight: 800; }
.hero h1 .accent-phrase { background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero .subtitle { font-size: 1.125rem; color: var(--text-secondary); max-width: 640px; margin: 0 auto 2rem; }
.hero .hero-cta-row { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin: 2rem 0 2.5rem; }
.hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem; max-width: 720px; margin: 0 auto; padding: 1rem 0; }
.hero-stats .stat { text-align: center; }
.hero-stats .stat-num { font-family: var(--font-display); font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; color: var(--gold); line-height: 1; letter-spacing: -0.02em; }
.hero-stats .stat-label { display: block; margin-top: .35rem; font-size: .7rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.12em; text-transform: uppercase; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; font-size: .8125rem; color: var(--text-muted); margin-top: 2rem; }
.hero-meta span::before { content: "✓"; color: var(--gold); font-weight: 700; margin-right: .4rem; }

/* LATEST news ticker bar */
.latest-bar { background: var(--surface); border-bottom: 1px solid var(--border); padding: .65rem 0; overflow: hidden; }
.latest-bar .container { display: flex; align-items: center; gap: 1rem; }
.latest-bar .latest-pill { background: var(--accent); color: #fff; font-size: .7rem; font-weight: 800; padding: .25rem .55rem; border-radius: var(--radius-sm); letter-spacing: 0.08em; text-transform: uppercase; flex-shrink: 0; }
.latest-bar .latest-track { display: flex; gap: 2.5rem; overflow: hidden; white-space: nowrap; flex: 1; mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%); -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%); }
.latest-bar .latest-track-inner { display: flex; gap: 2.5rem; animation: latest-scroll 45s linear infinite; }
.latest-bar .latest-track-inner a { color: var(--text-secondary); font-size: .85rem; font-weight: 500; flex-shrink: 0; }
.latest-bar .latest-track-inner a:hover { color: var(--accent); }
@keyframes latest-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) { .latest-bar { display: none; } }

/* Section */
.section { padding: 3.5rem 0; }
.section--alt { background: var(--surface-2); }
.section-head { margin-bottom: 2rem; }
.section-head h2 { margin-bottom: .5rem; }
.section-head p { color: var(--text-muted); max-width: 760px; margin: 0; }

/* Page hero */
.page-hero { background: var(--surface-2); border-bottom: 1px solid var(--border); padding: 2rem 0 1.75rem; }
.breadcrumbs { font-size: .8125rem; color: var(--text-muted); margin-bottom: .6rem; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { margin: 0 .4rem; }

/* Brand card */
.brand-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .brand-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } }

.brand-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; }
.brand-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.brand-card.hero-brand { border: 2px solid var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }
.brand-rank { position: absolute; top: -14px; left: 20px; background: var(--accent); color: #fff; font-weight: 800; font-size: .8125rem; padding: .3rem .75rem; border-radius: 999px; letter-spacing: .05em; text-transform: uppercase; }
.brand-rank.gold { background: linear-gradient(135deg, #E5B80B, #B8860B); }
.brand-rank.silver { background: linear-gradient(135deg, #B0B0B0, #808080); }
.brand-rank.bronze { background: linear-gradient(135deg, #CD7F32, #8B4513); }

.brand-logo { height: 48px; background: var(--surface-2); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; overflow: hidden; padding: 4px; }
.brand-logo img { max-height: 100%; max-width: 100%; object-fit: contain; }
.brand-name { font-size: 1.25rem; font-weight: 700; margin: 0 0 .25rem; }
.brand-tag { font-size: .875rem; color: var(--text-muted); margin: 0 0 1rem; }

.rating-row { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.rating-badge { display: inline-flex; align-items: baseline; gap: .25rem; background: var(--bonus-light); color: var(--bonus); font-weight: 800; padding: .4rem .7rem; border-radius: var(--radius-sm); font-size: 1rem; }
.rating-badge .out-of { font-size: .75rem; opacity: .7; font-weight: 600; }
.rating-stars { color: #F5A623; font-size: .875rem; letter-spacing: .05em; }

.bonus-box { background: var(--bonus-light); border: 1px solid color-mix(in srgb, var(--bonus) 25%, transparent); border-radius: var(--radius); padding: .875rem 1rem; margin-bottom: 1rem; }
.bonus-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--bonus); font-weight: 700; margin-bottom: .2rem; }
.bonus-amount { font-size: 1.125rem; font-weight: 800; color: var(--text-primary); }
.bonus-details { font-size: .8125rem; color: var(--text-secondary); margin-top: .25rem; }

.brand-meta { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem .75rem; margin-bottom: 1rem; font-size: .8125rem; }
.brand-meta dt { color: var(--text-muted); font-weight: 500; }
.brand-meta dd { margin: 0; color: var(--text-primary); font-weight: 600; }

.brand-cta-row { display: flex; gap: .5rem; margin-top: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; font-family: var(--font-display); font-weight: 600; font-size: .9375rem; padding: .75rem 1.5rem; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; transition: all .15s; text-align: center; text-decoration: none; }
.btn--primary { background: var(--accent); color: #ffffff; }
.btn--primary:hover { background: var(--accent-hover); color: #ffffff; transform: translateY(-1px); box-shadow: 0 10px 24px var(--accent-glow); }
.btn--secondary { background: transparent; color: var(--text-primary); border: 1px solid var(--border-light); }
.brand-cta-row .btn--primary, .brand-cta-row .btn--secondary, .brand-cta-row .btn--outline { flex: 1; }
.btn--secondary:hover { background: var(--surface); border-color: var(--gold); color: var(--gold); }
.btn--gold { background: var(--gold-light); color: var(--gold); border: 1px solid var(--gold-border); }
.btn--gold:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.btn--outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--outline:hover { background: var(--accent-light); border-color: var(--accent-hover); color: var(--accent-hover); }
.btn--ghost { background: var(--surface-2); color: var(--text-secondary); border: 1px solid var(--border); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--lg { padding: .95rem 1.75rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card-bg); }
table.compare { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 680px; }
table.compare th, table.compare td { text-align: left; padding: 1rem; border-bottom: 1px solid var(--border-light); vertical-align: middle; }
table.compare thead th { background: var(--surface-2); font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
table.compare tr:last-child td { border-bottom: 0; }
table.compare tr:hover { background: var(--surface-2); }
.cell-brand { display: flex; align-items: center; gap: .75rem; font-weight: 700; }
.cell-brand img { width: 40px; height: 40px; border-radius: var(--radius-sm); object-fit: contain; background: var(--surface-2); padding: 3px; }

/* Pros / cons */
.pc-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .pc-grid { grid-template-columns: 1fr 1fr; } }
.pc-box { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; }
.pc-box h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .75rem; }
.pc-box.pros h3 { color: var(--bonus); }
.pc-box.cons h3 { color: var(--danger); }
.pc-box ul { list-style: none; margin: 0; padding: 0; }
.pc-box li { padding: .45rem 0 .45rem 1.6rem; position: relative; color: var(--text-secondary); font-size: .9375rem; border-bottom: 1px dashed var(--border-light); }
.pc-box li:last-child { border-bottom: 0; }
.pc-box.pros li::before { content: "+"; position: absolute; left: 0; color: var(--bonus); font-weight: 800; }
.pc-box.cons li::before { content: "−"; position: absolute; left: 0; color: var(--danger); font-weight: 800; }

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-q { width: 100%; background: transparent; border: 0; color: var(--text-primary); font-weight: 600; font-size: 1rem; padding: 1.1rem 1.25rem; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-q::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--text-muted); transition: transform .2s; flex-shrink: 0; }
.faq-item[open] .faq-q::after { transform: rotate(45deg); color: var(--accent); }
.faq-a { padding: 0 1.25rem 1.1rem; color: var(--text-secondary); }
.faq-a p:last-child { margin-bottom: 0; }

/* Prose */
.prose { max-width: 760px; }
.prose h2, .prose h3 { margin-top: 1.75em; }
.prose p, .prose li { font-size: 1rem; line-height: 1.75; color: var(--text-secondary); }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.25em; }
.prose li { margin-bottom: .5em; }
.prose strong { color: var(--text-primary); }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose blockquote { border-left: 4px solid var(--accent); padding: .25rem 0 .25rem 1rem; color: var(--text-primary); font-style: italic; margin: 1.5rem 0; }

/* Sidebar layout */
.content-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 900px) { .content-layout--sidebar { grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; } }
.content-sidebar .side-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 1.25rem; position: sticky; top: 84px; }
.content-sidebar h3 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin: 0 0 .75rem; }

/* Byline */
.byline { display: flex; align-items: center; gap: .75rem; font-size: .8125rem; color: var(--text-muted); padding: .75rem 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); margin: 1rem 0 2rem; }
.byline img { width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); }
.byline strong { color: var(--text-primary); font-weight: 600; }

/* Quick facts box */
.quickfacts { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; margin: 1.5rem 0; }
.quickfacts .score { text-align: center; }
.quickfacts .score .big { font-size: 3rem; font-weight: 800; color: var(--accent); line-height: 1; }
.quickfacts .score .small { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.quickfacts dl { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; font-size: .875rem; margin: 0; }
.quickfacts dt { color: var(--text-muted); }
.quickfacts dd { margin: 0; color: var(--text-primary); font-weight: 600; }

/* Score bars */
.scorebars { display: flex; flex-direction: column; gap: .75rem; margin: 1.5rem 0; }
.scorebar-row { display: grid; grid-template-columns: 140px 1fr 40px; gap: 1rem; align-items: center; font-size: .875rem; }
.scorebar-row .label { color: var(--text-secondary); }
.scorebar-row .track { height: 8px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
.scorebar-row .fill { height: 100%; background: linear-gradient(90deg, var(--accent), #F43F5E); border-radius: 4px; }
.scorebar-row .val { text-align: right; font-weight: 700; color: var(--text-primary); }

/* News cards */
.news-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
.news-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all .2s; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent); }
.news-img { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--accent-light), var(--surface-2)); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; font-weight: 800; color: var(--accent); }
.news-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.news-category { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); font-weight: 700; margin-bottom: .5rem; }
.news-title { font-size: 1.0625rem; font-weight: 700; line-height: 1.4; margin: 0 0 .5rem; color: var(--text-primary); }
.news-title a { color: inherit; }
.news-title a:hover { color: var(--accent); }
.news-excerpt { font-size: .875rem; color: var(--text-muted); margin: 0 0 1rem; }
.news-meta { font-size: .75rem; color: var(--text-muted); margin-top: auto; }

/* Footer */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--border); padding: 3rem 0 2rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr repeat(3, 1fr); } }
.footer-col h4 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .5rem; }
.footer-col a { color: var(--text-secondary); font-size: .875rem; }
.footer-col a:hover { color: var(--accent); }
.footer-about { font-size: .875rem; color: var(--text-muted); line-height: 1.7; max-width: 380px; }
.rg-bar { background: color-mix(in srgb, var(--accent) 6%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 15%, transparent); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 2rem; font-size: .875rem; color: var(--text-secondary); display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.rg-bar strong { color: var(--accent); font-weight: 700; }
.age-badge { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 2px solid var(--accent); color: var(--accent); font-weight: 800; border-radius: 50%; font-size: .875rem; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; font-size: .8125rem; color: var(--text-muted); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* Tag / chip */
.chip { display: inline-flex; align-items: center; gap: .3rem; background: var(--surface-2); color: var(--text-secondary); border: 1px solid var(--border); padding: .3rem .65rem; border-radius: 999px; font-size: .75rem; font-weight: 500; }
.chip--accent { background: var(--accent-light); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 25%, transparent); font-weight: 600; }

/* Payment methods grid */
.pm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .75rem; margin: 1rem 0; }
.pm-tile { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: .75rem 1rem; display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .875rem; color: var(--text-primary); }
.pm-tile:hover { border-color: var(--accent); color: var(--accent); }
.pm-icon { width: 28px; height: 28px; background: var(--surface-2); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--text-muted); font-size: .75rem; }

/* Promo code block */
.promo-block { position: relative; background: var(--surface); border: 1px solid var(--border); color: var(--text-primary); border-radius: var(--radius-lg); padding: 1.5rem 1.75rem; margin: 1.5rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; overflow: hidden; }
.promo-block::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent) 0%, var(--gold) 100%); }
.promo-block h3 { color: var(--text-primary); margin: 0; font-family: var(--font-display); }
.promo-block p { color: var(--text-secondary); margin: .35rem 0 0; }
.promo-block .code { font-family: 'JetBrains Mono', Menlo, monospace; background: var(--surface-2); color: var(--gold); padding: .5rem 1rem; border-radius: var(--radius); font-weight: 800; letter-spacing: .1em; font-size: 1.125rem; border: 1px solid var(--border); }
.promo-block .btn--lg { background: var(--accent) !important; color: #fff !important; border-color: var(--accent) !important; }

/* Responsible / RG footnote */
.rg-small { font-size: .75rem; color: var(--text-muted); padding: 1rem 0; border-top: 1px dashed var(--border); }

/* Utilities */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.hidden-mobile { display: none; }
@media (min-width: 768px) { .hidden-mobile { display: inline; } .hidden-desktop { display: none; } }

/* Focus */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius-sm); }

/* ========= Nav dropdown ========= */
.nav-links { align-items: center; }
.nav-links li.has-dropdown { position: relative; }
.nav-links .dropdown-toggle { display: inline-flex; align-items: center; gap: .25rem; cursor: pointer; color: var(--text-secondary); font-weight: 500; font-size: .9375rem; background: none; border: 0; padding: 0; font-family: inherit; }
.nav-links .dropdown-toggle:hover { color: var(--accent); }
.nav-links .dropdown-toggle .chev { width: 12px; height: 12px; transition: transform .18s; }
.nav-links li.has-dropdown[aria-expanded="true"] .chev,
.nav-links li.has-dropdown:focus-within .chev,
.nav-links li.has-dropdown:hover .chev { transform: rotate(180deg); }
.nav-dropdown { position: absolute; top: calc(100% + 12px); right: 0; min-width: 520px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 1.25rem; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 120; }
.nav-links li.has-dropdown:hover .nav-dropdown,
.nav-links li.has-dropdown:focus-within .nav-dropdown,
.nav-links li.has-dropdown[aria-expanded="true"] .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown::before { content: ""; position: absolute; top: -20px; left: 0; right: 0; height: 20px; }
.nav-dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem 1.5rem; }
.nav-dropdown h5 { grid-column: 1 / -1; margin: 0 0 .25rem; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.nav-dropdown a { display: flex; flex-direction: column; padding: .55rem .6rem; border-radius: var(--radius-sm); color: var(--text-primary); font-weight: 600; font-size: .9rem; gap: .1rem; }
.nav-dropdown a:hover { background: var(--accent-light); color: var(--accent); }
.nav-dropdown a small { color: var(--text-muted); font-weight: 400; font-size: .78rem; }
@media (max-width: 899px) { .nav-dropdown { display: none; } }

/* ========= Course hub & lesson pages — dark with red glow + gold stats ========= */
.course-hero { background: var(--surface-2); color: var(--text-primary); padding: 4.5rem 0 3.5rem; margin-bottom: 0; position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.course-hero::before { content: ""; position: absolute; top: -200px; right: -200px; width: 700px; height: 700px; background: radial-gradient(circle at center, rgba(204,24,29,0.22), transparent 65%); pointer-events: none; }
[data-theme="light"] .course-hero::before { background: radial-gradient(circle at center, rgba(204,24,29,0.08), transparent 65%); }
.course-hero .container { position: relative; z-index: 1; }
.course-hero .breadcrumbs { color: var(--text-muted); }
.course-hero .breadcrumbs a { color: var(--text-muted); }
.course-hero h1 { color: var(--text-primary); font-size: clamp(2.5rem, 5vw, 3.75rem); margin-bottom: .75rem; letter-spacing: -0.035em; }
.course-hero .sub { font-size: 1.125rem; color: var(--text-secondary); max-width: 640px; margin: 0 0 1.75rem; }
.course-hero-meta { display: flex; gap: 3rem; flex-wrap: wrap; margin-top: 1.25rem; }
.course-hero-meta .stat { display: flex; flex-direction: column; gap: .25rem; }
.course-hero-meta .stat-num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--gold); letter-spacing: -0.02em; line-height: 1; }
.course-hero-meta .stat-label { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.course-progress-bar { margin-top: 1.75rem; background: var(--border); border-radius: 999px; height: 8px; overflow: hidden; max-width: 520px; }
.course-progress-bar .fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--gold)); border-radius: 999px; transition: width .4s; }
.course-progress-label { margin-top: .6rem; font-size: .85rem; color: var(--text-muted); }

/* Lesson hero (individual lesson) */
.lesson-hero { background: var(--surface-2); border-bottom: 1px solid var(--border); padding: 3rem 0 2.5rem; position: relative; overflow: hidden; }
.lesson-hero::before { content: ""; position: absolute; top: -150px; left: -150px; width: 500px; height: 500px; background: radial-gradient(circle at center, rgba(204,24,29,0.15), transparent 65%); pointer-events: none; }
.lesson-hero .container { position: relative; z-index: 1; }
.lesson-hero .lesson-kicker { display: inline-flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.lesson-hero .lesson-kicker .pill { background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px; letter-spacing: .08em; text-transform: uppercase; }
.lesson-hero h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); margin-bottom: .5rem; }
.lesson-hero .sub { color: var(--text-secondary); font-size: 1.125rem; max-width: 680px; margin-bottom: 1.5rem; }
.lesson-hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 1rem; }
.lesson-hero-stats .stat-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--gold); line-height: 1; }
.lesson-hero-stats .stat-label { display: block; margin-top: .2rem; font-size: .68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }

.lesson-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; }
.lesson-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; transition: all .2s; position: relative; text-decoration: none; color: inherit; overflow: hidden; }
.lesson-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); color: inherit; }
.lesson-card .lesson-num { position: absolute; top: 0; right: 1.25rem; width: 48px; height: 48px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; border-radius: 0 0 12px 12px; }
.lesson-card .lesson-num.done { background: var(--bonus); }
.lesson-card h3 { margin: .25rem 0 .5rem; padding-right: 3.5rem; font-size: 1.15rem; }
.lesson-card p { color: var(--text-secondary); font-size: .95rem; margin-bottom: 1rem; flex-grow: 1; }
.lesson-card .lesson-meta { display: flex; gap: 1rem; color: var(--text-muted); font-size: .82rem; margin-bottom: 1rem; }
.lesson-card .lesson-meta span::before { content: "•"; margin-right: .5rem; color: var(--accent); }
.lesson-card .lesson-meta span:first-child::before { content: "⏱"; }
.lesson-card .lesson-cta { display: inline-flex; align-items: center; gap: .4rem; color: var(--cta); font-weight: 700; font-size: .9rem; }
.lesson-card.done { border-color: var(--bonus); background: color-mix(in srgb, var(--bonus) 4%, var(--surface)); }

/* ========= Quiz component ========= */
.quiz { background: var(--surface); border: 2px solid var(--accent); border-radius: var(--radius-lg); padding: 2rem; margin: 2rem 0; box-shadow: var(--shadow); }
.quiz-header { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.quiz-badge { background: var(--accent); color: #fff; padding: .25rem .75rem; border-radius: 999px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.quiz-title { margin: 0; font-size: 1.25rem; }
.quiz-progress { margin-left: auto; color: var(--text-muted); font-size: .85rem; font-weight: 600; }
.quiz-question { margin-bottom: 1.25rem; }
.quiz-question h4 { font-size: 1.05rem; margin-bottom: 1rem; line-height: 1.45; }
.quiz-options { display: flex; flex-direction: column; gap: .5rem; }
.quiz-option { display: flex; align-items: flex-start; gap: .75rem; padding: .85rem 1rem; border: 2px solid var(--border); border-radius: var(--radius); background: var(--surface); cursor: pointer; transition: all .15s; text-align: left; font-family: inherit; font-size: .95rem; color: var(--text-primary); line-height: 1.5; }
.quiz-option:hover:not(:disabled) { border-color: var(--accent); background: var(--accent-light); }
.quiz-option .bullet { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .8rem; color: var(--text-muted); }
.quiz-option.selected { border-color: var(--accent); background: var(--accent-light); }
.quiz-option.selected .bullet { border-color: var(--accent); background: var(--accent); color: #fff; }
.quiz-option.correct { border-color: var(--bonus); background: color-mix(in srgb, var(--bonus) 10%, var(--surface)); }
.quiz-option.correct .bullet { border-color: var(--bonus); background: var(--bonus); color: #fff; }
.quiz-option.incorrect { border-color: var(--danger); background: color-mix(in srgb, var(--danger) 8%, var(--surface)); }
.quiz-option.incorrect .bullet { border-color: var(--danger); background: var(--danger); color: #fff; }
.quiz-option:disabled { cursor: default; }
.quiz-feedback { margin-top: 1rem; padding: 1rem 1.25rem; border-radius: var(--radius); font-size: .93rem; display: none; }
.quiz-feedback.show { display: block; }
.quiz-feedback.correct { background: color-mix(in srgb, var(--bonus) 10%, var(--surface)); border-left: 4px solid var(--bonus); color: var(--text-primary); }
.quiz-feedback.incorrect { background: color-mix(in srgb, var(--danger) 8%, var(--surface)); border-left: 4px solid var(--danger); color: var(--text-primary); }
.quiz-feedback strong { display: block; margin-bottom: .25rem; }
.quiz-controls { display: flex; gap: .75rem; margin-top: 1.5rem; justify-content: space-between; align-items: center; }
.quiz-score { font-weight: 700; color: var(--text-primary); font-size: 1rem; }
.quiz-score .val { color: var(--cta); font-size: 1.3rem; margin-left: .25rem; }
.quiz-result { padding: 2rem; text-align: center; }
.quiz-result .big { font-size: 3rem; font-weight: 800; color: var(--accent); margin: .5rem 0; }
.quiz-result.pass .big { color: var(--bonus); }
.quiz-result h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.quiz-result p { color: var(--text-secondary); max-width: 440px; margin: 0 auto 1.5rem; }

/* Simplified mobile nav */
.mobile-nav .section-label { display: block; padding: .75rem 1.25rem .25rem; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }

/* ========== AUDIT-FIX ADDITIONS (20 items) ========== */

/* Homepage hero: byline + trust strip */
.hero-byline { display: inline-flex; align-items: center; gap: .5rem; font-size: .8125rem; color: var(--text-muted); font-weight: 500; margin-bottom: 1.25rem; letter-spacing: .02em; }
.hero-byline-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); display: inline-block; }
.hero-trust { display: flex; flex-direction: column; align-items: center; gap: .75rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.hero-trust-label { font-size: .7rem; color: var(--text-muted); letter-spacing: .15em; text-transform: uppercase; font-weight: 600; }
.hero-trust-logos { display: flex; gap: 2.5rem; flex-wrap: wrap; justify-content: center; align-items: center; }
.trust-logo { display: inline-flex; opacity: .7; transition: opacity .15s, transform .15s; }
.trust-logo:hover { opacity: 1; transform: translateY(-1px); }
.trust-logo img { height: 28px; width: auto; filter: brightness(0) invert(1); }
[data-theme="light"] .trust-logo img { filter: brightness(0); }

/* Mobile LATEST: static compact version */
@media (max-width: 640px) {
  .latest-bar { display: block !important; padding: .5rem 0; }
  .latest-bar .container { flex-wrap: nowrap; gap: .6rem; }
  .latest-bar .latest-track { mask: none; -webkit-mask: none; }
  .latest-bar .latest-track-inner { animation: none; overflow: hidden; }
  .latest-bar .latest-track-inner a:not(:first-child) { display: none; }
  .latest-bar .latest-track-inner a:first-child { text-overflow: ellipsis; overflow: hidden; max-width: 100%; display: block; white-space: nowrap; font-size: .78rem; }
}

/* Fix mobile primary button: ensure red fill */
@media (max-width: 640px) {
  .hero-cta-row { flex-direction: column; width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; gap: .6rem; }
  .hero-cta-row .btn { width: 100%; }
  .btn--primary, .hero-cta-row .btn--primary { background: var(--accent) !important; color: #fff !important; border-color: var(--accent) !important; }
}

/* LATEST ticker: fix seamless loop — ensure each inner copy is 50% */
.latest-bar .latest-track-inner > a { padding-right: 0; }

/* Review hero card: dark surface with red top-stripe (replaces solid red) */
.review-hero-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; overflow: hidden; }
.review-hero-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--accent) 0%, var(--gold) 100%); }
.review-hero-card .review-kicker { display: inline-block; background: var(--accent-light); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); padding: .3rem .7rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.review-hero-card .review-title { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 .5rem; color: var(--text-primary); }
.review-hero-card .review-meta-row { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .875rem; color: var(--text-secondary); margin-bottom: 1.25rem; }
.review-hero-card .review-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .75rem; margin: 1.25rem 0; }
.review-hero-card .review-stat-grid > div { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: .85rem 1rem; }
.review-hero-card .review-stat-grid strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--gold); line-height: 1; }
.review-hero-card .review-stat-grid span { display: block; font-size: .75rem; color: var(--text-muted); margin-top: .25rem; letter-spacing: .04em; }

/* Author byline bar (freetips style) */
.author-byline { display: flex; align-items: center; gap: .75rem; padding: .875rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 1.5rem 0; font-size: .875rem; flex-wrap: wrap; }
.author-byline .author-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--surface-2); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; color: var(--gold); font-size: .95rem; flex-shrink: 0; border: 1px solid var(--border); }
.author-byline .author-meta { display: flex; flex-direction: column; line-height: 1.3; }
.author-byline .author-name { color: var(--text-primary); font-weight: 600; }
.author-byline .author-name a { color: inherit; }
.author-byline .author-role { color: var(--text-muted); font-size: .78rem; letter-spacing: .02em; }
.author-byline .byline-sep { width: 1px; height: 22px; background: var(--border); }
.author-byline .byline-date { color: var(--text-muted); font-size: .8125rem; }
.author-byline .byline-fact { color: var(--text-muted); font-size: .78rem; display: inline-flex; align-items: center; gap: .3rem; }
.author-byline .byline-fact svg { color: var(--bonus); }
.author-byline .share-btns { margin-left: auto; display: flex; gap: .4rem; }
.author-byline .share-btns a { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-2); color: var(--text-muted); border: 1px solid var(--border); transition: all .15s; }
.author-byline .share-btns a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Sticky TOC widget in review sidebar */
.toc-widget { position: sticky; top: 84px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; max-height: calc(100vh - 120px); overflow-y: auto; }
.toc-widget h4 { margin: 0 0 .75rem; font-family: var(--font-display); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.toc-widget ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .3rem; }
.toc-widget li a { display: block; font-size: .875rem; color: var(--text-secondary); padding: .45rem .7rem; border-left: 2px solid transparent; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; text-decoration: none; line-height: 1.35; transition: all .15s; }
.toc-widget li a:hover { color: var(--accent); background: var(--accent-light); }
.toc-widget li a.active { color: var(--accent); border-left-color: var(--accent); background: var(--accent-light); font-weight: 600; }

/* Sticky compare button (homepage) */
.sticky-compare { position: sticky; bottom: 1rem; z-index: 50; display: none; }
@media (min-width: 768px) {
  .sticky-compare.visible { display: flex; justify-content: center; margin: 1rem auto; }
}
.sticky-compare .btn { box-shadow: 0 10px 30px var(--accent-glow); }

/* Inline icon class */
.icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.icon + * { margin-left: .4rem; }
h1 .icon, h2 .icon, h3 .icon, h4 .icon { margin-right: .5rem; }

/* Compact rating display on review page */
.review-hero-card .rating-row { align-items: center; }
.review-hero-card .rating-badge { background: linear-gradient(135deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 70%, var(--gold)) 100%); color: #fff; font-size: 1.35rem; padding: .5rem .9rem; font-weight: 800; }
.review-hero-card .rating-badge .out-of { color: rgba(255,255,255,.8); }

/* Ensure brand review .brand-hero-card (legacy) inherits same style */
.brand-hero-card { background: var(--surface) !important; border: 1px solid var(--border) !important; color: var(--text-primary) !important; position: relative; border-radius: var(--radius-lg) !important; overflow: hidden; }
.brand-hero-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--accent) 0%, var(--gold) 100%); z-index: 1; }
.brand-hero-card h1, .brand-hero-card h2 { color: var(--text-primary) !important; }
.brand-hero-card .kicker, .brand-hero-card > div:first-child { background: transparent !important; color: var(--accent) !important; }
.brand-hero-card strong { color: var(--gold) !important; }
.brand-hero-card .stat { background: var(--surface-2) !important; border: 1px solid var(--border) !important; color: var(--text-primary) !important; }
.brand-hero-card .stat strong, .brand-hero-card .stat > div:first-child { color: var(--gold) !important; background: transparent !important; }

/* Hide broken-rendering flag emojis (cover them with country code) — used in body text via [data-cc] */
.cc-flag { display: inline-block; font-weight: 700; font-size: .75em; letter-spacing: .04em; color: var(--text-muted); background: var(--surface-2); padding: 1px 6px; border-radius: 3px; margin-right: .35em; vertical-align: middle; }

/* Test badge in review (Test date + hands) */
.test-badge { display: inline-flex; align-items: center; gap: .5rem; background: var(--accent-light); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); padding: .4rem .75rem; border-radius: var(--radius-sm); font-size: .78rem; font-weight: 600; letter-spacing: .04em; }
.test-badge svg { width: 14px; height: 14px; }
