/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  /* Hintergrund-Gradient-Animation */
  background: linear-gradient(135deg, #667eea, #764ba2, #ff6a00);
  background-size: 300% 300%;
  animation: gradient 15s ease infinite;
}

@keyframes gradient {
  0%   { background-position:   0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position:   0% 50%; }
}

/* Zentrierter Flex-Container */
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 1rem;
  text-align: center;
}

.content {
  max-width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* Überschrift */
h1 {
  font-size: clamp(1.5rem, 5vw, 3rem);
  line-height: 1.2;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  cursor: pointer;
}

/* Button-Container */
.buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Gemeinsame Button-Stile */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* Icon in Buttons */
.btn-icon {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
  /* optional: Filter invert für dunkle Hintergründe, falls nötig */
  /* filter: invert(1); */
}

/* Fade-In Utility */
.fade-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Meme-Overlay */
#meme-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
#meme-overlay img {
  max-width: 80%;
  max-height: 80%;
  border: 5px solid #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  animation: pop 0.5s ease-out;
}
@keyframes pop {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
/* Creature-Common */
.creature {
  position: fixed;
  width: 50px;
  height: 50px;
  pointer-events: none;
  will-change: transform, opacity;
  opacity: 0.9;
}

/* Flug-Animationen */
@keyframes fly-right {
  to { transform: translateX(110vw); }
}
@keyframes fly-left {
  to { transform: translateX(-110vw); }
}

/* Richtungsklassen */
.creature.fly-right {
  animation-name: fly-right;
}
.creature.fly-left {
  animation-name: fly-left;
}