:root {
  --primary-purple: #8b5cf6;
  --primary-purple-soft: rgba(139, 92, 246, 0.35);
  --bg-main: #050514;
  --bg-elevated: #0b0b1e;
  --text-muted-soft: #9ca3af;
  --border-glass: rgba(148, 163, 184, 0.2);
}

/* GLOBAL */
body {
  background: radial-gradient(circle at top, #1e1032 0, #050514 55%, #02010a 100%);
  color: #f9fafb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.section-padding {
  padding: 5rem 0 4rem;
}

/* NAVBAR */
.main-navbar {
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(3, 7, 18, 0.96),
    rgba(3, 7, 18, 0.8),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.brand-icon {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.85), transparent 70%);
}

.brand-subtitle {
  letter-spacing: 0.16em;
}

/* HERO / CARDS */
.hero-card {
  background: radial-gradient(circle at top left, rgba(139, 92, 246, 0.25), transparent 60%),
              radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.12), transparent 55%),
              rgba(15, 23, 42, 0.96);
  border-radius: 1.5rem;
  border: 1px solid var(--border-glass);
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.85),
    0 0 40px rgba(139, 92, 246, 0.35);
}

.side-card,
.card-soft,
.join-card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 1.25rem;
  border: 1px solid rgba(31, 41, 55, 0.9);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.9);
}

.join-card {
  border-radius: 1.5rem;
  border-color: rgba(139, 92, 246, 0.6);
}

/* BADGES / TAGS / TEXT */
.badge-soft {
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted-soft);
}

.tag-chip {
  border-radius: 999px;
  font-size: 0.7rem;
  padding: 0.25rem 0.75rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(75, 85, 99, 0.9);
  color: #e5e7eb;
}

.gradient-text {
  background: linear-gradient(120deg, #a855f7, #ec4899, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-kpi {
  font-size: 2.1rem;
  font-weight: 700;
}

.hero-kpi-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted-soft);
}

.section-title span {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted-soft);
}

.section-title h2 {
  font-size: 2rem;
  letter-spacing: 0.02em;
}

/* MATCHES */
.match-card {
  border-radius: 1rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: radial-gradient(circle at top, rgba(139, 92, 246, 0.2), transparent 55%),
              rgba(15, 23, 42, 0.96);
}

.match-team {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.match-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted-soft);
}

.timeline-dot {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  background: radial-gradient(circle, #a855f7, #4c1d95);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.8);
}

.stat-pill {
  border-radius: 999px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  padding: 0.45rem 0.9rem;
  font-size: 0.75rem;
  color: var(--text-muted-soft);
}

/* BUTTONS – GLOW EFFECT */
.btn-glow {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.06);
  background-image: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #f9fafb;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 0.85rem 1.9rem;
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.4),
    0 12px 30px rgba(0, 0, 0, 0.8);
  transition:
    transform 0.2s ease-out,
    box-shadow 0.2s ease-out,
    background 0.3s ease-out;
}

.btn-outline-glow {
  position: relative;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: radial-gradient(circle at top, rgba(139, 92, 246, 0.18), transparent 55%);
  color: #e5e7eb;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  transition:
    transform 0.2s ease-out,
    box-shadow 0.2s ease-out,
    border-color 0.2s ease-out,
    background 0.3s ease-out,
    color 0.2s ease-out;
}

.btn-glow::before,
.btn-outline-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.26), transparent 50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-out;
}

.btn-glow:hover,
.btn-outline-glow:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow:
    0 0 20px rgba(139, 92, 246, 0.8),
    0 0 40px rgba(236, 72, 153, 0.7);
}

.btn-outline-glow:hover {
  border-color: rgba(248, 250, 252, 0.9);
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.4), transparent 60%);
  color: #f9fafb;
}

.btn-glow:hover::before,
.btn-outline-glow:hover::before {
  opacity: 1;
}

/* FOOTER */
.footer-main {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), #02010a);
}

.footer-icon-link {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.18s ease-out;
}

.footer-icon-link:hover {
  border-color: var(--primary-purple);
  box-shadow: 0 0 12px var(--primary-purple-soft);
  color: var(--primary-purple);
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
  .section-padding {
    padding: 3.5rem 0;
  }

  .hero-card {
    border-radius: 1.25rem;
  }

  .hero-kpi {
    font-size: 1.7rem;
  }

  .section-title h2 {
    font-size: 1.6rem;
  }
}

/* GENERISCHE BOXEN */
.box {
  display: block;
}

/* Bild-Boxen mit Platzhalter-Bildern */
.box-image-wrapper {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(31, 41, 55, 0.9);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617);
}

.box-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Spieler-Avatare (Platzhalter) */
.player-avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 2px solid var(--primary-purple-soft);
  object-fit: cover;
  background: radial-gradient(circle at top, rgba(139, 92, 246, 0.6), transparent 60%);
}
