/* ═══════════════════════════════════════════════════════════════════════════
   GoalGrid AI — 2 hlavní barvy (jediné místo pro změnu hex kódů)
   v4.2.8.27.235

   1. --gg-brand-primary   Mint teal  #35E0C2  → akcent, CTA, odkazy, LIVE, AI
   2. --gg-brand-secondary Deep navy  #061019  → pozadí, dark base, theme-color

   Vše ostatní (--gg-accent, --ls-red, showcase mint…) se odvozuje automaticky.
   ═══════════════════════════════════════════════════════════════════════════ */

body.livesport-theme {
  --gg-brand-primary: #35e0c2;
  --gg-brand-secondary: #061019;

  --gg-brand-primary-hover: #2bc9ad;
  --gg-brand-primary-soft: rgba(53, 224, 194, 0.12);
  --gg-brand-primary-border: rgba(53, 224, 194, 0.28);
  --gg-brand-primary-glow: rgba(53, 224, 194, 0.35);
  --gg-brand-primary-light: #49e5c7;
  --gg-brand-primary-on: #061019;

  --gg-brand-secondary-elevated: #10151f;
  --gg-brand-secondary-surface: #0e1a28;

  /* Zpětná kompatibilita — starší proměnné v celém CSS */
  --gg-dark: var(--gg-brand-secondary);
  --gg-dark-elevated: var(--gg-brand-secondary-elevated);
  --gg-accent: var(--gg-brand-primary);
  --gg-accent-hover: var(--gg-brand-primary-hover);
  --gg-accent-soft: var(--gg-brand-primary-soft);
  --gg-accent-border: var(--gg-brand-primary-border);
  --gg-accent-glow: var(--gg-brand-primary-glow);
  --gg-text: #f3f4f6;
  --gg-muted: #94a3b8;

  --ls-red: var(--gg-brand-primary);
  --ls-red-hover: var(--gg-brand-primary-hover);
  --ls-red-soft: var(--gg-brand-primary-soft);
  --ls-bg: var(--gg-brand-secondary);
  --ls-bg-elevated: var(--gg-brand-secondary-elevated);
  --ls-live: var(--gg-brand-primary);
  --ls-live-soft: var(--gg-brand-primary-soft);
  --ls-ai: var(--gg-brand-primary);
  --ls-ai-soft: var(--gg-brand-primary-soft);
  --ls-top-pick: var(--gg-brand-primary);
}

body.livesport-theme .site-topbar {
  border-bottom-color: var(--gg-brand-primary) !important;
}

body.livesport-theme .eyebrow.red,
body.livesport-theme .dash-tag.live-tag {
  color: var(--gg-brand-primary) !important;
}

body.livesport-theme a.secondary-link,
body.livesport-theme .home-phase1-trust-link,
body.livesport-theme .primary-link:not(.topbar-cta-btn) {
  color: var(--gg-brand-primary) !important;
}

body.livesport-theme a.secondary-link:hover,
body.livesport-theme .home-phase1-trust-link:hover {
  color: var(--gg-brand-primary-light) !important;
}

body.livesport-theme .status-pill.live,
body.livesport-theme .home-hero-chip.is-live {
  background: var(--gg-brand-primary-soft) !important;
  color: var(--gg-text) !important;
  border-color: var(--gg-brand-primary-border) !important;
}

body.livesport-theme .home-hero-chip-dot,
body.livesport-theme .home-quick-dot.live {
  background: var(--gg-brand-primary) !important;
  box-shadow: 0 0 8px var(--gg-brand-primary-glow);
}

body.livesport-theme .result-win,
body.livesport-theme .top-ai-tip-result.result-win {
  color: var(--gg-text) !important;
  background: var(--gg-brand-primary-soft) !important;
  border-color: var(--gg-brand-primary-border) !important;
}

body.livesport-theme .verdict-pill.verdict-bet,
body.livesport-theme .simple-ai-badge.official,
body.livesport-theme .prediction-layer-chip.official {
  background: var(--gg-brand-primary-soft) !important;
  color: var(--gg-text) !important;
  border-color: var(--gg-brand-primary-border) !important;
}

body.livesport-theme .verdict-pill.verdict-safe,
body.livesport-theme .simple-ai-badge.safe,
body.livesport-theme .prediction-layer-chip.safe {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--gg-muted) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

body.livesport-theme .topbar-cta-btn,
body.livesport-theme .prediction-quick-pill.active,
body.livesport-theme .bottom-nav a.active {
  background: var(--gg-brand-primary) !important;
  border-color: var(--gg-brand-primary) !important;
  color: var(--gg-brand-primary-on) !important;
}

body.livesport-theme .topbar-cta-btn:hover {
  background: var(--gg-brand-primary-hover) !important;
  border-color: var(--gg-brand-primary-hover) !important;
}

body.livesport-theme .topbar-ghost-btn {
  border-color: var(--gg-brand-primary-border) !important;
  color: var(--gg-text) !important;
}

body.livesport-theme .topbar-ghost-btn:hover {
  border-color: var(--gg-brand-primary) !important;
  color: var(--gg-brand-primary) !important;
}

@media (min-width: 901px) {
  body.livesport-theme .bottom-nav {
    display: none !important;
  }

  body.livesport-theme .site-shell {
    padding-bottom: 2rem !important;
  }
}

body.livesport-theme .home-hero-accent,
body.livesport-theme .predictions-hero-accent,
body.livesport-theme[data-page="home"] .home-teaser-stat strong,
body.livesport-theme .predictions-teaser-stat strong {
  color: var(--gg-brand-primary) !important;
}

body.livesport-theme[data-page="home"] .home-hero-footbot-cta,
body.livesport-theme.predictions-footbot-phase2 .predictions-hero-cta {
  border-color: var(--gg-brand-primary) !important;
  color: var(--gg-text) !important;
  box-shadow: 0 8px 32px var(--gg-brand-primary-glow) !important;
}

body.livesport-theme[data-page="home"] .home-hero-visual-overlay,
body.livesport-theme.predictions-footbot-phase2 .predictions-hero-visual-overlay {
  background:
    linear-gradient(180deg, rgba(6, 16, 25, 0.55) 0%, rgba(6, 16, 25, 0.9) 55%, rgba(6, 16, 25, 0.97) 100%),
    radial-gradient(ellipse 90% 70% at 50% 40%, var(--gg-brand-primary-soft), transparent 60%) !important;
}

body.livesport-theme[data-page="home"] .home-phase1-trust-card strong,
body.livesport-theme[data-page="home"] .home-value-num,
body.livesport-theme[data-page="home"] .home-hub-label,
body.livesport-theme[data-page="home"] .home-today-summary strong {
  color: var(--gg-brand-primary) !important;
}

body.livesport-theme[data-page="home"] .home-hub-card:hover,
body.livesport-theme[data-page="home"] .home-hub-card.is-primary {
  border-color: var(--gg-brand-primary-border) !important;
  background: linear-gradient(180deg, var(--gg-brand-primary-soft), rgba(6, 16, 25, 0.04)) !important;
}

body.livesport-theme[data-page="home"] .home-phase1-cta-panel {
  border-color: var(--gg-brand-primary-border) !important;
  background: linear-gradient(180deg, var(--gg-brand-primary-soft), rgba(6, 16, 25, 0.02)) !important;
}

body.livesport-theme[data-page="home"] .home-phase1-last-win {
  background: var(--gg-brand-primary-soft) !important;
  border-color: var(--gg-brand-primary-border) !important;
}

/* ── Unified topbar (všechny stránky) v4.2.8.27.240 ── */
body.livesport-theme {
  --topbar-h: 60px;
}

@media (min-width: 721px) {
  body.livesport-theme .site-topbar {
    height: var(--topbar-h) !important;
    min-height: var(--topbar-h) !important;
    gap: 0.75rem !important;
    padding-left: max(1rem, calc((100vw - 1180px) / 2)) !important;
    padding-right: max(1rem, calc((100vw - 1180px) / 2)) !important;
    background: rgba(6, 16, 25, 0.82) !important;
    backdrop-filter: blur(14px) saturate(1.12);
    border-bottom: 1px solid var(--gg-brand-primary-border) !important;
    box-shadow: none !important;
  }

  body.livesport-theme .site-shell.football-shell {
    margin-top: var(--topbar-h) !important;
  }

  body.livesport-theme .topbar-mobile-brand b {
    color: var(--gg-brand-primary) !important;
  }

  body.livesport-theme .topbar-search-shell {
    flex: 0 1 280px !important;
    min-width: 0 !important;
    max-width: 300px !important;
  }

  body.livesport-theme .topbar-search-form input {
    min-width: 0 !important;
    width: 100%;
    font-size: 0.8rem;
    min-height: 40px;
    border-radius: 12px;
  }

  body.livesport-theme .mobile-search-trigger {
    display: none !important;
  }

  body.livesport-theme .topbar-nav.unified-topbar-nav {
    flex: 1 1 auto;
    justify-content: center;
    gap: 0.15rem;
    min-width: 0;
  }

  body.livesport-theme .unified-topbar-nav a {
    min-height: 40px;
    padding: 0.42rem 0.72rem;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid transparent !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.7);
  }

  body.livesport-theme .unified-topbar-nav a:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.04) !important;
  }

  body.livesport-theme .unified-topbar-nav a.active {
    color: #fff !important;
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: inset 0 -2px 0 var(--gg-brand-primary);
  }

  body.livesport-theme .unified-topbar-nav a:first-child.active,
  body.livesport-theme .unified-topbar-nav a:first-child:hover {
    border-color: transparent !important;
    background: transparent !important;
  }

  body.livesport-theme .unified-topbar-nav a .nav-badge {
    font-size: 0.62rem;
    padding: 0.12rem 0.38rem;
    background: var(--gg-brand-primary-soft) !important;
    color: var(--gg-brand-primary) !important;
    border: 1px solid var(--gg-brand-primary-border);
    font-weight: 800;
  }

  body.livesport-theme .topbar-actions {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
  }

  body.livesport-theme .topbar-account-slot {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }

  body.livesport-theme .language-switcher-button {
    width: auto !important;
    min-width: 0 !important;
    min-height: 40px;
    padding: 0.42rem 0.65rem;
    border-radius: 12px;
    font-size: 0.78rem;
  }

  body.livesport-theme .account-trigger,
  body.livesport-theme .account-logout-btn {
    min-height: 40px;
    padding: 0.42rem 0.85rem;
    border-radius: 12px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  body.livesport-theme .theme-toggle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
  }
}

@media (min-width: 721px) and (max-width: 1040px) {
  body.livesport-theme .topbar-search-shell {
    flex-basis: 200px !important;
    max-width: 220px !important;
  }

  body.livesport-theme .unified-topbar-nav a {
    padding-inline: 0.5rem;
    font-size: 0.74rem;
  }
}

/* Homepage — full-bleed hero pod topbarem */
@media (min-width: 721px) {
  body.livesport-theme.home-hero-landing .site-shell.football-shell {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }
}

/* ═══ Footer — 4 sloupce v4.2.8.27.248 ═══ */
.site-trust-footer.site-footer-premium,
.site-trust-footer.site-footer-footbot {
  --gg-footer-accent: var(--gg-brand-primary, #35e0c2);
  --gg-footer-bg: var(--gg-brand-secondary, #061019);
  --gg-footer-bg-bottom: #040a10;
  margin-left: 0 !important;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--gg-footer-bg);
  color: #e8eef5;
  display: block;
}

.site-footer-premium .site-footer-main,
.site-footer-footbot .site-footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2rem) 2.5rem;
}

.site-footer-premium .site-footer-grid,
.site-footer-footbot .site-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: start;
}

.site-footer-premium .site-footer-logo,
.site-footer-footbot .site-footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  line-height: 1.1;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.site-footer-premium .site-footer-logo-mark,
.site-footer-footbot .site-footer-logo-mark {
  color: #ffffff;
}

.site-footer-premium .site-footer-logo b,
.site-footer-footbot .site-footer-logo b {
  color: var(--gg-footer-accent);
  font-weight: 800;
}

.site-footer-premium .site-footer-tagline,
.site-footer-footbot .site-footer-tagline {
  margin: 0 0 1.1rem;
  max-width: 22em;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(232, 238, 245, 0.78);
}

.site-footer-premium .site-footer-age,
.site-footer-footbot .site-footer-age {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(232, 238, 245, 0.72);
}

.site-footer-premium .site-footer-age strong,
.site-footer-footbot .site-footer-age strong {
  color: var(--gg-footer-accent);
  font-weight: 800;
}

.site-footer-premium .site-footer-col-title,
.site-footer-footbot .site-footer-col-title {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #ffffff;
}

.site-footer-premium .site-footer-col-accent,
.site-footer-footbot .site-footer-col-accent {
  display: block;
  width: 36px;
  height: 2px;
  margin-bottom: 0.85rem;
  border-radius: 2px;
  background: var(--gg-footer-accent);
  opacity: 0.9;
}

.site-footer-premium .site-footer-links,
.site-footer-footbot .site-footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer-premium .site-footer-links li,
.site-footer-footbot .site-footer-links li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer-premium .site-footer-links li:last-child,
.site-footer-footbot .site-footer-links li:last-child {
  border-bottom: none;
}

.site-footer-premium .site-footer-links a,
.site-footer-footbot .site-footer-links a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0;
  color: rgba(232, 238, 245, 0.82);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: color 0.16s ease, transform 0.16s ease;
}

.site-footer-premium .site-footer-links a:hover,
.site-footer-footbot .site-footer-links a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.site-footer-premium .site-footer-links a.is-featured,
.site-footer-footbot .site-footer-links a.is-featured {
  color: #35e0c2;
  font-weight: 700;
}

.site-footer-premium .site-footer-links a.is-featured .site-footer-chevron,
.site-footer-footbot .site-footer-links a.is-featured .site-footer-chevron {
  color: #35e0c2;
  opacity: 1;
}

.site-footer-premium .site-footer-strategy-cta,
.site-footer-footbot .site-footer-strategy-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.65rem 0 0.85rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(53, 224, 194, 0.35);
  background: rgba(53, 224, 194, 0.1);
  color: #35e0c2;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.site-footer-premium .site-footer-strategy-cta:hover,
.site-footer-footbot .site-footer-strategy-cta:hover {
  background: rgba(53, 224, 194, 0.16);
  border-color: rgba(53, 224, 194, 0.5);
  text-decoration: none;
}

.site-footer-premium .site-footer-links a.is-active,
.site-footer-footbot .site-footer-links a.is-active {
  color: var(--gg-footer-accent);
  font-weight: 700;
}

.site-footer-premium .site-footer-chevron,
.site-footer-footbot .site-footer-chevron {
  flex-shrink: 0;
  width: 0.65rem;
  color: var(--gg-footer-accent);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.85;
}

.site-footer-premium .site-footer-contact-note,
.site-footer-footbot .site-footer-contact-note {
  margin: 0.75rem 0 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: rgba(232, 238, 245, 0.62);
}

.site-footer-premium .site-footer-contact-note a,
.site-footer-footbot .site-footer-contact-note a {
  color: var(--gg-footer-accent);
  font-weight: 600;
  text-decoration: none;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.site-footer-premium .site-footer-contact-note a:hover,
.site-footer-footbot .site-footer-contact-note a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.site-footer-premium .site-footer-social,
.site-footer-footbot .site-footer-social {
  margin: 0.85rem 0 0;
}

.site-footer-premium .site-footer-social-link,
.site-footer-footbot .site-footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(53, 224, 194, 0.35);
  background: rgba(53, 224, 194, 0.08);
  color: var(--gg-footer-accent);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.site-footer-premium .site-footer-social-link:hover,
.site-footer-footbot .site-footer-social-link:hover {
  color: #ffffff;
  border-color: rgba(53, 224, 194, 0.65);
  background: rgba(53, 224, 194, 0.16);
}

.site-footer-premium .site-footer-social-link .gg-social-link-icon,
.site-footer-footbot .site-footer-social-link .gg-social-link-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.mobile-menu-social {
  margin: 0.35rem 0 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu-social .mobile-menu-social-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.mobile-menu-social .gg-social-link-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.site-footer-premium .site-footer-bottom,
.site-footer-footbot .site-footer-bottom {
  padding: 1rem clamp(1.25rem, 4vw, 2rem) 1.35rem;
  background: var(--gg-footer-bg-bottom);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.site-footer-premium .site-footer-bottom p,
.site-footer-footbot .site-footer-bottom p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(232, 238, 245, 0.72);
}

.site-footer-premium .site-footer-bottom strong,
.site-footer-footbot .site-footer-bottom strong {
  color: #ffffff;
  font-weight: 800;
}

.site-footer-premium .site-footer-bottom-note,
.site-footer-footbot .site-footer-bottom-note {
  margin-top: 0.35rem !important;
  font-size: 0.78rem !important;
  color: rgba(232, 238, 245, 0.5) !important;
}

@media (max-width: 980px) {
  .site-footer-premium .site-footer-grid,
  .site-footer-footbot .site-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer-premium .site-footer-brand,
  .site-footer-footbot .site-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-trust-footer.site-footer-premium,
  .site-trust-footer.site-footer-footbot {
    padding-bottom: 5.25rem;
  }

  .site-footer-premium .site-footer-grid,
  .site-footer-footbot .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .site-footer-premium .site-footer-main,
  .site-footer-footbot .site-footer-main {
    padding-bottom: 2rem;
  }
}
