:root {
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --text-light: #f8fafc;
  --text-muted: #94a3b8;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.input-field {
  background-color: rgba(15, 23, 42, 0.7);
  border: 1px solid #1e293b;
  transition: all 0.3s ease;
}

.input-field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.floating {
  animation: float 6s ease-in-out infinite;
}



  /* Glas-Effekt startsite */
  .glass-effect {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: saturate(180%) blur(15px);
    -webkit-backdrop-filter: saturate(180%) blur(15px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    transition: box-shadow 0.3s ease;
  }
  .glass-effect:hover {
    box-shadow: 0 12px 48px 0 rgba(31, 38, 135, 0.3);
  }

  /* Interaktive Reflektion: beim Hover andere cards "leuchten" */
  .feature-card:hover ~ .feature-card,
  .feature-card:hover,
  .feature-card:hover ~ .feature-card:hover {
    filter: brightness(1.1) saturate(1.2);
    transition: filter 0.3s ease;
  }



/*challenges main zusatz edit 16.11
/* Kategorie-Karten */
.category-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.category-card:hover {
  transform: translateY(-4px);
}

/* Chevron-Animation */
.category-toggle svg {
  transition: transform 0.2s ease;
}


/* ============================
   EVENT-CHALLENGE STYLES
   ============================ */

.event-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 25px -12px rgba(0, 0, 0, 0.45); /* weniger weit nach unten */
}


/* Glow-Hintergrund für ein "Event" Feeling */
.event-card::before {
  content: "";
  position: absolute;
  inset: -3px;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.4), transparent 60%),
    radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.35), transparent 60%);
  opacity: 0.35;
  z-index: -1;
  filter: blur(22px);
}

/* Zeitboxen (Tage, Stunden, Minuten, Sekunden) */
.time-box {
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.time-box:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, 0.7);
  box-shadow: 0 14px 30px -10px rgba(59, 130, 246, 0.45);
}

/* Beschleunigte Text-Zahlen Darstellung → gut für Counter */
.time-box .tabular-nums {
  font-feature-settings: "tnum";
}
