/* PARTICLES CANVAS */
#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
  background: #0b0b0e;
  color: #fff;
  overflow: hidden;
}

/* BACKGROUND */
.bg-glow {
  position: fixed;
  inset: -50%;
  background:
    radial-gradient(circle at 30% 30%, #0acffe55, transparent 40%),
    radial-gradient(circle at 70% 40%, #2bd9a644, transparent 45%);
  animation: moveGlow 20s linear infinite;
  z-index: -2;
}

@keyframes moveGlow {
  0% { transform: translate(0,0); }
  50% { transform: translate(8%, -8%); }
  100% { transform: translate(0,0); }
}

.grid-bg {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(#1a1a1f 1px, transparent 1px),
    linear-gradient(90deg, #1a1a1f 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.25;
  z-index: -1;
}

/* WRAPPER */
.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
position: relative;
  z-index: 2;
}

/* CARD */
.login-card {
  width: 100%;
  max-width: 420px;
  padding: 36px 34px 40px;
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  border: 1px solid rgba(255,255,255,0.18);

  box-shadow:
    0 0 0 1px rgba(10,207,254,0.35),
    0 40px 120px rgba(0,0,0,0.75);
}

/* LOGO */
.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}

.logo img {
  width: 220px;        /* ⬅️ PERBESAR */
  max-width: 100%;
  height: auto;
  display: block;
 filter: drop-shadow(0 0 14px rgba(10,207,254,0.45));
}


/* TEXT */
.login-card h1 {
  font-size: 24px;
 margin-top: 0;
  margin-bottom: 6px;
  text-align: center;
}

.subtitle {
  text-align: center;
  font-size: 14px;
  color: #b3b3bd;
  margin-bottom: 28px;
}

/* FORM */
.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: #cfcfd4;
}

.field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  outline: none;
  transition: all 0.3s ease;
}

.field input::placeholder {
  color: #777;
}

.field input:focus {
  border-color: rgba(10,207,254,0.9);
  box-shadow:
    0 0 0 1px rgba(10,207,254,0.9),
    0 0 18px rgba(10,207,254,0.45);
}

/* OPTIONS */
.options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 13px;
}

.remember {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #b3b3bd;
}

.remember input {
  accent-color: #0acffe;
}

.link {
  color: #0acffe;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

/* BUTTON */
.btn-login {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  cursor: pointer;

  background: #fff;
  color: #000;
  font-weight: 500;
  font-size: 15px;

  transition: all 0.35s ease;
}

.btn-login:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 0 1.5px rgba(10,207,254,0.9),
    inset 0 0 12px rgba(10,207,254,0.35),
    0 0 32px rgba(10,207,254,0.45),
    0 20px 60px rgba(0,0,0,0.6);
}

.btn-login:active {
  transform: translateY(0);
}

/* FOOTER */
.footer-text {
  margin-top: 22px;
  text-align: center;
  font-size: 13px;
  color: #b3b3bd;
}

@media (max-width: 480px) {
  .logo img {
    width: 180px;
  }
}
