:root {
    --bg: #07060a;
    --bg-soft: #0e0c12;
    --panel: #15121b;
    --panel-2: #1b1724;
    --line: #2b2536;
    --purple: #e53935;          /* main red */
    --purple-bright: #ff5252;   /* bright red */
    --purple-soft: #ef5350;     /* soft red */
    --purple-line: #d32f2f;     /* red line/border */
    --purple-dark: #b71c1c;     /* dark red */
    --text: #f5f3f8;
    --muted: #a8a2b5;
    --radius: 18px;
    --radius-sm: 10px;
    --container: 1170px;
    --shadow-purple: 0 0 32px rgba(229, 57, 53, 0.22);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.55);
}

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    background: var(--bg);
    background-image:
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='rgba(229,57,53,0.06)' stroke-width='1'/%3E%3Ccircle cx='30' cy='30' r='2' fill='rgba(229,57,53,0.1)'/%3E%3C/svg%3E"),
        radial-gradient(ellipse at 50% 0%, rgba(229, 57, 53, 0.04) 0%, transparent 70%),
        radial-gradient(ellipse at 80% 20%, rgba(211, 47, 47, 0.03) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 60%, rgba(183, 28, 28, 0.03) 0%, transparent 55%);
    background-repeat: repeat, no-repeat, no-repeat, no-repeat;
    background-position: center, center, center, center;
    background-size: 60px 60px, cover, cover, cover;
    color: var(--muted);
    font-family: 'Segoe UI', system-ui, -apple-system, Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--purple);
    text-decoration: none;
    transition: var(--transition);
}
a:hover,
a:focus-visible {
    color: #fff;
    outline: none;
}
a:focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: 3px;
    border-radius: 4px;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.container {
    width: min(100% - 24px, var(--container));
    margin-inline: auto;
}
.desktop {
    display: block;
}
.mobile {
    display: none;
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 2px 32px rgba(0, 0, 0, 0.7);
    border-bottom: 1px solid rgba(183, 28, 28, 0.2);
}
.top-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(8, 8, 8, 0.7);
    padding: 7px 0;
}
.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.nav-header {
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 86px;
    gap: 18px;
}
.site-logo {
    flex-shrink: 0;
    transition: var(--transition);
}
.site-logo img {
    width: 230px;
    max-height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(229, 57, 53, 0.25));
    transition: var(--transition);
}
.site-logo:hover img {
    filter: drop-shadow(0 0 24px rgba(229, 57, 53, 0.5));
}
.page-spacer {
    height: 134px;
}

/* ===== MENUS ===== */
.contact-menu,
.login-menu,
.games-menu {
    display: flex;
    align-items: center;
}
.contact-menu {
    gap: 0;
    justify-content: flex-start;
}
.contact-menu li {
    border-left: 1px dotted rgba(180, 180, 180, 0.3);
}
.contact-menu li:first-child {
    border-left: 0;
}
.contact-menu a {
    color: #c4c4c4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 5px 16px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2px;
    transition: var(--transition);
    border-radius: 20px;
}
.contact-menu a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}
.contact-menu a .ico-svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.contact-menu a .ico-svg path,
.contact-menu a .ico-svg circle,
.contact-menu a .ico-svg rect {
    fill: #bebebe;
    transition: var(--transition);
}
.contact-menu a:hover .ico-svg path,
.contact-menu a:hover .ico-svg circle,
.contact-menu a:hover .ico-svg rect {
    fill: #fff;
}

.login-menu {
    justify-content: flex-end;
    gap: 12px;
}
.login-menu li {
    border-radius: 25px;
    overflow: hidden;
    transition: var(--transition);
}
.login-menu a {
    display: block;
    padding: 7px 28px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.6px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}
.sign-in {
    background: linear-gradient(180deg, #ff5252 0%, #d32f2f 100%);
    border: 2px solid #ff5252;
    box-shadow: 0 4px 18px rgba(183, 28, 28, 0.35);
    color: #1a0e00 !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
}
.sign-up {
    background: linear-gradient(180deg, #3a3a3a 0%, #1c1c1c 100%);
    border: 2px solid #6e6e6e;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.sign-in:hover {
    background: linear-gradient(180deg, #ff8a80 0%, #c62828 100%);
    box-shadow: 0 6px 26px rgba(183, 28, 28, 0.5);
    transform: translateY(-2px);
}
.sign-up:hover {
    background: linear-gradient(180deg, #4e4e4e 0%, #2a2a2a 100%);
    border-color: #999;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
    color: #fff !important;
}

.games-menu {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 2px;
}
.games-menu a {
    color: #cfcfcf;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 4px;
    min-width: 70px;
    padding: 10px 12px;
    text-transform: uppercase;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.4px;
    white-space: nowrap;
    border-radius: 10px;
    transition: var(--transition);
    position: relative;
}
.games-menu a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--purple);
    border-radius: 2px;
    transition: transform 0.3s ease;
}
.games-menu a:hover,
.games-menu a[aria-current="page"] {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}
.games-menu a:hover::after,
.games-menu a[aria-current="page"]::after {
    transform: translateX(-50%) scaleX(1);
}
.games-menu .ico-svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    transition: var(--transition);
}
.games-menu .ico-svg path,
.games-menu .ico-svg circle,
.games-menu .ico-svg rect,
.games-menu .ico-svg polygon {
    fill: #c4c4c4;
    transition: var(--transition);
}
.games-menu a:hover .ico-svg path,
.games-menu a:hover .ico-svg circle,
.games-menu a:hover .ico-svg rect,
.games-menu a:hover .ico-svg polygon,
.games-menu a[aria-current="page"] .ico-svg path,
.games-menu a[aria-current="page"] .ico-svg circle,
.games-menu a[aria-current="page"] .ico-svg rect,
.games-menu a[aria-current="page"] .ico-svg polygon {
    fill: var(--purple);
}

/* ===== SECTION TITLE ICONS ===== */
.section-icon {
    width: 28px;
    height: 24px;
    flex-shrink: 0;
}
.section-icon path,
.section-icon circle,
.section-icon polygon,
.section-icon rect {
    fill: var(--purple);
}

/* ===== HERO & BANNERS ===== */
.hero,
.download {
    margin: 10px auto;
}
.hero img,
.download img,
.jackpot-banner img {
    width: 100%;
    border-radius: var(--radius);
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}
.hero a {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}
.hero a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    border: 1px solid rgba(229, 57, 53, 0.25);
    pointer-events: none;
    z-index: 2;
}
.hero a:hover img {
    transform: scale(1.01);
}
.bg-row .container {
    background: var(--panel-2);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}
.jackpot-banner {
    margin-bottom: 18px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}
/* Counter di dalam section jackpot-banner */
.jackpot-banner .jackpot-counter {
    position: absolute;
    top: 50%;
    left: 65%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    pointer-events: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.jackpot-label {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--purple-bright);
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.8);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.jackpot-value {
    font-size: 56px;
    font-weight: 200;
    font-family: 'Bitcount Grid Double', monospace;
    color: #ffffff86;
    letter-spacing: 2px;
    white-space: nowrap;
    min-width: 520px;
    /* mencegah mengembang */
}

.jackpot-sub {
    margin-top: 6px;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 1px;
}

/* Responsif */
@media (max-width: 600px) {
    .jackpot-label {
        font-size: 13px;
    }
    .jackpot-value {
        font-size: 16px;
        min-width: 280px;
    }
    .jackpot-sub {
        font-size: 10px;
    }
}
.jackpot-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    border: 1px solid rgba(229, 57, 53, 0.3);
    pointer-events: none;
    z-index: 1;
}
.jackpot-banner img {
    border-radius: var(--radius);
}

/* ===== GAME SECTIONS ===== */
.game-section {
    margin-top: 20px;
}
.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--purple-bright);
    margin: 22px 0 14px;
    padding: 0 0 10px;
    border-bottom: 3px solid #b71c1c;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.3px;
    text-shadow: 0 0 20px rgba(229, 57, 53, 0.3);
}
.game-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    background: #0a0a0a;
    border: 2px solid #3a3025;
    border-radius: 26px;
    padding: 16px;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.5);
}
.game-card {
    border-radius: 22px;
    background: linear-gradient(180deg, #282828 0%, #1c1c1c 100%);
    padding: 6px;
    min-width: 0;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}
.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(229, 57, 53, 0.3);
    border-color: rgba(229, 57, 53, 0.35);
    background: linear-gradient(180deg, #333 0%, #222 100%);
}
.game-link {
    display: block;
    color: #fff;
    text-decoration: none;
}
.game-image {
    display: block;
    overflow: hidden;
    border-radius: 18px;
    background: #0d0d0d;
    position: relative;
}
.game-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    pointer-events: none;
}
.game-card:hover .game-image::after {
    border-color: rgba(229, 57, 53, 0.25);
}
.game-image img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.game-card:hover .game-image img {
    transform: scale(1.07);
}
.game-title {
    display: block;
    color: #e8e8e8;
    text-align: center;
    padding: 8px 4px 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: var(--transition);
}
.game-card:hover .game-title {
    color: var(--purple-bright);
}

/* ===== FOOTER ===== */
.site-footer {
    margin-top: 10px;
    background: #0a0a0a;
    border-top: 3px solid var(--purple-line);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.5);
}
.footer-padding {
    padding: 20px 0;
}
.footer-title {
    color: var(--purple);
    text-align: center;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.payment-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}
.payment-list li {
    width: 82px;
    min-height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--purple-line);
    border-radius: 6px;
    padding: 3px;
    background: linear-gradient(135deg, transparent 10%, rgba(255, 255, 255, 0.205) 70%, transparent 100%);
    transition: var(--transition);
}
.payment-list li:hover {
    border-color: var(--purple);
    background: #fff;
    box-shadow: 0 0 12px rgba(211, 47, 47, 0.3);
}
.payment-list img {
    width: 88px;
    max-width: 100%;
    height: auto;
    border: none;
    box-shadow: none;
}
.footer-post {
    border-top: 1px solid rgba(183, 28, 28, 0.2);
    min-height: 24px;
}
.copyright {
    border-top: 1px solid rgba(183, 28, 28, 0.2);
    text-align: center;
    font-size: 12px;
    color: #777;
    letter-spacing: 0.3px;
}
.copyright a {
    color: #aaa;
    font-weight: 600;
}
.copyright a:hover {
    color: var(--purple);
}

/* ===== SIDEBAR MOBILE ===== */
.side-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.page-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    z-index: 110;
    background: #141414;
    border-left: 1px solid #333;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.7);
}
.side-toggle:checked~.page-sidebar {
    transform: translateX(0);
}
.side-toggle:checked~.sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
}
.sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 105;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.nav-item li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-item a {
    color: #d5d5d5;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    text-transform: capitalize;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    border-radius: 0;
}
.nav-item a:hover,
.nav-item a[aria-current="page"] {
    background: #1e1e1e;
    color: #fff;
    border-left: 3px solid var(--purple);
    padding-left: 15px;
}
.nav-item .ico-svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
.nav-item .ico-svg path,
.nav-item .ico-svg circle,
.nav-item .ico-svg rect,
.nav-item .ico-svg polygon {
    fill: #bbb;
    transition: var(--transition);
}
.nav-item a:hover .ico-svg path,
.nav-item a:hover .ico-svg circle,
.nav-item a:hover .ico-svg rect,
.nav-item a:hover .ico-svg polygon,
.nav-item a[aria-current="page"] .ico-svg path,
.nav-item a[aria-current="page"] .ico-svg circle,
.nav-item a[aria-current="page"] .ico-svg rect,
.nav-item a[aria-current="page"] .ico-svg polygon {
    fill: var(--purple);
}

.deploy-sidebar {
    display: none;
    width: 48px;
    height: 60px;
    cursor: pointer;
    position: relative;
    z-index: 102;
    border-radius: 8px;
    transition: var(--transition);
}
.deploy-sidebar:hover {
    background: rgba(255, 255, 255, 0.04);
}
.hamburger-svg {
    width: 30px;
    height: 22px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.hamburger-svg rect {
    fill: #ddd;
    transition: var(--transition);
}
.deploy-sidebar:hover .hamburger-svg rect {
    fill: var(--purple);
}

/* ===== MOBILE CONTACT ===== */
.mobile-contact {
    position: fixed;
    z-index: 99;
    left: 0;
    right: 0;
    bottom: 0;
    background: #151515;
    border-top: 1px solid #444;
    padding: 5px 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
}
.mobile-contact .contact-menu {
    justify-content: center;
}
.mobile-contact .contact-menu li {
    width: 32%;
    border-left: 1px dotted rgba(180, 180, 180, 0.25);
}
.mobile-contact .contact-menu li:first-child {
    border-left: 0;
}
.mobile-contact .contact-menu a {
    font-size: 13px;
    padding: 4px 6px;
    border-radius: 20px;
}
.mobile-contact .ico-svg {
    width: 22px;
    height: 22px;
}
.mobile-contact .ico-svg path,
.mobile-contact .ico-svg circle,
.mobile-contact .ico-svg rect {
    fill: #bbb;
}
.mobile-contact a:hover .ico-svg path,
.mobile-contact a:hover .ico-svg circle,
.mobile-contact a:hover .ico-svg rect {
    fill: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 921px) {
    .desktop {
        display: none !important;
    }
    .mobile {
        display: block;
    }
    .site-header {
        border-bottom: 1px solid #b71c1c;
        background: rgba(8, 8, 8, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
    .top-header {
        display: none;
    }
    .nav-header {
        height: 60px;
        border: 0;
        background: transparent;
    }
    .nav-row {
        min-height: 60px;
        justify-content: center;
        position: relative;
    }
    .deploy-sidebar {
        display: block;
        position: absolute;
        right: 0;
        top: 0;
    }
    .site-logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 50%;
        max-width: 200px;
    }
    .site-logo img {
        width: 100%;
        margin: auto;
    }
    .page-spacer {
        height: 65px;
    }
    .hero,
    .download {
        margin: 8px auto;
    }
    .hero img,
    .download img,
    .jackpot-banner img {
        border-radius: 8px;
    }
    .mobile-login {
        padding: 8px 0;
    }
    .mobile-login .login-menu {
        justify-content: center;
        gap: 6px;
    }
    .mobile-login li {
        width: calc(50% - 6px);
        border-radius: 8px;
        text-align: center;
    }
    .mobile-login a {
        padding: 10px 20px;
        font-size: 16px;
        text-shadow: 0 0 4px rgba(0, 0, 0, 0.6);
        border-radius: 8px;
    }
    .mobile-games {
        padding: 4px 0 10px;
    }
    .mobile-games .games-menu {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 5px;
    }
    .mobile-games .games-menu a {
        min-width: 0;
        padding: 8px 2px;
        font-size: 9px;
        border-radius: 8px;
    }
    .mobile-games .ico-svg {
        width: 22px;
        height: 22px;
    }
    .bg-row .container {
        width: 100%;
        background: transparent;
        padding: 0 8px;
        border-radius: 0;
        border: none;
        box-shadow: none;
    }
    .game-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .game-card,
    .game-image {
        border-radius: 12px;
    }
    .game-image::after {
        border-radius: 12px;
    }
    .game-card:hover {
        transform: translateY(-3px);
    }
    .section-title {
        margin: 14px 0 10px;
        font-size: 17px;
    }
    .payment-list li {
        width: 24%;
        max-width: 90px;
        min-height: 36px;
    }
    .copyright {
        padding-bottom: 62px;
    }
    .section-icon {
        width: 24px;
        height: 20px;
    }
}
@media (max-width: 360px) {
    .nav-header {
        height: 50px;
    }
    .page-spacer {
        height: 52px;
    }
    .deploy-sidebar {
        height: 50px;
    }
    .mobile-login a {
        font-size: 12px;
        padding: 7px 10px;
    }
    .mobile-contact a {
        font-size: 12px;
    }
    .page-sidebar {
        width: 230px;
    }
    .game-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    .game-title {
        font-size: 10px;
    }
}
@media (max-width: 380px) {
    .mobile-games .games-menu {
        grid-template-columns: repeat(5, 1fr);
        gap: 3px;
    }
    .mobile-games .games-menu a {
        font-size: 7.5px;
        padding: 6px 1px;
    }
    .mobile-games .ico-svg {
        width: 18px;
        height: 18px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes subtlePulse {
    0%,
    100% {
        box-shadow: 0 0 18px rgba(229, 57, 53, 0.1);
    }
    50% {
        box-shadow: 0 0 32px rgba(229, 57, 53, 0.22);
    }
}
.jackpot-banner {
    animation: subtlePulse 3.5s ease-in-out infinite;
}
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}
.game-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 23px;
    background: linear-gradient(135deg, transparent 40%, rgba(229, 57, 53, 0.15) 50%, transparent 60%);
    background-size: 200% 200%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.game-card:hover::before {
    opacity: 1;
    animation: shimmer 1.8s ease-in-out infinite;
}

/* ===== HERO SLIDER FULL WIDTH ===== */
.hero-slider {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    padding-top: 40%;
    /* Rasio 2.5:1 */
    background: #000;
}

.slider-track {
    position: absolute;
    inset: 0;
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    /* Isi penuh, tidak gepeng */
    display: block;
}

/* Overlay ungu */
.slider-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(229, 57, 53, 0.1) 50%,
            rgba(0, 0, 0, 0.5) 100%);
    border-top: 1px solid rgba(229, 57, 53, 0.2);
    border-bottom: 1px solid rgba(229, 57, 53, 0.2);
    pointer-events: none;
    z-index: 2;
}

/* Navigasi titik */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--purple);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--purple-bright);
    box-shadow: 0 0 12px var(--purple);
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(229, 57, 53, 0.3);
}

/* Tombol Navigasi < > */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 40px;
    height: 80px;
    background: rgba(0, 0, 0, 0);
    border: 1px solid rgba(229, 57, 53, 0);
    color: var(--purple);
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: var(--purple-bright);
    color: #fff;
    box-shadow: 0 0 15px rgba(229, 57, 53, 0.4);
}

.slider-btn.prev {
    left: 15px;
}

.slider-btn.next {
    right: 15px;
}

/* Mobile: tombol lebih kecil */
@media (max-width: 921px) {
    .hero-slider {
        width: 100%;
        margin: 0;
        border-radius: 0;
    }
    .slider-wrapper {
        padding-top: 40%;
    }
    .slider-dots {
        bottom: 10px;
        gap: 8px;
    }
    .dot {
        width: 10px;
        height: 10px;
    }
    .slider-btn {
        width: 32px;
        height: 60px;
        font-size: 18px;
        border-radius: 6px;
    }
    .slider-btn.prev {
        left: 8px;
    }
    .slider-btn.next {
        right: 8px;
    }
}
/* ===== FAQ SECTION ===== */
.faq-section {
    margin-top: 20px;
    margin-bottom: 20px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--panel);
    border: 1px solid rgba(229, 57, 53, 0.15);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item[open] {
    border-color: var(--purple-line);
    box-shadow: 0 0 18px rgba(229, 57, 53, 0.1);
}

.faq-question {
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    /* hilangkan marker default */
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
    /* sembunyikan panah default browser */
}

.faq-arrow {
    flex-shrink: 0;
    margin-left: 12px;
    color: var(--purple);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
}

.faq-answer p {
    margin: 0;
}

@media (max-width: 600px) {
    .faq-question {
        font-size: 14px;
        padding: 14px 16px;
    }
    .faq-answer {
        padding: 0 16px 16px;
        font-size: 13px;
    }
}

/* ===== SEO & BASIC FRONTEND PROTECTION ADD-ON ===== */
.seo-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
body.protect-source {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}
body.protect-source img,
body.protect-source svg {
    -webkit-user-drag: none;
    user-drag: none;
}
/* ===== PROVIDER MARQUEE ===== */
.provider-marquee-section {
    margin: 30px 0;
    background: #0a0a0a;
    border-top: 2px solid var(--purple-line);
    border-bottom: 2px solid var(--purple-line);
    padding: 20px 0;
    overflow: hidden;
}

.provider-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.marquee-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.marquee-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 20px;
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0,0,0);
    /* lebar total akan diatur via JS jika perlu */
}

.row-top {
    animation: marqueeLeft 15s linear infinite;
}
.row-bottom {
    animation: marqueeRight 15s linear infinite;
    margin-top: 10px;
}

.marquee-img {
    height: 20px;
    width: auto;
    flex-shrink: 0;
    filter: grayscale(0.8);
    transition: filter 0.3s;
    display: block;
}
.marquee-img:hover {
    filter: grayscale(0);
}

.marquee-container:hover .marquee-row {
    animation-play-state: paused;
}

@keyframes marqueeLeft {
    0%   { transform: translate3d(0,0,0); }
    100% { transform: translate3d(-50%,0,0); }
}
@keyframes marqueeRight {
    0%   { transform: translate3d(-50%,0,0); }
    100% { transform: translate3d(0,0,0); }
}

/* Mobile */
@media (max-width: 600px) {
    .marquee-img {
        height: 35px;
    }
    .provider-title {
        font-size: 20px;
    }
    /* percepat sedikit jika diinginkan */
    .row-top {
        animation-duration: 25s;
    }
    .row-bottom {
        animation-duration: 25s;
    }
}
/* === Popup Withdraw === */
.withdraw-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;          /* ubah ke right: 20px jika ingin di kanan */
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    pointer-events: none; /* agar tidak mengganggu klik di belakangnya */
}

.popup-card {
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid #d32f2f;
    border-radius: 12px;
    padding: 12px 16px;
    min-width: 280px;
    max-width: 320px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.7), 0 0 15px rgba(229,57,53,0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), fadeOut 0.5s ease 4.5s forwards;
    pointer-events: auto;
    color: #fff;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.popup-card .avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e53935;
    background: #1a1a2e;
}

.popup-info {
    flex: 1;
    overflow: hidden;
}
.popup-info .name {
    font-weight: 700;
    font-size: 13px;
    color: #ff5252;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.popup-info .amount {
    font-weight: bold;
    font-size: 16px;
    color: #ffd700;
    margin-top: 2px;
}
.popup-info .time {
    font-size: 11px;
    color: #aaaaaa;
    margin-top: 2px;
}

/* Animasi */
@keyframes popIn {
    from { transform: translateY(80px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(20px); }
}
#side-gif {
    position: fixed;
    top: 50%;
    right: -200px; /* awal di luar layar */
    transform: translateY(-50%);
    z-index: 9998;
    width: 180px;
    transition: right 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#side-gif.show {
    right: 10px;
}
#side-gif img {
    width: 100%;
    border-radius: 12px;
}
#side-gif .close-btn {
    position: absolute;
    top: -12px;
    right: -12px;

    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(0,0,0,0.7);
}
.marquee-text-section {
    width: 100%;
    margin: 20px 0;
    background: rgba(20, 20, 20, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(229, 57, 53, 0.3);
    border-bottom: 1px solid rgba(229, 57, 53, 0.3);
    padding: 14px 0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.marquee-text-track {
    display: flex;
    width: max-content;
    animation: scrollText 25s linear infinite;
    white-space: nowrap;
}

.marquee-text-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Expletus Sans', 'Segoe UI', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    padding: 0 35px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(229, 57, 53, 0.7);
}

.marquee-text-item svg {
    flex-shrink: 0;
}

.marquee-text-track:hover {
    animation-play-state: paused;
}

@keyframes scrollText {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 600px) {
    .marquee-text-item {
        font-size: 14px;
        padding: 0 20px;
        gap: 6px;
    }
}


/* Keyframes untuk efek lampu pasar malam */
@keyframes nightMarketBorder {
    0%   { border-color: #ff0040; box-shadow: 0 0 20px #ff0040, 0 0 60px #ff0040; }
    10%  { border-color: #ff8800; box-shadow: 0 0 20px #ff8800, 0 0 60px #ff8800; }
    20%  { border-color: #ffff00; box-shadow: 0 0 20px #ffff00, 0 0 60px #ffff00; }
    30%  { border-color: #00ff40; box-shadow: 0 0 20px #00ff40, 0 0 60px #00ff40; }
    40%  { border-color: #00ccff; box-shadow: 0 0 20px #00ccff, 0 0 60px #00ccff; }
    50%  { border-color: #aa00ff; box-shadow: 0 0 20px #aa00ff, 0 0 60px #aa00ff; }
    60%  { border-color: #ff00aa; box-shadow: 0 0 20px #ff00aa, 0 0 60px #ff00aa; }
    70%  { border-color: #ff0088; box-shadow: 0 0 20px #ff0088, 0 0 60px #ff0088; }
    80%  { border-color: #ff5500; box-shadow: 0 0 20px #ff5500, 0 0 60px #ff5500; }
    90%  { border-color: #aaff00; box-shadow: 0 0 20px #aaff00, 0 0 60px #aaff00; }
    100% { border-color: #ff0040; box-shadow: 0 0 20px #ff0040, 0 0 60px #ff0040; }
}

/* Efek flicker (lampu mati-nyala) */
@keyframes neonFlicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
    20%, 24%, 55% { opacity: 0.3; }
}

/* Pasang ke elemen utama */
.site-header {
    animation: nightMarketBorder 3s linear infinite;
    border-bottom-width: 2px;
    border-bottom-style: solid;
}

.section-title {
    animation: nightMarketBorder 3s linear infinite;
    border-bottom-width: 3px;
    border-bottom-style: solid;
}

/* Game card ikut berpendar */
.game-card {
    animation: nightMarketBorder 4s linear infinite;
    border: 2px solid;
    transition: all 0.3s;
}
.game-card:hover {
    animation: none;
    border-color: #fff !important;
    box-shadow: 0 0 40px #fff, 0 0 80px #ff00aa !important;
}

/* Footer border */
.site-footer {
    animation: nightMarketBorder 3s linear infinite;
    border-top: 2px solid;
}

/* Teks judul ikut flicker warna */
.section-title, .footer-title {
    animation: neonFlicker 1.5s infinite;
}
.site-header {
    background: linear-gradient(90deg, 
        #ff0000, #ff8800, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
    background-size: 600% 600%;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.sign-in {
    background: linear-gradient(45deg, #ff0040, #ff8800, #ffff00, #00ff40);
    background-size: 400% 400%;
    animation: discoButton 2s ease infinite;
    border: none;
    box-shadow: 0 0 30px #ff0040;
}

@keyframes discoButton {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.sign-up {
    background: linear-gradient(45deg, #5500ff, #aa00ff, #ff00aa);
    background-size: 400% 400%;
    animation: discoButton 2s ease infinite reverse;
    border: none;
    box-shadow: 0 0 30px #aa00ff;
}
.marquee-text-item {
    animation: rainbowText 1.5s linear infinite;
    text-shadow: 
        0 0 10px currentColor,
        0 0 20px currentColor,
        0 0 40px currentColor;
}

@keyframes rainbowText {
    0%   { color: #ff0000; }
    16%  { color: #ff8800; }
    32%  { color: #ffff00; }
    48%  { color: #00ff00; }
    64%  { color: #00ffff; }
    80%  { color: #ff00ff; }
    100% { color: #ff0000; }
}

/* ==================================================
   PASAR MALAM – PROVIDER MARQUEE & FOOTER
   ================================================== */

/* Pastikan keyframes ini ada (jika belum ada di file sebelumnya) */
@keyframes nightMarketBorder {
    0%   { border-color: #ff0040; box-shadow: 0 0 20px #ff0040, 0 0 60px #ff0040; }
    10%  { border-color: #ff8800; box-shadow: 0 0 20px #ff8800, 0 0 60px #ff8800; }
    20%  { border-color: #ffff00; box-shadow: 0 0 20px #ffff00, 0 0 60px #ffff00; }
    30%  { border-color: #00ff40; box-shadow: 0 0 20px #00ff40, 0 0 60px #00ff40; }
    40%  { border-color: #00ccff; box-shadow: 0 0 20px #00ccff, 0 0 60px #00ccff; }
    50%  { border-color: #aa00ff; box-shadow: 0 0 20px #aa00ff, 0 0 60px #aa00ff; }
    60%  { border-color: #ff00aa; box-shadow: 0 0 20px #ff00aa, 0 0 60px #ff00aa; }
    70%  { border-color: #ff0088; box-shadow: 0 0 20px #ff0088, 0 0 60px #ff0088; }
    80%  { border-color: #ff5500; box-shadow: 0 0 20px #ff5500, 0 0 60px #ff5500; }
    90%  { border-color: #aaff00; box-shadow: 0 0 20px #aaff00, 0 0 60px #aaff00; }
    100% { border-color: #ff0040; box-shadow: 0 0 20px #ff0040, 0 0 60px #ff0040; }
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes neonFlicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
    20%, 24%, 55% { opacity: 0.3; }
}
@keyframes rainbowText {
    0%   { color: #ff0000; }
    16%  { color: #ff8800; }
    32%  { color: #ffff00; }
    48%  { color: #00ff00; }
    64%  { color: #00ffff; }
    80%  { color: #ff00ff; }
    100% { color: #ff0000; }
}

/* ---------- PROVIDER MARQUEE SECTION ---------- */
.provider-marquee-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,
        rgba(255,0,64,0.15) 0%,
        rgba(255,136,0,0.15) 25%,
        rgba(255,255,0,0.15) 50%,
        rgba(0,255,64,0.15) 75%,
        rgba(0,204,255,0.15) 100%);
    background-size: 400% 400%;
    animation: nightMarketBorder 4s linear infinite, gradientShift 6s ease infinite;
    border-top: 2px solid;
    border-bottom: 2px solid;
    box-shadow: 0 0 60px rgba(255,0,100,0.3), inset 0 0 60px rgba(255,0,100,0.1);
    backdrop-filter: blur(4px);
}

/* Efek kabut warna di belakang */
.provider-marquee-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,0,0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(255,0,128,0.15) 0%, transparent 50%);
    animation: neonFlicker 2s infinite;
    pointer-events: none;
    z-index: 0;
}

.provider-marquee-section .marquee-container {
    position: relative;
    z-index: 1;
}

/* Gambar provider ikut berkelap-kelip */
.marquee-img {
    filter: grayscale(0.5) drop-shadow(0 0 5px rgba(255,255,255,0.5));
    transition: all 0.3s;
    border-radius: 6px;
}
.marquee-img:hover {
    filter: grayscale(0) brightness(1.4) drop-shadow(0 0 15px currentColor);
    transform: scale(1.15);
    animation: neonFlicker 0.8s infinite;
}

/* ---------- FOOTER SITE ---------- */
.site-footer {
    position: relative;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a0a12 100%);
    border-top: 3px solid;
    animation: nightMarketBorder 3s linear infinite;
    box-shadow: 0 -10px 40px rgba(255,0,100,0.25);
    overflow: hidden;
}

/* Garis neon di atas footer */
.site-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent, #ff0040, #ff8800, #ffff00, #00ff40, #00ccff, #aa00ff, #ff00aa, transparent);
    background-size: 200% 100%;
    animation: gradientShift 3s linear infinite;
    filter: blur(6px);
    z-index: 2;
}

/* Judul "Metode Pembayaran" */
.footer-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: rainbowText 3s linear infinite;
    text-shadow: 0 0 20px currentColor, 0 0 40px currentColor;
    margin-bottom: 20px;
}

/* Container pembayaran */
.payment-list {
    gap: 12px;
    padding: 10px;
    justify-content: center;
}

/* Setiap item metode pembayaran */
.payment-list li {
    position: relative;
    width: 90px;
    min-height: 44px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(12px);
    transition: all 0.3s;
    overflow: hidden;
    animation: paymentGlow 3s infinite alternate;
}

/* Lingkaran cahaya berputar di belakang */
.payment-list li::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        #ff0040, #ff8800, #ffff00, #00ff40, #00ccff, #aa00ff, #ff00aa, #ff0040
    );
    animation: spinGlow 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.payment-list li:hover {
    transform: scale(1.15) translateY(-3px);
    border-color: #fff;
    box-shadow: 0 0 30px #ff00aa, 0 0 60px #ff0040;
    background: rgba(255,255,255,0.15);
}
.payment-list li:hover::before {
    opacity: 0.6;
}

/* Gambar metode pembayaran */
.payment-list li img {
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.4));
    transition: all 0.3s;
}
.payment-list li:hover img {
    filter: drop-shadow(0 0 14px #fff) brightness(1.2);
}

/* Keyframes spesial untuk border item pembayaran */
@keyframes paymentGlow {
    0%   { border-color: #ff0040; box-shadow: 0 0 8px #ff0040; }
    25%  { border-color: #ff8800; box-shadow: 0 0 8px #ff8800; }
    50%  { border-color: #00ff40; box-shadow: 0 0 8px #00ff40; }
    75%  { border-color: #aa00ff; box-shadow: 0 0 8px #aa00ff; }
    100% { border-color: #ff00aa; box-shadow: 0 0 8px #ff00aa; }
}

@keyframes spinGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Teks copyright ikut berpendaran */
.copyright {
    color: #ddd;
    text-shadow: 0 0 10px #ff00aa, 0 0 20px #ff0040;
    animation: neonFlicker 3s infinite;
    padding: 12px 0;
}
.copyright a {
    color: #fff;
    text-shadow: 0 0 8px #ff8800;
}
.copyright a:hover {
    color: #ff0;
    text-shadow: 0 0 20px #ff0;
}

/* Responsif: kecilkan animasi di mobile agar tidak berat */
@media (max-width: 600px) {
    .payment-list li {
        animation: paymentGlow 5s infinite alternate;
    }
    .provider-marquee-section {
        animation: nightMarketBorder 6s linear infinite, gradientShift 8s ease infinite;
    }
}