/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Full screen responsive */
html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
}

/* Background layer */
.background {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;

  background: radial-gradient(
    circle at center,
    #1f9ea6 0%,
    #147d85 40%,
    #0e5f66 70%,
    #083f45 100%
  );

  background-size: 200% 200%;
  animation: gradientMove 12s ease-in-out infinite;
}

/* Subtle floating light overlay */
.background::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 60%
  );
  animation: floatLight 15s linear infinite;
}

/* Content (optional demo) */
.content {
  position: relative;
  z-index: 2;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 20px;
}

.content h1 {
  font-size: clamp(28px, 5vw, 60px);
}

.content p {
  font-size: clamp(14px, 2vw, 22px);
  opacity: 0.9;
}

/* Gradient animation */
@keyframes gradientMove {
  0% {
    background-position: 40% 40%;
  }
  50% {
    background-position: 60% 60%;
  }
  100% {
    background-position: 40% 40%;
  }
}

/* Floating overlay animation */
@keyframes floatLight {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Extra smoothness for high resolution screens */
@media (min-width: 1200px) {
  .background {
    animation-duration: 18s;
  }
}

/* ------------------------------------------------------------- */
/* Logo Wrapper (UNTUK HOVER SCALE) */
.logo-wrapper {
  display: inline-block;
  transform: translateX(30px);
  transition:
    transform 0.4s ease,
    filter 0.3s ease;
}

.logo-wrapper:hover {
  transform: translateX(30px) scale(1.12);
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
}

/* Floating container */
.logo-float {
  animation: floatLogo 4s ease-in-out infinite;
}

/* Logo image */
.logo {
  width: clamp(400px, 80vw, 675px);
  height: auto;
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
}

/* Fade in TANPA transform */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Floating animation */
@keyframes floatLogo {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Footer */
/* ================= FOOTER ================= */

.footer {
  position: fixed;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  pointer-events: none; /* supaya tidak ganggu klik logo */
}

.footer-logo {
  width: clamp(250px, 50vw, 400px); /* sama seperti logo */
  height: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

/* Optional subtle hover effect */
.footer-logo:hover {
  opacity: 1;
}
