body {
  background: #121212;
  color: #ffffff;
  font-family: sans-serif;
  margin: 0;
  padding: 0;
}

.site-title {
  text-align: center;
  padding: 20px;
  font-size: 22px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
  padding: 20px;
}

.card {
  background: #1e1e1e;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  position: relative;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.card img {
  width: 100%;
  height: auto;
}

.card .info {
  padding: 10px;
  font-size: 14px;
}

.hot-label {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(to right, #ff6d00, #ff1744);
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 2;
}

.circle-container {
  position: absolute;
  top: 10px;
  right: 10px;
}

.circular-chart {
  display: block;
  margin: 0 auto;
  width: 40px;
  height: 40px;
}

.circle-bg {
  fill: #1e1e1e;
  stroke: #eee;
  stroke-width: 3.8;
}

.circle {
  fill: none;
  stroke-width: 2.8;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: center;
  transition: stroke-dasharray 0.4s ease-out;
}

.circular-chart.green .circle {
  filter: drop-shadow(0 0 0px #00c853);
}

.circular-chart.yellow .circle {
  filter: drop-shadow(0 0 0px #ffc107);
}

.circular-chart.red .circle {
  filter: drop-shadow(0 0 0px #ff1744);
}

.percentage {
  fill: #fff;
  font-weight: bold;
  font-size: 0.6em;
  text-anchor: middle;
  dominant-baseline: central;
  alignment-baseline: middle;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.8), 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.filter-bar {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 0 20px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.filter-bar input,
.filter-bar select {
  padding: 8px 12px;
  border-radius: 6px;
  border: none;
  font-size: 14px;
  background: #1e1e1e;
  color: #fff;
}

.top-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.spinner {
  border: 5px solid #444;
  border-top: 5px solid #00e676;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: auto;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.bottom-navbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 64px;
  background: rgba(44,44,30,0.93);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 9999;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -2px 18px #0006;
  backdrop-filter: blur(4px);
}

.bottom-navbar .nav-item {
  flex: 1;
  text-align: center;
  color: #fff;
  font-family: 'Poppins', Arial, sans-serif;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.18s;
  padding-top: 4px;
  padding-bottom: 6px;
}

.bottom-navbar .nav-item:active,
.bottom-navbar .nav-item.active {
  color: #ffe600;
}

.bottom-navbar .nav-icon {
  display: block;
  margin: 0 auto 2px auto;
}

.bottom-navbar .nav-icon svg {
  display: block;
  margin: 0 auto;
  height: 26px;
  width: 26px;
}

.bottom-navbar .nav-label {
  display: block;
  font-size: 13px;
  margin-top: 2px;
  font-weight: 600;
  letter-spacing: .01em;
}

@media (min-width: 600px) {
  .bottom-navbar { max-width: 420px; left: 50%; transform: translateX(-50%); }
}
body { padding-bottom: 76px; } /* supaya content tidak ketutup nav */



