﻿body {
    /*CSS For Pagination in home page and add combined AviatorGames and Champion Games*/

    .pagination

{
    background-color: #1f1f1f !important; /* Dark background */
}

#GamesResponse .all_games, #GamesResponse {
    padding: 0 !important;
}

.page-item {
    margin: 0 5px !important;
}

.page-link {
    padding: 10px 15px !important;
    border: 1px solid #444 !important; /* Dark border */
    color: #ddd !important; /* Light text */
    background-color: #333 !important; /* Dark background */
    border-radius: 30px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: background-color 0.3s ease, color 0.3s ease !important;
}

    .page-link:hover {
        background-color: #555 !important;
        color: #fff !important;
        cursor: pointer !important;
    }

.page-item.active .page-link {
    background-color: #e74c3c !important;
    color: #fff !important; /* White text */
    border: 1px solid #e74c3c !important;
}

.page-item.disabled .page-link {
    background-color: #333 !important; /* Same background color as others */
    color: #777 !important; /* Lighter text */
    border-color: #444 !important; /* Border color for disabled */
    cursor: not-allowed !important;
}

/* Focus effect for buttons (optional) */
.page-link:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5) !important; /* Focus ring */
}

/* Add spacing between the pagination container and content */
#aviator_pagination {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

.all_games {
    padding: 2px 10px 2px 10px !important;
}

.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Changed to black with transparency */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

.play-aviatorGame-button {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    background-color: #ffffffd9;
    border-radius: 50%;
    padding: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cardCsn:hover .play-aviatorGame-button {
    opacity: 1;
    animation: bounce 0.5s infinite ease-in-out;
}

form#aviator_pagination:before {
    content: "";
    clear: both;
    display: table;
}

#GamesResponse .container {
    padding: 0;
}

}
