* {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    background-color: #161616;
    font-family: Arial, sans-serif;
    color: #fff;
    overflow-x: hidden;
  }
  
  body.nav-open {
    overflow: hidden;
  }

  /* POPUP STYLE */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100000; /* Tambah besar */
}


.popup-content {
  background: #1b1500;
  color: #00fff2;
  padding: 30px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 0 20px #00fff2;
  max-width: 300px;
}

.popup-content h2 {
  margin-bottom: 15px;
}

.popup-content button {
  background-color: #00fff2;
  color: #000;
  border: none;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.popup-content button:hover {
  background-color: #00fff2;
}

  
  header {
    background-color: #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    width: 100%;
    position: relative;
    z-index: 10;
    flex-wrap: wrap;
  }
  
  .logo img {
    height: 50px;
  }
  
  nav.desktop-nav {
    display: flex;
    gap: 20px;
  }
  
  nav.desktop-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
  }
  
  nav.desktop-nav a:hover {
    color: #00fff2;
  }
  
  .actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .register {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    padding: 10px 15px;
    border: 1px solid #fff;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
  }
  
  .register:hover {
    color: #00fff2;
    border-color: #00fff2;
  }
  
  .login {
    background-color: #00fff2;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(2, 147, 184, 0.6);
    transition: 0.3s;
  }
  
  .login:hover {
    background-color: #00fff2;
    box-shadow: 0 0 15px rgb(27, 170, 196);
  }
  
  .right-mobile {
    display: none;
    align-items: center;
    gap: 10px;
  }
  
  .hamburger {
    display: none; /* Tampilkan di mobile pakai media query */
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    background: none;
    border: none;
    padding: 0;
    z-index: 10000;
  }
  
  .hamburger .bar {
    width: 30px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
    border-radius: 2px;
  }
  
  /* Saat tombol aktif (menu kebuka) */
  .hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .hamburger.active .bar:nth-child(2) {
    opacity: 0; /* Menghilang */
  }
  
  .hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  
  
  .mobile-register,
  .mobile-login {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 4px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .mobile-register {
    color: #fff;
    border: 1px solid #fff;
    text-decoration: none;
    font-weight: bold;
  }
  
  .mobile-login {
    background-color: #00fff2;
    color: #000;
    text-decoration: none;
    font-weight: bold;
  }
  
  .mobile-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background-color: #000000;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.8);
    z-index: 9999;
    border-top: 1px solid #333;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    overflow: hidden;
    animation: dropdownFade 0.3s ease;
  }
  
  .mobile-nav.active {
    display: flex;
  }
  
  .mobile-nav a {
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid #333;
    background-color: #000000;
    transition: background-color 0.3s, color 0.3s;
  }
  
  .mobile-nav a:hover {
    background-color: #333;
    color: #00fff2;
  }
  
  @keyframes dropdownFade {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @media (max-width: 992px) {
    nav.desktop-nav,
    .actions {
      display: none;
    }
  
    .right-mobile {
      display: flex;
    }
  
    .hamburger {
      display: flex;
    }
  
    .logo img {
      height: 40px;
    }
  }
  
  @media (max-width: 480px) {
    .mobile-register,
    .mobile-login {
      padding: 5px 8px;
      font-size: 11px;
    }
  
    .right-mobile {
      gap: 5px;
    }
  }
  
  .marquee-container {
    background-color: #242000;
    color: #fff;
    padding: 10px 0;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
  }
  
  .marquee-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 15s linear infinite;
  }
  
  @keyframes scroll-left {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
  }
  
  .carousel-container {
    position: relative;
    max-width: 100%;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 10px;
  }
  
  .carousel-slide {
    display: none;
  }
  
  .carousel-slide img {
    width: 100%;
    display: block;
  }
  
  .prev,
  .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 10px;
    margin-top: -22px;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    user-select: none;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    z-index: 10;
  }
  
  .prev:hover,
  .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  .prev {
    left: 15px;
  }
  
  .next {
    right: 15px;
  }
  
  body.nav-open .carousel-container .prev,
  body.nav-open .carousel-container .next {
    display: none;
  }
  
  .dot-container {
    text-align: center;
    position: absolute;
    width: 100%;
    bottom: 15px;
    z-index: 5;
  }
  
  .dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
  }
  
  .dot.active,
  .dot:hover {
    background-color: #00fff2;
  }
  
  .fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @keyframes fade {
    from {
      opacity: 0.4;
    }
    to {
      opacity: 1;
    }
  }
  
  .live-score {
    background: rgb(20, 20, 20);
    padding: 30px 15px;
    margin: 20px 0;
    width: 100%;
    text-align: center;
  }
  
  .live-score .buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 25px;
  }
  
  .live-score .buttons a {
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    transition: 0.3s;
  }
  
  .masuk {
    background: linear-gradient(90deg, #00ffdd, #00617e);
    color: #000;
    box-shadow: 0 0 15px #19ff9f;
  }
  
  .daftar {
    background: linear-gradient(90deg, #1eff00, #0f8000);
    color: #000;
    box-shadow: 0 0 15px #1eff00;
  }
  
  .cta-button {
    margin-top: 25px;
    background: linear-gradient(90deg, #203366, #14588f);
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    display: inline-block;
    transition: 0.3s;
  }
  
  .cta-button:hover {
    transform: scale(1.1);
  }
  
  footer {
    background: #111;
    color: #ffffff;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    width: 100%;
  }
  .money-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Biar ga ganggu klik */
    overflow: hidden;
    z-index: 9999;
  }
  
  .money {
    position: absolute;
    top: -50px;
    width: 40px;
    height: 40px;
    background-image: url('../images/CAHAYA.png'); /* Gambar uang */
    background-size: cover;
    opacity: 0.5;
    animation: fall linear infinite;
  }
  
  @keyframes fall {
    0% {
      transform: translateY(0) rotate(0deg);
      opacity: 1;
    }
    100% {
      transform: translateY(100vh) rotate(360deg);
      opacity: 0;
    }
  }
  /* Animasikan tombol saat ditendang */
@keyframes tendangButton {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  20% {
    transform: translate(-10px, -10px) scale(1.1);
  }
  40% {
    transform: translate(0px, 0px) scale(1);
  }
  60% {
    transform: translate(100px, -30px) scale(1.2);
  }
  80% {
    transform: translate(300px, -80px) scale(0.5);
    opacity: 0.8;
  }
  100% {
    transform: translate(600px, -150px) scale(0.3);
    opacity: 0;
  }
}

/* Tambahkan class ini untuk aktifkan animasi */
#enterButton.tendang {
  animation: tendangButton 1.2s forwards ease-in;
}
