/*
Theme Name: Spielvorhersagen Core
Theme URI: https://spielvorhersagen.com
Author: Spielvorhersagen Team
Author URI: https://spielvorhersagen.com
Description: Ultra-lightweight, modern sports betting and match prediction theme built for speed, SEO, and high conversion. Zero-bloat, 100/100 PageSpeed.
Version: 1.0.4
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: spielvorhersagen
*/

/* ========================================================
   1. DESIGN SYSTEM & CSS VARIABLES
   ======================================================== */
:root {
  --bg-main: #0a0e1a;
  --bg-surface: #121829;
  --bg-surface-elevated: #1a233a;
  --bg-glass: rgba(18, 24, 41, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(14, 165, 233, 0.5);

  --primary: #0ea5e9;
  --primary-hover: #38bdf8;
  --primary-glow: rgba(14, 165, 233, 0.25);
  
  --accent-green: #10b981;
  --accent-green-bg: rgba(16, 185, 129, 0.12);
  --accent-gold: #f59e0b;
  --accent-gold-bg: rgba(245, 158, 11, 0.12);
  --accent-red: #ef4444;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-faint: #64748b;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --container-max: 1200px;
}

/* ========================================================
   2. RESET & BASE
   ======================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-main);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
}

.site-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================================
   3. HEADER & NAVIGATION
   ======================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-brand img {
  height: 38px;
  width: auto;
}

.brand-logo-svg {
  height: 42px;
  width: auto;
  max-width: 250px;
  display: block;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-brand:hover .brand-logo-svg {
  transform: translateY(-1px) scale(1.02);
}

@media (max-width: 768px) {
  .brand-logo-svg {
    height: 36px;
    max-width: 205px;
  }
}

.brand-text {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.brand-text span {
  color: var(--primary);
}

/* Primary Nav */
.primary-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 6px;
  align-items: center;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

/* Dropdown */
.nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  pointer-events: none;
}

.nav-menu > li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-menu .sub-menu li a {
  display: block;
  color: var(--text-muted);
  font-size: 13.5px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.nav-menu .sub-menu li a:hover {
  color: #ffffff;
  background: rgba(14, 165, 233, 0.15);
  transform: translateX(3px);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--primary) 0%, #0284c7 100%);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px var(--primary-glow);
  transition: all 0.25s ease;
}

.btn-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--primary-glow);
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 8px 12px;
  font-size: 18px;
  cursor: pointer;
}

@media (max-width: 960px) {
  .primary-nav {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  height: calc(100vh - 72px);
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 24px;
  overflow-y: auto;
  display: none;
  z-index: 999;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer .nav-menu {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.mobile-drawer .nav-menu > li {
  width: 100%;
}

.mobile-drawer .nav-menu > li > a {
  font-size: 16px;
  padding: 10px 14px;
  width: 100%;
}

.mobile-drawer .sub-menu {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  background: rgba(0, 0, 0, 0.2);
  margin-top: 4px;
  margin-left: 10px;
}

/* ========================================================
   4. BUTTONS & UI COMPONENTS
   ======================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #0284c7 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 16px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px var(--primary-glow);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main) !important;
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-primary {
  background: rgba(14, 165, 233, 0.15);
  color: var(--primary);
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.badge-green {
  background: var(--accent-green-bg);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-gold {
  background: var(--accent-gold-bg);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* ========================================================
   5. HERO SECTION
   ======================================================== */
.hero-section {
  position: relative;
  padding: 60px 0 50px 0;
  text-align: center;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(14, 165, 233, 0.15), transparent 70%);
}

.hero-badge-wrap {
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #ffffff;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 30px auto;
  line-height: 1.55;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ========================================================
   6. SECTION HEADINGS & WRAPPERS
   ======================================================== */
.section-wrapper {
  padding: 50px 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.section-title {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 4px;
}

.section-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ========================================================
   7. MATCH PREDICTIONS GRID (CARDS)
   ======================================================== */
.predictions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 22px;
}

.prediction-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.prediction-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.12);
}

.prediction-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 12px;
  color: var(--text-faint);
}

.prediction-teams {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.35;
}

.prediction-teams a {
  color: #ffffff;
}

.prediction-teams a:hover {
  color: var(--primary);
}

.prediction-meta-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}

.prediction-prob {
  margin-left: auto;
  font-weight: 700;
  color: var(--accent-green);
  background: var(--accent-green-bg);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 12px;
}

/* ========================================================
   8. BETTING TOOLS GRID (8 CARDS)
   ======================================================== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.tool-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.tool-card:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-focus);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.tool-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(14, 165, 233, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.tool-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.tool-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 14px;
  flex-grow: 1;
}

.tool-action {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ========================================================
   9. BOOKMAKER & REVIEW STYLING
   ======================================================== */
.bookmaker-table-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  overflow-x: auto;
}

/* ========================================================
   10. SINGLE POST & EDITORIAL CONTENT
   ======================================================== */
.single-post-wrapper {
  padding: 40px 0 60px 0;
}

.single-header {
  margin-bottom: 28px;
}

.single-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  margin: 12px 0 16px 0;
}

.single-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13.5px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.single-content {
  font-size: 16.5px;
  line-height: 1.75;
  color: #cbd5e1;
}

.single-content h2 {
  font-size: 24px;
  color: #ffffff;
  margin: 36px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.single-content h3 {
  font-size: 20px;
  color: #ffffff;
  margin: 28px 0 12px 0;
}

.single-content p {
  margin-bottom: 20px;
}

.single-content ul, .single-content ol {
  margin: 0 0 20px 24px;
}

.single-content li {
  margin-bottom: 8px;
}

.single-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.single-content th, .single-content td {
  padding: 12px 16px;
  border: 1px solid var(--border-subtle);
  text-align: left;
}

.single-content th {
  background: var(--bg-surface-elevated);
  color: #ffffff;
}

/* E-E-A-T Author Bio Box */
.author-eeat-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 40px 0;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #ffffff;
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 4px;
}

.author-role {
  font-size: 12.5px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.author-bio {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========================================================
   11. FOOTER & COMPLIANCE
   ======================================================== */
.site-footer {
  background: #070a13;
  border-top: 1px solid var(--border-subtle);
  padding: 55px 0 25px 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 550px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col p {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 13.5px;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

/* Compliance Strip */
.compliance-strip {
  border-top: 1px solid var(--border-subtle);
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.compliance-info {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 760px;
}

.badge-18 {
  width: 36px;
  height: 36px;
  border: 2px solid var(--accent-red);
  color: var(--accent-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}

.compliance-text {
  font-size: 12px;
  color: var(--text-faint);
  line-height: 1.5;
}

.copyright-text {
  font-size: 13px;
  color: var(--text-faint);
  margin-left: auto;
}

/* ========================================================
   10. AI MATCH PREDICTIONS: TEXT VISIBILITY & CONTRAST
   ======================================================== */

/* 10.1 Standalone Headings & Text on Dark Body Background */
.amp-section-heading h2,
.amp-section-heading h3,
.amp-table-title,
.amp-form-card h3,
.amp-lineup-heading h2,
.amp-insights-card-title h3,
.amp-insights-section-heading h2,
.amp-insights-subheading h2,
.amp-subscription-card-compact h3,
.single-content .amp-section-heading h2,
.single-content .amp-section-heading h3,
.single-content .amp-table-title,
.single-content .amp-form-card h3,
.single-content .amp-lineup-heading h2 {
  color: #ffffff !important;
  border-bottom-color: var(--border-subtle) !important;
  font-weight: 700 !important;
}

.amp-section-heading p,
.amp-insights-subheading p,
.amp-lineup-heading p,
.amp-evidence-note,
.amp-evidence-disclaimer,
.single-content .amp-section-heading p {
  color: var(--text-muted) !important; /* #94a3b8 */
}

/* 10.2 Contrast Inside White/Light Plugin Cards */
.gcr-list-item h3,
.gcr-list-details h3,
.single-content .gcr-list-item h3,
.single-content .gcr-list-details h3 {
  color: #0f172a !important;
  border-bottom: none !important;
  margin: 0 0 8px 0 !important;
  padding-bottom: 0 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
}

.gcr-list-item p,
.gcr-list-details p,
.single-content .gcr-list-item p,
.single-content .gcr-list-details p,
.gcr-payout-speed {
  color: #475569 !important;
}

/* Prediction card & related headers */
.amp-prediction-card > h2,
.amp-prediction-card > h3,
.amp-evidence-heading h2,
.amp-subscription-card h3,
.single-content .amp-evidence-heading h2 {
  color: #0f172a !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

/* Internal links card header */
.amp-internal-links__header h2,
.single-content .amp-internal-links__header h2 {
  color: #0f172a !important;
  border-bottom: none !important;
}

/* Dark cards MUST keep white text */
.amp-rationale-card,
.amp-rationale-card h2,
.amp-rationale-heading h2,
.single-content .amp-rationale-card h2,
.single-content .amp-rationale-heading h2,
.amp-model-summary,
.amp-model-summary strong,
.amp-h2h-summary-card,
.amp-h2h-summary-card strong,
.amp-h2h-summary-card h3 {
  color: #ffffff !important;
}

.amp-match-preview-card > strong {
  color: #0f172a !important;
}

.amp-match-preview-card > span,
.amp-match-preview-meta small {
  color: #64748b !important;
}

.amp-match-preview-meta span {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

.amp-form-team-card strong,
.amp-goal-team-card strong,
.amp-standing-card strong,
.amp-model-evidence-values strong {
  color: #0f172a !important;
}

.amp-analytics-card strong {
  color: #1a0a3c !important;
}

.amp-analytics-card small {
  color: #64748b !important;
}

/* ========================================================
   11. LEAGUE TABLE & H2H TABLE (PRO DARK SPORTSBOOK UI)
   ======================================================== */

.amp-league-table-container,
.amp-h2h-table-container,
.amp-odds-table-container,
.amp-insights-table-wrap,
.table-responsive {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  display: block !important;
  margin: 25px 0 !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: #111827 !important; /* Deep dark slate card matching dark theme */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
}

/* Base table reset */
.amp-league-table,
.amp-h2h-table,
.amp-odds-table,
.amp-insights-table {
  width: 100% !important;
  min-width: 560px !important; /* Prevents column crushing completely */
  border-collapse: collapse !important;
  table-layout: auto !important;
  font-size: 13.5px !important;
  font-family: inherit !important;
  background: #111827 !important;
}

/* Table Header */
.amp-league-table th,
.amp-h2h-table th,
.amp-odds-table th,
.amp-insights-table th {
  background: #0b1120 !important;
  color: #94a3b8 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 14px 10px !important;
  border-bottom: 2px solid #0284c7 !important; /* Cyan accent border */
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  white-space: nowrap !important;
  text-align: center !important;
}

.amp-league-table th:nth-child(2),
.amp-h2h-table th:nth-child(3) {
  text-align: left !important;
}

/* Table Body Cells */
.amp-league-table td,
.amp-h2h-table td,
.amp-odds-table td,
.amp-insights-table td {
  background: #111827 !important;
  color: #e2e8f0 !important; /* Clear, bright readable text */
  font-size: 13.5px !important;
  font-weight: 600 !important;
  padding: 12px 10px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  white-space: nowrap !important;
  text-align: center !important;
}

.amp-league-table tbody tr:hover td,
.amp-h2h-table tbody tr:hover td {
  background: #1e293b !important;
}

/* Kill the plugin's aggressive 80px and 8% column overrides! */
.amp-league-table .team-name {
  width: auto !important;
  min-width: 140px !important;
  max-width: none !important;
  white-space: nowrap !important;
  text-align: left !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  padding-left: 14px !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.amp-league-table th:not(:nth-child(2)), 
.amp-league-table td:not(:nth-child(2)) {
  width: auto !important;
  min-width: 38px !important;
}

.amp-league-table .points {
  color: #38bdf8 !important; /* Glowing cyan points */
  font-weight: 800 !important;
  font-size: 14.5px !important;
}

/* Highlighted match teams in standings */
.amp-league-table .amp-highlight-team td {
  background: rgba(14, 165, 233, 0.16) !important;
  border-bottom: 1px solid rgba(14, 165, 233, 0.3) !important;
}

.amp-league-table .amp-highlight-team .team-name {
  color: #38bdf8 !important;
}

.amp-league-table .amp-highlight-team td:first-child {
  border-left: 3px solid #38bdf8 !important;
}

/* H2H specific cell highlights */
.amp-h2h-table td.winner {
  color: #4ade80 !important; /* Bright green winner */
  font-weight: 800 !important;
}

.amp-h2h-table .score {
  color: #ffffff !important;
  background: #1e293b !important;
  font-weight: 800 !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

/* ========================================================
   12. MOBILE SPECIFIC REFINEMENTS
   ======================================================== */

@media (max-width: 768px) {
  .amp-league-table-container,
  .amp-h2h-table-container,
  .amp-odds-table-container {
    position: relative !important;
    margin: 20px 0 !important;
    border-radius: 12px !important;
  }

  .amp-league-table,
  .amp-h2h-table,
  .amp-odds-table,
  .single-content table {
    min-width: 540px !important;
    font-size: 12.5px !important;
  }

  .amp-league-table th, .amp-league-table td,
  .amp-h2h-table th, .amp-h2h-table td {
    padding: 10px 8px !important;
  }

  /* Helpful visual swipe hint for mobile users */
  .amp-league-table-container::after,
  .amp-h2h-table-container::after,
  .amp-odds-table-container::after {
    content: '↔ Tabelle nach links / rechts wischen';
    display: block;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #38bdf8;
    padding: 8px;
    background: #0b1120;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* Casino List Item responsive stacked layout */
  .gcr-list-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 24px 16px !important;
    gap: 16px !important;
  }

  .gcr-list-logo img {
    max-width: 160px !important;
    height: auto !important;
  }

  .gcr-list-buttons {
    width: 100% !important;
  }

  .gcr-list-buttons a {
    width: 100% !important;
    display: block !important;
  }
}


