* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom, #87CEFA, #ffffff);
  overflow: hidden;
  position: relative;
}

/* Container Login Oval */
.login-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 350px;
  background: rgba(255, 255, 255, 0.01);
  border-radius: 50% 50% 25px 25px;
  padding: 30px 20px;
  text-align: center;
  backdrop-filter: blur(10px);
  z-index: 1;
}

.logo {
  max-width: 300px;
  margin-bottom: 15px;
}

.login-form h2 {
  margin-bottom: 20px;
  color: #333;
}

.login-form input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 10px;
  text-align: center;
  background: #f0f8ff;
  font-size: 16px;
  outline-color: darkcyan;
}

.login-form button {
  width: 100%;
  padding: 12px;
  background: #1e90ff;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s;
}

.login-form button:hover {
  background: #187bcd;
}

/* Efek Hujan */
.rain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.drop {
  position: absolute;
  bottom: 100%;
  width: 2px;
  height: 15px;
  background: rgba(255, 255, 255, 0.6);
  animation: fall linear infinite;
  border-radius: 50%;
}

@keyframes fall {
  to {
    transform: translateY(110vh);
    opacity: 0;
  }
}

/* Splash saat jatuh */
.splash {
  position: absolute;
  bottom: 0;
  width: 4px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  opacity: 0.8;
  animation: splash 0.3s ease-out forwards;
}

@keyframes splash {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.5, 1);
    opacity: 0;
  }
}

/* Flash seluruh layar */
.flash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  animation: flashAnim 0.3s ease-in-out;
}

@keyframes flashAnim {
  0% { opacity: 0; }
  30% { opacity: 0.8; }
  60% { opacity: 0.2; }
  100% { opacity: 0; }
}

/* Sambaran petir */
.lightning {
  position: fixed;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100vh;
  background: white;
  opacity: 0;
  z-index: 3;
  pointer-events: none;
  transform: translateX(-50%) rotate(10deg);
  box-shadow: 0 0 10px white, 0 0 20px white;
  animation: lightningStrike 0.2s ease-in-out forwards;
}

@keyframes lightningStrike {
  0% {
    height: 0;
    opacity: 1;
    box-shadow: 0 0 10px white;
  }
  100% {
    height: 100vh;
    opacity: 0;
    box-shadow: 0 0 50px white;
  }
}
