/* =====================================================
   GLOBAL LAYOUT
===================================================== */
:root {
    --black-main: #0f0f0f;
    --black-soft: #1a1a1a;
    --black-card: #141414;

    --gold-main: #d4af37;
    --gold-soft: #f1d27a;
    --gold-glow: rgba(212, 175, 55, .35);

    --theme-accent: var(--bs-primary);
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    overflow-y: auto !important;
    background: linear-gradient(180deg, var(--black-main), var(--black-soft));
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
}

.bg-theme.text-theme {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.wrapper {
    flex: 1;
    width: 100%;
    margin: 0 auto;
}

.site-wrapper {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow:
        0 0 0 1px rgba(212, 175, 55, 0.2),
        0 0 24px var(--gold-glow);
    margin-bottom: 8px;
}

.main-fluid-content {
    width: 100%;
    max-width: 100%;
}

.main-fluid-content img.w-100 {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}

.img-3d {
    max-width: 100%;
}

/* =====================================================
   NAVBAR
===================================================== */
.navbar {
    background: linear-gradient(90deg, var(--black-main), var(--black-soft));
    border-bottom: 3px solid var(--theme-accent);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .6);
}

.navbar-brand,
.navbar a {
    color: var(--gold-soft) !important;
}

.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .nav-item::after {
    content: "";
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: var(--theme-accent);
    opacity: .5;
}

.navbar-nav .nav-item:last-child::after {
    display: none;
}

#navbar-imglogo {
    max-height: 48px;
    max-width: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}


/* =====================================================
   SIDEBAR
===================================================== */
.sidebar-box {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 12px;
    background: linear-gradient(180deg, var(--black-card), var(--black-soft));
    box-shadow: 0 8px 25px rgba(0, 0, 0, .6);
    border-left: 4px solid var(--theme-accent);
    position: relative;
    overflow: hidden;
}

.sidebar-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg,
            var(--bs-primary),
            transparent);
}

.sidebar-header {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--gold-main);
    margin-bottom: 6px;
    margin-top: 1px !important;
}

.sidebar-header i {
    color: var(--theme-accent);
}

.sidebar-subtitle {
    font-size: 12px;
    color: #adb5bd;
    margin-bottom: 10px;
}

.sidebar-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--gold-soft);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    position: relative;
}

.sidebar-menu li::after {
    content: "";
    display: block;
    height: 1px;
    margin: 0 12px;
    background: linear-gradient(90deg,
            transparent,
            var(--theme-accent),
            transparent);
    opacity: .4;
}

.sidebar-menu li:last-child::after {
    display: none;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #e9ecef;
    text-decoration: none;
    transition: 0.25s ease;
}

.sidebar-menu li a i {
    width: 18px;
    font-size: 14px;
    color: var(--theme-accent);
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
    background: linear-gradient(135deg,
            var(--theme-accent),
            var(--gold-main));
    color: #000;
}

.sidebar-menu li a:hover i,
.sidebar-menu li a.active i {
    color: #000;
}

.sidebar-more {
    margin-top: 10px;
}

.sidebar-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    padding: 6px 14px;
    color: var(--bs-primary);
    text-decoration: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all .25s ease;
}

.sidebar-more-link::after {
    content: '→';
    font-size: 12px;
    transition: transform .25s ease;
}

.sidebar-more-link:hover {
    color: #fff;
    background: linear-gradient(135deg,
            var(--bs-primary),
            var(--gold-main));
    border-color: transparent;
}

.sidebar-more-link:hover::after {
    transform: translateX(3px);
}

.menu-right {
    justify-content: flex-end;
    text-align: right;
    gap: 10px;
}

.sidebar-right {
    border-left: none;
    border-right: 4px solid var(--theme-accent);
}

.sidebar-right::before {
    left: auto;
    right: 0;
    background: linear-gradient(180deg,
            var(--bs-primary),
            transparent);
}

.banner-box {
    padding: 0 !important;
    margin: 0 !important;
    margin-bottom: 10px !important;
    width: 100%;
}

.banner-box>* {
    margin: 0 !important;
    padding: 0 !important;
    margin-bottom: 10px !important;
}


/* =====================================================
   RESULT
===================================================== */
.nav-arrow i {
    font-size: 12px;
    cursor: pointer;
    color: #adb5bd;
    margin-left: 6px;
}

.nav-arrow i:hover {
    color: var(--theme-accent);
}

.result-row {
    list-style: none;
    padding: 0;
    margin: 0;
}

.result-row li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 10px;
    border-radius: 6px;
    font-size: 13px;
}

.result-row li:hover {
    background: rgba(255, 255, 255, .05);
}

.result-row .nama {
    font-weight: 500;
    color: #f8f9fa;
}

.result-row .rank {
    font-size: 12px;
    color: var(--theme-accent);
}

/* =====================================================
   BERITA
===================================================== */
.news-row {
    max-height: 120px;
    overflow-y: auto;
    padding-right: 4px;
    box-sizing: border-box;
}

.news-row a {
    display: block;
    font-size: 13px;
    color: #dee2e6;
    padding: 6px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    text-decoration: none;
    transition: all .2s ease;
}

.news-row a:hover {
    color: var(--theme-accent);
    padding-left: 6px;
    transform: translateX(2px);
}

/* =====================================================
   SIDEBAR SCROLLBAR
===================================================== */
.sidebar-scroll::-webkit-scrollbar {
    width: 6px;
}

.sidebar-scroll::-webkit-scrollbar-track {
    background: var(--black-soft);
    border-radius: 6px;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg,
            var(--bs-primary),
            var(--gold-main));
    border-radius: 6px;
}

.sidebar-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--bs-primary);
}

/* =====================================================
   ANNOUNCEMENT
===================================================== */
.announcement-bar {
    background: linear-gradient(135deg, var(--black-card), var(--black-soft));
    border-radius: 12px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .6);
    border-left: 6px solid var(--gold-main);
}

.announcement-label {
    background: linear-gradient(135deg, var(--gold-main), var(--gold-soft));
    color: #000;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    margin-right: 15px;
}

.announcement-marquee {
    flex: 1;
}

/* =====================================================
   SCROLL TO TOP
===================================================== */
#scrollTopBtn {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold-main), var(--gold-soft));
    color: #000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: .35s;
    z-index: 9999;
}

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
}

/* =====================================================
   FLOATING MENU
===================================================== */
.floating-menu {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9999;
    width: auto;
    height: auto;

    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;

    pointer-events: none;
}

.floating-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold-main), var(--gold-soft));
    color: #000;
    border-radius: 18px;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .5);
    transition: transform .25s ease;
}

.floating-btn,
.floating-icons a {
    pointer-events: auto;
    text-decoration: none !important;
}

.floating-btn:hover {
    box-shadow:
        0 12px 30px rgba(0, 0, 0, .6),
        0 0 12px var(--gold-glow);
}

.floating-btn i {
    font-size: 28px;
}

.floating-icons {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all .35s ease;
    text-decoration: none !important;
}

.floating-menu.active .floating-icons {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.floating-icons a {
    width: 46px;
    height: 46px;
    background: linear-gradient(180deg,
            var(--black-card),
            var(--black-soft));
    border-radius: 50%;
    border: 2px solid var(--bs-primary);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .5);
    transition: .25s ease;
}

.floating-icons a:hover {
    background: var(--bs-primary);
    color: #000;
    transform: scale(1.1);
}

/* =====================================================
   TABLE THEME
===================================================== */
.bg-theme.text-theme table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--black-soft);
    border-radius: 12px;
    overflow: hidden;
}

.bg-theme.text-theme table thead th {
    background: linear-gradient(180deg,
            var(--black-main),
            var(--black-soft));
    color: var(--gold-soft);
    font-weight: 600;
    border-bottom: 2px solid var(--bs-primary);
    padding: 12px;
    text-align: left;
}

.bg-theme.text-theme table tbody td {
    padding: 10px 12px;
    color: var(--bs-light);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.bg-theme.text-theme table tbody tr:hover {
    background: rgba(255, 255, 255, .04);
}

.bg-theme.text-theme table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, .02);
}

/* =====================================================
   FORM
===================================================== */
.bg-theme.text-theme .form-control,
.bg-theme.text-theme .form-select,
.bg-theme.text-theme textarea {
    background: linear-gradient(180deg,
            var(--black-soft),
            var(--black-main));
    color: var(--bs-light);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 10px;
    padding: 0.6rem 0.75rem;
    transition: border-color .2s ease, background-color .2s ease;
}

.bg-theme.text-theme .form-control::placeholder,
.bg-theme.text-theme textarea::placeholder {
    color: rgba(255, 255, 255, .45);
}

.bg-theme.text-theme .form-control:focus,
.bg-theme.text-theme .form-select:focus,
.bg-theme.text-theme textarea:focus {
    background: var(--black-main);
    color: var(--bs-light);
    border-color: var(--bs-primary);
    box-shadow: none;
    outline: none;
}

.bg-theme.text-theme .form-control:disabled,
.bg-theme.text-theme .form-select:disabled {
    background: #111;
    color: rgba(255, 255, 255, .4);
    border-color: rgba(255, 255, 255, .1);
}

.bg-theme.text-theme label {
    color: var(--gold-soft);
    font-weight: 500;
    margin-bottom: 4px;
}

.bg-theme.text-theme .form-check-input {
    background-color: var(--black-main);
    border: 1px solid var(--bs-primary);
}

.bg-theme.text-theme .form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.bg-theme.text-theme .form-check-label {
    color: var(--bs-light);
}

.bg-theme.text-theme .input-group-text {
    background: var(--black-soft);
    color: var(--gold-soft);
    border: 1px solid rgba(255, 255, 255, .15);
}

.bg-theme.text-theme .is-valid {
    border-color: #198754;
}

.bg-theme.text-theme .is-invalid {
    border-color: #dc3545;
}

/* =====================================================
   BUTTON THEME
===================================================== */
.bg-theme.text-theme .btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 0.45rem 1rem;
    transition: background-color .2s ease, transform .15s ease;
}

.bg-theme.text-theme .btn-primary {
    background: linear-gradient(135deg,
            var(--bs-primary),
            var(--gold-main));
    border: none;
    color: #000;
}

.bg-theme.text-theme .btn-primary:hover {
    background: linear-gradient(135deg,
            var(--gold-main),
            var(--bs-primary));
}

.bg-theme.text-theme .btn-primary:active {
    transform: translateY(1px);
}

.bg-theme.text-theme .btn-secondary {
    background: var(--black-soft);
    border: 1px solid var(--bs-secondary);
    color: var(--bs-light);
}

.bg-theme.text-theme .btn-outline-primary {
    background: transparent;
    border: 2px solid var(--bs-primary);
    color: var(--bs-primary);
}

.bg-theme.text-theme .btn-outline-primary:hover {
    background: var(--bs-primary);
    color: #000;
}


/* =====================================================
   FOOTER
===================================================== */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
    font-size: 12px;
}

.footer-logo {
    width: 50%;
    max-width: 80px;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: filter 0.3s ease;
}

.footer p {
    margin: 0;
}


/* =====================================================
   SLIDER
===================================================== */
.slide-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.movie-item {
    flex: 0 1 auto;
    width: 190px;
    max-width: 190px;
    background-image: url('https://file001.nxtengine.net/theme/v2025/bg.png');
    background-size: cover;
    background-repeat: repeat;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.movie-image img {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.movie-image img:hover {
    transform: scale(1.1);
}

.slider-vertical {
    width: 100%;
    margin-top: 10px;
}

.category-col {
    flex: 1 1 calc(50% - 15px);
    min-width: 280px;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 10px;
}

/* =====================================================
   ANIMATED TEXT
===================================================== */
.animated-title,
.animated-text {
    gap: 6px;
    font-family: 'Poppins', 'Montserrat', 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: .3px;
    color: #fff;
    animation: floatY 3.5s ease-in-out infinite, colorShift 4s ease-in-out infinite;
}

.animated-title i,
.animated-title .title-text,
.animated-text i {
    display: inline-block;
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(1.5px);
    }
}

@keyframes colorShift {

    0%,
    100% {
        color: #ffffff;
    }

    50% {
        color: #d4af37;
    }
}

/* =====================================================
   ARROWS
===================================================== */
.arrow-box {
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    overflow: hidden;
}

.arrow {
    width: 12px;
    height: 12px;
    border-left: 2.5px solid currentColor;
    border-bottom: 2.5px solid currentColor;
    transform: rotate(-45deg);
    opacity: 0;
    animation: arrowDownFlow 1.4s infinite;
}

.arrow:nth-child(2) {
    animation-delay: .25s;
}

.arrow:nth-child(3) {
    animation-delay: .5s;
}

.arrow-down {
    display: inline-block;
    margin-left: 6px;
    animation: arrowDownSlide 1.2s infinite;
}

.fa-angles-right {
    display: inline-block;
    margin-left: 4px;
    animation: arrowRightSlide 1.2s infinite;
}

@keyframes arrowDownFlow {
    0% {
        opacity: 0;
        transform: translateY(-2px) rotate(-45deg);
    }

    40% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(4px) rotate(-45deg);
    }
}

@keyframes arrowDownSlide {
    0% {
        opacity: 0;
        transform: translateY(-6px);
    }

    40% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(8px);
    }
}

@keyframes arrowRightSlide {
    0% {
        opacity: 0;
        transform: translateX(-6px);
    }

    40% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        transform: translateX(8px);
    }
}

/* =====================================================
   PROVIDERS
===================================================== */
.brand-card,
.brand-blink {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: visible;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.brand-card {
    width: 215px;
    height: 100px;
    border: 2px solid #9c8231;
    background: linear-gradient(180deg, #241c0a, #0f0b03);
    filter: drop-shadow(0 3px 6px rgba(255, 255, 255, 0.4));
}

.brand-blink {
    width: 100%;
    height: 80px;
    border: 2px solid #e6d8a3;
    background: linear-gradient(180deg, #fffef8, #f2e9c9);
}

/* BRAND IMAGE WRAPPER */
.brand-image {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform, filter;
}

.brand-image img {
    position: absolute;
    inset: 0;
    margin: auto;
    max-width: 80%;
    max-height: 80%;
    transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease;
    will-change: transform, opacity;
}

.img-gif {
    opacity: 1;
    z-index: 1;
}

.img-png {
    opacity: 0;
    z-index: 2;
    pointer-events: none;
    transform-origin: bottom center;
}

.brand-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.05) 40%, rgba(255, 255, 255, 0));
    opacity: 0.15;
    pointer-events: none;
    border-radius: 8px;
}

.brand-card:nth-child(1) .img-gif {
    animation-delay: 0s;
}

.brand-card:nth-child(2) .img-gif {
    animation-delay: 1.4s;
}

.brand-card:nth-child(3) .img-gif {
    animation-delay: 2.8s;
}

.brand-card:nth-child(4) .img-gif {
    animation-delay: 4.2s;
}

.brand-card:nth-child(5) .img-gif {
    animation-delay: 5.6s;
}

/* HOVER BRAND EFFECTS */
@media (hover: hover) and (pointer: fine) {

    .brand-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 22px 40px rgba(0, 0, 0, 0.85), 0 0 35px rgba(156, 130, 49, 0.9);
        z-index: 9999;
    }

    .brand-card:hover .img-gif {
        opacity: 0;
    }

    .brand-card:hover .img-png {
        opacity: 1;
        transform: translateY(-65%) rotateX(8deg);
        filter: drop-shadow(0 35px 45px rgba(156, 130, 49, 0.9)) drop-shadow(0 0 35px rgba(255, 255, 255, 0.9));
        animation: logoFloat 1.8s ease-in-out infinite;
        z-index: 10000;
    }
}

/* ANIMATIONS THUNDER / LOGO FLOAT */
@keyframes thunderGlow {

    0%,
    85%,
    100% {
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4)) brightness(1);
    }

    86% {
        filter: drop-shadow(0 1px 3px rgba(255, 255, 255, 0.3)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.2)) brightness(1.15);
    }

    87% {
        filter: drop-shadow(0 1px 5px rgba(255, 255, 255, 0.4)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.25)) brightness(1.2);
    }

    88% {
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.35)) drop-shadow(0 0 15px rgba(255, 200, 120, 0.2)) brightness(1.1);
    }
}

@keyframes logoFloat {

    0%,
    100% {
        transform: scale(2.5) rotateX(8deg);
    }

    50% {
        transform: scale(2.5) rotateX(10deg);
    }
}

/* =====================================================
   CAROUSEL TOGEL
===================================================== */
.carousel-togel .item img {
    object-fit: cover;
}


/* =====================================================
   CAROUSEL PROMOTION
===================================================== */
#carousel-exlusive-promotion {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

#carousel-exlusive-promotion .carousel-item img {
    width: 100%;
    display: block;
    transition: transform 1s ease;
}

#carousel-exlusive-promotion .carousel-item.active::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 200%;
    pointer-events: none;
    background-image: radial-gradient(white 1px, transparent 1px);
    background-size: 5px 5px;
    opacity: 0.6;
    animation: snowFall 5s linear infinite;
}

@keyframes snowFall {
    0% {
        transform: translateY(-50%) translateX(0);
        opacity: 0.6;
    }

    100% {
        transform: translateY(0%) translateX(50px);
        opacity: 0.6;
    }
}

#carousel-exlusive-promotion .carousel-item.active img {
    animation: imgScale 8s ease-in-out infinite alternate;
}

@keyframes imgScale {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}


/* =============================
   LONGTAIL
============================= */
#longtail-content img {
    width: 100%;
}

#longtail-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.95rem;
}

#longtail-content th,
#longtail-content td {
    border: 1px solid #dee2e6;
    padding: 0.5rem;
    text-align: left;
    vertical-align: top;
}

/* =============================
   RESULT TICKER
============================= */

.result-ticker {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    max-height: 120px;
}

.result-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    font-size: 13px;
    border-radius: 8px;
    background: linear-gradient(180deg, #151515, #0f0f0f);
    margin-bottom: 6px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
    transition: background 0.25s ease;
}

.result-item:hover {
    background: linear-gradient(135deg,
            var(--bs-primary),
            var(--gold-main));
    color: #000;
}

/* =============================
   PASARAN TOGEL
============================= */
.result-table {
    background: linear-gradient(180deg, #101010, #0c0c0c);
    border-radius: 10px;
    padding: 8px;
}

.result-header {
    display: flex;
    padding: 10px 12px;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gold-soft);
    background: linear-gradient(180deg,
            var(--black-main),
            var(--black-soft));
    border-radius: 8px;
    border-bottom: 2px solid var(--bs-primary);
}

.result-header span {
    opacity: 0.9;
}

.result-item {
    cursor: pointer;
}

.result-item:hover {
    background: linear-gradient(135deg,
            var(--bs-primary),
            var(--gold-main));
    color: #fbeb95;
}

.result-item:hover .col-market,
.result-item:hover .col-result,
.result-item:hover .col-timer {
    color: #fbeb95;
}

.col-market {
    width: 60%;
    font-weight: 600;
    color: #f8f9fa;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.col-result {
    width: 40%;
    font-weight: 700;
    color: var(--gold-main);
}

.col-result a {
    color: inherit;
}

/* ==================================================
   USER MENU SIDEBAR
================================================== */
.offcanvas.sidebar-theme {
    width: 260px;
    max-width: 85vw;
    color: #fff;
    background: linear-gradient(180deg,
            #050505 0%,
            #0f0f0f 40%,
            var(--bs-body-bg) 100%);
    box-shadow: -10px 0 35px rgba(0, 0, 0, .85);
    overflow-y: auto;
    scroll-behavior: smooth;
    transition: transform .35s cubic-bezier(.25, .8, .25, 1);
}

.sidebar-header {
    padding: 10px 14px;
    background: linear-gradient(135deg,
            #000,
            #111,
            var(--bs-primary));
    border-bottom: 1px solid rgba(255, 215, 0, .25);
    box-shadow: inset 0 -1px 0 rgba(255, 215, 0, .15);
}

.sidebar-logo {
    max-height: 38px;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, .35));
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(90deg,
            rgba(255, 215, 0, .15),
            rgba(255, 215, 0, .02));
    border-bottom: 1px solid rgba(255, 215, 0, .18);
}

.sidebar-user i {
    font-size: 2.1em;
    color: gold;
    text-shadow: 0 0 8px rgba(255, 215, 0, .6);
}

.sidebar-user strong {
    font-size: .95em;
}

.sidebar-user span {
    font-size: .75em;
    color: #ffd700;
    opacity: .9;
}

.sidebar-nav {
    padding: 10px 0;
}

.sidebar-nav .nav-link {
    position: relative;
    margin: 6px 12px;
    padding: 12px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #f1f1f1;

    background: linear-gradient(145deg,
            rgba(255, 255, 255, .04),
            rgba(0, 0, 0, .45));

    box-shadow:
        0 4px 10px rgba(0, 0, 0, .6),
        inset 0 0 0 rgba(255, 255, 255, 0);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.sidebar-nav .nav-link i {
    min-width: 22px;
    color: gold;
    text-shadow: 0 0 6px rgba(255, 215, 0, .5);
}

.sidebar-nav .nav-link:hover {
    transform: translateY(-2px) scale(1.015);
    background: linear-gradient(135deg,
            rgba(255, 215, 0, .25),
            rgba(0, 0, 0, .45));
    box-shadow:
        0 10px 18px rgba(0, 0, 0, .8),
        inset 0 0 18px rgba(255, 215, 0, .15);
}

.sidebar-nav .nav-link.active {
    background: linear-gradient(135deg,
            rgba(255, 215, 0, .45),
            rgba(0, 0, 0, .55));
    box-shadow:
        0 6px 14px rgba(255, 215, 0, .35),
        inset 0 0 12px rgba(255, 215, 0, .35);
}

.sidebar-nav hr {
    height: 1px;
    margin: 16px 24px;
    border: none;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 215, 0, .5),
            transparent);
    box-shadow: 0 0 6px rgba(255, 215, 0, .4);
}

.sidebar-nav .logout {
    color: #ffb3b3;
}

.sidebar-nav .logout i {
    color: #ff6b6b;
}

.sidebar-nav .logout:hover {
    background: linear-gradient(135deg,
            rgba(255, 0, 0, .35),
            rgba(0, 0, 0, .6));
    box-shadow:
        0 8px 16px rgba(255, 0, 0, .4),
        inset 0 0 12px rgba(255, 0, 0, .4);
}

.offcanvas.show {
    animation: sidebarFadeIn .35s ease;
}

@keyframes sidebarFadeIn {
    from {
        opacity: .7;
        transform: translateX(25px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.offcanvas.sidebar-theme {
    scrollbar-width: thin;
    scrollbar-color: #c9a43b rgba(0, 0, 0, .4);
}

.offcanvas.sidebar-theme::-webkit-scrollbar {
    width: 6px;
}

.offcanvas.sidebar-theme::-webkit-scrollbar-track {
    background: linear-gradient(180deg,
            rgba(0, 0, 0, .6),
            rgba(255, 215, 0, .05));
    border-radius: 10px;
}

.offcanvas.sidebar-theme::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg,
            #8a6f1d,
            #ffd700,
            #8a6f1d);
    border-radius: 10px;
    box-shadow:
        inset 0 0 4px rgba(0, 0, 0, .6),
        0 0 6px rgba(255, 215, 0, .4);
}

.offcanvas.sidebar-theme::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg,
            #ffd700,
            #ffec8b);
}

/* ===============================
   POPUP MODAL
   =============================== */
.modal-backdrop.show {
    opacity: 0.85;
    backdrop-filter: blur(4px);
}

#popupModal .modal-content {
    background: linear-gradient(180deg, #0b0b0b, #111);
    border: 1px solid rgba(212, 175, 55, 0.4);
    /* gold */
    box-shadow:
        0 0 0 1px rgba(212, 175, 55, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    animation: popupScaleFade 0.6s ease forwards;
}

@keyframes popupScaleFade {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

#popupModal img {
    display: block;
    width: 100%;
    height: auto;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

#popupModal .modal-body {
    color: #f5f5f5;
    font-size: 0.95rem;
}

#popupModal .modal-body h1,
#popupModal .modal-body h2,
#popupModal .modal-body h3 {
    color: #d4af37;
    /* gold */
    letter-spacing: 0.5px;
}

#popupModal .modal-body p {
    color: #d0d0d0;
}

#popupModal .d-grid {
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6));
}

#popupModal .btn-primary {
    background: linear-gradient(135deg, #d4af37, #b8962e);
    border: none;
    color: #000;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 12px 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

#popupModal .btn-primary:hover {
    background: linear-gradient(135deg, #e6c35c, #d4af37);
    box-shadow:
        0 0 10px rgba(212, 175, 55, 0.6),
        0 0 25px rgba(212, 175, 55, 0.4);
    transform: translateY(-1px);
}

#popupModal .btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.6s ease;
}

#popupModal .btn-primary:hover::after {
    left: 100%;
}

#popupModal .modal-content {
    border-radius: 12px;
}

.bg-theme.text-theme .modal-content {
    background: linear-gradient(180deg, var(--black-card), var(--black-soft));
    color: #fff;
}

.bg-theme.text-theme .modal-header {
    border-color: var(--theme-accent);
}


/* ===============================
   SOCIAL MEDIA ICONS
   =============================== */
.social-gold-icons a {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    text-decoration: none !important;
    color: var(--bs-body-color, #e5e5e5);
    background: radial-gradient(circle at top, #1a1a1a, #0b0b0b);

    box-shadow:
        inset 0 0 0 1px rgba(212, 175, 55, 0.35),
        0 8px 20px rgba(0, 0, 0, 0.8);

    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.social-gold-icons a i {
    font-size: 1.2em;
    transition: transform 0.35s ease;
}

.social-gold-icons a:hover {
    color: #000;
    background: linear-gradient(145deg, #d4af37, #b8962e);
    transform: translateY(-4px) scale(1.08);

    box-shadow:
        0 0 18px rgba(212, 175, 55, 0.7),
        0 12px 30px rgba(0, 0, 0, 0.9);
}

.social-gold-icons a:hover i {
    transform: scale(1.15) rotate(-4deg);
}

.social-gold-icons a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.25),
            transparent);
    transform: translateX(-100%);
}

.social-gold-icons a:hover::after {
    animation: goldShine 0.8s ease;
}

@keyframes goldShine {
    to {
        transform: translateX(100%);
    }
}


/* =====================================================
   RESPONSIVE / MEDIA QUERIES
===================================================== */
/* Tablet besar */
@media (max-width: 1200px) {
    .movie-item {
        width: 160px;
        max-width: 160px;
    }

    .rank-number {
        font-size: 12rem;
        margin-right: -35px;
    }

    .movie-image {
        width: 225px;
    }
}

/* Tablet kecil / landscape HP */
@media (max-width: 992px) {
    .category-col {
        flex: 1 1 100%;
    }

    .movie-item {
        width: 140px;
        max-width: 140px;
    }

    .rank-number {
        font-size: 10rem;
        margin-right: -20px;
    }

    .movie-image {
        width: 200px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .rank-number {
        font-size: 8rem;
        margin-right: -25px;
    }

    .movie-image {
        width: 175px;
    }


    .main-fluid-content img.w-100 {
        width: 100% !important;
        height: auto !important;
    }

    .brand-card {
        width: 100%;
        max-width: 215px;
        height: auto;
        transform: none !important;
        box-shadow: none !important;
        filter: none;
    }

    .brand-image {
        position: relative;
        width: 100%;
        height: auto;
        overflow: hidden;
    }

    .brand-image img {
        position: static !important;
        object-fit: contain;
        aspect-ratio: 215 / 100;
        transform: none !important;
        animation: none !important;
        filter: none;
    }

    .brand-card .brand-image img {
        width: 100%;
        height: 100%;
    }

    .brand-blink .brand-image img {
        width: 90%;
        height: 80%;
    }

    .img-png {
        display: none !important;
    }

    .img-gif {
        opacity: 1 !important;
    }

    .banner-row {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .rank-number {
        font-family: 'Inter', sans-serif;
        font-size: 6rem;
        margin-right: -22px;
    }

    .movie-image {
        width: 150px;
    }

    .movie-item {
        flex: 1 1 auto;
        max-width: none;
    }

    .social-gold-icons a {
        width: 48px;
        height: 48px;
    }

    #popupModal .modal-dialog {
        margin: 1rem;
    }

    .col-market {
        width: 60%;
    }

    .col-result {
        width: 40%;
    }

}

/* =====================================================
   BANNER
===================================================== */
.banner-row {
    width: 100%;
}

.banner-item {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: var(--black-card);
    border: 1px solid var(--gold-main);
    border-radius: 12px;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.6),
        0 0 16px var(--gold-glow);
}

.banner-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}


.banner-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.45),
            transparent);
    animation: shimmer 3.5s infinite;
}

@keyframes shimmer {
    0% {
        left: -150%;
    }

    50% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

.banner-item:hover::before {
    animation-duration: 1.5s;
}

.banner-item:hover img {
    transform: scale(1.05);
    transition: transform 0.4s ease;
}

/* =====================================================
   Winner Row – Image & Text Sejajar
===================================================== */
.winner-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.winner-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.winner-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    line-height: 1.3;
}

.winner-info div {
    margin: 0;
    padding: 0;
}

.winner-username {
    font-weight: 600;
    font-size: 18px;
}

.winner-amount {
    font-size: 15px;
    font-weight: 500;
    color: #28a745;
}

.winner-title {
    font-size: 18px;
    opacity: 0.65;
}

@media (max-width: 768px) {

    #winnerList {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .winner-row {
        display: grid;
        grid-template-columns: 40px 1fr;
        align-items: center;
        gap: 8px;
        padding: 6px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 8px;
    }

    .winner-img {
        width: 80px;
        height: 80px;
        border-radius: 6px;
    }

    .winner-username {
        font-size: 12px;
    }

    .winner-amount {
        font-size: 11px;
    }

    .winner-title {
        font-size: 10px;
    }
}
