/* ==============================
   Body Background
   ============================== */
body {
  background: url("https://wallpapers-clan.com/wp-content/uploads/2024/07/racing-car-red-black-background.jpg") no-repeat center center fixed !important;
  background-size: cover !important;
  color: #ffffff !important;
}

/* ==============================
   Navbar Gradient
   ============================== */
div[style*="position: fixed"][style*="top: 0"] {
    background: linear-gradient(to bottom, #000000 0%, #ab0000 50%, #000000 100%) !important;
    box-shadow: rgba(0, 0, 0, 0.5) 0 6px 6px -6px !important;
    height: 50px !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ==============================
   Logo di Tengah Header
   ============================== */
table[width="90%"] {
    margin: 0 auto !important;
    width: 90% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 50px !important;
}

table[width="90%"] img[alt="KENCANG77"] {
    height: 50px !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Menu kanan & Hamburger */
#open-right, td#open-right {
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* ==============================
   Main Menu Horizontal
   ============================== */
#main_menu_outer_container {
    background: linear-gradient(to bottom, #000000 0%, #ab0000 50%, #000000 100%) !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
}


/* ==============================
   Card Sydney 3 Prize
   ============================== */
div[style*="margin-right: 10px"][style*="margin-top: -10px"] {
    width: 100% !important;
    margin-top: -10px !important;
    margin-right: 10px !important;
    font-family: sans-serif !important;
}

div[style*="background-color: #D23838"] {
    background: linear-gradient(to bottom, #8B0000, #D23838) !important;
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
    padding: 5px 12px !important;
    cursor: pointer !important;
}

div[style*="color: #FDC23A"] {
    color: #FDC23A !important;
    font-weight: 500 !important;
    font-size: 13px !important;
}

div[style*="font-weight: 500; font-size: 12px;"] {
    font-weight: 500 !important;
    font-size: 12px !important;
}

div[style*="background-color: #6c1711; border-bottom: 2px solid #D2383A"] {
    background: linear-gradient(to bottom, #6c1711, #400a08) !important;
    border-bottom: 2px solid #D2383A !important;
    padding: 6px 12px !important;
    display: flex !important;
    align-items: center !important;
    border-bottom-left-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
    gap: 10px !important;
}

div[style*="font-size: 12px; font-weight: 500; margin: auto 10px auto auto;"] {
    font-size: 12px !important;
    font-weight: 500 !important;
    margin: auto 10px auto auto !important;
    line-height: 1.2 !important;
}

div[style*="background-color: #B50C0C"] {
    background: linear-gradient(to bottom, #ff8500, #fe6600) !important;
    color: #fff !important;
    width: 27px !important;
    line-height: 27px !important;
    border-radius: 6px !important;
    box-shadow: 1px 0.125rem 0.5rem rgba(0,0,0,0.3) !important;
    text-align: center !important;
    font-weight: 500 !important;
    cursor: pointer !important;
}

div[style*="font-size: 15px; margin: auto;"] table { margin: 0 auto !important; }

div[style*="background-color: #6c1711; border-bottom-left-radius: 20px; border-bottom-right-radius: 20px"] {
    background: linear-gradient(to bottom, #6c1711, #400a08) !important;
    border-radius: 0 0 20px 20px !important;
    padding: 6px 12px !important;
    font-size: 11px !important;
    color: #fff !important;
}

/* ==============================
   XPola Box Hitam
   ============================== */
#xpola.bg-dark {
    background: linear-gradient(145deg, #000000 0%, #1a1a1a 50%, #000000 100%) !important;
    color: #ffffff !important;
    border-radius: 0.25rem !important;
    padding: 0.25rem !important;
    text-align: center !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5) inset, 0 2px 6px rgba(255,255,255,0.05) inset !important;
}

#xpola > div {
    text-align: center !important;
    font-size: 0.8rem !important;
    padding-bottom: 5px !important;
}

#xpola i.text-success { color: #28a745 !important; }
#xpola i.text-danger { color: #dc3545 !important; }

#xpola i:hover { transform: scale(1.1) !important; transition: transform 0.2s ease !important; }

div[style*="position: fixed"][style*="bottom: 0"][style*="width: 100%"] {
    background: linear-gradient(to bottom, #0E0E0E 0%, #820000 50%, #0E0E0E 100%) !important;
    box-shadow: rgb(0 0 0 / 50%) 0 -6px 6px -6px !important;
}
/* Container button */
div[style*="background-color: #4b0500"][style*="display: flex"][style*="padding: 8px 0"] {
    display: flex !important;
    padding: 8px 0 !important;
    font-weight: 500 !important;
    gap: 12px !important;
}

/* ===== MASUK button ===== */
div[onclick*="masuk"] {
    background: linear-gradient(135deg, #D2383A, #FF5A5A, #FF0000) !important;
    display: flex !important;
    margin: auto 3% auto auto !important;
    border-radius: 8px !important;
    width: 120px !important;
    padding: 10px 0 !important;
    letter-spacing: 1px !important;
    color: #fff !important;
    font-weight: 700 !important;
    justify-content: center !important;
    align-items: center !important;
    cursor: pointer !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5) !important;
    box-shadow: 0 6px 12px rgba(255,0,0,0.6), inset 0 0 6px rgba(255,255,255,0.1) !important;
    transition: all 0.3s ease-in-out !important;
    animation: pulseRed 3s infinite alternate !important;
}

/* Hover MASUK */
div[onclick*="masuk"]:hover {
    transform: translateY(-4px) scale(1.08) !important;
    box-shadow: 0 8px 18px rgba(255,0,0,0.8), inset 0 0 8px rgba(255,255,255,0.2) !important;
    background: linear-gradient(135deg, #FF5A5A, #FF0000, #D2383A) !important;
}

/* ===== DAFTAR button ===== */
div[onclick*="daftar"] {
    background: linear-gradient(135deg, #B50C0C, #FF1A1A, #820c0c) !important;
    display: flex !important;
    margin: auto auto auto 3% !important;
    border-radius: 8px !important;
    width: 120px !important;
    padding: 10px 0 !important;
    letter-spacing: 1px !important;
    color: #fff !important;
    font-weight: 700 !important;
    justify-content: center !important;
    align-items: center !important;
    cursor: pointer !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5) !important;
    box-shadow: 0 6px 12px rgba(180,12,12,0.6), inset 0 0 6px rgba(255,255,255,0.1) !important;
    transition: all 0.3s ease-in-out !important;
    animation: pulseRed 3s infinite alternate !important;
}

/* Hover DAFTAR */
div[onclick*="daftar"]:hover {
    transform: translateY(-4px) scale(1.08) !important;
    box-shadow: 0 8px 18px rgba(180,12,12,0.8), inset 0 0 8px rgba(255,255,255,0.2) !important;
    background: linear-gradient(135deg, #FF1A1A, #B50C0C, #820c0c) !important;
}

/* ===== Keyframes Gradient Pulse ===== */
@keyframes pulseRed {
    0% {
        background-position: 0% 50% !important;
    }
    50% {
        background-position: 100% 50% !important;
    }
    100% {
        background-position: 0% 50% !important;
    }
}

div[onclick*="masuk"], div[onclick*="daftar"] {
    background-size: 200% 200% !important; /* biar gradient bisa bergerak */
}
div[style*="background-color: #D2383A"] {
    background-color: transparent !important; /* jadikan transparan */
}
/* Target khusus div Sydney 3 Prize */
div[onclick*="window.open"][style*="background-color: #D2383A"] {
background: linear-gradient(135deg, #861313 0%, #b00404 100%) !important;
border-top-left-radius: 20px !important;
border-top-right-radius: 20px !important;
padding: 3px 12px !important;
cursor: pointer !important;
box-shadow: 0 4px 12px rgba(0,0,0,0.5), inset 0 0 8px rgba(255,255,255,0.2) !important;
transition: all 0.3s ease !important;
}

/* Hover animasi */
div[onclick*="window.open"][style*="background-color: #D2383A"]:hover {
    background: linear-gradient(135deg, #ff5555 0%, #d00000 100%) !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.6), inset 0 0 10px rgba(255,255,255,0.3) !important;
}

/* Judul Sydney 3 Prize */
div[onclick*="window.open"][style*="background-color: #D2383A"] > div:first-child {
    color: #FFD700 !important; /* emas */
    font-weight: 500 !important;
    font-size: 13px !important;
}

/* Subjudul (Setiap Hari) */
div[onclick*="window.open"][style*="background-color: #D2383A"] > div:last-child {
    color: #fff !important;
    font-weight: 500 !important;
    font-size: 12px !important;
}
td[style*="margin: auto 20px auto auto"][style*="border-radius: 4px"][style*="border: 1px solid rgba(170, 165, 165, .54)"] {
    display: none !important;
}
/* Target table dengan background merah spesifik */
table[style*="background-color: #D2383A"] {
    background-color: transparent !important;   /* jadi transparan */
}