/* =====================================================
   KRIKYA CASINO BD — Design System
   Colors: Mint Green #3ecba0, Orange #f5a623, Blue #3b5bdb
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  --mint: #3ecba0;
  --mint-dark: #2aad84;
  --mint-light: #e8faf5;
  --orange: #f5a623;
  --orange-dark: #e08e0b;
  --orange-light: #fff8e6;
  --blue: #3b5bdb;
  --blue-dark: #2f4ac5;
  --dark: #0f1923;
  --dark-card: #18273a;
  --dark-border: #243347;
  --text: #1a2332;
  --text-muted: #5a6a7e;
  --white: #ffffff;
  --light-bg: #f4f7fb;
  --success: #22c55e;
  --gold: #f59e0b;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.16);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

/* ── TOP BAR ── */
.topbar {
  background: var(--mint);
  padding: 9px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
}
.topbar-text { flex-shrink: 1; overflow: hidden; text-overflow: ellipsis; }
.topbar a {
  color: var(--white);
  text-decoration: none;
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 3px 12px;
  border-radius: 20px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}
.topbar a:hover { background: rgba(255,255,255,0.35); }


/* ── HEADER ── */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--orange);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.logo-img {
  height: 62px;
  width: auto;
  display: block;
}

/* NAV */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  white-space: nowrap;
}
.main-nav a:hover { background: var(--orange-light); color: var(--orange-dark); }
.main-nav a.active { background: var(--orange); color: white; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}
.btn-orange {
  background: var(--orange);
  color: #ffffff !important;
}
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(245,166,35,0.4); }

.btn-mint {
  background: var(--mint);
  color: white;
}
.btn-mint:hover { background: var(--mint-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(62,203,160,0.4); }

.btn-blue {
  background: var(--blue);
  color: white;
}
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--orange);
  color: var(--orange);
}
.btn-outline:hover { background: var(--orange); color: white; }

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #1a3a4a 50%, #0f2d1e 100%);
  color: var(--white);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(62,203,160,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245,166,35,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(62,203,160,0.2);
  border: 1px solid var(--mint);
  color: var(--mint);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}
.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--orange); }
.hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.80);
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* ── TRUST BADGES ── */
.trust-bar {
  background: var(--orange);
  padding: 18px 0;
}
.trust-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 700;
  font-size: 14px;
}
.trust-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* ── SECTION ── */
.section { padding: 72px 0; }
.section-light { background: var(--light-bg); }
.section-dark { background: var(--dark); color: white; }
.section-mint { background: var(--mint); color: white; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

.section-label {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.section-label.mint {
  background: var(--mint-light);
  color: var(--mint-dark);
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--dark);
}
.section-dark .section-title, .section-mint .section-title { color: white; }

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 48px;
  max-width: 620px;
}
.section-dark .section-sub { color: rgba(255,255,255,0.70); }

/* ── CARDS ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid #e8eef6;
  transition: all 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card-dark {
  background: var(--dark-card);
  border-color: var(--dark-border);
  color: white;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.card-icon.mint { background: var(--mint-light); }
.card-icon.blue { background: #eff3ff; }

.card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}
.card-dark h3 { color: white; }
.card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.card-dark p { color: rgba(255,255,255,0.65); }

/* ── RATING CARD ── */
.rating-bar {
  background: var(--light-bg);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 4px;
}
.rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid #e8eef6;
}
.rating-row:last-child { border-bottom: none; }
.rating-label { font-weight: 600; font-size: 14px; min-width: 200px; }
.rating-stars { display: flex; gap: 3px; }
.star { color: var(--gold); font-size: 16px; }
.star.empty { color: #ddd; }
.rating-score { font-weight: 800; font-size: 15px; color: var(--mint-dark); margin-left: auto; }

/* ── TABLE ── */
.kk-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 24px 0;
  font-size: 14px;
}
.kk-table thead th {
  background: var(--orange);
  color: white;
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.kk-table tbody tr { background: white; transition: background 0.15s; }
.kk-table tbody tr:nth-child(even) { background: #f8fafd; }
.kk-table tbody tr:hover { background: var(--orange-light); }
.kk-table tbody td { padding: 13px 18px; border-bottom: 1px solid #edf2f7; }
.kk-table .check { color: var(--success); font-weight: 700; font-size: 16px; }
.kk-table .cross { color: #ef4444; font-weight: 700; font-size: 16px; }

/* ── BONUS CARD ── */
.bonus-hero {
  background: linear-gradient(135deg, var(--orange) 0%, #e05800 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: white;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  margin-bottom: 32px;
}
.bonus-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}
.bonus-sub { font-size: 18px; opacity: 0.9; }
.bonus-list { list-style: none; margin-top: 16px; }
.bonus-list li { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 4px 0; }
.bonus-list li::before { content: '✓'; background: rgba(255,255,255,0.25); width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; }

/* ── STEPS ── */
.steps { counter-reset: steps; display: grid; gap: 20px; }
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: white;
  padding: 22px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--orange);
  counter-increment: steps;
}
.step-num {
  min-width: 40px;
  height: 40px;
  background: var(--orange);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}
.step-content h4 { font-weight: 700; font-size: 16px; margin-bottom: 6px; color: var(--dark); }
.step-content p { font-size: 14px; color: var(--text-muted); }

/* ── PROS CONS ── */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 32px 0; }
.pros, .cons {
  border-radius: var(--radius);
  padding: 24px;
}
.pros { background: #f0fdf4; border: 1px solid #bbf7d0; }
.cons { background: #fff1f2; border: 1px solid #fecdd3; }
.pros h3 { color: #166534; display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 17px; }
.cons h3 { color: #9f1239; display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 17px; }
.pros ul, .cons ul { list-style: none; }
.pros li, .cons li { padding: 6px 0; font-size: 14px; display: flex; gap: 8px; }
.pros li::before { content: '✓'; color: #16a34a; font-weight: 800; }
.cons li::before { content: '✗'; color: #dc2626; font-weight: 800; }

/* ── FAQ ── */
.faq-item {
  background: white;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  border: 1px solid #e8eef6;
  overflow: hidden;
}
.faq-q {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--light-bg);
  color: var(--dark);
  transition: background 0.2s;
}
.faq-q:hover { background: var(--orange-light); }
.faq-q::after { content: '+'; font-size: 22px; color: var(--orange); font-weight: 400; }
.faq-a {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-q { background: var(--orange-light); color: var(--orange-dark); }
.faq-item.open .faq-q::after { content: '−'; }
.faq-item.open .faq-a { max-height: 400px; padding: 16px 22px; }

/* ── AUTHOR BLOCK ── */
.author-block {
  background: linear-gradient(135deg, #f8fafd 0%, var(--mint-light) 100%);
  border: 1px solid #c8f0e4;
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
  margin: 48px 0 0;
}
.author-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--mint);
  flex-shrink: 0;
}
.author-info h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}
.author-role {
  font-size: 13px;
  color: var(--mint-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.author-info p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.author-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.author-tag {
  background: var(--mint-light);
  color: var(--mint-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid #a7f0d8;
}
.author-updated {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ── ARTICLE LAYOUT ── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: flex-start;
}
.article-content h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--orange);
}
.article-content h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--dark);
  margin: 28px 0 12px;
}
.article-content h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 20px 0 8px;
}
.article-content p { margin-bottom: 16px; font-size: 15px; line-height: 1.75; }
.article-content ul, .article-content ol {
  margin: 14px 0 20px 24px;
  font-size: 15px;
  line-height: 1.7;
}
.article-content li { margin-bottom: 6px; }
.article-content a:not(.btn) { color: var(--orange); font-weight: 600; }
.article-content a:not(.btn):hover { color: var(--orange-dark); }
.article-content .btn { color: white !important; }
.article-content img {
  width: 100%;
  border-radius: var(--radius);
  margin: 24px 0;
  box-shadow: var(--shadow);
}
.article-content strong { color: var(--dark); }
.article-content blockquote {
  border-left: 4px solid var(--mint);
  background: var(--mint-light);
  padding: 16px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--mint-dark);
}

/* SIDEBAR */
.sidebar { position: sticky; top: 88px; }
.sidebar-widget {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid #e8eef6;
  margin-bottom: 24px;
}
.sidebar-widget h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-cta {
  background: linear-gradient(135deg, var(--orange), #e05800);
  color: white;
  text-align: center;
  border-radius: var(--radius);
  padding: 28px 20px;
  margin-bottom: 24px;
}
.sidebar-cta .cta-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}
.sidebar-cta p { font-size: 13px; opacity: 0.9; margin-bottom: 18px; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}
.sidebar-nav a:hover { background: var(--orange-light); color: var(--orange-dark); }
.sidebar-nav a .nav-icon { font-size: 17px; }

/* ── CHART ── */
.chart-container { margin: 32px 0; }
.chart-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}
.bar-chart { display: grid; gap: 12px; }
.bar-row { display: flex; align-items: center; gap: 14px; }
.bar-label { min-width: 160px; font-size: 13px; font-weight: 600; color: var(--text); }
.bar-track {
  flex: 1;
  height: 28px;
  background: #edf2f7;
  border-radius: 14px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--mint), var(--mint-dark));
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  transition: width 1s ease;
  font-size: 12px;
  font-weight: 700;
  color: white;
}
.bar-fill.orange { background: linear-gradient(90deg, var(--orange), var(--orange-dark)); }
.bar-score { min-width: 50px; text-align: right; font-size: 14px; font-weight: 700; color: var(--dark); }

/* ── PAYMENT METHODS ── */
.payment-grid { display: flex; flex-wrap: wrap; gap: 14px; margin: 20px 0; }
.payment-card {
  background: white;
  border: 2px solid #e8eef6;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  text-align: center;
  min-width: 130px;
  transition: all 0.2s;
}
.payment-card:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.payment-icon { font-size: 28px; margin-bottom: 8px; }
.payment-name { font-size: 13px; font-weight: 700; color: var(--dark); }
.payment-min { font-size: 11px; color: var(--text-muted); }

/* ── PAGE HERO (sub-pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #1e3a50 100%);
  padding: 52px 0;
  color: white;
}
.page-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}
.page-hero h1 .accent { color: var(--orange); }
.page-hero p { font-size: 17px; opacity: 0.80; max-width: 600px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 18px;
  opacity: 0.70;
}
.breadcrumb a { color: var(--mint); text-decoration: none; }
.breadcrumb span { opacity: 0.5; }

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.80);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand { color: white; }
.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: white;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-logo span { color: var(--orange); }
.footer-desc { font-size: 13px; line-height: 1.7; opacity: 0.65; margin-bottom: 20px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.70);
}
.footer-col h4 {
  color: white;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.60);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
  opacity: 0.50;
}
.footer-disclaimer {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 16px 0;
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}

/* ── ACCESSIBILITY ── */
/* Skip to main content link (screen readers & keyboard users) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--orange);
  color: white;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 8px; }

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── HAMBURGER MOBILE ── */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--dark); margin: 6px 0; transition: all 0.3s; }


/* ── GLOBAL OVERFLOW FIX ── */
html {
  overflow-x: clip; /* clip does NOT break position:sticky (unlike hidden) */
}
body {
  overflow-x: clip;
  max-width: 100vw;
}

/* Critical: prevent CSS grid items from overflowing */
.hero-inner > *,
.article-layout > *,
.cards-grid > *,
.footer-inner > *,
.pros-cons > *,
.bar-row > * {
  min-width: 0;
}
/* Images never overflow */
img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* Tables: prevent wide content from breaking layout */
.kk-table {
  table-layout: fixed;
  width: 100%;
}
/* Long text should wrap */
p, li, td, th, h1, h2, h3, h4 {
  word-break: break-word;
  overflow-wrap: break-word;
}


@media (max-width: 1100px) {
  .main-nav { gap: 0; }
  .main-nav a { padding: 8px 9px; font-size: 12px; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Topbar: hide long text, keep only the CTA button */
  .topbar-text { display: none; }
  .topbar { padding: 8px 16px; font-size: 12px; justify-content: center; }
  .topbar a { padding: 5px 18px; font-size: 13px; }

  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-image { display: none; }
  .hero h1 { font-size: 30px; }
  .hero { padding: 52px 0 40px; }

  .main-nav { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: white; padding: 16px; box-shadow: var(--shadow-lg); z-index: 999; }
  .main-nav.open { display: flex; }
  .hamburger { display: block; }

  .cards-grid { grid-template-columns: 1fr; }
  .cards-grid-3, .cards-grid-4 { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .author-block { flex-direction: column; align-items: flex-start; }
  .bonus-hero { grid-template-columns: 1fr; gap: 16px; padding: 24px; }

  .container, .container-narrow { padding: 0 16px; }
  .section { padding: 48px 0; }

  /* Table scroll fix */
  .kk-table { display: block; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }

  /* Bar chart */
  .bar-label { min-width: 120px; font-size: 12px; }

  /* Trust bar */
  .trust-bar-inner { gap: 12px; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding: 0 16px; }

  .steps { gap: 14px; }

  .article-content h2 { font-size: 22px; }
  .article-content h3 { font-size: 18px; }

  .hero-cta { flex-direction: column; gap: 10px; }
  .btn-lg { padding: 14px 24px; font-size: 15px; }
}

@media (max-width: 480px) {
  .cards-grid-3, .cards-grid-4 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 24px; }
  .section-title { font-size: 24px; }
  .kk-table { font-size: 12px; }
  .kk-table thead th, .kk-table tbody td { padding: 10px 10px; }
  .bonus-amount { font-size: 40px; }
  .page-hero h1 { font-size: 28px; }
  .page-hero { padding: 36px 0; }
  .bar-row { flex-wrap: wrap; gap: 6px; }
  .bar-track { min-width: 100%; flex: none; }
  .bar-score { margin-left: auto; }
  .bar-label { min-width: 100%; }
}


/* ── UTILITIES ── */
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.text-mint { color: var(--mint); }
.mb-0 { margin-bottom: 0; }
.mb-24 { margin-bottom: 24px; }
.mb-48 { margin-bottom: 48px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.gap-center { justify-content: center; }
.highlight {
  background: linear-gradient(120deg, rgba(245,166,35,0.15) 0%, rgba(245,166,35,0.05) 100%);
  border-left: 4px solid var(--orange);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
}
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange);
  color: white;
  font-weight: 800;
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 20px;
}
