:root {
  --color-primary: #1a5c1a;
  --color-secondary: #4CAF50;
  --color-accent: #8BC34A;
  --color-background: #E8F5E9;
  --color-text: #333;
  --color-text-light: #fff;
}

body {
  font-family: 'Arial', sans-serif;
  background: linear-gradient(to bottom, #1a4731, #2d6a4f);
  color: var(--color-text-light);
}

.animate-fadeInUp {
  opacity: 0;

  transform: translateY(20px);
  animation: fadeInUp 0.5s ease-out forwards;
}

@keyframes fadeInUp {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.transition-all {
  transition: all 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

.welcome-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.welcome-overlay.show {
  opacity: 1;
  visibility: visible;
}

.welcome-content {
  background-color: #2d6a4f;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.3s ease;
}

.welcome-overlay.show .welcome-content {
  transform: scale(1);
  opacity: 1;
}

#music-player {
  transition: transform 0.3s ease-in-out;
}

#music-player.minimized {
  transform: translateX(-90%);
}

#music-player:hover {
  transform: translateX(0);
}

#song-progress {
  transition: width 0.1s linear;
}

.owner-card {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

#owner-modal {
  backdrop-filter: blur(5px);
}

.sponsor-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.sponsor-button {
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.sponsor-button:active {
  transform: scale(0.95);
}

@media (prefers-reduced-motion: no-preference) {
  .animate-fadeInUp {
      will-change: transform, opacity;
  }

  .hover-scale {
      will-change: transform;
  }

  #music-player {
      will-change: transform;
  }
}

@media (max-width: 768px), (max-height: 600px) {
  .animate-fadeInUp {
      animation-duration: 0.3s;
  }

  .transition-all {
      transition-duration: 0.2s;
  }
}