/* ============================= */
/* ===== Grundlegendes ===== */
/* ============================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(-45deg, #030007, #08001a, #1a0033, #0a0015);
  background-size: 400% 400%;
  animation: gradientBG 30s ease infinite;
  color: #fff;
}

/* ===== Animation ===== */
@keyframes gradientBG {
  0% {background-position:0% 50%;}
  50% {background-position:100% 50%;}
  100% {background-position:0% 50%;}
}

/* ============================= */
/* ===== Header / Hero ===== */
/* ============================= */

header {
  text-align: center;
  padding: 60px 20px 30px;
}

.hero h1 {
  font-size: 3rem;
}

.subtitle {
  opacity: 0.85;
  margin-top: 8px;
}

/* ============================= */
/* ===== Navigation ===== */
/* ============================= */

nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

nav a {
  padding: 10px 18px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  background: rgba(255,255,255,0.05);
  transition: background 0.3s, transform 0.2s;
}

nav a:hover {
  background: rgba(145,70,255,0.4);
  transform: scale(1.05);
}

/* ============================= */
/* ===== Container & Glass ===== */
/* ============================= */

.container {
  display: flex;
  justify-content: center;
  padding: 0 15px;
}

.glass {
  width: 100%;
  max-width: 520px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 30px;
  margin-bottom: 30px;
}

.section {
  margin-bottom: 30px;
}

.center {
  text-align: center;
}

/* ============================= */
/* ===== Buttons / Links ===== */
/* ============================= */

/* Basis für alle Buttons */
.button-base,
.hero-btn,
.link-button,
.donate-button {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  border-radius: 14px;
  padding: 14px 18px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
}

/* Hover Effekt */
.button-base:hover,
.hero-btn:hover,
.link-button:hover,
.donate-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(145,70,255,0.6);
}

/* ===== Hero Buttons ===== */
.hero-btn.primary {
  background: linear-gradient(135deg, #9146ff, #6e00ff);
  color: #fff;
}

.hero-btn.secondary {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.hero-btn.large {
  display: inline-block;
  margin-top: 20px;
}

/* ===== Link Buttons (dynamisch aus JSON) ===== */
.link-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.link-button {
  flex-wrap: wrap;
  background: rgba(255,255,255,0.05);
  color: #fff;
}

/* Icon innerhalb Button */
.link-button .link-icon {
  font-size: 1.4rem;
}

/* Text + Beschreibung innerhalb Button */
.link-button .link-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.link-button .link-title {
  font-size: 1rem;
  font-weight: bold;
}

.link-button .link-desc {
  font-size: 0.75rem;
  opacity: 0.7;
  color: #ddd;
}

/* Farben nach Dienst/Typ */
.link-button .fa-twitch { color: #9146ff; }
.link-button .fa-youtube { color: #FF0000; }
.link-button .fa-tiktok { color: #69C9D0; }
.link-button .fa-instagram { color: #C13584; }
.link-button .fa-gamepad { color: #ffcc00; }
.link-button .fa-shopping-cart { color: #00ff88; }

/* ============================= */
/* ===== Donations ===== */
.donation-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.donate-button.paypal { background: #003087; }
.donate-button.paypal:hover { background: #0050b3; box-shadow: 0 0 15px rgba(0,128,255,0.5); }

.donate-button.kofi { background: #ff5f5f; }
.donate-button.kofi:hover { background: #ff7b7b; box-shadow: 0 0 15px rgba(255,95,95,0.5); }

/* ============================= */
/* ===== Live Status ===== */
.live {
  margin: 15px 0;
  padding: 10px;
  border-radius: 12px;
  text-align: center;
  font-weight: bold;
}

.live.online { background: #e91916; }
.live.offline { background: rgba(255,255,255,0.1); }

/* ============================= */
/* ===== Twitch Embed ===== */
.twitch-embed {
  margin-top: 20px;
  border-radius: 18px;
  overflow: hidden;
}

.twitch-embed iframe {
  border: none;
  border-radius: 18px;
}

.twitch-hint {
  margin-top: 15px;
  font-size: 14px;
  opacity: 0.8;
}

/* ============================= */
/* ===== Footer ===== */
.site-footer {
  margin-top: 60px;
  padding: 25px 10px;
  text-align: center;
  opacity: 0.85;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* ============================= */
/* ===== Responsive ===== */
@media (max-width: 600px) {
  .link-buttons { max-width: 100%; }
  nav { flex-direction: column; gap: 10px; }
  .hero h1 { font-size: 2.2rem; }
  .glass { padding: 20px; }
}
/* ===== Donation Seite ===== */
.donation-text {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1rem;
  opacity: 0.85;
}

.donation-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center; /* Buttons zentrieren */
  margin-bottom: 20px;
}

.donate-button {
  padding: 16px 22px;
  border-radius: 14px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
  cursor: pointer;
}

.donate-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(145,70,255,0.6);
}

/* Spezifische Farben */
.donate-button.paypal { background: #003087; }
.donate-button.paypal:hover { background: #0050b3; }

.donate-button.kofi { background: #ff5f5f; }
.donate-button.kofi:hover { background: #ff7b7b; }

.donate-button.stripe { background: #635bff; }
.donate-button.stripe:hover { background: #7f73ff; }

/* Abo Auswahl */
.abo-selection {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-top: 15px;
}

.abo-selection select {
  padding: 10px 12px;
  border-radius: 10px;
  border: none;
  outline: none;
  font-size: 1rem;
  background: rgba(255,255,255,0.1);
  color: #fff;
  cursor: pointer;
  margin-bottom: 10px;
}

.abo-selection select option {
  color: #000; /* Optionstext lesbar machen */
}

/* Hinweistext */
.donation-hint {
  margin-top: 15px;
  font-size: 0.85rem;
  opacity: 0.75;
  text-align: center;
}

/* Responsive für Handy */
@media (max-width: 600px) {
  .donation-buttons { gap: 12px; }
  .donate-button { width: 80%; text-align: center; }
  .abo-selection select { width: 80%; }
  .glass { padding: 20px; }
}
