.topbar-container {
    background: #0f0f0f;
    border-bottom: #0f0f0f;
}

.site-header {
    background: #101010;
    border-color: #1a1a1a;
}

.jackpot-container {
    box-shadow: none
}

.home-progressive-jackpot {
    background-image: linear-gradient(#1c1607, #9a0cce, #1c1607);
}

.home-progressive-jackpot .outer-container {
    background-color: #000;
}

.home-progressive-jackpot .inner-container {
    background-image: linear-gradient(#9a0cce, #000);
}

.home-progressive-jackpot .border-container {
    border-color: #9a0cce;
}

.home-progressive-jackpot .jackpot-container {
    background-image: linear-gradient(#9a0cce, #1f0620);
}

.home-progressive-jackpot .jackpot-inner-container {
    background-color: #000;
    display: flex;
    flex-grow: 2;
    justify-content: center;
    border-radius: 50px;
    padding: 10px;
}

.home-progressive-jackpot .jackpot-border-container {
    border-color: #7e0a71;
}

[data-container-background="home"] {
    background: #0a0a0a;
    border-color: #1a1a1a;
}

.announcement-outer-container {
    background-color: #131313;
    color: #fff;
}

.announcement-container>[data-section="announcements"] {
    background-color: #0a0a0a;

}

.tickercontainer {
    color: #E0C55E;
}

.telegram-banner-container {
    padding: 20px 0;
    border: 0;
    background: #0a0a0a;
}

.site-footer {
    background: #0a0a0a;
}

.provider-outer-container,
.game-list,
.games-list-container .game-info,
.popular-game-title-container+.game-list-container {
    background-color: transparent;
    border-color: #7105ad;
}

.game-list .game-item {
    background-color: #7105ad;
    background-image: linear-gradient(to bottom, #9a0cce 0%, #1f0620 100%);
}

.popular-game-title-container>i {
    border-bottom-color: #7105ad;
    border-top-color: #d8d8d8;
}

.nine-gaming-games-selection {
    background-color: #131313
}

.nine-gaming-games-selection .category-filter-link:hover,
.category-filter .active {
    /* background: #c9176b; */
    background: linear-gradient(to bottom, #9a0cce 0%, #1f0620 100%);
}

.load-more-input~label {
    border-color: #7105ad;
    background-color: #131313;
    color: #9a0cce;
}

.sg-3d-carousel-wrapper {
    max-width: 1600px;
    margin: 30px auto;
    padding: 20px;
    position: relative;
}

.sg-3d-carousel-title {
    text-align: center;
    margin-bottom: 20px;
}

.sg-3d-carousel-title h2 {
    color: #ffcc00;
    font-size: 42px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow:
        0 0 15px #ffcc00,
        0 0 40px #ffffff;
}

.sg-3d-carousel {
    position: relative;
    height: clamp(200px, 25vw, 360px);
    overflow: hidden;
    margin-bottom: 20px;
}

.sg-3d-item {
    position: absolute;
    left: 50%;
    top: 20%;
    transform-origin: center center;
    will-change: transform, opacity;
}

.sg-3d-item figure {
    margin: 0;
    text-align: center;
}

.sg-3d-item img {
    width: clamp(80px, 12vw, 190px);
    height: clamp(80px, 12vw, 190px);
    object-fit: cover;
    border-radius: 50%;
    background: #1a0a2e;
    transition:
        box-shadow .2s linear,
        border-color .2s linear;
}

.sg-3d-item figcaption {
    width: clamp(90px, 14vw, 190px);
    font-size: clamp(11px, 1.2vw, 15px);
    margin-top: 10px;
    color: #d4d3cc;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

@media(max-width:768px) {
    .sg-3d-carousel {
        height: 320px;
    }

    .sg-3d-carousel-title h2 {
        font-size: 32px;
    }

    .sg-3d-item img {
        width: 100px;
        height: 100px;
    }

    .sg-3d-item figcaption {
        width: 100px;
        font-size: 11px;
    }
}

/* Styling untuk Marquee Gacor Viral */
.sg-viral-container .game-list {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 15px !important;
    overflow: hidden !important;
    width: 100% !important;
    padding: 10px 0 !important;
}

.sg-marquee-row {
    width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
    display: flex !important;
}

.sg-marquee-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
    will-change: transform !important;
}

.sg-viral-container .game-item {
    margin-right: 15px !important;
    margin-left: 0 !important;
    flex-shrink: 0 !important;
    display: block !important;
}

/* Desktop (>= 1200px) */
@media (min-width: 1200px) {
    .sg-viral-container .game-item {
        width: 170px !important;
    }
}

/* Laptop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .sg-viral-container .game-item {
        width: 143px !important;
    }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .sg-viral-container .game-item {
        width: 106px !important;
    }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    .sg-viral-container .game-item {
        width: 130px !important;
    }
}

/* Animasi Bergerak */
.sg-marquee-top .sg-marquee-track {
    animation: sgMarqueeLeftToRight 30s linear infinite !important;
}

.sg-marquee-bottom .sg-marquee-track {
    animation: sgMarqueeRightToLeft 30s linear infinite !important;
}

/* Pause saat hover */
.sg-marquee-track:hover {
    animation-play-state: paused !important;
}

/* Keyframes */
@keyframes sgMarqueeRightToLeft {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes sgMarqueeLeftToRight {
    0% {
        transform: translate3d(-50%, 0, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}