* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #121212;
  color: #e0e0e0;
  min-height: 100vh;
  padding: 40px 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.back-button {
  display: inline-block;
  margin-bottom: 40px;
  padding: 12px 24px;
  background-color: #333;
  color: #e0e0e0;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 1px solid #444;
}

.back-button:hover {
  background-color: #fd924d;
  color: #121212;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 255, 204, 0.3);
}

h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-align: center;
  color: #ffffff;
}

.section-title {
  font-size: 2rem;
  margin: 3rem 0 1.5rem;
  padding-bottom: 10px;
  border-bottom: 2px solid #333;
  color: #ffffff;
}

/* Current Event with Countdown */
.current-event {
  background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
  border: 2px solid #333;
  border-radius: 15px;
  padding: 30px;
  margin: 2rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  animation: glow 2s infinite alternate;
}

@keyframes glow {
  from {
    box-shadow: 0 0 20px #fd924d;
  }
  to {
    box-shadow: 0 0 40px #fd924d;
  }
}

.current-event::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #fd924d, #fd924d);
}

.current-event h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.current-event .theme {
  font-size: 1.3rem;
  color: #fd924d;
  margin-bottom: 2rem;
  font-weight: 600;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.countdown-item {
  background: rgba(255, 102, 0, 0.05);
  border: 2px solid #333;
  border-radius: 10px;
  padding: 1.5rem;
  min-width: 100px;
  transition: all 0.3s ease;
}

.countdown-item:hover {
  border-color: #fd924d;
  transform: translateY(-5px);
}

.countdown-number {
  font-size: 3rem;
  font-weight: bold;
  color: #fd924d;
}

.countdown-label {
  font-size: 0.9rem;
  color: #888;
  text-transform: uppercase;
}

.tba-badge {
  display: inline-block;
  background: rgba(255, 204, 0, 0.1);
  border: 2px solid #ffcc00;
  color: #ffcc00;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: bold;
  margin-top: 1rem;
}

/* Upcoming Events */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.event-card {
  background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
  border: 2px solid #333;
  border-radius: 15px;
  padding: 30px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.event-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #00ffcc, #00cc99);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.event-card:hover {
  border-color: #00ffcc;
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 255, 204, 0.2);
}

.event-card:hover::before {
  transform: scaleX(1);
}

.event-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.event-theme {
  color: #fd924d;
  margin-bottom: 1rem;
  font-style: italic;
  font-weight: 500;
}

.event-date {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Past Events */
.past-event {
  background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
  border: 2px solid #333;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.past-event::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #fd924d, #fd924d);
}

.past-event:hover {
  border-color: #fd924d;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 255, 204, 0.1);
}

.past-event h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.past-event-date {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.winner {
  background: rgba(255, 215, 0, 0.05);
  border: 2px solid #ffd700;
  border-radius: 5px;
  padding: 1rem;
  margin-top: 1rem;
}

.winner-label {
  color: #ffd700;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.winner-name {
  color: #ffffff;
  font-size: 1.2rem;
}

.no-events {
  text-align: center;
  color: #888;
  padding: 3rem;
  font-style: italic;
  background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
  border: 2px solid #333;
  border-radius: 15px;
}

.join-cta {
  margin: 60px 0;
  padding: 50px;
  background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
  border: 2px solid #333;
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.join-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(253, 146, 77, 0.15),
    transparent
  );
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 1.2rem;
  color: #888;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #fd924d;
  color: #121212;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.4s ease;
  box-shadow: 0 6px 25px #fd924d;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 35px #fd924d;
  background: #fd924d;
}

.footer {
  margin-top: 80px;
  padding-top: 30px;
  border-top: 1px solid #333;
  text-align: center;
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links a {
  color: #888;
  text-decoration: none;
  margin: 0 15px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: #fd924d;
}

.copyright {
  font-size: 0.85rem;
  color: #666;
}

/* Akzente */
.accent {
  color: #fd924d;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .current-event h2 {
    font-size: 2rem;
  }

  .countdown {
    gap: 1rem;
  }

  .countdown-item {
    min-width: 80px;
    padding: 1rem;
  }

  .countdown-number {
    font-size: 2rem;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .join-cta {
    padding: 30px 20px;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-content p {
    font-size: 1rem;
  }
}
