:root {
  --kemenag-green: #008037;
  --kemenag-gold: #D4A017;
  --dark-bg: #050608;
}

/* Overlay Loader */
#loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 6, 8, 0.9);
  z-index: 9999;
  display: none; /* Sembunyi secara default */
  justify-content: center;
  align-items: center;
}

.loader-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pentagon-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.pentagon-path {
  fill: none;
  stroke: rgba(0, 128, 55, 0.2);
  stroke-width: 2;
}

/* Flare Emas - Kecepatan 0.5s */
.pentagon-flare {
  fill: none;
  stroke: var(--kemenag-gold);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 100 300;
  animation: rotateFlare 1.5s linear infinite;
  filter: drop-shadow(0 0 12px var(--kemenag-gold));
}

/* Teks Styling */
.text-container {
  text-align: center;
  color: var(--kemenag-green);
  z-index: 10;
}

.text-line {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  color: white;
}

.text-bold {
  font-weight: 800;
  font-size: 16px;
  color: var(--kemenag-green);
  text-shadow: 0 0 5px rgba(0, 128, 55, 0.3);
}

/* Dot Animation */
.dots-wrapper {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.dot {
  width: 5px;
  height: 5px;
  background-color: var(--kemenag-gold);
  border-radius: 50%;
  animation: wave 1s ease-in-out infinite;
}

.dot:nth-child(1) { animation-delay: 0s; }
.dot:nth-child(2) { animation-delay: 0.15s; }
.dot:nth-child(3) { animation-delay: 0.3s; }
.dot:nth-child(4) { animation-delay: 0.45s; }
.dot:nth-child(5) { animation-delay: 0.6s; }

@keyframes rotateFlare {
  from { stroke-dashoffset: 400; }
  to { stroke-dashoffset: 0; }
}

@keyframes wave {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(-10px); opacity: 1; color: var(--kemenag-green); }
}