/* Lokale Schriftarten statt Google Fonts für DSGVO-Konformität */
@import url('/static/css/local-fonts.css');

:root {
  --primary: #1DB954;
  --secondary: #417690;
  --dark: #121212;
  --light: #282828;
  --text: #FFFFFF;
  --text-secondary: #B3B3B3;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(220deg, #0B1A2E 0%, #1B2A4B 50%, #1A2E3A 100%);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Sternenhintergrund wie im Player */
body::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background-image: 
    radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 3px),
    radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 2px),
    radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 3px),
    radial-gradient(rgba(255,255,255,.4), rgba(255,255,255,.1) 1px, transparent 2px);
  background-size: 550px 550px, 350px 350px, 250px 250px, 150px 150px;
  background-position: 0 0, 40px 60px, 130px 270px, 70px 100px;
  animation: moveStars1 180s linear infinite;
  opacity: 0.3;
  z-index: -2;
}

.header-animation {
  text-align: center;
  padding: 3rem;
  background: rgba(18, 18, 18, 0.6);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(65, 118, 144, 0.2);
  border: 1px solid rgba(65, 118, 144, 0.2);
  margin: 20px;
  max-width: 90%;
  width: 700px;
  z-index: 1;
  position: relative;
}

.season-greeting {
  font-size: 1.2rem;
  margin: 1rem 0;
  color: var(--text-secondary);
  font-style: italic;
  opacity: 0.9;
}

h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  margin-bottom: 2rem;
  background: linear-gradient(90deg, #fff, #417690, #1DB954);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 3s infinite linear;
  background-size: 200% auto;
}

.fancy-button {
  display: inline-block;
  padding: 16px 32px;
  margin: 10px;
  background: linear-gradient(45deg, #417690, #1DB954);
  border: none;
  border-radius: 50px;
  color: white;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(65, 118, 144, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Spezial-Design für Discord Button */
.fancy-button.discord-special {
  background: linear-gradient(45deg, #5865F2, #417690, #1DB954);
  background-size: 200% 100%;
  animation: discordGradient 3s ease infinite;
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
  border: 2px solid rgba(88, 101, 242, 0.3);
}

.fancy-button.discord-special i {
  margin-right: 8px;
  font-size: 1.3rem;
  filter: drop-shadow(0 0 5px rgba(88, 101, 242, 0.8));
}

.fancy-button.discord-special .button-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: 0.6s;
}

.fancy-button.discord-special:hover .button-glow {
  left: 100%;
}

.fancy-button.discord-special:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 35px rgba(88, 101, 242, 0.6);
  border-color: rgba(88, 101, 242, 0.8);
}

@keyframes discordGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.fancy-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.fancy-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(65, 118, 144, 0.5);
}

.fancy-button:hover::before {
  left: 100%;
}

.fancy-button:active {
  transform: translateY(0);
}

/* Discord-Button Styling */
.fancy-button.discord-btn {
    background: linear-gradient(45deg, #5865F2, #417690);
    margin-left: 12px;
}

.fancy-button.discord-btn:hover {
    box-shadow: 0 10px 20px rgba(88, 101, 242, 0.5);
}

/* Responsive Design für Buttons */
@media (max-width: 600px) {
    .button-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .fancy-button.discord-btn {
        margin-left: 0;
    }
}

/* Partikel */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.planet {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
  filter: blur(4px);
  animation: orbit linear infinite;
}

.planet-1 {
  width: 100px;
  height: 100px;
  background: radial-gradient(circle at 30% 30%, #FF1E6F, #1B2A4B);
  animation-duration: 30s;
  left: -50px;
  top: 20%;
}

.planet-2 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle at 40% 40%, #417690, #0B1A2E);
  animation-duration: 45s;
  right: -75px;
  top: 60%;
}

.planet-3 {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle at 35% 35%, #1DB954, #1A2E3A);
  animation-duration: 25s;
  left: 30%;
  bottom: -40px;
}

/* Animationen */
@keyframes moveStars1 {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(250px, 100px) rotate(15deg); }
  50% { transform: translate(500px, -50px) rotate(45deg); }
  75% { transform: translate(750px, 120px) rotate(30deg); }
  100% { transform: translate(1000px, 0) rotate(60deg); }
}

@keyframes orbit {
  from { transform: rotate(0deg) translateX(100px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(100px) rotate(-360deg); }
}

@keyframes float {
  0% { transform: translateY(0) translateX(0) scale(1) rotate(0deg); opacity: 0.7; }
  25% { transform: translateY(-15px) translateX(10px) scale(1.1) rotate(5deg); opacity: 0.9; }
  50% { transform: translateY(-25px) translateX(-15px) scale(1.15) rotate(10deg); opacity: 0.7; }
  75% { transform: translateY(-10px) translateX(5px) scale(1.05) rotate(5deg); opacity: 0.8; }
  100% { transform: translateY(0) translateX(0) scale(1) rotate(0deg); opacity: 0.7; }
}

@keyframes shine {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}