* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

header {
    background-color: #1b263b;
    padding: 10px 0;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    height: 40px;
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: #be9ffa;
    cursor: pointer;
}

footer {
    background-color: #1b263b;
    color: #be9ffa;
    padding: 20px;
    text-align: center;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
}

.footer-links li a {
    color: #be9ffa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: #778da9;
}


.table-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #c9f0f6;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.table-container h2 {
    text-align: center;
    color: #c9f0f6;
    margin-bottom: 20px;
    font-size: 1.8em;
}

.transaction-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.transaction-table thead {
    background-color: #050709;
}

.transaction-table th {
    color: #c9f0f6;
    padding: 12px;
    font-weight: bold;
    text-align: left;
}

.transaction-table tbody tr {
    background-color: #050709;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.transaction-table tbody tr:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.transaction-table td {
    padding: 12px;
    text-align: left;
    color: #c1e1ec;
    font-size: 0.95em;
}

.transaction-table a {
    color: #a2d2ff;
    text-decoration: none;
    display: flex;
    align-items: left;
    justify-content: left;
    gap: 5px;
}

.transaction-table a:hover {
    color: #ffcc99;
}

.transaction-table a::before {
    content: "🔍";
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .transaction-table thead {
        display: none;
    }

    .transaction-table,
    .transaction-table tbody,
    .transaction-table tr,
    .transaction-table td {
        display: block;
        width: 100%;
    }

    .transaction-table tr {
        margin-bottom: 15px;
    }

    .transaction-table td {
        text-align: right;
        padding: 10px;
        position: relative;
    }

    .transaction-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        font-weight: bold;
        color: #a2d2ff;
        text-align: left;
    }

    .transaction-table td:last-child {
        text-align: center;
    }
}

footer {
    background-color: #1b263b;
    color: #be9ffa;
    padding: 15px;
    text-align: center;
    flex-shrink: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links li a {
    color: #be9ffa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: #778da9;
}

.pagination-links .pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    list-style: none;
    padding: 0;
}

.pagination-links .pagination li {
    display: inline;
}

.pagination-links .pagination li a,
.pagination-links .pagination li span {
    padding: 5px 10px;
    color: #be9ffa;
    background-color: #180c27;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.pagination-links .pagination li a:hover {
    background-color: #61a5c2;
    color: #0d1b2a;
}

.pagination-links .pagination .active span {
    background-color: #1b263b;
    color: #fff;
    font-weight: bold;
    cursor: default;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slides img {
    width: 100%;
    border-radius: 8px;
}

/* Ukuran ikon di tombol Previous/Next */
.pagination-links .pagination svg {
    width: 12px;
    height: 12px;
    vertical-align: middle;
}

.banner-slider {
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    /* Sesuaikan ukuran */
    margin: 20px auto;
    position: relative;
}

.slides {
    display: flex;
    animation: slide 20s infinite;
}

.slides img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-100%);
    }

    40% {
        transform: translateX(-200%);
    }

    60% {
        transform: translateX(-300%);
    }

    80% {
        transform: translateX(-400%);
    }

    100% {
        transform: translateX(-500%);
    }
}


.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    /* Meningkatkan transparansi */
    align-items: center;
    justify-content: center;
    padding: 10px;
    overflow: hidden;
}

.table-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #170c26;
    /* Warna lebih terang */
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}


.transaction-table td {
    color: #e6f0f6;
    font-size: 0.95em;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    background-color: #1e2a38;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    object-fit: contain;
}

.close,
.prev,
.next {
    color: #f0f8ff;
    background: rgba(30, 42, 56, 0.7);
    border: 1px solid #ffffff;
    border-radius: 50%;
    cursor: pointer;
}

.modal .prev,
.modal .next {
    font-size: 50px;
    color: #be9ffa;
    padding: 15px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.modal .close {
    font-size: 30px;
    padding: 10px;
    top: 20px;
    right: 20px;
    position: absolute;
}

.modal .prev:hover,
.modal .next:hover,
.modal .close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal .prev {
    left: 10px;
}

.modal .next {
    right: 10px;
}

@media (max-width: 768px) {

    .modal .prev,
    .modal .next {
        font-size: 30px;
        padding: 10px;
    }

    .modal .close {
        font-size: 25px;
        padding: 5px;
        right: 15px;
        top: 15px;
    }

    .modal-content {
        max-width: 100%;
        max-height: 80%;
        margin: 0 10px;
    }
}


#header-slot {
    background-color: #1b2a47;
    padding-top: 1em;
    width: 17em;
    height: 4em;
    text-align: center;
    color: #ffcc00;
    font-size: 1.2em;
    margin-bottom: 5px;
}


.winner-list-container {
    overflow: hidden;
    height: 400px;
    width: 20em;
    border-radius: 8px;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 0 15px rgba(0, 0, 255, 0.5), 0 0 30px rgba(0, 0, 255, 0.4), 0 0 45px rgba(0, 0, 255, 0.3);
    animation: fieryGlow 2s infinite alternate;
}

.winner-list {
    position: absolute;
    width: 100%;
    height: auto;
}


.winner-info {
    display: flex;
    flex-direction: column;
}

.provider-name,
.username,
.amount,
.game-name {
    font-size: 0.75em;
    color: #ffcc00;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.winner-item {
    display: flex;
    align-items: center;
    margin: 0.5em;
    padding: 10px;
    background-color: #111b34;
    border-radius: 6px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);
}

.winner-item img {
    width: 3.5em;
    height: 3.5em;
    border-radius: 4px;
    margin-right: 10px;
    box-shadow: 0px 0px 5px rgba(255, 255, 255, 0.2);
}

.provider-name {
    font-size: 0.85em;
    color: #ffcc00;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    /* Tambah efek bayangan */
    margin-bottom: 2px;
}

.game-name {
    font-size: 0.7em;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 2px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.username {
    font-size: 0.85em;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 2px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.amount {
    font-size: 0.85em;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 2px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.game-card {
    position: relative;
    overflow: hidden;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: orange;
    color: black;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    display: none;
    z-index: 10;
}

.game-card:hover .play-button {
    display: block;
}




.image-container {
    overflow: hidden;
    width: 100%;
}

.image-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
}


.game-card {
    background-color: #3b1f73 !important;
    color: white !important;
    width: 220px !important;
    border-radius: 10px !important;
    padding: 20px 15px !important;
    display: inline-block !important;
    white-space: normal !important;
    position: relative !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    text-align: center;
}

.image-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 10px;
}

.image-box img {
    width: 100%;
    height: auto;
    object-fit: contain;
}


.rtp-number {
    font-size: 24px;
    font-weight: bold;
    color: #4CAF50;
    margin-bottom: 5px;
}

.rtp-progress-bar {
    background-color: #ddd;
    border-radius: 5px;
    height: 10px;
    width: 100%;
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(0, 0, 255, 0.5);
}

.rtp-progress {
    background-color: #ddd;
    border-radius: 5px;
    height: 10px;
    width: 100%;
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(0, 0, 255, 0.5);
}


.rtp-progress {
    height: 100%;
/*    background-color: #4CAF50;*/
    background-color: #00ff0a;
}

.time-info {
    font-size: 14px;
    font-weight: bold;
    margin-top: 10px;
    color: #b5a8dc;
}

.pattern-info {
    font-size: 13px;
    margin-top: 10px;
    text-align: left;
    color: #e1d7f9;
}

.pattern-item {
    font-size: 12px;
    margin: 3px 0;
    line-height: 1.2;
    color: #ddd;
}

.game-container {
    display: flex;
    justify-content: center;
    overflow-x: hidden;
    padding: 20px !important;
    white-space: normal !important;
    scrollbar-width: thin;
    scrollbar-color: #4CAF50 #2a1454;
}



.game-card {
    background-color: #3b1f73;
    color: white;
    width: 220px;
    /* Lebar kartu default */
    border-radius: 10px;
    padding: 20px 15px;
    display: inline-block;
    white-space: normal;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 100%;
}

.game-container::-webkit-scrollbar {
    width: 8px;
}

.game-container::-webkit-scrollbar-thumb {
    background-color: #4CAF50;
    border-radius: 10px;
}

.game-container::-webkit-scrollbar-track {
    background-color: #2a1454;
    border-radius: 10px;
}


.games-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    padding: 10px;
    width: 100%;
    justify-content: center;
}


/*.games-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    padding: 10px;
    width: 100%;
    justify-content: center;
}

.games-grid {
    display: flex;
    gap: 25px;
    padding: 10px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    padding: 10px;
    width: 100%;
}*/

/*@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}*/

@media (max-width: 1382px) {
    .games-grid {
        grid-template-columns: repeat(4, 1fr); /* Mengurangi kolom menjadi 3 */
        gap: 20px;
        padding: 0 10px;
    }
}

/* Tampilan Tablet */
@media (max-width: 992px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

/* Responsive Style for Tablet */
@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {

    .games-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 5px;
        box-sizing: border-box;
        justify-content: center;
    }

    .game-card {
        max-width: 150px;
        width: 100%;
        box-sizing: border-box;
        padding: 8px;
        background-color: #2d2d5f;
        border-radius: 8px;
        overflow: hidden;
        margin: 0 auto;
    }

    .game-card .image-box img {
        width: 100%;
        height: auto;
        border-radius: 6px;
    }   

    .game-card .game-title,
    .game-card .game-info {
        text-align: center;
        margin: 8px 0;
    }

    .pattern-info {
        font-size: 11px;
        line-height: 1.4;
        text-align: left;
        color: #cccccc;
        margin-top: 8px;
    }

    .pattern-item {
        font-size: 11px;
        line-height: 1.4;
        text-align: left;
        color: #cccccc;
    }
}


button.prev,
button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}

.slider-container {
    position: relative;
    overflow-x: auto;
    width: 95%;
    margin: 1em auto;
    background: linear-gradient(135deg, #0d1117, #1a1f25);
    padding: 15px 0;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6), 0 4px 8px rgba(0, 123, 255, 0.2);
    scroll-behavior: smooth;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.slider {
    display: flex;
    transition: transform 0.3s ease;
    gap: 15px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    padding: 10px;
    background-color: #1a1f25;
    min-width: 100px;
    max-width: 120px;
    transition: all 0.3s ease;
}

.logo-wrapper:hover {
    border-color: #007bff;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.5), 0 0 15px rgba(0, 123, 255, 0.4);
}

.logo-wrapper img {
    max-width: 80px;
    max-height: 48px;
    display: block;
    transition: all 0.3s ease;
}

.logo-wrapper a.active {
    border: 2px solid #007bff;
    background-color: rgba(0, 123, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.6), 0 0 20px rgba(0, 123, 255, 0.4);
    transform: scale(1.1);
}

@media (max-width: 480px) {
    .slider-container {
        padding: 10px 0;
    }

    .logo-wrapper {
        min-width: 80px;
        padding: 8px;
        border-radius: 10px;
    }

    .logo-wrapper img {
        max-width: 60px;
        max-height: 40px;
    }
}

.provider-image-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 10px;
    position: relative; 
}

.provider-game-name {
    background: linear-gradient(45deg, rgba(255, 0, 150, 0.8), rgba(0, 204, 255, 0.8));
    color: #ffffff;
    width: 100%;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 8px;
    font-size: 12px;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0px;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.provider-game-name:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .provider-game-name {
        font-size: 10px;
        padding: 4px 10px;
    }
}


