* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  background: url("bgm.png") no-repeat center center/cover;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(
    135deg,
    rgba(10, 35, 66, 0.85),
    rgba(20, 76, 88, 0.75)
  ); */
  background: linear-gradient(
    135deg,
    rgba(192, 250, 126, 0.85),
    rgba(20, 76, 88, 0.75)
  );
  z-index: 1;
}

#waterCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.audio-control {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 4;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.audio-control:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #dfb15b;
  border-color: #dfb15b;
}

@keyframes formAppear {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(
    10px
  ); /* Dikurangi dari 15px agar render GPU lebih ringan */
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  z-index: 3;
  animation: formAppear 0.8s ease-out forwards;
}

.logo-area {
  text-align: center;
  margin-bottom: 35px;
}
.logo-area i {
  font-size: 55px;
  color: #dfb15b;
}

.input-group {
  position: relative;
  margin-bottom: 25px;
}
.input-group i.input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
}

.input-group input {
  width: 100%;
  padding: 14px 20px 14px 50px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  outline: none;
  color: #fff;
  transition: all 0.3s ease;
}

.input-group input:focus {
  background: rgba(255, 255, 255, 0.22);
  border-color: #dfb15b;
}

.toggle-password {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 18px;
}

.btn-login {
  width: 100%;
  padding: 14px;
  background: linear-gradient(45deg, #dfb15b, #bfa054);
  border: none;
  border-radius: 30px;
  color: #0a2342;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.btn-login:hover {
  transform: translateY(-2px);
}
.footer-links {
  text-align: center;
  margin-top: 25px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}
.footer-links a:hover {
  color: #dfb15b;
}
