body {
  margin: 0;
  height: 100vh;
  background-color: #000;
  background-image:
    linear-gradient(30deg, #00ff00 1px, transparent 1px),
    linear-gradient(150deg, #00ff00 1px, transparent 1px);
  background-size: 70px 40px; /* sedikit lebih renggang */
  position: relative;
  overflow: hidden;
}

/* Lapisan animasi cahaya hijau bergerak */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 255, 0, 0) 0%,
    rgba(0, 255, 0, 0.2) 25%,
    rgba(0, 255, 0, 0.5) 50%,
    rgba(0, 255, 0, 0.2) 75%,
    rgba(0, 255, 0, 0) 100%
  );
  animation: scan 8s linear infinite;
  mix-blend-mode: lighten;
  pointer-events: none;
}

/* Animasi cahaya berjalan dari kiri ke kanan */
@keyframes scan {
  0% {
    transform: translateX(-50%);
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(0%);
    opacity: 0.6;
  }
}

/* Styling untuk Canvas Latar Belakang */
#interactiveBackground {
    position: fixed; /* Memastikan canvas menutupi seluruh viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* PENTING: Menempatkannya di belakang konten */
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 600px;
    margin: auto;
    position: relative;
    transform: translateY(0%); /* Reset transform */
    z-index: 1; /* Konten di atas canvas */
}

.search-container {
    display: flex;
    align-items: center;
    width: 100%;
    transition: box-shadow 0.3s ease;
    border-radius: 30px;
    position: relative;
    transform: translateY(-150%);
}

form {
    display: flex;
    flex-grow: 1;
    width: 100%;
    transition: box-shadow 0.3s ease;
    border-radius: 30px;
}

input[type="text"] {
    flex-grow: 1;
    padding: 14px;
    border: 3px solid #52d824;
    border-radius: 30px;
    outline: none;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    width: 100%;
    background: #1f1f1f;
    color: white;
}

.search-container.glow form {
    box-shadow: 0px 0px 20px 5px rgba(82, 216, 36, 0.7);
}

.search-container button {
    padding: 14px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    color: #52d824;
    background-color: #1f1f1f;
    margin-left: 10px;
    border-radius: 50%;
    width: auto;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-container button:hover,
.search-container button:focus {
    background-color: #52d824;
    transform: translateY(-2px);
    opacity: 0.95;
    box-shadow: 0px 0px 20px 5px rgba(70, 163, 33, 0.7);
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    align-items: center;
    position: relative;
    width: 100%;
    transform: translateY(-150%);
}

button {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    color: #52d824;
    background-color: #1f1f1f;
    font-weight: 700;
}

button:hover {
    background-color: #52d824;
    transform: translateY(-2px);
    opacity: 0.95;
    box-shadow: 0px 0px 20px 5px rgba(82, 216, 36, 0.7);
    color: #121212;
}

.progress-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: absolute;
    bottom: -70px;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease, bottom 0.3s ease;
}

.button-container.searching .progress-container {
    opacity: 1;
    bottom: -90%;
}

.progress-bar {
    margin-top: 5px;
    width: 0%;
    height: 8px;
    background-color: #52d824;
    border-radius: 4px;
    transition: width 0.5s linear;
}

.progress-percentage {
    margin-top: 5px;
    color: white;
    font-size: 14px;
    transition: opacity 0.5s ease;
    opacity: 0;
    font-weight: 700;
}

.error-message {
    color: red;
    margin-top: 10px;
    margin-bottom: 10%;
    display: none;
    position: absolute;
    bottom: -250%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    z-index: 10;
}

.logo {
    width: 70%;
    height: auto;
    margin-bottom: 20%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .container {bo
        width: 95%;
        max-width: none;
        margin: auto;
    }

    .search-container {
        width: 100%;
    }

    form {
        width: 100%;
    }

    .button-container {
        width: 100%;
    }

    .error-message {
        bottom: -100px;
    }
    
    .logo{
        margin-bottom: 30%;
    }
}