@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: "Noto Serif", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    /* Change to 100–900 as needed */
    font-style: normal;
    font-variation-settings: "wdth" 100;
}


/* General styling */
.header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    align-items: center;
}

.profile-image {
    object-fit: cover;
}

.user-info {
    font-size: 16px;
    margin-left: 5px;
    color: #333;
}

.profile-icon {
    font-size: 38px;
    cursor: pointer;
    color: #495057;
    transition: color 0.3s ease;
}

.profile-icon:hover {
    color: #20c997;
}

/* Dropdown Menu */
.profile-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    /* Align dropdown to the right side */
    background: #ffffff;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.8);
    border-radius: 5px;
    width: 150px;
    display: none;
    /* Initially hide the dropdown */
    z-index: 1000;
    padding: 10px 0;
}


.dropdown-menu a {
    display: block;
    color: #343a40;
    padding: 8px 15px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-menu a:hover {
    background: #20c997;
    color: #fff;
}

/* Show dropdown on click */
.profile-dropdown.active .dropdown-menu {
    display: block;
}

.user-info565 {
    font-size: 14px;
    font-weight: bold;
    color: rgb(255, 255, 255);
    text-align: center;
    display: block;
    margin-top: 1px;
    background-color: #2b2b2b;
    border-radius: 0.4rem;
    padding: 2px 14px;
    margin-right: 10px;
}



.user-info {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    color: rgb(255, 255, 255);
    text-align: center;
    margin-top: 1px;
    border-radius: 0.4rem;
}


.user-info img {
    margin-right: 5px;
}

.user-info span {
    display: inline-block;
}

.user-info .mt-1 {
    margin-top: 5px;
}

.user-info span[style*="font-size"] {
    color: #f8f8f8;
    font-weight: bold;
    margin-right: 4px;
}


.image-grid img {
    width: 100%;
    height: auto;
    max-width: 105px;
    object-fit: cover;
    margin-bottom: 2px;
}

.image-grid .image-name {
    font-size: 16px;
    color: #343a40;
    text-align: center;
    margin-bottom: 5px;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f8f9fa;
    text-align: center;
    padding: 10px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}



/* Default Input Field Styling */
.input-field {
    width: 200px;
    height: 22px;
}

/* Responsive Input Field Width for Mobile */
@media (max-width: 768px) {
    .input-field {
        width: 100%;
        /* Adjust width for smaller screens */
        height: 22px;
        /* Slightly larger height for easier tapping */
    }
}

.foot-div {
    background: linear-gradient(to bottom, #0f1c46, #08122e) !important;
    width: 90%;
    height: 35px;
    padding: 4px 10px;
}

.foot-div:hover {
    background: linear-gradient(to bottom, #0f1c46, #08122e) !important;
    border: 1px solid #023845;
}

.foot-div .foot-name {
    font-weight: bold;
    font-size: 14px;
    color: white !important;

}



.welcome-popup {
    position: fixed;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    width: 50%;
    padding: 20px;
    background-color: #52b5e1 !important;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.5s ease-out;
    display: none;
    /* Initially hidden */
}

.welcome-popup h2 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

.welcome-popup p {
    font-size: 14px;
    margin-bottom: 15px;
}

.welcome-popup .close-btn {
    display: inline-block;
    background-color: #f44336;
    color: #fff;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.welcome-popup .close-btn:hover {
    background-color: #d32f2f;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 768px) {
    .welcome-popup {
        width: 90%;
    }
}




.banner-slider {
    width: 100%;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.banner-slider img {
    width: 100%;
    height: 200px;
}


.two-images-row {
    display: flex;
    justify-content: center;
    /* Adjust spacing between items */
    gap: 10px;
    /* Add spacing between images */
    margin: 2px auto;
    margin-top: 20px;
}

.two-image-wrapper {
    width: 100%;
    max-width: 730px;
    /* Optional: limit the maximum width */
    height: 170px;
}

.two-images-row img {
    width: 100%;
    height: 170px;
    border-radius: 0.4rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.two-images-row img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}





.three-images-row {
    display: flex;
    justify-content: center;
    /* Adjust spacing between items */
    gap: 10px;
    /* Add spacing between images */
    margin: 2px auto;

}

.image-wrapper {
    width: 100%;
    max-width: 480px;
    /* Optional: limit the maximum width */
    height: 200px;
}

.three-images-row img {
    width: 100%;
    height: 200px;
    border-radius: 0.4rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.three-images-row img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.multiple-slider {
    width: 97%;
    margin: 0px auto;
    overflow: hidden;
    margin-bottom: 20px;
    border-bottom: 2px solid #ccc;
    border-top: 2px solid #ccc;
}

.multiple-slider img {
    width: 100px;
    height: 150px;
    margin: 5px;
    border-radius: 0.4rem;
    border: 2px solid #ccc;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.multiple-slider img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-color: #007bff;
}


@media (max-width: 768px) {
    .three-images-row img {
        width: 100%;
        height: 150px;
    }

    .image-wrapper {
        height: 150px;
    }
}


.game-heading {
    margin-top: 20px;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    padding: 2px 15px;
}


/* Sub-header styling */
.sub-header {
    /* background: linear-gradient(to bottom, #0b3d0b, #064d1a, #026129, #00733a);   green*/
    /* background: linear-gradient(to bottom, #b8860b, #daa520, #ffd700, #ffec8b);   golden*/
    background: #DDB85A;
    color: #cf0804;
    font-size: 14px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.sub-header-links {
    display: flex;
    /*  gap: 25px;*/

}

.sub-link {
    color: #cf0804;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease, transform 0.2s ease;
    font-weight: bold;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.sub-link:hover {
    color: white;
    background: #ffe600;
    border-radius: 0px;
}

/* Glowing underline on hover */
.sub-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #20c997;
    transition: width 0.3s ease;
}

.sub-link:hover::after {
    width: 100%;
}

/* Blinking link effect */
.blinking-link {
    color: #ffc107;
    animation: blink-animation 1.5s infinite, glow-effect 2s infinite alternate;
    font-weight: 600;
}

@keyframes blink-animation {
    0% {
        color: #ffc107;
    }

    25% {
        color: #28a745;
    }

    50% {
        color: #dc3545;
    }

    75% {
        color: #007bff;
    }

    100% {
        color: #ffc107;
    }
}

/*  
@keyframes glow-effect {
    0% {
        text-shadow: 0 0 5px #ffc107, 0 0 10px #ffc107;
    }
    100% {
        text-shadow: 0 0 10px #dc3545, 0 0 20px #dc3545;
    }
}*/

/* Button-like effect for links */
.sub-link {
    padding: 8px 15px;
    border-radius: 0px;
    box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.sub-link:hover {
    /*    background: rgba(32, 201, 151, 0.2); */
    /*  box-shadow: 0 4px 10px rgba(32, 201, 151, 0.3); */
}







.aviator::before {
    content: '';
    position: absolute;
    top: -20px;
    /* Position half out, half in */
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: url('/assets/images/avitor_img2.png') no-repeat center center;
    background-size: contain;
}


.live-game::before {
    content: '';
    position: absolute;
    top: -20px;
    /* Position half out, half in */
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 40px;
    background: url('/assets/images/live_game.png') no-repeat center center;
    background-size: contain;
}





/* Mobile view adjustments */
@media (max-width: 768px) {
    .sub-header {
        padding: 10px;
        font-size: 12px;
        /* Slightly smaller text */
        gap: 10px;
        overflow-x: auto;
        /* Enable horizontal scroll */
    }

    .sub-header-links {
        gap: 15px;
        /* Reduce gap between links */
    }

    .sub-link {
        padding: 3px 8px;
        /* Smaller padding for links */
    }

    .banner-slider img {
        width: 100%;
        height: 200px;
    }


    .image-wrapper {
        width: 100%;
        max-width: 480px;
        /* Optional: limit the maximum width */
        height: 60px;
    }


    .three-images-row img {
        width: 100%;
        height: 60px;
    }


    .two-image-wrapper {
        width: 100%;
        max-width: 730px;
        /* Optional: limit the maximum width */
        height: 40px;
    }

    .two-images-row img {
        width: 100%;
        height: 40px;

    }

    .game-heading {
        margin-top: 5px;
    }

    .two-images-row {
        margin-top: 10px;
    }



}