:root {
  --bg-darkest: #0b1120;
  --bg-dark: #111827;
  --bg-card: #1a2332;
  --bg-card-alt: #162032;
  --bg-card-hover: #1f2b3d;
  --bg-input: #1e293b;
  --accent-gold: #f59e0b;
  --accent-gold-hover: #d97706;
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-green: #10b981;
  --accent-red: #ef4444;
  --accent-purple: #8b5cf6;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: #1e293b;
  --border-light: #2d3a4f;
  --shadow: 0 4px 24px rgba(0, 0, 0, .35);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: .3s ease;
  --max-width: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-darkest);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-gold-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== SKIP TO CONTENT ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  background: var(--accent-gold);
  color: #000;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .95rem;
  transition: top .2s;
}

.skip-link:focus {
  top: 12px;
  color: #000;
}

/* ===== SCREEN READER ONLY ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== BREADCRUMBS ===== */
.breadcrumb {
  padding: 16px 0 0;
  font-size: .85rem;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 4px;
}

.breadcrumb li+li::before {
  content: '›';
  color: var(--text-muted);
  margin-right: 2px;
}

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb a:hover {
  color: var(--accent-gold);
}

.breadcrumb span[aria-current] {
  color: var(--text-primary);
}

/* ===== HEADER ===== */
.site-header {
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo img {
  height: 38px;
  width: auto;
}

.logo {
  display: flex;
  align-items: center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  color: var(--text-secondary);
  font-size: .9rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, .06);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-gold);
  color: #000;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  transition: all var(--transition);
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--accent-gold-hover);
  color: #000;
  transform: translateY(-1px);
}

/* Mobile nav */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition);
  border-radius: 2px;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 70px);
  /* Explicit height to bypass backdrop-filter containment */
  background: var(--bg-dark);
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
}

.mobile-menu.active {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 99999 !important;
  pointer-events: auto !important;
  transform: translateX(0) !important;
}

.site-header {
  z-index: 100000 !important;
}

.burger {
  z-index: 100001 !important;
  position: relative;
}

.mobile-menu a {
  display: block;
  color: var(--text-secondary);
  padding: 14px 0;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu a:hover {
  color: var(--text-primary);
}

.mobile-menu .header-cta {
  display: block;
  text-align: center;
  margin-top: 20px;
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }

  .header-cta.desktop-only {
    display: none;
  }

  .burger {
    display: flex;
  }
}

/* ===== HERO SECTIONS ===== */
.hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darkest) 50%, #0c1a2e 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, .08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero h1 span {
  color: var(--accent-gold);
}

.hero-text {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-gold);
  color: #000;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: var(--radius);
  font-size: 1.05rem;
  transition: all var(--transition);
}

.hero-cta:hover {
  background: var(--accent-gold-hover);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, .3);
}

.hero-image {
  position: relative;
}

.hero-image svg,
.hero-image img {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  border-radius: var(--radius);
}

.hero-alt {
  padding: 60px 0;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-darkest) 100%);
  text-align: center;
}

.hero-alt h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.hero-alt h1 span {
  color: var(--accent-gold);
}

.hero-alt p {
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 24px;
  font-size: 1.05rem;
}

.hero-compact {
  padding: 50px 0 40px;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-color);
}

.hero-compact h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.hero-compact h1 span {
  color: var(--accent-gold);
}

.hero-compact p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ===== SECTION ===== */
.section {
  padding: 70px 0;
}

.section-alt {
  background: var(--bg-dark);
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-title span {
  color: var(--accent-gold);
}

.section-subtitle {
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-size: 1.05rem;
  max-width: 700px;
}

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
}

.card:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.card-icon.gold {
  background: rgba(245, 158, 11, .12);
  color: var(--accent-gold);
}

.card-icon.blue {
  background: rgba(59, 130, 246, .12);
  color: var(--accent-blue);
}

.card-icon.green {
  background: rgba(16, 185, 129, .12);
  color: var(--accent-green);
}

.card-icon.cyan {
  background: rgba(6, 182, 212, .12);
  color: var(--accent-cyan);
}

.card-icon.purple {
  background: rgba(139, 92, 246, .12);
  color: var(--accent-purple);
}

.card-icon.red {
  background: rgba(239, 68, 68, .12);
  color: var(--accent-red);
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.card p {
  color: var(--text-secondary);
  font-size: .92rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .4);
}

.feature-card .icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: .88rem;
}

/* ===== TABLES ===== */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  margin: 24px 0;
}

.data-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  font-size: .92rem;
}

.data-table th {
  background: var(--bg-card);
  color: var(--accent-gold);
  font-weight: 600;
  text-align: left;
  padding: 14px 18px;
  white-space: nowrap;
  border-bottom: 2px solid var(--accent-gold);
}

.data-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  white-space: nowrap;
}

.data-table tr:nth-child(even) {
  background: rgba(255, 255, 255, .02);
}

.data-table tr:hover {
  background: rgba(245, 158, 11, .04);
}

.data-table .highlight {
  color: var(--accent-gold);
  font-weight: 600;
}

.data-table .badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
}

.badge-green {
  background: rgba(16, 185, 129, .15);
  color: var(--accent-green);
}

.badge-gold {
  background: rgba(245, 158, 11, .15);
  color: var(--accent-gold);
}

.badge-blue {
  background: rgba(59, 130, 246, .15);
  color: var(--accent-blue);
}

.badge-red {
  background: rgba(239, 68, 68, .15);
  color: var(--accent-red);
}

/* Alt table style */
.data-table-alt {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: .92rem;
}

.data-table-alt th {
  background: var(--accent-gold);
  color: #000;
  font-weight: 700;
  text-align: left;
  padding: 14px 18px;
  white-space: nowrap;
}

.data-table-alt td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-secondary);
}

.data-table-alt tr:nth-child(even) td {
  background: var(--bg-card-alt);
}

/* ===== CHARTS ===== */
/* Donut Chart */
.donut-chart {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.donut-chart::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  background: var(--bg-darkest);
  border-radius: 50%;
}

.donut-center {
  position: absolute;
  z-index: 2;
  text-align: center;
}

.donut-center .number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.donut-center .label {
  font-size: .75rem;
  color: var(--text-muted);
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  justify-content: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  color: var(--text-secondary);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Bar Charts */
.bar-chart {
  margin: 24px 0;
}

.bar-item {
  margin-bottom: 16px;
}

.bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: .88rem;
}

.bar-label span:first-child {
  color: var(--text-primary);
}

.bar-label span:last-child {
  color: var(--accent-gold);
  font-weight: 600;
}

.bar-track {
  height: 28px;
  background: var(--bg-input);
  border-radius: 14px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 14px;
  transition: width 1s ease;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-hover));
}

.bar-fill.blue {
  background: linear-gradient(90deg, var(--accent-blue), #2563eb);
}

.bar-fill.green {
  background: linear-gradient(90deg, var(--accent-green), #059669);
}

.bar-fill.cyan {
  background: linear-gradient(90deg, var(--accent-cyan), #0891b2);
}

.bar-fill.purple {
  background: linear-gradient(90deg, var(--accent-purple), #7c3aed);
}

.bar-fill.red {
  background: linear-gradient(90deg, var(--accent-red), #dc2626);
}

/* Horizontal bar compact */
.hbar-chart {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hbar-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hbar-label {
  width: 140px;
  font-size: .85rem;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.hbar-track {
  flex: 1;
  height: 22px;
  background: var(--bg-input);
  border-radius: 11px;
  overflow: hidden;
}

.hbar-fill {
  height: 100%;
  border-radius: 11px;
  transition: width 1s ease;
}

.hbar-value {
  width: 50px;
  text-align: right;
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent-gold);
  flex-shrink: 0;
}

/* Vertical Bar Chart */
.vbar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  height: 220px;
  padding: 20px 0;
  border-bottom: 2px solid var(--border-color);
}

.vbar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 60px;
}

.vbar-bar {
  width: 100%;
  border-radius: 6px 6px 0 0;
  transition: height 1s ease;
  min-height: 4px;
}

.vbar-val {
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.vbar-name {
  font-size: .7rem;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  max-height: 80px;
  overflow: hidden;
}

/* Progress Circle */
.progress-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.progress-circle .value {
  font-size: 1.2rem;
  font-weight: 800;
  z-index: 2;
}

/* Gauge Chart */
.gauge-wrap {
  text-align: center;
  margin: 20px 0;
}

.gauge {
  width: 160px;
  height: 80px;
  border-radius: 160px 160px 0 0;
  border: 16px solid var(--bg-input);
  border-bottom: none;
  position: relative;
  margin: 0 auto;
  overflow: hidden;
}

.gauge-fill {
  position: absolute;
  bottom: 0;
  left: -16px;
  right: -16px;
  top: -16px;
  border-radius: 160px 160px 0 0;
  border: 16px solid var(--accent-gold);
  border-bottom: none;
  transform-origin: bottom center;
}

.gauge-label {
  margin-top: 8px;
  font-size: .9rem;
  color: var(--text-secondary);
}

.gauge-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-gold);
}

/* Pie Chart (CSS conic-gradient) */
.pie-chart {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 0 auto;
}

/* Stat Cards */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 28px 0;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.stat-card .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.stat-card .stat-label {
  color: var(--text-muted);
  font-size: .85rem;
  margin-top: 4px;
}

/* ===== RATING ===== */
.rating-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

.star {
  color: var(--accent-gold);
  font-size: 1.2rem;
}

.star.empty {
  color: var(--text-muted);
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, .12);
  border: 1px solid rgba(245, 158, 11, .3);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--accent-gold);
  font-size: 1.1rem;
}

/* ===== PROS / CONS ===== */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 24px 0;
}

.pros,
.cons {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
}

.pros {
  border-left: 4px solid var(--accent-green);
}

.cons {
  border-left: 4px solid var(--accent-red);
}

.pros h3,
.cons h3 {
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.pros h3 {
  color: var(--accent-green);
}

.cons h3 {
  color: var(--accent-red);
}

.pros li,
.cons li {
  list-style: none;
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text-secondary);
  font-size: .92rem;
}

.pros li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 700;
}

.cons li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: var(--accent-red);
  font-weight: 700;
}

/* ===== CTA BOX ===== */
.cta-box {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(245, 158, 11, .06) 100%);
  border: 1px solid rgba(245, 158, 11, .2);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  margin: 40px 0;
}

.cta-box h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.cta-box p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* ===== SEO TEXT ===== */
.seo-content {
  margin: 32px 0;
}

.seo-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 36px 0 16px;
  color: var(--text-primary);
}

.seo-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--text-primary);
}

.seo-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: .95rem;
}

.seo-content ul,
.seo-content ol {
  color: var(--text-secondary);
  margin: 12px 0 16px 24px;
  font-size: .95rem;
}

.seo-content li {
  margin-bottom: 8px;
}

.seo-content a {
  color: var(--accent-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seo-content a:hover {
  color: var(--accent-gold-hover);
}

.seo-content strong {
  color: var(--text-primary);
}

/* ===== INFO BOX ===== */
.info-box {
  background: var(--bg-card);
  border-left: 4px solid var(--accent-blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 20px 0;
  color: var(--text-secondary);
  font-size: .92rem;
}

.info-box.gold {
  border-left-color: var(--accent-gold);
}

.info-box.green {
  border-left-color: var(--accent-green);
}

/* ===== AUTHOR BOX ===== */
.author-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  margin: 40px 0;
}

.author-box img,
.author-box svg {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid var(--accent-gold);
}

.author-info .author-name {
  font-weight: 700;
  font-size: 1rem;
}

.author-info .author-role {
  color: var(--text-muted);
  font-size: .85rem;
}

.author-info .author-bio {
  color: var(--text-secondary);
  font-size: .88rem;
  margin-top: 6px;
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  padding-left: 32px;
  margin: 24px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-light);
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-gold);
  border: 3px solid var(--bg-darkest);
}

.timeline-item h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.timeline-item p {
  color: var(--text-secondary);
  font-size: .9rem;
}

/* ===== STEPS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--accent-gold);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto 14px;
}

.step h4 {
  font-size: .95rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-secondary);
  font-size: .85rem;
}

/* ===== ACCORDION (FAQ) ===== */
.faq-list {
  margin: 24px 0;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-q {
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: .95rem;
  transition: all var(--transition);
}

.faq-q:hover {
  background: rgba(255, 255, 255, .03);
}

.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent-gold);
  transition: transform var(--transition);
}

.faq-item.active .faq-q::after {
  content: '−';
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
}

.faq-item.active .faq-a {
  max-height: 400px;
}

.faq-a-inner {
  padding: 0 20px 18px;
  color: var(--text-secondary);
  font-size: .9rem;
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-color);
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about .logo {
  margin-bottom: 14px;
}

.footer-about p {
  color: var(--text-muted);
  font-size: .85rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--text-primary);
  font-size: .95rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: .85rem;
  padding: 5px 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: .8rem;
}

.footer-bottom .footer-links {
  display: flex;
  gap: 20px;
}

.footer-bottom .footer-links a {
  color: var(--text-muted);
  font-size: .8rem;
}

.disclaimer {
  background: rgba(0, 0, 0, .3);
  padding: 16px 0;
  text-align: center;
}

.disclaimer p {
  color: var(--text-muted);
  font-size: .75rem;
  line-height: 1.6;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 14px 0;
  font-size: .82rem;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb span {
  color: var(--text-muted);
  margin: 0 6px;
}

.breadcrumb strong {
  color: var(--text-secondary);
  font-weight: 500;
}

/* ===== TWO COL LAYOUT ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* ===== FORMS ===== */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: .9rem;
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: .95rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.form-btn {
  width: 100%;
  padding: 14px;
  background: var(--accent-gold);
  color: #000;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
}

.form-btn:hover {
  background: var(--accent-gold-hover);
}

.form-card {
  max-width: 440px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px;
}

.form-card h2 {
  text-align: center;
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.form-card .subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: .9rem;
}

/* ===== COMPARISON GRID ===== */
.compare-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
}

.compare-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all var(--transition);
}

.compare-card.featured {
  border-color: var(--accent-gold);
  position: relative;
}

.compare-card.featured::before {
  content: 'Empfohlen';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gold);
  color: #000;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
}

.compare-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.compare-card .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

.compare-card ul {
  list-style: none;
  margin-bottom: 20px;
}

.compare-card li {
  padding: 8px 0;
  font-size: .85rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}

/* ===== FORMS ===== */
.form-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 70px - 300px);
  padding: 60px 0;
}

.form-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  padding: 40px;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.form-card h1 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  text-align: center;
}

.form-card .form-subtitle {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 28px;
  font-size: .95rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, .15);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.form-checkbox input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--accent-gold);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.form-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--accent-gold);
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  text-align: center;
}

.form-btn:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, .25);
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--text-muted);
  font-size: .85rem;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

.form-footer {
  text-align: center;
  margin-top: 24px;
  font-size: .9rem;
  color: var(--text-secondary);
}

.form-footer a {
  font-weight: 600;
}

.form-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  padding: 20px;
  background: rgba(245, 158, 11, .05);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(245, 158, 11, .15);
}

.form-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--text-secondary);
}

.form-benefit .icon {
  color: var(--accent-green);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--bg-dark);
  border-top: 1px solid var(--border-color);
  padding: 20px 24px;
  display: none;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .4);
}

.cookie-banner.active {
  display: block;
}

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  font-size: .85rem;
  color: var(--text-secondary);
  min-width: 200px;
}

.cookie-text a {
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .85rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition);
}

.cookie-btn-accept {
  background: var(--accent-gold);
  color: #000;
}

.cookie-btn-accept:hover {
  background: var(--accent-gold-hover);
}

.cookie-btn-reject {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.cookie-btn-reject:hover {
  color: var(--text-primary);
  border-color: var(--border-light);
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  body {
    background: #fff;
    color: #000;
  }

  .site-header,
  .site-footer,
  .cookie-banner,
  .burger,
  .mobile-menu,
  .skip-link,
  .cta-box,
  .hero-cta,
  .header-cta,
  .form-btn {
    display: none !important;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: .8em;
  }

  a[href^="/"]::after {
    content: ' (https://lunubet-casinos.de' attr(href) ')';
  }

  a[href^="#"]::after {
    content: '';
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  .card,
  .feature-card,
  .stat-card {
    break-inside: avoid;
    border: 1px solid #ccc;
  }

  .table-wrap {
    overflow: visible;
  }

  .disclaimer {
    border-top: 1px solid #ccc;
    padding: 10px 0;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .compare-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 50px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image {
    order: -1;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-alt h1 {
    font-size: 1.7rem;
  }

  .hero-compact h1 {
    font-size: 1.6rem;
  }

  .section {
    padding: 45px 0;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .card-grid-4 {
    grid-template-columns: 1fr;
  }

  .card-grid-3 {
    grid-template-columns: 1fr;
  }

  .card-grid-2 {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .pros-cons {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .table-wrap {
    margin-left: -24px;
    margin-right: -24px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .author-box {
    flex-direction: column;
    text-align: center;
  }

  .hbar-row {
    flex-wrap: wrap;
  }

  .hbar-label {
    width: 100%;
  }

  .donut-chart {
    width: 160px;
    height: 160px;
  }

  .donut-chart::after {
    width: 96px;
    height: 96px;
  }

  .vbar-chart {
    height: 180px;
    gap: 10px;
  }

  .gauge {
    width: 130px;
    height: 65px;
    border-width: 12px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .header-inner {
    height: 60px;
    padding: 0 16px;
  }

  .logo img {
    height: 30px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero-cta {
    padding: 14px 24px;
    font-size: .95rem;
  }

  .section {
    padding: 35px 0;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-card {
    padding: 16px;
  }

  .stat-card .stat-number {
    font-size: 1.5rem;
  }

  .card {
    padding: 20px;
  }

  .data-table th,
  .data-table td {
    padding: 10px 12px;
    font-size: .82rem;
  }

  .cta-box {
    padding: 28px 20px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .vbar-chart {
    height: 150px;
    gap: 6px;
  }

  .donut-chart {
    width: 140px;
    height: 140px;
  }

  .donut-chart::after {
    width: 84px;
    height: 84px;
  }

  .donut-center .number {
    font-size: 1.3rem;
  }

  .pie-chart {
    width: 150px;
    height: 150px;
  }

  .form-card {
    padding: 28px 20px;
  }

  .form-card h1 {
    font-size: 1.5rem;
  }
}

/* ===== UTILITY ===== */
.text-gold {
  color: var(--accent-gold);
}

.text-green {
  color: var(--accent-green);
}

.text-blue {
  color: var(--accent-blue);
}

.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-40 {
  margin-bottom: 40px;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gap-20 {
  gap: 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}


/* ============================================
   LUNUBET PREMIUM VISUALS (INJECTED)
   ============================================ */
.hero-img-style {
  width: 100%;
  max-width: 540px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(245, 158, 11, 0.4), 0 0 80px rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.3);
  object-fit: cover;
  animation: floatImg 6s ease-in-out infinite;
}

@keyframes floatImg {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
    box-shadow: 0 15px 50px rgba(245, 158, 11, 0.5), 0 0 100px rgba(59, 130, 246, 0.3);
  }
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.slot-card {
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
}

.slot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.slot-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.slot-card:hover img {
  transform: scale(1.08);
}

@media (max-width: 1024px) {
  .slot-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero-img-style {
    max-width: 90%;
    margin: 0 auto;
    display: block;
    animation: none;
  }
}

@media (max-width: 480px) {
  .slot-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 0 10px;
  }

  .hero-img-style {
    max-width: 100%;
    border-radius: 8px;
  }
}

/* BURGER MENU HOTFIX */
.mobile-menu.active {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 99999 !important;
  transform: translateX(0) !important;
  pointer-events: auto !important;
}

.site-header {
  z-index: 100000 !important;
}

.burger {
  z-index: 100001 !important;
  position: relative;
}