:root {
  --bg: #0d1117;
  --bg-elevated: #161b22;
  --border: #2a3038;
  --text: #e6edf3;
  --text-muted: #8b95a1;
  --accent: #22c55e;
  --accent-2: #3b82f6;
  --risk-low: #22c55e;
  --risk-low-bg: rgba(34, 197, 94, 0.15);
  --risk-mid: #f59e0b;
  --risk-mid-bg: rgba(245, 158, 11, 0.15);
  --risk-high: #ef4444;
  --risk-high-bg: rgba(239, 68, 68, 0.15);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  background: linear-gradient(135deg, #101820 0%, #0d1117 100%);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--accent);
  color: #06210f;
  font-weight: 800;
  font-size: 16px;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.tagline {
  margin: 0 0 0 auto;
  color: var(--text-muted);
  font-size: 14px;
}

.hero {
  padding: 36px 0 8px;
}

.hero h1 {
  font-size: 30px;
  margin: 0 0 8px;
}

.hero-sub {
  color: var(--text-muted);
  margin: 0 0 20px;
}

.filters {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 26px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}

.filter-group label {
  color: var(--text-muted);
}

.filter-group select {
  background: #0d1117;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 14px;
  min-width: 160px;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
  padding-bottom: 40px;
}

.tip-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tip-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.tip-competition {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.tip-match {
  font-size: 18px;
  font-weight: 700;
  margin: 4px 0;
}

.tip-kickoff {
  font-size: 13px;
  color: var(--text-muted);
}

.risk-badge {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.risk-badge.niedrig { color: var(--risk-low); background: var(--risk-low-bg); }
.risk-badge.mittel { color: var(--risk-mid); background: var(--risk-mid-bg); }
.risk-badge.hoch { color: var(--risk-high); background: var(--risk-high-bg); }

.tip-pick-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0d1117;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
}

.tip-market {
  font-size: 12px;
  color: var(--text-muted);
}

.tip-pick {
  font-weight: 700;
  color: var(--accent-2);
}

.tip-odds {
  font-weight: 800;
  font-size: 16px;
}

.tip-analysis {
  font-size: 14px;
  color: var(--text);
  opacity: 0.9;
}

.tip-sport-tag {
  align-self: flex-start;
  font-size: 11px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 8px;
}

.loading, .empty-state {
  color: var(--text-muted);
  padding: 30px 0;
  text-align: center;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 28px 0 34px;
  margin-top: 20px;
}

.site-footer h2 {
  font-size: 16px;
  margin: 0 0 10px;
}

.site-footer p {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 800px;
}

.site-footer a {
  color: var(--accent-2);
}

.footer-meta {
  margin-top: 14px;
  font-size: 12px;
}

@media (max-width: 480px) {
  .tagline { margin-left: 0; }
  .hero h1 { font-size: 24px; }
}
