body {
    background-image: url("img/bg-arta4d.webp") !important;
}

.container {
    background-color: #1c1c1c;
    padding-bottom: 10px;
    color: #e0e0e0;
    min-height: 100vh;
    box-shadow: 4px 4px 5px rgba(253, 253, 253, 0.5), 
                1px 0px 10px rgba(255, 255, 255, 0.3), 
                -4px -2px 15px rgba(255, 255, 255, 0.2);
}

a {
    color: rgb(255, 0, 0) !important;
}

#mainContent h1 {
    color: #003cff;
}

.title-website {
    top: 0;
    left: 0;
    width: 100%;
    position: fixed;
    background: rgba(45, 48, 53, 0.83);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 99;
}

.top-row {
    padding-top: 50px;
}

.swal2-container {
    width: 300px !important;
}

.swal2-popup {
    background-color: rgba(0, 0, 0, 0.5) !important; /* Atur opacity latar belakang di sini */
    color: #fff;
}

.card {
    margin-bottom: 10px;
    background-color: #2c2c2c !important;
    color: #f8f9fa;
    box-shadow: 0 0 7px rgb(17, 0, 255);
}

.col-6 {
    padding: 5px !important;
}

.card-body {
    padding: 5px !important;
    background-color: #2c2c2c !important;
}

.name-game {
    background-color: #333333;
    color: #ffc107;
    font-weight: 700;
    border-radius: 0px 0px 5px 5px;
}

.name-game span{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%;
}

.pola-game p {
    font-size: 17px;
    font-weight: 700;
    color: #e0e0e0;
}

.percentage {
    height: 27px;
    display: flex;
    line-height: 0;
    font-size: 0.75rem;
    background-color: #3c3c3c;
    border-radius: 2px;
    position: relative;
    z-index: 1;
}

.percentage p {
    z-index: 15;
    position: absolute;
    text-align: center;
    width: 100%;
    font-size: 14px;
    font-weight: bold;
    transform: translateY(14px);
    color: #e0e0e0;
}

.percent-bar {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-size: 1rem 1rem;
    display: flex;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background-color: #007bff;
    transition: width 0.6s ease;
    animation: progress-bar-stripes 1s linear infinite;
    z-index: 10;
}

.hover-btn {
    position: absolute;
    opacity: 0;
    background-color: rgba(45, 48, 53, 0.83);
    transition: all 0.1s ease-in-out;
    z-index: 10;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hover-btn:hover {
    opacity: 100%;
}
.card-img-top {
    object-fit: cover;
    width: 100%;
    height: 150px;
}

.play-btn {
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    color: white;
    text-align: center;
    margin-top: 75%;
    padding: 6px;
    display: block;
    background: linear-gradient(to bottom, #ffc107 0%, #b88416 88%);
    color: #000;
    border-radius: 18px;
    transition: all 0.3s ease;
}

.play-btn:hover {
    background: linear-gradient(to top, #ffc107 0%, #b88416 88%);
}

footer {
    background-color: #1c1c1c;
    color: #e0e0e0;
    padding: 10px;
}

footer span {
    font-size: 14px;
    font-weight: 600;
}

a:hover {
    text-decoration: none !important;
}

.logo-slider {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color: #2c2c2c;
    padding: 10px;
    border-radius: 5px;
    position: relative;
    overflow-x: hidden;
    padding-right: 35px;
    padding-left: 35px;
}

.logos {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: auto;
    scroll-behavior: smooth;
    flex-wrap: nowrap;
    scrollbar-width: thin;
    scrollbar-color: #007bff #f8f9fa;
}

.logo-item {
    background-color: #1c1c1c;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 150px;
}

.logo-item img {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
    margin-bottom: 10px;
}

.logo-item p {
    color: #ffffff;
    font-size: 12px;
    text-align: center;
    margin: 0;
    font-weight: 600;
}

.logo-item.selected {
    border: 2px solid #ffcc00;
    background-color: rgba(255, 204, 0, 0.2);
}

.nav {
    background-color: transparent;
    border: none;
    color: white;
    font-size: 2em;
    cursor: pointer;
    padding: 10px;
    outline: none;
}

.nav.prev {
    position: absolute;
    left: 0;
    padding-left: 10px;
}

.nav.next {
    position: absolute;
    right: 0;
}

.nav:hover {
    color: #ffc107;
}

.nav:focus {
    outline: none;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.rl-loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 10px;
}

.rl-loading-thumb {
    width: 10px;
    height: 40px;
    background-color: #41f3fd;
    margin: 4px;
    box-shadow: 0 0 12px 3px #0882ff;
    animation: rl-loading 1.5s ease-in-out infinite;
}

.rl-loading-thumb-1 { animation-delay: 0s; }
.rl-loading-thumb-2 { animation-delay: 0.5s; }
.rl-loading-thumb-3 { animation-delay: 1s; }

@keyframes rl-loading {
    20% { background: white; transform: scale(1.5); }
    40% { background: #41f3fd; transform: scale(1); }
}

.table-responsive {
    max-height: 140px;
    overflow-y: auto;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #007bff #f8f9fa;
}

.table-responsive::-webkit-scrollbar {
    width: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f8f9fa;
}

.table-responsive::-webkit-scrollbar-thumb {
    background-color: #007bff;
    border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background-color: #0056b3;
}

.container-button-blink-text {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 15px;
}

.modal-body {
    padding: 30px !important;
}

.blink-text {
    font-weight: 500;
    border: 1px solid #ffc107;
    border-radius: 4px;
    padding: 10px;
    animation: changeColor 2s linear infinite;

}

.blink-text:hover {
    color: #000080;
    text-shadow: 0px 1px 0px #feff00, 
                 0px 0px 3px #feff00, 
                 0px 0px 5px #cbe01f, 
                 0px 0px 30px #d8e01f, 
                 0px 3px 50px #e0cc1f;
}

.top-row {
    margin-top:10px;
    margin-bottom:10px;
}

.top-win {
    margin-top: 24px;
}

@keyframes changeColor {
    0%, 100% { color: red; }
    25%, 75% { color: yellow; }
    50% { color: green; }
}

.leaderboard {
    background: linear-gradient(to bottom, #2c3240, #181c26);
    border-radius: 10px;
    box-shadow: 0 7px 30px rgba(0, 0, 0, 0.5);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    margin: 20px auto;
}

.leaderboard:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7);
}

.leaderboard h2 {
    font-size: 24px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
}

.leaderboard h2 svg {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.leaderboard ol {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.leaderboard ol li {
    position: relative;
    z-index: 1;
    font-size: 16px;
    counter-increment: leaderboard;
    padding: 0px 10px;
    margin: 10px;
    color: #fff;
    background: #333;
    border-radius: 8px;
    list-style: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 60px;
}

.leaderboard ol li mark {
    background: none;
    font-weight: 700;
    color: #fff;
    overflow: hidden; 
    margin-right: 20px;
}

.leaderboard ol li small {
    font-size: 14px;
    color: #dcdcdc;
    overflow: hidden; 
    margin-left: auto;
    font-weight: bold;
}

.leaderboard ol li:hover {
    background: #444;
    transform: translateY(-3px);
}

.leaderboard ol li::before {
    content: counter(leaderboard);
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: background 0.3s ease, transform 0.3s ease;
}

.leaderboard ol li:hover::before {
    background: rgba(255, 255, 255, 0.5);
}

.title-font {
    font-size: 30px;
    font-weight: 500;
}

@media (max-width: 992px) {
    .leaderboard {
        max-width: 100%;
    }

    .leaderboard ol {
        flex-direction: column;
    }

    .leaderboard ol li {
        width: 100%;
        margin: 10px 0;
        padding-left: 60px;
    }

    .leaderboard ol li mark,
    .leaderboard ol li small {
        font-size: 12px;
    }

    .card-img-top { height: 120px }
}

@media (max-width: 768px) {
    .blink-text { margin-top: 10px; margin-bottom: 10px; }
    .logo-slider { padding-right: 15px; padding-left: 15px; }
    .logos { padding: 0; }
    .logo-item { min-width: 120px; padding: 8px; }
    .logo-item img { max-width: 80px; max-height: 80px; }
    .logo-item p { font-size: 10px; }
    .nav { font-size: 1.5em; padding: 8px; }
    .nav.prev { left: 5px; }
    .nav.next { right: 5px; }
    .card-img-top { height: 150px }
    .title-font { font-size: 25px; font-weight: 500; }
}

@media (max-width: 480px) {
    .blink-text { margin-top: 10px; font-size: 12px; }
    .logo-item { min-width: 100px; }
    .logo-item img { max-width: 60px; max-height: 60px; }
    .logo-item p { font-size: 9px; }
    .nav { font-size: 1.2em; }
    .card-img-top { height: 150px }
    .title-font { font-size: 20px; font-weight: 500; }
    .loadMore { font-size: 12px;}
}