  .navbar-clock {
  font-family: 'Poppins', sans-serif; /* samakan dengan font menu di atas */
  font-size: 12px;
  color: white;
  padding: 4px;
  text-align:center;
  background-color: #330000;
}

@media screen and (min-width: 768px) {
  #current-time {
    position: absolute;
    top: 53px;
    right: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: white;
    z-index: 999;
  }
  
  .navbar-clock {
	  padding: 11px;
  }
}
  
  @media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    text-align: center;
  }

  .nav-links {
    margin-top: 10px;
  }

  .countdown {
    flex-direction: column;
    gap: 10px;
  }

  .countdown div {
    font-size: 30px;
    min-width: auto;
    padding: 8px 10px;
  }

  .vertical-prize {
    margin: 10px 0;
  }

  .jackpot {
    font-size: 32px;
    padding: 15px;
  }

  .box, .history {
    padding: 15px;
    margin: 20px 10px;
  }

  table th, table td {
    font-size: 14px;
    padding: 8px;
  }
}

  
    body { background-color: #400000; color: #fff; margin: 0; font-family: 'Segoe UI', sans-serif; }
    .navbar { background: #5c0000; padding: 10px 20px; display: flex; justify-content: space-between; align-items: center; }
    .navbar h1 { margin: 0; font-size: 24px; color: gold; text-align: center; }
    .nav-links a { color: #fff; margin: 0 10px; text-decoration: none; font-weight: bold; }
    .banner { background: #fff; color: #000; padding: 20px 10px; text-align: center; }
    .banner img { max-width: 100%; height: auto; }
    .jackpot { background: #5c0000; color: gold; padding: 10px; font-size: 35px; font-weight: bold; text-align: center; }
    .countdown-section { background: #5c0000; text-align: center; padding: 30px 10px; font-size: 28px; font-family: cursive; }
    .countdown { font-size: 40px; margin-top: 10px; display: flex; justify-content: center; gap: 30px; }
    .countdown div { background: #000; padding: 10px 15px; border-radius: 10px; min-width: 70px; }
    .box, .history { max-width: 900px; margin: auto; padding: 25px; background: #5c0000; border-radius: 10px; margin-top: 40px; text-align: center; }
    .circle { display: inline-block; background: #000; color: #fff; border-radius: 50%; width: 40px; height: 40px;
              line-height: 40px; margin: 2px; font-weight: bold; font-size: 20px; }
    .vertical-prize { display: inline-block; margin: 10px 20px; }
    .vertical-prize h4 { margin-bottom: 10px; }
    .vertical-prize div { margin: 5px 0; letter-spacing: 2px; }
    table { width: 100%; margin-top: 30px; border-collapse: collapse; }
    th, td { padding: 12px; border-bottom: 1px solid #8b0000; text-align: center; }
    th { color: #fff; }
    .btn-open { background-color: red; color: white; padding: 6px 12px; border: none; border-radius: 6px; font-weight: bold; }
	
.countdown-wrapper {
  background: #5c0000;
  border-radius: 10px;
  text-align: center;
  padding: 30px 15px;
  max-width: 950px;
  margin: 30px auto;
  box-shadow: 0 0 10px #00000055;
}
.countdown-title {
  font-family: 'Dancing Script', cursive;
  font-size: 70px;
  color: white;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.ball-icon {
  width: 35px;
  height: 35px;
}
.flip-clock {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.flip-clock .digit {
  background: #2c0000;
  color: white;
  padding: 13px 12px;
  border-radius: 8px;
  font-size: 70px;
  font-weight: bold;
  text-align: center;
  min-width: 100px;
  
}
.flip-clock .digit small {
  display: block;
  font-size: 15px;
  margin-top: 8px;
  color: #ccc;
}
@media (max-width: 480px) {
  .countdown-title {
    font-size: 50px;
  }
  .flip-clock .digit {
    font-size: 28px;
    padding: 12px 10px;
    min-width: 50px;
  }
}

.prize-row {
  text-align: center;
  margin: 30px 0;
}

.prize-title {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
}

.number-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.circle {
  background: #fff;
  color: #000;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-weight: bold;
  font-size: 18px;
  line-height: 40px;
  text-align: center;
}

.prize-pair {
  display: flex;
  justify-content: space-around;
  text-align: center;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.prize-line {
  font-size: 18px;
  letter-spacing: 3px;
  margin: 5px 0;
}

.circle.loading {
  background: #555;
  color: #aaa;
  animation: blink 1s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

@keyframes spinHourglass {
  0% { transform: rotate(0deg); opacity: 1; }
  50% { transform: rotate(180deg); opacity: 0.6; }
  100% { transform: rotate(360deg); opacity: 1; }
}

.hourglass-anim {
  display: inline-block;
  font-size: 24px;
  animation: spinHourglass 1.5s infinite ease-in-out;
}

.livedraw-title {
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: white;
  margin: 20px 0;
  letter-spacing: 0.3px;
}

@media (max-width: 480px) {
  .livedraw-title {
    font-size: 18px;
    padding: 0 10px;
  }
}

.result-box {
  border: 2px solid red;
  padding: 20px;
  margin-top: 10px;
  color: white;
  background-color: #440000;
  font-family: 'monospace';
}

.result-columns {
  display: flex;
  justify-content: center;
  gap: 80px; /* jarak antar kolom Prize #2 dan #3 */
  margin-top: 20px;
}

.column {
  text-align: center;
}

.title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
  color: white;
}

.balls {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.balls span {
  display: inline-block;
  width: 35px;
  height: 35px;
  line-height: 35px;
  border-radius: 50%;
  border: 2px solid white;
  background-color: transparent;
  color: white;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
}

@media (max-width: 600px) {
  .result-box {
    padding: 10px;
  }

  .result-box .result-prize .result-number {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 5px;
  }

  .result-box .result-prize h3,
  .result-columns .title {
    font-size: 14px;
    margin-bottom: 5px;
  }

  .balls span,
  .result-number span {
    width: 28px;
    height: 28px;
    font-size: 14px;
    line-height: 28px;
  }

  .result-columns {
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .result-table {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 15px;
  }

  .result-table pre {
    font-size: 13px;
  }
}

/*CSS FOOTER*/

.custom-footer {
  background-color: #2b0000;
  color: white;
  padding: 30px 20px;
  font-family: 'Arial', sans-serif;
  border-top: 2px solid #ffcc00;
  margin-top: 10px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left h2 {
  margin: 0 0 5px;
  font-size: 22px;
  color: #ffcc00;
}

.footer-left p {
  margin: 0;
  font-size: 14px;
  color: #ccc;
}

.footer-right a {
  margin-left: 20px;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-right a:hover {
  color: #ffcc00;
}

@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .footer-right {
    margin-top: 15px;
  }

  .footer-right a {
    display: block;
    margin: 5px 0;
  }
}
