/* ================================================================
   INTERWETTEN-OFFIZIELL.DE — Global Stylesheet
   Brand: Interwetten | Yellow #F5C400 | Black #0D0D0D
   ================================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --yellow:      #F5C400;
  --yellow-dark: #D9AC00;
  --yellow-light:#FFF0A0;
  --black:       #0D0D0D;
  --dark:        #111827;
  --card:        #1C2533;
  --card2:       #243040;
  --border:      #2E3A4E;
  --white:       #FFFFFF;
  --text:        #F1F5F9;
  --muted:       #94A3B8;
  --green:       #22C55E;
  --red:         #EF4444;
  --blue:        #3B82F6;

  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-yellow: 0 0 24px rgba(245,196,0,0.3);
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
  --max-w: 1280px;
}

html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: var(--yellow); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--yellow-light); }

/* ---------- Skip Navigation ---------- */
.skip-nav {
  position: absolute;
  top: -48px;
  left: 16px;
  background: var(--yellow);
  color: var(--black);
  padding: 10px 20px;
  font-weight: 700;
  font-size: 14px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 10000;
  transition: top 0.2s ease;
}
.skip-nav:focus { top: 0; color: var(--black); }

/* ---------- Focus Visible (Keyboard Navigation) ---------- */
*:focus { outline: none; }
*:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 4px;
}
button:focus-visible, a:focus-visible { border-radius: var(--radius-sm); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5 { line-height: 1.25; font-weight: 700; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }

/* ---------- Utility Classes ---------- */
.text-yellow { color: var(--yellow); }
.text-muted  { color: var(--muted); }
.text-center { text-align: center; }
.text-green  { color: var(--green); }
.text-red    { color: var(--red); }
.fw-700      { font-weight: 700; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--yellow);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--yellow-dark);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-yellow);
}
.btn-outline {
  background: transparent;
  color: var(--yellow);
  border: 2px solid var(--yellow);
}
.btn-outline:hover {
  background: var(--yellow);
  color: var(--black);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--card2);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-dark:hover { background: var(--border); color: var(--white); }
.btn-lg { padding: 18px 40px; font-size: 17px; border-radius: 10px; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ---------- Section Headings ---------- */
.section-title {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  margin-bottom: 16px;
}
.section-title span { color: var(--yellow); }
.section-subtitle {
  font-size: 17px;
  color: var(--muted);
  max-width: 640px;
}
.section-header { margin-bottom: 48px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

.title-line {
  width: 60px; height: 4px;
  background: var(--yellow);
  border-radius: 2px;
  margin: 12px 0 20px;
}
.title-line.centered { margin: 12px auto 20px; }

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-yellow);
}
.card-sm { padding: 20px; }

/* ---------- Grid system ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
/* Logo */
.site-logo { display: flex; align-items: center; gap: 0; flex-shrink: 0; }
.logo-svg { height: 44px; width: auto; }

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  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(--yellow); background: rgba(245,196,0,0.1); }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-actions .btn { padding: 9px 18px; font-size: 13px; }
.tracker-btn {
  background: var(--yellow);
  color: var(--black) !important;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
  animation: pulse-yellow 2.5s infinite;
}
.tracker-btn:hover {
  background: var(--yellow-dark);
  transform: translateY(-1px);
  color: var(--black) !important;
}
@keyframes pulse-yellow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,196,0,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(245,196,0,0); }
}

/* Mobile hamburger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile top bar (tracker link) */
.mobile-top-bar {
  display: none;
  background: var(--yellow);
  text-align: center;
  padding: 10px 16px;
}
.mobile-top-bar a {
  color: var(--black) !important;
  font-weight: 800;
  font-size: 14px;
  display: block;
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(13,13,13,0.97);
  z-index: 999;
  flex-direction: column;
  padding: 80px 32px 32px;
  gap: 8px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--yellow); }
.mobile-nav .close-menu {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
}
.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #070D15;
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-about p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--yellow);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  color: var(--muted);
  font-size: 14px;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { color: var(--muted); font-size: 13px; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--muted); font-size: 13px; }
.footer-legal a:hover { color: var(--text); }
.footer-badges { display: flex; gap: 12px; align-items: center; margin-top: 20px; }
.badge-18 {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--red);
  color: white;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge-ssl {
  background: var(--green);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
}
.badge-license {
  background: var(--card2);
  color: var(--muted);
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

/* ---------- HERO (homepage) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #070D15 0%, #111827 50%, #1a1f2e 100%);
  min-height: 580px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,196,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,196,0,0.15);
  border: 1px solid rgba(245,196,0,0.3);
  color: var(--yellow);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-eyebrow::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  animation: blink 1.2s infinite;
}
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0;} }

.hero h1 {
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--yellow); }
.hero p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stat-item { }
.hero-stat-item .num {
  font-size: 36px;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
}
.hero-stat-item .label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* ---------- ODDS TICKER ---------- */
.odds-ticker {
  background: var(--black);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  gap: 40px;
  animation: scrollTicker 35s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.ticker-teams { font-size: 13px; font-weight: 600; }
.ticker-odd {
  background: rgba(245,196,0,0.15);
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
}
.ticker-sport {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@keyframes scrollTicker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- TABLES ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
thead th {
  background: var(--card2);
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 14px 16px;
  text-align: left;
  white-space: nowrap;
}
tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: rgba(245,196,0,0.04); }
tbody td {
  padding: 14px 16px;
  color: var(--text);
  white-space: nowrap;
}
.odd-btn {
  background: var(--card2);
  border: 1px solid var(--border);
  color: var(--yellow);
  font-weight: 800;
  font-size: 14px;
  padding: 7px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
  min-width: 60px;
  text-align: center;
}
.odd-btn:hover { background: var(--yellow); color: var(--black); }
.live-badge {
  background: var(--red);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  animation: blink 1s infinite;
}
.status-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
}
.status-badge.green { background: rgba(34,197,94,0.15); color: var(--green); }
.status-badge.yellow { background: rgba(245,196,0,0.15); color: var(--yellow); }
.status-badge.red { background: rgba(239,68,68,0.15); color: var(--red); }

/* ---------- CHARTS ---------- */
/* Bar chart */
.bar-chart { display: flex; flex-direction: column; gap: 14px; }
.bar-item { }
.bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 6px;
}
.bar-label .name { color: var(--text); font-weight: 600; }
.bar-label .val { color: var(--yellow); font-weight: 700; }
.bar-track {
  height: 10px;
  background: var(--card2);
  border-radius: 5px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--yellow-dark), var(--yellow));
  border-radius: 5px;
  transition: width 1s ease;
}
.bar-fill.blue { background: linear-gradient(90deg, #2563EB, #60A5FA); }
.bar-fill.green { background: linear-gradient(90deg, #16A34A, #22C55E); }
.bar-fill.red { background: linear-gradient(90deg, #DC2626, #EF4444); }

/* Donut chart (SVG-based) */
.donut-chart-wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.donut-legend { display: flex; flex-direction: column; gap: 10px; }
.legend-item { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.legend-dot {
  width: 12px; height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}

/* Progress ring */
.progress-rings { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.ring-item { text-align: center; }
.ring-label { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* Line chart */
.line-chart-svg { width: 100%; }

/* ---------- SPORT ICONS ---------- */
.sport-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(245,196,0,0.1);
  border: 1px solid rgba(245,196,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

/* ---------- FEATURE CARD ---------- */
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.feature-card:hover::after { transform: scaleX(1); }
.feature-card:hover {
  border-color: rgba(245,196,0,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ---------- BONUS CARD ---------- */
.bonus-card {
  background: linear-gradient(135deg, var(--card), var(--card2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.bonus-card:hover {
  border-color: var(--yellow);
  box-shadow: var(--shadow-yellow);
  transform: translateY(-3px);
}
.bonus-card .badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--yellow);
  color: var(--black);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}
.bonus-amount {
  font-size: 48px;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 8px;
}
.bonus-amount span { font-size: 24px; }
.bonus-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.bonus-cond { font-size: 13px; color: var(--muted); }

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  padding: 16px 0;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--text); }

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, #070D15 0%, #111827 100%);
  padding: 56px 0 40px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--dark));
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  margin-bottom: 12px;
}
.page-hero .sub { font-size: 16px; color: var(--muted); max-width: 560px; }

/* ---------- SEO TEXT SECTION ---------- */
.seo-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
}
.seo-section h2 { font-size: 24px; margin-bottom: 16px; color: var(--yellow); }
.seo-section h3 { font-size: 20px; margin-bottom: 12px; margin-top: 28px; }
.seo-section p { color: var(--muted); font-size: 15px; line-height: 1.8; margin-bottom: 16px; }
.seo-section ul { margin: 16px 0 16px 20px; }
.seo-section ul li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 8px;
  position: relative;
  padding-left: 16px;
  list-style: none;
}
.seo-section ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--yellow);
}
.seo-section a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.seo-section a:hover { color: var(--yellow-light); }

/* ---------- AUTHOR BOX ---------- */
.author-box {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}
.author-box:hover { border-color: rgba(245,196,0,0.3); }
.author-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  border: 3px solid var(--yellow);
  overflow: hidden;
}
.author-info h4 { font-size: 17px; margin-bottom: 4px; }
.author-role { font-size: 13px; color: var(--yellow); margin-bottom: 10px; font-weight: 600; }
.author-bio { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ---------- FORMS ---------- */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-control {
  width: 100%;
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
  padding: 14px 18px;
  font-family: var(--font);
  transition: border-color var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(245,196,0,0.1);
}
.form-control::placeholder { color: var(--muted); }

/* ---------- TABS ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 32px; overflow-x: auto; }
.tab-btn {
  padding: 12px 20px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--transition);
  white-space: nowrap;
}
.tab-btn.active, .tab-btn:hover { color: var(--yellow); border-bottom-color: var(--yellow); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ---------- STAT BOX ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all var(--transition);
}
.stat-box:hover { border-color: var(--yellow); }
.stat-box .num {
  font-size: 38px;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
}
.stat-box .label { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ---------- BREADCRUMB HERO SEPARATOR ---------- */
.hero-sep {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  margin: 0;
  opacity: 0.4;
}

/* ---------- PAGINATION ---------- */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; }
.page-link {
  padding: 9px 14px;
  border-radius: 6px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition);
}
.page-link:hover, .page-link.active {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

/* ---------- TIMELINE ---------- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 12px; top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  margin-bottom: 32px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--dark);
}
.timeline-date { font-size: 12px; color: var(--yellow); font-weight: 700; margin-bottom: 6px; }
.timeline-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.timeline-text { font-size: 14px; color: var(--muted); }

/* ---------- SCROLL TO TOP ---------- */
.scroll-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--yellow);
  color: var(--black);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 999;
  box-shadow: 0 4px 16px rgba(245,196,0,0.4);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--yellow-dark); }

/* ---------- ALERT BANNER ---------- */
.alert-banner {
  background: linear-gradient(90deg, rgba(245,196,0,0.15), rgba(245,196,0,0.05));
  border: 1px solid rgba(245,196,0,0.3);
  border-radius: var(--radius);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
}
.alert-banner .icon { font-size: 20px; flex-shrink: 0; }
.alert-banner strong { color: var(--yellow); }

/* ---------- GAME CARDS (Casino) ---------- */
.game-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}
.game-card:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.game-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}
.game-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.game-card:hover .game-card-overlay { opacity: 1; }
.game-card-body { padding: 16px; }
.game-card-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.game-card-meta { font-size: 12px; color: var(--muted); }

/* ---------- APP STORE BADGES ---------- */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 20px;
  transition: all var(--transition);
}
.store-badge:hover { border-color: var(--yellow); transform: translateY(-2px); }
.store-badge .store-icon { font-size: 28px; }
.store-badge-text small { display: block; font-size: 11px; color: var(--muted); }
.store-badge-text strong { font-size: 16px; font-weight: 700; color: var(--text); }

/* ---------- RIBBON ---------- */
.ribbon {
  position: relative;
  overflow: hidden;
}
.ribbon-tag {
  position: absolute;
  top: 14px; right: -24px;
  background: var(--yellow);
  color: var(--black);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 32px;
  transform: rotate(45deg);
  text-transform: uppercase;
}

/* ================================================================
   MOBILE RESPONSIVE
   ================================================================ */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .main-nav, .header-actions { display: none; }
  .burger { display: flex; margin-left: auto; }
  .mobile-top-bar { display: block; }
  .site-header { top: 0; }

  .hero { min-height: auto; padding: 48px 0; }
  .hero h1 { font-size: clamp(28px, 8vw, 42px); }
  .hero p { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 20px; }

  .section { padding: 48px 0; }
  .section-sm { padding: 32px 0; }
  .seo-section { padding: 28px 20px; }
  .seo-section h2 { font-size: 20px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }

  table { min-width: 520px; }
  .table-wrap { margin-left: -24px; margin-right: -24px; border-radius: 0; }

  .author-box { flex-direction: column; }

  .bar-chart .bar-track { height: 8px; }

  .donut-chart-wrap { flex-direction: column; align-items: flex-start; }

  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-box .num { font-size: 28px; }

  .scroll-top { bottom: 20px; right: 16px; width: 42px; height: 42px; font-size: 18px; }

  .bonus-amount { font-size: 36px; }

  .store-badge { flex: 1; }

  .page-hero { padding: 40px 0 28px; }
}

@media (max-width: 480px) {
  :root { --max-w: 100%; }
  .container { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 24px; }
  .card { padding: 20px 16px; }
  .bonus-card { padding: 20px; }
  .seo-section { padding: 20px 16px; }
  .tabs { gap: 2px; }
  .tab-btn { padding: 10px 12px; font-size: 13px; }
  .hero-stats { gap: 16px; }
  .hero-stat-item .num { font-size: 28px; }
}


/* ---------- Affiliate Disclosure ---------- */
.affiliate-disclosure {
  background: rgba(245,196,0,0.07);
  border: 1px solid rgba(245,196,0,0.2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.5;
}
.affiliate-disclosure strong { color: var(--yellow); }

/* ---------- Cookie Consent Bar ---------- */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 2px solid var(--yellow);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 10000;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.5);
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
}
.cookie-bar.visible { transform: translateY(0); }
.cookie-bar p {
  flex: 1;
  font-size: 13px;
  color: var(--muted);
  min-width: 200px;
}
.cookie-bar p a { font-weight: 600; }
.cookie-bar .cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .cookie-bar { flex-direction: column; align-items: flex-start; padding: 16px; }
  .cookie-bar .cookie-actions { width: 100%; }
  .cookie-bar .cookie-actions .btn { flex: 1; justify-content: center; }
}

/* =========================================
   ULTIMATE MOBILE RESPONSIVENESS FIXES
   ========================================= */
@media (max-width: 768px) {
  /* Fix SVGs and Charts */
  svg.line-chart-svg, 
  .donut-chart-wrap svg,
  .phone-mockup svg,
  .author-avatar-lg svg {
    max-width: 100% !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: auto !important;
    max-height: 280px;
    display: block;
    margin: 0 auto;
  }
  
  /* Fix Cards and Grids */
  .card, .bonus-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  /* Make sure flex grids break into columns */
  .grid-2, .grid-3, .grid-4 {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }

  /* Fix Tables */
  .table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    display: block !important;
    margin-left: 0 !important; margin-right: 0 !important; padding: 0 !important; box-sizing: border-box !important;
    margin-right: 0 !important;
    border-radius: var(--radius) !important;
  }
  .table-wrap table {
    width: 100% !important;
    min-width: 500px !important; /* Force native horizontal scroll */
  }

  /* Fix Live-Wetten Rows */
  .live-events-ticker {
    width: 100%;
    overflow: hidden;
  }
  .live-event-row {
    max-width: 100% !important;
    box-sizing: border-box !important;
    flex-wrap: wrap !important;
    gap: 12px;
    padding: 16px 12px !important;
  }
  .live-event-row > div:nth-child(1) {
    flex: 1 1 100%;
    text-align: left !important;
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 4px;
  }
  .live-event-row .live-teams {
    flex: 1 1 100% !important;
    margin-bottom: 8px;
  }
  .live-event-row .live-score {
    flex: 1 1 100% !important;
    text-align: left !important;
    margin-bottom: 8px;
  }
  .live-event-row > div:nth-child(4) { /* Odds buttons wrapper */
    flex: 1 1 100%;
    display: flex;
    justify-content: space-between;
  }
  .live-event-row .odd-btn {
    flex: 1; /* Grow odds buttons to fill row uniformly on mobile */
    margin: 0 4px;
  }
  .live-event-row > a.btn {
    flex: 1 1 100%;
    margin-top: 8px;
  }

  /* Fix Filters */
  .casino-filter {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  .casino-filter .filter-chip {
    flex: 1 1 auto;
    text-align: center;
    font-size: 13px !important;
    padding: 8px 12px !important;
  }
}

@media (max-width: 480px) {
  .stat-grid {
    grid-template-columns: 1fr !important;
  }
  .app-split {
    flex-direction: column !important;
  }
  .app-split > div {
    width: 100% !important;
  }
}

/* =========================================
   ADDITIONAL MOBILE FIXES (FOR SIDEBARS & INLINE FLEX)
   ========================================= */
@media (max-width: 900px) {
  /* Force the sportwetten layout to stack */
  .sw-layout {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .sw-sidebar {
    width: 100% !important;
    margin-bottom: 24px;
  }
  .sw-sidebar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .sport-nav-item {
    flex: 1 1 auto;
    font-size: 13px !important;
    padding: 8px 12px !important;
  }

  /* Any inline flex layouts that are breaking the viewport */
  div[style*="display:flex"][style*="gap:32px"] {
    flex-direction: column !important;
    gap: 16px !important;
  }
  div[style*="display: inline-flex"][style*="gap: 8px"] {
    flex-wrap: wrap !important;
  }
  
  /* Make sure main containers never overflow */
  main {
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  
  /* Force tables to scroll locally inside the container */
  .tab-pane table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
}
