@import url("https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@300;400;500;600;700&display=swap");
:root {
    --primary: #ffd900; /* Oranye sesuai tema */
    --dark: #000000;
    --dark-2: #111111;
    --accent-orange: #e60000;
    --text-light: #ffffff;
    --text-muted: #cccccc;
    --bg-body: #f4f4f4;
    --header-color: #000000;
    --navbar-color: linear-gradient(to bottom, #720400 0%, #c00003 50%, #720400 100%);
    --primary-color: linear-gradient(to bottom, #c00004 0%, #720400 100%);
    --secondary-color: #C00004;
    --lottery-color: linear-gradient(to bottom, #c00004 0%, #720400 100%);
    --footer-color: #000000;
    --header-text: #ffffff;
    --navbar-text: #ffffff;
    --jackpot-text: #ffffff;
    --primary-text: #ffffff;
    --secondary-text: #ffffff;
    --lottery-text: #ffffff;
    --footer-text: #ffffff;
    --c-white: #ffffff;
    --c-black: #0c0c0c;
    --c-grey: #181818;
    --background-theme: url(../custom/img/header/bod.jpg);
    --jackpot-theme: url(../custom/img/header/jackpot.gif);
    --background-page: #282828;
    --page-text: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-image: linear-gradient(rgb(62 27 27 / 56%), rgb(236 104 104 / 98%), rgb(153 12 12 / 98%));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-light);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }



/* ===== BACKGROUND CANVAS FIREWORK (TRANSPARAN) ===== */
#fireworks-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* ===== BACKGROUND METEOR SHOWER ===== */
#meteor-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Background bintang / partikel */
.stars-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, #ff6c00, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 40px 70px, #e65c00, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 90px 40px, #d45300, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 130px 80px, #ff6c00, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 160px 120px, #ff8233, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.4;
    animation: twinkle 5s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.2; }
    100% { opacity: 0.6; }
}

.meteor {
    position: absolute;
    top: -10vh; 
    width: 3px;
    height: 3px;
    background: #ff6c00;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff6c00, 0 0 20px #e65c00, 0 0 30px #ff8233;
    animation: animateMeteor linear infinite;
}

.meteor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 120px;
    height: 1.5px;
    background: linear-gradient(90deg, #ff6c00, transparent);
}

/* Animasi Jatuh Diagonal - Diperlambat & Lebih Smooth */
@keyframes animateMeteor {
    0% {
        transform: translateX(0) translateY(0) rotate(215deg);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        /* Kurangi jarak agar tidak terlalu jauh (tetap full screen) */
        transform: translateX(1200px) translateY(800px) rotate(215deg); 
        opacity: 0;
    }
}

/* 10 Cara Bermain - 5 Kiri 5 Kanan Lurus Kebawah */
.play-guide-section {
    background: #ff6c0020;
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 108, 0, 0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    margin-bottom: 40px;
}

.play-guide-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: #ff6c00;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(255, 108, 0, 0.15);
}

.play-guide-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 30px;
    align-items: start;
}

.play-guide-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.play-guide-card {
    background: rgba(0, 0, 0, 0.40);
    padding: 16px 18px;
    border-radius: 10px;
    border-left: 4px solid #ff6c0020;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    min-height: 85px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.play-guide-card:hover {
    background: rgba(255, 108, 0, 0.06);
    border-left-color: #ff6c0020;
    transform: translateX(4px);
    box-shadow: 0 8px 25px rgba(255, 108, 0, 0.08);
}

.play-guide-number {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #e65c00;
    background: rgba(255, 108, 0, 0.10);
    padding: 2px 10px;
    border-radius: 20px;
    margin-bottom: 4px;
    border: 1px solid rgba(255, 108, 0, 0.15);
    width: fit-content;
}

.play-guide-card h4 {
    color: #ffffff;
    font-size: 15px;
    margin: 4px 0 3px;
    font-weight: 700;
}

.play-guide-card p {
    color: #d4c8b8;
    font-size: 12.5px;
    line-height: 1.5;
    margin: 0;
}

/* Responsive: jadi 1 kolom di HP */
@media (max-width: 768px) {
    .play-guide-grid-2col {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .play-guide-section {
        padding: 25px 15px;
    }
    .play-guide-title {
        font-size: 22px;
    }
    .play-guide-card {
        min-height: auto;
        padding: 14px 15px;
    }
}

@media (max-width: 480px) {
    .play-guide-card h4 {
        font-size: 14px;
    }
    .play-guide-card p {
        font-size: 12px;
    }
}
.home__jackpot {
  
    padding-bottom: 0px !important;
    padding-top: 5px !important;
  }
  .home__jackpot .jackpot-gif {
    height: 125px !important;
  }
  .home__jackpot .jackpot-gif .jackpot-amount {
    font-size: 20px !important;
    top: 25px !important;
  }
  @media screen and (max-width: 770px) {
    .home__jackpot .jackpot-gif {
      height: 80px !important;
    }
    .home__jackpot .jackpot-gif .jackpot-amount {
      font-size: 12px !important;
      top: 18px !important;
    }
  }
  @media screen and (max-width: 500px) {
    .home__jackpot .jackpot-gif {
      height: 80px !important;
    }
    .home__jackpot .jackpot-gif .jackpot-amount {
      font-size: 9px !important;
      top: 14px !important;
      left: 22px !important;
    }
  }
  @media screen and (max-width: 390px) {
    .home__jackpot .jackpot-gif {
      background-size: 120% !important;
      height: 70px !important;
    }
  }

.home__jackpot {
    padding-bottom: 20px;
    padding-top: 20px;
  }
.home__jackpot .jackpot-gif {
    background-image: var(--jackpot-theme);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    height: 170px;
  }
.home__jackpot .jackpot-gif .jackpot-amount {
    font-size: 32px;
    font-weight: 600;
    color: var(--jackpot-text);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: 35px;
    left: 15px;
    padding-right: 50px;
    letter-spacing: 3px;
    font-family: advanced_dot_digital-7regular;
  }
.home__jackpot .jackpot-gif .jackpot-amount #amount {
    margin-left: 15px;
  }

/* ===== HOME LAYOUT (match video: sidebar + games + sliders + lotto) ===== */
.wc-home-layout {
    position: relative;
    z-index: 3;
    margin: 10px 0 30px;
}

.wc-home-layout > .home__jackpot > .container,
.wc-home-layout > .home__menu > .container,
.wc-home-layout > .home__lotto > .container {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
    background: transparent;
    border-radius: 0;
}

.wc-home-layout .home__menu {
    padding-bottom: 20px;
    color: var(--primary-text);
}

.wc-download-placeholder {
    min-height: 280px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(192, 0, 4, 0.35), rgba(114, 4, 0, 0.55));
    border: 1px dashed rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    padding: 20px;
}

.wc-home-layout .menu-games a {
    display: block;
}

@media (max-width: 991px) {
    .wc-download-placeholder {
        min-height: 160px;
    }
}


  .footer__trademark {
    display: none;
  }
  .footer-mobile {
    background: var(--background-page);
    color: var(--page-text);
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 997;
    display: grid !important;
    grid-template-columns: repeat(5, 1fr);
    border-top: 2px solid var(--secondary-color);
  }
  .footer-mobile .footer-item {
    text-align: center;
    padding: 12px 5px 8px;
    color: var(--page-text);
    position: relative;
  }
  .footer-mobile .footer-item .footer-icon {
    position: relative;
  }
  .footer-mobile .footer-item .footer-icon i {
    font-size: 20px;
  }
  .footer-mobile .footer-item .footer-icon .fa-percent {
    font-size: 8px;
    position: absolute;
    color: var(--c-black);
    left: 0;
    right: 4px;
    top: 5px;
    bottom: 0;
  }
  .footer-mobile .footer-item.active {
    color: #FFF200;
  }
  .footer-mobile .footer-item .footer-title {
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
  }
  .footer-mobile .footer-item.footer-login {
    position: relative;
    z-index: 999;
    align-self: flex-end;
  }
  .footer-mobile .footer-item.footer-login .footer-icon {
    position: absolute;
    top: 0;
    top: -62px;
    right: 0;
    left: 0;
    width: 70px;
    height: 70px;
    border-radius: 50px;
    background: var(--primary-color);
    border: 3px solid var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    animation: beat 0.5s infinite alternate;
  }
  .footer-mobile .footer-item.footer-login .footer-icon i {
    font-size: 30px;
    border-radius: 50px;
    color: #FFF200;
  }

  .footer .footer__provider {
    padding-bottom: 30px;
    padding-top: 30px;
  }
  .footer .footer__provider .provider-header {
    color: var(--footer-text);
    font-size: 30px;
    font-weight: 700;
    text-align: center;
  }
  .footer .footer__provider .provider-holder {
    margin-bottom: 20px;
  }
  .footer .footer__provider .provider-holder .provider-content {
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding: 5px 0;
    margin-bottom: 10px;
  }
  .footer .footer__provider .provider-holder .provider-content .provider-title {
    padding: 7px 17px 7px 10px;
    background: #5A0403;
    max-width: max-content;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    display: flex;
    align-items: center;
    color: var(--c-white);
  }
  .footer .footer__provider .provider-holder .provider-content .provider-title img {
    width: 20px;
    filter: invert(1);
  }
  .footer .footer__provider .provider-holder .provider-content .provider-title span {
    font-weight: 600;
    font-size: 12px;
    margin-left: 7px;
  }
  .footer .footer__provider .provider-holder .provider-content .provider-logo {
    padding: 5px 0;
    border-radius: 5px;
    display: inline-block;
  }
  .footer .footer__provider .provider-holder .provider-content .provider-logo img {
    margin: 5px 5px;
    object-fit: contain;
    cursor: pointer;
  }
  .footer .footer__provider .provider-holder .provider-content .provider-logo img:hover {
    filter: grayscale(100%);
  }
  .footer .footer__provider .provider-nav {
    text-align: center;
  }
  .footer .footer__provider .provider-nav .provider-link {
    text-decoration: none;
    color: var(--footer-text);
    font-size: 13px;
    font-weight: 600;
    margin: 0 10px;
  }
  .footer .footer__provider .provider-nav .provider-link:hover {
    color: #FFF200;
  }
  .footer .footer__trademark {
    background: linear-gradient(to top, #c00004 0%, #720400 100%);
    text-align: center;
    color: var(--c-white);
    font-size: 13px;
    padding: 15px 0;
    font-weight: 600;
  }
