/* CSS yang diberikan dipertahankan */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    touch-action: manipulation;
}

body {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
    background-image: url('/src/image/background/background.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100vw 100vh;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.514);
    z-index: -1;
}

/* Header dan Navbar */
.top-bar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1000px;
    background: linear-gradient(135deg, #FFF4C2, #e6b000, #a88100, #302500, #000000, #e6b000, #FFF4C2);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    border: 2px solid #ffc400;
    box-shadow: inset -1px -1px 3px rgb(0, 0, 0),
            inset 1px 1px 3px rgb(255, 255, 255),
            1px 1px 3px rgb(0, 0, 0);

}

.top-bar:hover {
    background: linear-gradient(135deg, #FFF4C2, #e6b000, #a88100, #ffecae, #ffffff, #e6b000, #FFF4C2);
}

.logo {
    width: 100px;
    height: 50px;
    border-radius: 0%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hamburger-menu {
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background: rgb(0, 0, 0);
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #ffee00;
    transition: all 0.3s ease;
    box-shadow: inset -1px -1px 3px rgb(0, 0, 0),
            inset 1px 1px 3px rgb(255, 255, 255),
            1px 1px 3px rgb(0, 0, 0);
}

.hamburger-menu:hover {
    background: linear-gradient(135deg, #ffc2c2, #e60000, #300000, #e60000);
    transform: scale(1.05);
}

.hamburger-menu span {
    display: block;
    width: 28px;
    height: 3px;
    background: linear-gradient(to right, #FFF4C2, #e6b000, #302500, #e6b000);
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu:hover span {
    background: linear-gradient(to right, #FFF4C2, #e6b000, #ffffff, #e6b000);
}

.banner-container {
    position: relative;
    margin-top: 75px;
    height: 500px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    touch-action: pan-y;
}

.banner-slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.banner-slide {
    position: relative;
    min-width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-content {
    position: absolute;
    width: 100%;
    height: 200%;
    top: 0;
    left: 0;
    transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.banner-slide img {
    width: 100%;
    height: 50%;
    object-fit: cover;
    display: block;
}

.slide-arrow {
    position: absolute;
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: inset -1px -1px 3px rgb(0, 0, 0),
            inset 1px 1px 3px rgb(255, 255, 255),
            1px 1px 3px rgb(0, 0, 0);
}

.arrow-left {
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}

.arrow-right {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.arrow-up {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.arrow-down {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #ffffff;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 237, 155, 0.8);
}

.v-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.v-indicator.active {
    background: #ffffff;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 235, 148, 0.8);
}

.slide-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 10;
}
/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    body {
        max-width: 1000px;
        margin: 0 auto;
        padding: 20px;
        background-color: #000;
        color: #fff;
        overflow-x: hidden;
        background-image: url('/src/image/background/background.webp');
        background-repeat: repeat;
        background-attachment: scroll;
        background-size: contain;
        flex-direction: column;
        position: relative;
    }

    .banner-container {
        height: 350px;
        margin-top: 75px;
    }
    
    .slide-arrow {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .slide-info {
        left: 10px;
        bottom: 10px;
        padding: 10px;
        max-width: 70%;
    }
    
    .slide-info h3 {
        font-size: 18px;
    }
    
    .slide-info p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .banner-container {
        height: 250px;
    }
    
    .slide-indicators {
        bottom: 10px;
        right: 10px;
        gap: 6px;
        padding: 6px 10px;
    }
    
    .slide-counter {
        top: 10px;
        right: 10px;
        padding: 5px 10px;
        font-size: 12px;
    }
}

.footer {
    position: relative;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1000px;
    margin-top: 20px;
    background: #000000;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
    border-radius: 10%;
    border: 2px solid #ffc400;
    box-shadow: inset -1px -1px 3px rgb(0, 0, 0),
            inset 1px 1px 3px rgb(255, 255, 255),
            1px 1px 3px rgb(0, 0, 0);
}

.footer-logo {
    background:#ffffff;
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #ffc400;
    box-shadow: 0 0 20px rgba(212, 55, 55, 0.5);
    box-shadow: inset -1px -1px 3px rgb(0, 0, 0),
            inset 1px 1px 3px rgb(255, 255, 255),
            1px 1px 3px rgb(255, 0, 0);
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-title {
    font-weight: bold;
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgb(255, 0, 0);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .banner-container {
        height: 350px;
        margin-top: 75px;
    }
    
    .slide-arrow {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .slide-info {
        left: 10px;
        bottom: 10px;
        padding: 10px;
        max-width: 70%;
    }
    
    .slide-info h3 {
        font-size: 18px;
    }
    
    .slide-info p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .banner-container {
        height: 250px;
    }
    
    .slide-indicators {
        bottom: 10px;
        right: 10px;
        gap: 6px;
        padding: 6px 10px;
    }
    
    .slide-counter {
        top: 10px;
        right: 10px;
        padding: 5px 10px;
        font-size: 12px;
    }
}

.bukti-header {
    text-align: center;
    margin-bottom: 10px;
}

.bukti-header h1 {
    font-size: 2.5rem;
    color: #ffd900;
    text-shadow: 2px 2px 2px #000;
    margin-bottom: 10px;
    margin-top: 10px;
    background: linear-gradient(135deg, #000, #222, #444, #222, #000);
    padding: 15px;
    border-radius: 15px;
    border: 2px solid #ffc400;
    box-shadow: inset -1px -1px 3px rgb(0, 0, 0),
            inset 1px 1px 3px rgb(255, 255, 255),
            1px 1px 3px rgb(0, 0, 0);
}

.menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: linear-gradient(145deg, #ffc4c4, #ff5555, #ff0000, #9c0000, #4e0000, #000000, #a50000, #ff0000, #ff8d8d);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: all 1s ease;
    box-shadow: -5px 0 15px rgb(0, 0, 0);
    border-left: 3px solid #ffe600;
}

.menu-overlay.active {
    right: 0;
}

.menu-header {
    padding: 25px 20px;
    background: linear-gradient(135deg, #ffffff, #e6b000, #a88100, #4e3c00, #000000, #e6b000, #FFF4C2);
    border-bottom: 2px solid #ffe600;
    box-shadow: inset -1px -1px 3px rgb(0, 0, 0),
            inset 1px 1px 3px rgb(255, 255, 255),
            1px 1px 3px rgb(0, 0, 0);
}

.menu-header h2 {
    color: #ffffff;
    font-size: 1.8rem;
    text-align: center;
    text-shadow: 2px 2px 5px rgb(0, 0, 0);
}

.menu-content {
    padding: 20px;
    flex-grow: 1;
    overflow-y: auto;
}

.menu-items {
    list-style: none;
}

.menu-items li {
    margin-bottom: 15px;
    position: relative;
}

.menu-items > li > a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #ffffff, #e6b000, #a88100, #4e3c00, #000000, #e6b000, #FFF4C2);
    color: rgb(255, 255, 255);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border: 1px solid rgb(255, 230, 0);
    box-shadow: inset -1px -1px 3px rgb(0, 0, 0),
            inset 1px 1px 3px rgb(255, 255, 255),
            1px 1px 3px rgb(0, 0, 0);
}

.menu-items > li > a:hover {
    background: linear-gradient(135deg, #ffffff, #d3d3d3, #7e7e7e, #424242, #000000, #b9b9b9, #ffffff);
    transform: translateX(-5px);
    border-color: #ffe600;
}

.menu-items i {
    margin-right: 15px;
    color: #ffffff;
    font-size: 1.4rem;
    width: 30px;
    text-align: center;
    
}

.close-menu {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 25px;
    cursor: pointer;
    background: linear-gradient(135deg, #ffffff, #d3d3d3, #7e7e7e, #424242, #000000, #e0e0e0, #ffffff);
    border-radius: 50%;
    border: 1px solid #ffee00;
    transition: all 0.3s ease;
    box-shadow: inset -1px -1px 3px rgb(0, 0, 0),
            inset 1px 1px 3px rgb(255, 255, 255),
            1px 1px 3px rgb(0, 0, 0);
}

.close-menu:hover {
    background: linear-gradient(145deg, #ffc4c4, #ff5555, #ff0000, #9c0000, #4e0000, #000000, #ff0000, #ffbbbb, #ffffff);
    transform: rotate(90deg);
}

/* Submenu Styles */
.submenu {
    list-style: none;
    padding-top: 8px;
    padding-left: 30px;
    padding-right: 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s ease;
}

.submenu.active {
    max-height: 1000px;
}

.submenu li {
    margin-bottom: 8px;
}

.submenu a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(135deg, #ffffff, #d3d3d3, #7e7e7e, #424242, #000000, #b9b9b9, #ffffff);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.5s ease;
    font-size: 0.95rem;
    border: 1px solid rgb(255, 208, 0);
    box-shadow: inset -1px -1px 3px rgb(0, 0, 0),
            inset 1px 1px 3px rgb(255, 255, 255),
            1px 1px 3px rgb(0, 0, 0);
}

.submenu a:hover {
    background: linear-gradient(135deg, #ffc4c4, #ff5555, #ff0000, #9c0000, #4e0000, #000000, #a50000, #ff0000, #ff8d8d);
    transform: translateX(-20px);
    border: 1px solid rgb(255, 208, 0);
}

.submenu i {
    font-size: 1rem;
    width: 25px;
    margin-right: 10px;
}

.has-submenu > a::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: auto;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.has-submenu.active > a::after {
    transform: rotate(180deg);
}

.provider-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.provider-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: grayscale(100%) brightness(0.7);
    border: 2px solid #ffffff;
    box-shadow: inset -1px -1px 3px rgb(0, 0, 0),
            inset 1px 1px 3px rgb(255, 255, 255),
            1px 1px 3px rgb(0, 0, 0);
}

.provider-logo:hover {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(212,175,55,0.5);
    border-color: #ffc400;
    box-shadow: inset -1px -1px 3px rgb(0, 0, 0),
            inset 1px 1px 3px rgb(255, 255, 255),
            1px 1px 3px rgb(255, 217, 0);
}

.provider-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    box-shadow: inset -1px -1px 3px rgb(0, 0, 0),
            inset 1px 1px 3px rgb(255, 255, 255),
            1px 1px 3px rgb(0, 0, 0);
}

.copyright {
    margin-top: 20px;
    color: #aaa;
    font-size: 0.9rem;
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #262626;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-content {
    text-align: center;
}

.loading-content img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.loading-text {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
}

.loading-dots::after {
    content: '';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0% { content: '.'; }
    33% { content: '..'; }
    66% { content: '...'; }
    100% { content: '.'; }
}

/* Tournament Styles */
.tournament-container {
    margin-top: 10px;
    padding: 20px;
    animation: fadeIn 0.5s ease-out;
}

.tournament-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #000000;
    position: relative;
    display: inline-block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, rgb(255, 255, 255), rgb(255, 255, 255));
    border: 2px solid #ffc400;
    border-radius: 15px;
    box-shadow: inset -1px -1px 3px rgb(0, 0, 0),
            inset 1px 1px 3px rgb(255, 255, 255),
            1px 1px 3px rgb(0, 0, 0);    
}

.tournament-title::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: transparent;
    text-shadow: 0 0 10px rgba(255, 217, 0, 0.5);
    background: linear-gradient(90deg, #ffd900, #ff6b00, #ffd900);
    -webkit-background-clip: text;
    background-clip: text;
    z-index: -1;
}

.prize-section {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
}

.prize-card {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.39), rgb(0, 0, 0));
    border: 2px solid #ffd900;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
    box-shadow: inset -1px -1px 3px rgb(0, 0, 0),
            inset 1px 1px 3px rgb(255, 255, 255),
            1px 1px 3px rgb(0, 0, 0);
}

.prize-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.445), rgb(255, 255, 255));
}

.prize-image {
    width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.prize-rank {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 2px 2px 3px rgb(0, 0, 0);
}

.prize-icon {
    font-size: 2.5rem;
    margin: 10px 0;
    color: #ffd900;
    text-shadow: 2px 2px 3px rgb(0, 0, 0);
}

.prize-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 2px 2px 3px rgb(0, 0, 0);
}

.prize-desc {
    font-size: 0.9rem;
    color: #00ff15;
    text-shadow: 1px 1px 3px rgb(0, 0, 0);
    font-weight: bold;
}

.winners-section {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.541), rgb(30, 30, 30));
    border: 2px solid #ffd900;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: inset -1px -1px 3px rgb(0, 0, 0),
            inset 1px 1px 3px rgb(255, 255, 255),
            1px 1px 3px rgb(0, 0, 0);    
}

.section-title {
    font-size: 1.8rem;
    color: #ffd900;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 0 10px rgb(255, 217, 0);
    padding-bottom: 10px;
    border-bottom: 2px solid #ffd900;
}

.last-month-winners {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.winner-card {
    background: linear-gradient(145deg, rgba(70, 65, 0, 0.568), rgb(255, 217, 0));
    border: 1px solid #ffd900;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: inset -1px -1px 3px rgb(0, 0, 0),
            inset 1px 1px 3px rgb(255, 255, 255),
            1px 1px 3px rgb(0, 0, 0);
}

.winner-card:hover {
    transform: scale(1.02);
    background: linear-gradient(145deg, rgba(255, 0, 0, 0.397), rgba(255, 0, 0, 0.911));

}

.winner-rank {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffd900;
    margin-bottom: 10px;
    text-shadow: 0 2px 3px rgb(0, 0, 0);
}

.winner-id {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: bold;
    text-shadow: 0 2px 3px rgb(0, 0, 0);
}

.winner-to {
    font-size: 1.1rem;
    color: #ff6600;
    margin-bottom: 10px;
    font-weight: bold;
    text-shadow: 0 2px 3px rgb(0, 0, 0);
}

.winner-prize {
    font-size: 1rem;
    color: #00ff0d;
    font-style: italic;
    font-weight: bold;
    text-shadow: 0 2px 3px rgb(0, 0, 0);
}

.current-tournament {
    background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(30,30,30,0.9));
    border: 2px solid #ffd900;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: inset -1px -1px 3px rgb(0, 0, 0),
            inset 1px 1px 3px rgb(255, 255, 255),
            1px 1px 3px rgb(0, 0, 0);
}

.tournament-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px;
    background: linear-gradient(180deg, #ff3a3a, #ff0000, #300000);    border: 2px solid #ffd900;
    border-radius: 10px;
    box-shadow: inset -1px -1px 3px rgb(0, 0, 0),
            inset 1px 1px 3px rgb(255, 255, 255),
            1px 1px 3px rgb(0, 0, 0);
}

.refresh-info {
    font-size: 1rem;
    font-weight: bold;
    text-shadow: 1px 1px 3px #000000;
    color: #ffffff;
}

.timer {
    font-size: 1.2rem;
    font-weight: bold;
    color: #000000;
    background: rgb(255, 255, 255);
    padding: 5px 15px;
    border-radius: 20px;
    border: 3px solid #ffd900;
    box-shadow: inset -1px -1px 3px rgb(0, 0, 0),
            inset 1px 1px 3px rgb(255, 255, 255),
            1px 1px 3px rgb(0, 0, 0);
}

.tournament-table-container {
    max-height: 600px;
    overflow-y: auto;
    border: 2px solid #ffd900;
    border-radius: 10px;
    box-shadow: inset -1px -1px 3px rgb(0, 0, 0),
            inset 1px 1px 3px rgb(255, 255, 255),
            1px 1px 3px rgb(0, 0, 0);
}

.tournament-table-container::-webkit-scrollbar {
    width: 12px;
    border: 2px solid #ffd900;
}

.tournament-table-container::-webkit-scrollbar-track {
    background: #000;
    border-radius: 10px;
    border: 2px solid #ffd900;
}

.tournament-table-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff0000, #b30000, #660000);
    border-radius: 10px;
    border: 2px solid #000000;
    box-shadow: inset -1px -1px 3px rgb(0, 0, 0),
            inset 1px 1px 3px rgb(255, 255, 255),
            1px 1px 3px rgb(0, 0, 0);
}

.tournament-table-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff4d4d, #ff0000, #990000);
}

.tournament-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(20, 20, 20, 0.9);
    box-shadow: inset -1px -1px 3px rgb(0, 0, 0),
            inset 1px 1px 3px rgb(255, 255, 255),
            1px 1px 3px rgb(0, 0, 0);
}

.tournament-table th {
    background: linear-gradient(180deg, #fff9a4, #ffc400, #302500);
    color: #000;
    text-shadow: 1px 1px 1px rgba(255,255,255,0.5);
    font-weight: bold;
    position: sticky;
    top: 0;
    padding: 15px;
    text-align: left;
    border-bottom: 3px solid #ffd900;
    box-shadow: inset -1px -1px 3px rgb(0, 0, 0),
            inset 1px 1px 3px rgb(255, 255, 255),
            1px 1px 3px rgb(0, 0, 0);
}

.tournament-table td {
    padding: 15px;
    border-bottom: 1px solid #ffd900;
    transition: all 0.5s ease;
    box-shadow: inset -1px -1px 3px rgb(0, 0, 0),
            inset 1px 1px 3px rgb(255, 255, 255),
            1px 1px 3px rgb(0, 0, 0);
}

.tournament-table tr:nth-child(even) {
    background: rgba(30, 30, 30, 0.7);
}

.tournament-table tr:hover {
    background: rgb(255, 208, 0);
}

.rank-cell {
    font-weight: bold;
    text-align: center;
    width: 70px;
}

.rank-1 { 
    color: #ffee00; 
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); 
}

.rank-2 { 
    color: #afafaf; 
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); 
}

.rank-3 { 
    color: #ff8000; 
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); 
}

.rank-4-10 { 
    color: #ffffff; 
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); 

}

.player-id {
    color: #ffffff;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); 

}

.deposit-amount, .to-amount {
    font-weight: bold;
    text-align: right;
}

.deposit-amount { 
    color: #00ff08; 
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); 
}

.to-amount { 
    color: #ff6a00; 
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); 
}

.view-more {
    display: block;
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background: linear-gradient(180deg, #fff9a4, #ffc400, #302500);
    color: #ffffff;
    text-shadow: 2px 2px 3px #000;
    font-weight: bold;
    text-align: center;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    box-shadow: inset -2px -2px 5px rgba(0, 0, 0, 0.699),
        inset 2px 2px 5px rgb(255, 255, 255),
        2px 2px 5px rgb(0, 0, 0);
}

.view-more:hover {
    background: linear-gradient(180deg, rgb(255, 182, 182), #ff0000, #300000);
    transform: translateY(-3px);
}

/* Animations */
.rank-up {
    animation: rankUp 1.5s ease;
    background: linear-gradient(to right, rgba(0,100,0,0.3), rgba(0,200,0,0.2)) !important;
}

.rank-down {
    animation: rankDown 1.5s ease;
    background: linear-gradient(to right, rgba(100,0,0,0.3), rgba(200,0,0,0.2)) !important;
}

@keyframes rankUp {
    0% { background-color: rgba(0, 100, 0, 0.5); }
    50% { background-color: rgba(0, 200, 0, 0.7); }
    100% { background-color: transparent; }
}

@keyframes rankDown {
    0% { background-color: rgba(100, 0, 0, 0.5); }
    50% { background-color: rgba(200, 0, 0, 0.7); }
    100% { background-color: transparent; }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

.gold-border {
    border: 2px solid #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

.silver-border {
    border: 2px solid #c0c0c0;
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.7);
}

.bronze-border {
    border: 2px solid #cd7f32;
    box-shadow: 0 0 15px rgba(205, 127, 50, 0.7);
}

@media (max-width: 768px) {
    .tournament-container {
        margin-top: 20px;
        padding: 10px;
    }
    
    .tournament-title {
        font-size: 1.8rem;
    }
    
    .prize-card {
        min-width: 100%;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .tournament-table th, 
    .tournament-table td {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .rank-icon {
        font-size: 11px;
        left: 15%;
        top: 51%;
    }
}

/* Pemain Live Section - PERBAIKAN UTAMA */
.live-players-container {
    margin-top: 80px;
    padding: 20px;
    animation: fadeIn 0.5s ease-out;
}

.live-players-header {
    text-align: center;
    margin-bottom: 30px;
}

.live-players-header h1 {
    font-size: 2.5rem;
    color: #ffd900;
    text-shadow: 2px 2px 2px #000;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #000, #222, #444, #222, #000);
    padding: 15px;
    border-radius: 15px;
    border: 2px solid #ffc400;
    box-shadow: inset -1px -1px 3px rgb(0, 0, 0),
            inset 1px 1px 3px rgb(255, 255, 255),
            1px 1px 3px rgb(0, 0, 0);
}

.live-players-header p {
    font-size: 1.1rem;
    color: #ddd;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.live-players-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(50, 50, 50, 0.8));
    border: 2px solid #ffd900;
    border-radius: 10px;
    box-shadow: inset -1px -1px 3px rgb(0, 0, 0),
            inset 1px 1px 3px rgb(255, 255, 255),
            1px 1px 3px rgb(0, 0, 0);
}

.players-count {
    font-size: 1.1rem;
    color: #ffd900;
    font-weight: bold;
}

.view-toggle {
    display: flex;
    gap: 10px;
}

.toggle-btn {
    padding: 10px 20px;
    background: linear-gradient(180deg, #fff9a4, #ffc400, #302500);
    color: #ffffff;
    text-shadow: 1px 1px 2px #000;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: inset -2px -2px 5px rgba(0, 0, 0, 0.5),
            inset 2px 2px 5px rgba(255, 255, 255, 0.5),
            2px 2px 5px rgba(0, 0, 0, 0.8);
}

.toggle-btn.active {
    background: linear-gradient(180deg, #ffa4a4, #ff0000, #300000);
    color: #fff;
}

.toggle-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 217, 0, 0.4);
}

.live-players-table-container {
    max-height: 600px;
    overflow-y: auto;
    border: 2px solid #ffd900;
    border-radius: 10px;
    box-shadow: inset -1px -1px 3px rgb(0, 0, 0),
            inset 1px 1px 3px rgb(255, 255, 255),
            1px 1px 3px rgb(0, 0, 0);
}

.live-players-table-container::-webkit-scrollbar {
    width: 12px;
}

.live-players-table-container::-webkit-scrollbar-track {
    background: #222;
    border-radius: 10px;
}

.live-players-table-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ffd900, #ff8000, #ffd900);
    border-radius: 10px;
    border: 2px solid #000;
}

.live-players-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(20, 20, 20, 0.9);
}

.live-players-table th {
    background: linear-gradient(180deg, #fff9a4, #ffc400, #302500);
    color: #000;
    text-shadow: 1px 1px 1px rgba(255,255,255,0.5);
    font-weight: bold;
    position: sticky;
    top: 0;
    padding: 15px;
    text-align: left;
    border-bottom: 3px solid #ffd900;
    box-shadow: inset -1px -1px 3px rgb(0, 0, 0),
            inset 1px 1px 3px rgb(255, 255, 255),
            1px 1px 3px rgb(0, 0, 0);
    z-index: 10;
}

.live-players-table td {
    padding: 15px;
    border-bottom: 1px solid #ffd900;
    transition: all 0.3s ease;
    box-shadow: inset -1px -1px 3px rgb(0, 0, 0),
            inset 1px 1px 3px rgb(255, 255, 255),
            1px 1px 3px rgb(0, 0, 0);
}

.live-players-table tr:nth-child(even) {
    background: rgba(30, 30, 30, 0.7);
}

.live-players-table tr:hover {
    background: rgba(255, 215, 0, 0.2);
}

.player-id-cell {
    color: #ffffff;
    font-weight: bold;
    position: relative;
}

.balance-cell, .win-cell {
    font-weight: bold;
    text-align: right;
    position: relative;
}

.balance-cell {
    color: #ffd900;
}

.win-cell {
    color: #00ff15;
}

.balance-change {
    position: absolute;
    right: 5px;
    font-size: 0.8em;
    font-weight: bold;
    opacity: 0;
    transition: all 0.5s ease;
}

.balance-change.positive {
    color: #00ff15;
    top: -20px;
    opacity: 1;
}

.balance-change.negative {
    color: #ff5555;
    top: -20px;
    opacity: 1;
}

.buy-spin {
    animation: buySpinEffect 0.8s ease infinite;
    font-weight: bold;
    color: #ff5555;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes buySpinEffect {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.balance-animation {
    animation: balanceChange 1s ease;
}

@keyframes balanceChange {
    0% { background-color: rgba(0, 100, 0, 0.3); }
    50% { background-color: rgba(0, 200, 0, 0.5); }
    100% { background-color: transparent; }
}

.win-animation {
    animation: winHighlight 1s ease;
}

@keyframes winHighlight {
    0% { background-color: rgba(0, 100, 0, 0.3); }
    50% { background-color: rgba(0, 200, 0, 0.5); }
    100% { background-color: transparent; }
}

.disappearing {
    animation: disappear 1s forwards;
}

@keyframes disappear {
    0% { opacity: 1; }
    100% { opacity: 0; height: 0; padding: 0; border: none; }
}

.status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-active {
    background-color: #00ff15;
    box-shadow: 0 0 8px #00ff15;
}

.status-buy-spin {
    background-color: #ff5555;
    box-shadow: 0 0 8px #ff5555;
}

.status-inactive {
    background-color: #888;
}

.table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(30, 30, 30, 0.8);
    border-top: 2px solid #ffd900;
    border-radius: 0 0 10px 10px;
}

.update-info {
    font-size: 0.9rem;
    color: #ddd;
}

.last-updated {
    color: #ffd900;
    font-weight: bold;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .live-players-header h1 {
        font-size: 2rem;
    }
    
    .live-players-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .live-players-table th, 
    .live-players-table td {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .player-id-cell, .balance-cell, .win-cell {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .live-players-header h1 {
        font-size: 1.7rem;
    }
    
    .live-players-table {
        display: block;
        overflow-x: auto;
    }
    
    .toggle-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}
