/* Shared base styles */
*,*::before,*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    linear-gradient(-45deg,#FFB3BA,#FFDFBA,#FFFFBA,#BAFFC9,#BAE1FF);
  background-size: 400% 400%;
  animation: gradientShift 30s ease infinite;
  z-index: -1;
}

/* Utility: rainbow gradient background */
.gradient-bg {
  position: relative;
  min-height: 100vh;
}
.gradient-bg::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    linear-gradient(-45deg,#FFB3BA,#FFDFBA,#FFFFBA,#BAFFC9,#BAE1FF);
  background-size: 400% 400%;
  animation: gradientShift 30s ease infinite;
  z-index: -1;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  .gradient-bg::before {
    animation: none;
  }
  *,*::before,*::after {
    animation: none !important;
  }
}
