:root {
  --bg-main: #f8f4ff;
  --bg-card: #ffffff;
  --accent-primary: #b37bff;
  --accent-secondary: #ff80da;
  --accent-soft: #e6d7ff;

  --text-main: #1a1a1a;
  --text-soft: #4c4c4c;
  --text-muted: #7a7a7a;

  --border-soft: #e3d7ff;
  --shadow-soft: 0 8px 22px rgba(92,67,160,0.16);
  --radius: 14px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #fbf8ff, #f8f4ff);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* HEADER */
.top-header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #e6d7ff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-brand {
  text-decoration: none;
  color: var(--accent-primary);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.1;
}

.header-brand span {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
}

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

.header-telegram {
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #ffffff;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  box-shadow: 0 10px 26px rgba(179,123,255,0.45);
}

.header-menu-btn {
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: #ffffff;
  padding: 6px 10px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* NAV */
.main-menu {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px 10px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.main-menu a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition: 0.2s;
}

.main-menu a:hover {
  background: var(--accent-soft);
  color: var(--accent-primary);
}

/* Mobile: Menü klappt unter der Kopfzeile */
@media (max-width: 720px) {
  .header-inner {
    padding-bottom: 8px;
  }
  .main-menu {
    flex-direction: column;
    display: none;
  }
  .main-menu.open {
    display: flex;
  }
}

/* LAYOUT */
.container {
  max-width: 1100px;
  margin: 32px auto 60px;
  padding: 0 20px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-sub {
  color: var(--text-soft);
  margin-bottom: 24px;
  max-width: 720px;
}

/* CARDS & ELEMENTS */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 22px;
  margin-bottom: 18px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.kpi {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.kpi-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.btn-primary {
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  color: #fff;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(179,123,255,0.45);
}

.btn-primary:hover {
  opacity: 0.9;
}

/* Tables */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.table th,
.table td {
  padding: 8px;
  border-bottom: 1px solid var(--border-soft);
  text-align: left;
}

.table th {
  background: var(--accent-soft);
  font-weight: 600;
  color: var(--text-main);
}

/* Picks */
.pick-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 20px 22px;
  margin-bottom: 16px;
}

.pick-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.pick-match {
  font-weight: 600;
  font-size: 1rem;
}

.pick-league {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pick-meta {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.pick-text {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.78rem;
}

.badge-open {
  background: #fff7e6;
  color: #c27803;
}

.badge-win {
  background: #e6ffed;
  color: #166534;
}

.badge-loss {
  background: #ffe4e6;
  color: #b91c1c;
}

.badge-push {
  background: #e0f2fe;
  color: #075985;
}

/* Footer */
footer {
  text-align: center;
  padding: 24px;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(227,215,255,0.8);
  margin-top: 30px;
}

footer a {
  color: inherit;
  text-decoration: underline;
}
