/*
Theme Name: Tutovky
Theme URI: https://tutovky.sk
Author: Tutovky
Author URI: https://tutovky.sk
Description: Prémiové športové tipy a analýzy – dark premium theme pre tutovky.sk
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tutovky
Tags: dark, one-column, custom-menu, featured-images, translation-ready
*/

/* =============================================
   ROOT VARIABLES
   ============================================= */
:root {
  --bg-primary: #0a0b0f;
  --bg-secondary: #12141a;
  --bg-card: #181b23;
  --bg-card-hover: #1e2230;
  --bg-elevated: #222636;
  --border: #2a2e3d;
  --border-subtle: #1e2230;
  --text-primary: #f0f1f5;
  --text-secondary: #9498a8;
  --text-muted: #5d6177;
  --accent: #00e68a;
  --accent-dim: rgba(0, 230, 138, 0.12);
  --accent-glow: rgba(0, 230, 138, 0.25);
  --accent-dark: #00b36b;
  --danger: #ff4d6a;
  --warning: #ffb84d;
  --info: #4da6ff;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.5);
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --max-w: 1200px;
  --header-h: 72px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin-bottom: 1em; }
.subtitle { color: var(--text-secondary); font-size: 17px; line-height: 1.7; max-width: 600px; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--accent); margin-bottom: 16px;
}
.section-label::before {
  content: ''; width: 20px; height: 2px; background: var(--accent); border-radius: 2px;
}
.accent-text { color: var(--accent); }

/* =============================================
   LAYOUT
   ============================================= */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* =============================================
   COMPONENTS: BADGES
   ============================================= */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase;
}
.badge-accent { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(0,230,138,0.2); }
.badge-locked { background: rgba(255,77,106,0.1); color: var(--danger); border: 1px solid rgba(255,77,106,0.2); }
.badge-sport { background: var(--bg-elevated); color: var(--text-secondary); border: 1px solid var(--border); }

/* =============================================
   COMPONENTS: BUTTONS
   ============================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  border: none; cursor: pointer; transition: all 0.2s;
  text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: #0a0b0f;
  box-shadow: 0 0 20px var(--accent-glow);
}
.btn-primary:hover { background: #00ff99; box-shadow: 0 0 30px var(--accent-glow); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--text-primary); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--text-muted); background: var(--bg-card); }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-lg { padding: 18px 36px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* =============================================
   COMPONENTS: CARDS
   ============================================= */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.25s;
}
.card:hover { border-color: var(--border); background: var(--bg-card-hover); }

.tag {
  display: inline-block; padding: 4px 10px;
  background: var(--bg-elevated); border-radius: 6px;
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--text-muted);
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(10,11,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex; align-items: center;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent), #00b36b);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; color: #0a0b0f;
}

/* Navigation */
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  transition: color 0.2s; position: relative;
}
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a {
  color: var(--text-primary);
}
.main-nav .current-menu-item > a::after, .main-nav .current_page_item > a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--accent); border-radius: 2px;
}
/* WP menu classes */
.main-nav ul { list-style: none; display: flex; gap: 32px; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.login-link { font-size: 14px; font-weight: 500; color: var(--text-secondary); transition: color 0.2s; }
.login-link:hover { color: var(--text-primary); }

/* Mobile menu */
.mobile-menu-btn {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
  color: var(--text-primary);
}
.mobile-menu-btn svg { width: 24px; height: 24px; }
.mobile-nav {
  display: none; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--bg-primary); z-index: 99;
  padding: 24px; flex-direction: column; gap: 8px;
  border-top: 1px solid var(--border); overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a, .mobile-nav ul { list-style: none; }
.mobile-nav ul { padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav li a {
  display: block; padding: 16px; font-size: 16px; font-weight: 500;
  color: var(--text-secondary); border-radius: var(--radius-sm); transition: all 0.2s;
}
.mobile-nav li a:hover { background: var(--bg-card); color: var(--text-primary); }

/* =============================================
   HERO
   ============================================= */
.hero {
  padding-top: calc(var(--header-h) + 80px);
  padding-bottom: 96px;
  position: relative; overflow: hidden;
  min-height: 85vh; display: flex; align-items: center;
}
.hero::before {
  content: ''; position: absolute; top: -40%; right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.15; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.hero-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
  position: relative; z-index: 1;
}
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 60px 60px; opacity: 0.3;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero h1 { margin-bottom: 24px; }
.hero .subtitle { margin-bottom: 40px; font-size: 18px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 48px; margin-top: 64px; padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}
.hero-stat-value { font-size: 28px; font-weight: 800; font-family: var(--font-mono); color: var(--accent); }
.hero-stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* =============================================
   HERO VISUAL / DASHBOARD MOCKUP
   ============================================= */
.hero-visual {
  position: relative; z-index: 1;
  perspective: 1000px;
}
.dashboard-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 4px 24px rgba(0,0,0,0.4),
    0 0 80px rgba(0,230,138,0.06);
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 0.5s ease;
  animation: dashFloat 6s ease-in-out infinite;
}
.dashboard-mockup:hover {
  transform: rotateY(0deg) rotateX(0deg);
}
@keyframes dashFloat {
  0%, 100% { transform: rotateY(-4deg) rotateX(2deg) translateY(0); }
  50% { transform: rotateY(-4deg) rotateX(2deg) translateY(-8px); }
}

/* Top bar */
.dash-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.dash-dots span:nth-child(1) { background: #ff5f57; }
.dash-dots span:nth-child(2) { background: #febc2e; }
.dash-dots span:nth-child(3) { background: #28c840; }
.dash-topbar-title {
  font-size: 11px; font-weight: 600; color: var(--text-muted);
  letter-spacing: 0.5px; text-transform: uppercase;
}
.dash-live-badge {
  font-size: 10px; font-weight: 700; color: var(--accent);
  background: var(--accent-dim);
  padding: 3px 10px; border-radius: 100px;
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Stats row */
.dash-stats-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px;
  background: var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.dash-mini-stat {
  padding: 16px 18px; background: var(--bg-card);
  text-align: center;
}
.dash-mini-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--text-muted); margin-bottom: 6px;
}
.dash-mini-value {
  font-family: var(--font-mono); font-size: 22px; font-weight: 700;
  color: var(--text-primary);
}
.dash-mini-value.accent { color: var(--accent); }
.dash-mini-trend {
  font-size: 10px; font-weight: 600; margin-top: 4px;
  font-family: var(--font-mono);
}
.dash-mini-trend.up { color: var(--accent); }
.dash-mini-trend.up::before { content: '▲ '; font-size: 8px; }

/* Chart area */
.dash-chart-area {
  padding: 18px 20px 12px;
  border-bottom: 1px solid var(--border-subtle);
}
.dash-chart-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.dash-chart-title {
  font-size: 11px; font-weight: 600; color: var(--text-secondary);
}
.dash-chart-tabs {
  display: flex; gap: 4px;
}
.dash-chart-tabs span {
  font-size: 10px; font-weight: 600; padding: 3px 10px;
  border-radius: 6px; color: var(--text-muted);
  cursor: default;
}
.dash-chart-tabs span.active {
  background: var(--accent-dim); color: var(--accent);
}
.dash-chart-svg {
  width: 100%; height: 70px; display: block;
}
.chart-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 2.5s ease forwards;
}
.chart-fill {
  opacity: 0;
  animation: fadeInChart 1s ease 2s forwards;
}
.chart-dot {
  opacity: 0;
  animation: fadeInChart 0.5s ease 2.5s forwards;
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}
@keyframes fadeInChart {
  to { opacity: 1; }
}

/* Tips list */
.dash-tips-list { padding: 6px 0; }
.dash-tip-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 20px;
  transition: background 0.15s;
}
.dash-tip-row:hover { background: var(--bg-card-hover); }
.dash-tip-sport {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}
.dash-tip-info { flex: 1; min-width: 0; }
.dash-tip-match {
  font-size: 12px; font-weight: 700; color: var(--text-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dash-tip-league {
  font-size: 10px; color: var(--text-muted); margin-top: 2px;
}
.dash-tip-odds {
  font-family: var(--font-mono); font-size: 14px; font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 10px; border-radius: 6px;
  flex-shrink: 0;
}
.dash-tip-status {
  font-size: 14px; flex-shrink: 0; width: 20px; text-align: center;
}
.dash-tip-status.pending { color: var(--warning); animation: livePulse 2s ease-in-out infinite; }
.dash-tip-status.win { color: var(--accent); }

/* Floating badge */
.dash-float-badge {
  position: absolute; bottom: -16px; right: -12px;
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  font-size: 12px; font-weight: 700; color: var(--accent);
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 24px rgba(0,230,138,0.2);
  animation: badgeFloat 4s ease-in-out infinite;
  z-index: 2;
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* =============================================
   TRUST / METHOD GRID
   ============================================= */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-card { text-align: center; padding: 32px 20px; }
.trust-icon {
  width: 56px; height: 56px; margin: 0 auto 20px;
  border-radius: var(--radius-md);
  background: var(--accent-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.trust-card h3 { font-size: 16px; margin-bottom: 10px; }
.trust-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 0; }

/* =============================================
   STEPS
   ============================================= */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.step-card { position: relative; padding: 36px 28px; }
.step-num {
  font-family: var(--font-mono); font-size: 48px; font-weight: 800;
  color: var(--accent); opacity: 0.15; position: absolute; top: 20px; right: 24px;
}
.step-card h3 { margin-bottom: 12px; }
.step-card p { font-size: 14px; color: var(--text-secondary); margin-bottom: 0; }

/* =============================================
   TIP CARDS (Preview & List)
   ============================================= */
.tips-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.tip-card { position: relative; overflow: hidden; }
.tip-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.tip-date { font-size: 12px; color: var(--text-muted); font-family: var(--font-mono); }
.tip-match {
  font-size: 18px; font-weight: 700; margin-bottom: 8px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border-subtle);
}
.tip-detail { margin-bottom: 12px; }
.tip-detail-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 4px; }
.tip-detail-value { font-size: 14px; font-weight: 600; }
.tip-locked-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 55%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(to bottom, transparent 0%, rgba(10,11,15,0.95) 40%);
  backdrop-filter: blur(4px); padding: 24px;
}
.lock-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-elevated); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.tip-locked-text { font-size: 13px; color: var(--text-secondary); text-align: center; }

/* Tips list layout */
.tips-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }
.tip-list-card { display: flex; gap: 20px; align-items: center; padding: 24px; }
.tip-list-info { flex: 1; }
.tip-list-right { text-align: right; min-width: 120px; }
.tip-odds { font-family: var(--font-mono); font-size: 20px; font-weight: 700; }
.tip-odds.blurred { filter: blur(6px); user-select: none; }
.tip-stake { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.tip-status {
  display: inline-block; padding: 4px 10px; border-radius: 100px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
}
.tip-status.win { background: rgba(0,230,138,0.15); color: var(--accent); }
.tip-status.loss { background: rgba(255,77,106,0.15); color: var(--danger); }
.tip-status.pending { background: rgba(255,184,77,0.15); color: var(--warning); }

/* =============================================
   PERFORMANCE BOX
   ============================================= */
.perf-box {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl); padding: 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.perf-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.perf-stat {
  padding: 24px; background: var(--bg-secondary);
  border-radius: var(--radius-md); border: 1px solid var(--border-subtle);
}
.perf-stat-value { font-family: var(--font-mono); font-size: 32px; font-weight: 700; }
.perf-stat-value.placeholder { color: var(--text-muted); }
.perf-stat-label { font-size: 13px; color: var(--text-secondary); margin-top: 8px; }

/* =============================================
   PRICING
   ============================================= */
.pricing-card {
  max-width: 480px; margin: 48px auto 0;
  background: var(--bg-card); border: 2px solid var(--accent);
  border-radius: var(--radius-xl); padding: 48px; text-align: center;
  position: relative; overflow: hidden;
  box-shadow: 0 0 60px var(--accent-glow);
}
.pricing-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--accent), #00b36b);
}
.pricing-amount { font-size: 56px; font-weight: 800; font-family: var(--font-mono); margin: 24px 0 8px; }
.pricing-amount .currency { font-size: 28px; vertical-align: top; }
.pricing-period { color: var(--text-muted); font-size: 15px; margin-bottom: 32px; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 36px; padding: 0; }
.pricing-features li {
  padding: 12px 0; font-size: 15px; color: var(--text-secondary);
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
}
.pricing-features li:last-child { border-bottom: none; }
.check-icon { color: var(--accent); font-weight: 700; font-size: 16px; flex-shrink: 0; }

/* =============================================
   FAQ
   ============================================= */
.faq-list { max-width: 720px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid var(--border-subtle); padding: 24px 0; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-weight: 600; font-size: 16px; transition: color 0.2s;
}
.faq-q:hover { color: var(--accent); }
.faq-toggle {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-elevated); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--text-muted); transition: all 0.2s; flex-shrink: 0;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); color: var(--accent); background: var(--accent-dim); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  font-size: 14px; color: var(--text-secondary); line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 300px; padding-top: 16px; }

/* =============================================
   CTA BAND
   ============================================= */
.cta-band {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-xl);
  padding: 64px; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; top: -50%; right: -30%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%); opacity: 0.08;
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band .subtitle { margin: 0 auto 32px; }
.cta-band-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   PAGE HEADER
   ============================================= */
.page-header {
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}
.page-header .container { position: relative; z-index: 1; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-muted); margin-bottom: 16px;
}
.breadcrumb a:hover { color: var(--text-secondary); }

/* =============================================
   BLOG / ANALYZY
   ============================================= */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
.blog-card { overflow: hidden; }
.blog-card-img {
  height: 200px; background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
  border-radius: var(--radius-md); margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-meta {
  display: flex; align-items: center; gap: 16px;
  font-size: 12px; color: var(--text-muted); margin-bottom: 12px;
}
.blog-card h3 { font-size: 18px; margin-bottom: 10px; }
.blog-card h3 a:hover { color: var(--accent); }
.blog-excerpt { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.blog-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 32px; }
.filter-btn {
  padding: 8px 18px; border-radius: 100px; font-size: 13px; font-weight: 600;
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  color: var(--text-secondary); cursor: pointer; transition: all 0.2s;
  font-family: var(--font-body); text-decoration: none;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--accent-dim); border-color: var(--accent); color: var(--accent);
}

/* Single post */
.single-post-content { max-width: 760px; margin: 0 auto; }
.single-post-content p { font-size: 16px; color: var(--text-secondary); line-height: 1.8; }
.single-post-content h2, .single-post-content h3 { margin-top: 32px; margin-bottom: 16px; }
.single-post-content a { color: var(--accent); }
.single-post-content a:hover { text-decoration: underline; }

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text-secondary); margin-bottom: 8px;
}
.form-control {
  width: 100%; padding: 14px 18px;
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--radius-md); color: var(--text-primary);
  font-family: var(--font-body); font-size: 15px; transition: border-color 0.2s;
}
.form-control:focus { outline: none; border-color: var(--accent); }
textarea.form-control { min-height: 140px; resize: vertical; }
/* Style WPForms / CF7 if used */
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea,
.wpforms-field input, .wpforms-field textarea {
  width: 100%; padding: 14px 18px;
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--radius-md); color: var(--text-primary);
  font-family: var(--font-body); font-size: 15px;
}
.wpcf7 input[type="submit"], .wpforms-submit {
  background: var(--accent); color: #0a0b0f; border: none;
  padding: 14px 28px; border-radius: var(--radius-md);
  font-weight: 600; cursor: pointer; font-family: var(--font-body);
}

/* =============================================
   LEGAL PAGES
   ============================================= */
.legal-content { max-width: 760px; margin: 48px auto 0; }
.legal-content h3 { margin-top: 32px; margin-bottom: 12px; color: var(--text-primary); }
.legal-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }

/* =============================================
   SPORTS GRID (for sport type cards)
   ============================================= */
.sports-grid { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.sport-card { min-width: 180px; text-align: center; padding: 24px; }
.sport-card .sport-icon { font-size: 32px; margin-bottom: 12px; }
.sport-card p { font-size: 13px; color: var(--text-secondary); margin-top: 8px; margin-bottom: 0; }

/* =============================================
   ŠPORTOVÉ SPRÁVY / NEWS
   ============================================= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.news-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.25s, transform 0.25s;
}
.news-card:hover {
  border-color: var(--border);
  transform: translateY(-2px);
}
.news-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.news-card-sport {
  display: flex;
  align-items: center;
  gap: 8px;
}
.news-sport-icon {
  font-size: 18px;
}
.news-card-date {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.news-card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.news-card-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}
.news-card-source {
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}
.news-source-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  transition: opacity 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.news-source-link:hover {
  opacity: 0.8;
}
.news-source-link strong {
  font-weight: 700;
}

/* Card with left border accent */
.card-accent-left { border-left: 3px solid var(--accent); }
.card-accent-info { border-left: 3px solid var(--info); }
.card-accent-warning { border-left: 3px solid var(--warning); }

/* =============================================
   FOOTER
   ============================================= */
.site-footer { border-top: 1px solid var(--border-subtle); padding: 64px 0 32px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand p { font-size: 14px; color: var(--text-secondary); margin-top: 16px; line-height: 1.7; }
.footer-col h4 {
  font-size: 12px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-muted); margin-bottom: 20px;
}
.footer-col a { display: block; font-size: 14px; color: var(--text-secondary); padding: 6px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--text-primary); }
/* WP menu widget in footer */
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 0; }
.footer-col li a { display: block; font-size: 14px; color: var(--text-secondary); padding: 6px 0; }
.footer-disclaimer {
  font-size: 11px; color: var(--text-muted); line-height: 1.7;
  max-width: 800px; margin: 24px auto 0; text-align: center;
  padding: 20px; background: var(--bg-secondary); border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}
.footer-bottom {
  border-top: 1px solid var(--border-subtle); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 12px; color: var(--text-muted); margin: 0; }

/* =============================================
   WP OVERRIDES
   ============================================= */
.wp-block-image img { border-radius: var(--radius-md); }
.entry-content a { color: var(--accent); }
.entry-content a:hover { text-decoration: underline; }

/* WP alignment classes */
.alignwide { max-width: var(--max-w); margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; max-width: 100%; }
.aligncenter { text-align: center; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .perf-box { grid-template-columns: 1fr; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin-top: 48px; }
  .dashboard-mockup { transform: none; }
  .dashboard-mockup:hover { transform: none; }
  @keyframes dashFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: block; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 48px); padding-bottom: 64px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-visual { max-width: 100%; }
  .dash-float-badge { display: none; }
  .trust-grid, .steps-grid, .tips-preview-grid { grid-template-columns: 1fr; }
  .blog-grid, .tips-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .pricing-card, .cta-band { padding: 32px 24px; }
  .section { padding: 64px 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .perf-box { padding: 28px; }
  .perf-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .perf-stats { grid-template-columns: 1fr; }
  .cta-band-buttons { flex-direction: column; align-items: center; }
}
