/* body {
    background-color: #0d0f1a;
    color: white;
} */
body.modal.show {
    overflow: hidden !important;
}
.category-btn {
    font-size: 16px;
    font-family: "Epilogue-Medium", sans-serif;
    border: 1px solid #fff;
    background-color: transparent;
    color: white;
    border-radius: 8px;
    padding: .578125rem 1.5rem;
    white-space: nowrap;
    line-height: 1;
    font-weight: 500;
}
.category-btn:hover, .category-btn:focus, .category-btn:focus-visible{
    background-color: #fff!important;
    color: #080b19;
}
/* Keep navigation buttons inside the same row as swiper */
.game-feature-slider{
    padding-right: 5.25rem;
}
.swiper.game-features-swiper{
    padding-top: 0px!important;
    position: unset;
    width: 100%;
    height: auto; 
}
.swiper.game-features-swiper .swiper-wrapper .swiper-slide{
    width: auto!important;
}
.swiper-button-prev::after, .swiper-button-next::after {
    font-size: 14px;
}
.swiper-button-next.filter-btn, .swiper-button-prev.filter-btn{
    cursor: pointer !important;
    align-items: center !important;
    justify-content: center !important;
    display: flex;
    height: 2.625rem;
    left: auto!important;
    top: auto!important;
    width: 2rem;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}
.swiper-button-prev.filter-btn{
    right: 2.5rem!important;
}
.swiper-button-next.filter-btn{
    right: 0rem!important;
}
.swiper-button-next.filter-btn:after, .swiper-button-prev.filter-btn:after{
    content: ''!important;
}
.filter-popup .text-info-filter{
    color: #fff;
    font-family: 'Epilogue-Regular', sans-serif;
}
.after-filter{
    display: none;
}
.filter-popup:hover span.text-info-filter{
    text-decoration: underline;
}
.filter-popup:hover, .filter-popup:focus, .filter-popup:focus-visible, .filter-popup:active{      
    background-color: transparent;
    border: none!important;
    outline: none!important;
}
.form-control, .form-control:focus, .form-control:active, .form-control:visited, .form-control:focus-visible{
    background-color: transparent !important;                 
    color: #fff !important;                                     
    border: none !important;
    outline: none !important;
    box-shadow: unset !important;
}
.form-control::placeholder {
    color: #fff !important;
}
.filter-searchbox{
    border: 1px solid #FFF;
}
.filter-searchbox input{
    font-family: 'Epilogue-Regular';
}
/* PopUp modal CSS */
#gfaFilterModal, #ageVerificationModal, #gameVideoModal, #languagesCurrenciesModal, #gamePopupModal, #game-screeen-popup, #videoModal, #shareModal{
    z-index: 100000001 !important;
}
.modal-backdrop.show {
    z-index: 100000000 !important;
    background-color: rgba(0, 0, 0, 0.6);
}
#gfaFilterModal .modal-dialog{
    margin: 4.5rem auto;
}
#gfaFilterModal .modal-header {
    padding: 1.4375rem 1.5rem;
    border: none;
}
#gfaFilterModal .modal-header .btn-close{
    color : #fff!important; 
}
#gfaFilterModal .modal-header .btn-close:hover{
    color : #908fa5!important;
}
#gfaFilterModal .modal-header.clear-btn-row{
    padding: 0.5rem 1.5rem;
}
#gfaFilterModal .modal-header.clear-btn-row button#clear-filters {
    margin: 0px;
    padding: 0px;
    border: none;
    color: #babacc;
    font-size: 14px;
    font-family: "Epilogue-Light", sans-serif;
}
#gfaFilterModal .modal-title {
    font-size: 18px;
    font-weight: bold;
    font-family: 'Epilogue-Regular', sans-serif;
}
#gfaFilterModal .modal-body {
    padding-left: 0px;
    height: 26.25rem;
    overflow-y: auto;
}
/* --- Target the scrollbar of the modal body container --- */
/* Webkit Scrollbar (Chrome, Safari, Edge, Opera) */
#gfaFilterModal .modal-body::-webkit-scrollbar {
    width: 2.5px;
    height: 0.5px; 
}
/* Style the scrollbar thumb with your color */
#gfaFilterModal .modal-body::-webkit-scrollbar-thumb {
    background-color: #D94A2B;
}
/* Style the scrollbar track */
#gfaFilterModal .modal-body::-webkit-scrollbar-track {
    background: #14142B;
}
#gfaFilterModal .modal-footer {
    border-top: 1px solid #2a2c39;
    justify-content: space-between;
    border: none;
    padding: 1.5rem;
}
#gfaFilterModal .modal-footer button{
    max-width: 12.5rem;
    width: 100%;
    margin: 0px;
    padding: .5rem;
    border-radius: .5rem;
    line-height: 1.375rem;
    font-family: 'Epilogue-Regular';
    border-color: #d94a2b;
}
#gfaFilterModal .modal-body .filter-section{
    padding: 1.46875rem 0 1.46875rem 1.5rem;
    border-bottom: 1px solid #2a2c39;
}
/* .modal-body .filter-section .form-main-label.collapsed svg#arrow-up{
    transform: rotate(180deg);
} */
.form-main-label svg {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}
/* Expanded state - when the collapse element has show class */
.collapse.show ~ .form-main-label svg,
.form-main-label[aria-expanded="true"] svg {
    transform: rotate(0deg);
}
.modal-body .filter-section .form-check-label{
    color: #fff;
    font-size: 1rem;
    font-family: 'Epilogue-Regular', sans-serif;
}
.modal-body .filter-options .form-check{
    padding: 1.25rem 0 0 0;
}
.modal-body .filter-options .form-check-label{
    font-size: .875rem;
}
/* Checkbox Styling */
#gfaFilterModal .form-check {
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    margin-right: .875rem;
    padding-left: 0;
}
#gfaFilterModal .form-check-input {
    background-color: transparent;
    border: 1px solid #626675;
    margin-right: 8px;
    margin-left: 0px;
    margin-top: 0px; 
    height: 1.5rem;       
    width: 1.5rem;
}
#gfaFilterModal .form-check-input:checked, .form-check-input[type=checkbox]:indeterminate{         
    background-color: #d94a2b!important;
    border-color: #d94a2b!important;
}
#gfaFilterModal .form-check-input:focus{
    box-shadow: none;
}
.filter-count-badge {
    background-color: #d94a2b;
    color: white;
    border-radius: 50px;
    padding: 4px 8px;
    font-size: 14px;
    line-height: 14px;
    font-family: 'Epilogue-Regular', sans-serif;
    min-width: 20px;
    text-align: center;
}
/* Button Styling */
#gfaFilterModal .btn-outline-light {
    border-radius: 5px;
    padding: 8px 20px;
    font-size: 14px;
    border-color: #555;
    color: #fff;
}
#gfaFilterModal .btn-outline-light:hover {
    background-color: #333;
    border-color: #666;
}
/* Accordion Styling */
.main-filter-item {
    cursor: pointer;
    margin: 0;
}
.accordion-arrow {
    transition: transform 0.2s ease;
    font-size: 0.8rem;
    color: #666;
}
[aria-expanded="true"] .accordion-arrow {
    transform: rotate(180deg);
}
.accordion-arrow.rotated {
    transform: rotate(180deg);
}
.sub-filter-parent {
    padding-left: 15px;
}
.sub-filter-options {
    padding-left: 15px;
    margin-bottom: 5px;
}
/* Login Game Filter Short Code CSS  */
.search-icon{
    border: 1px solid #fff;
    border-radius: 6px;
    position: relative;
}
#close-search{
    display: none;
}
.filter-bar {
    background-color: #1c2033;
    border-radius: 6px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.search-icon svg {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    stroke: #bfc4d9;
}
.btn-orange {
    background-color: #d94a2b!important;
    border: none;
    box-shadow: none;
    font-family: 'Epilogue-Regular', sans-serif;
    padding: 5px 14px;
    color: #fff!important;
    border-radius: 5px;
}
.btn-orange:hover,
.btn-orange:focus {
    background: #c34228!important;
    box-shadow: none;
    color: #fff!important;
}
.btn-outline-light-custom, .btn-outline-light-custom.az{
    color: #fff!important;
    padding: 5px 14px;
    border-radius: 5px;
    border: 1px solid #fff;
    font-size: 14px;
    font-family: 'Epilogue-Regular', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
}
.btn-outline-light-custom:hover,
.btn-outline-light-custom:focus, 
.btn-clear:hover, 
.btn-clear:focus, 
.cus-btn-download:hover, 
.cus-btn-download:focus, 
.btn-share:hover, 
.btn-share:focus {
    color: #fff!important;
    background-color: transparent!important;
}
.btn-outline-light-custom svg {
    stroke: #fff!important;
    width: 16px;
    height: 16px;
}
.btn-outline-light-custom.az svg {
    stroke: #fff;
    width: 16px;
    height: 16px;
}
.btn-clear svg {
    stroke: #9fa2b4;
    width: 16px;
    height: 16px;
}
.icon-btns {
    margin-left: auto;
    display: flex;
    gap: 18px;
    color: #9fa2b4;
}
.icon-btns button {
    background: none;
    border: none;
    color: #9fa2b4;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}
.icon-btns button svg {
    width: 20px;
    height: 20px;
    stroke: #9fa2b4;
    transition: stroke 0.3s ease;
}
.icon-btns button:hover svg,
.icon-btns button:focus svg {
    stroke: #d9532b;
    outline: none;
}
.filters-block .filter-tabs{
    background-color: #080b19;
    padding: 3rem 2rem 0rem !important;
    margin-left: auto;
    margin-right: auto;
}
.filters-block .filter-tabs .custom-tabs{
    max-width: 86rem;
}
.filters-block .filter-search{
    background-color: #171a29;
    max-width: 90rem;
    margin-left: auto;
    margin-right: auto;
}
.filters-block .search-filter{
    padding: 0 2rem 2rem !important;
}
.games-grid {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    column-gap: 32px;
}
.game-card {
    background: #2a2c39;
    border-radius: .5rem .5rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .161);
    color: #fff;
    aspect-ratio: 32 / 27;
    max-width: 20rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}
.icon-btns span {
    font-size: 14px;
    user-select: none;
}
.link-tab.active{
    border-radius: 0px!important;
    border-bottom: 2px solid #fff!important;
    border-top: 0px!important;
    border-left: 0px!important;
    border-right: 0px!important;
}
.link-tab{
    font-size: 16px!important;
    font-family: 'Epilogue-Regular', sans-serif;
    border-radius: 0px!important; 
    border: 0px solid transparent!important;
    color: #fff!important;
}
/* Responsive Columns */
@media (max-width: 992px) {
    .game-features-swiper .swiper-button-prev.filter-btn, .game-features-swiper .swiper-button-next.filter-btn{
        display: none;
    }
    .game-feature-slider{
        padding-right: 0px;
    }
    .games-grid {
        justify-content: center;
    }
}
@media (max-width: 768px) {
    #gfaFilterModal .col-md-6 {
        width: 100%;
    }
    .games-grid {
        justify-content: center;
    }
}
@media (max-width: 625px) {
    .game-feature-slider{
        padding-right: 0px;
        margin-bottom: 20px;
    }
    #gfaFilterModal .modal-footer {
        flex-direction: column-reverse;
    }
    #gfaFilterModal .modal-footer button{
        max-width: 100%!important;
        width: 100%!important;
        margin: 0px;
    }
    #gfaFilterModal .modal-footer button.btn-apply{
        margin-bottom: 20px;
    }
    #gfaFilterModal .modal-dialog {
        margin: 0px;
    }
    .filter-searchbox{
        border: 1px solid #FFF;
    }
    .filter-popup span.text-info-filter{
        display: none;
    }
    .game-features-swiper .swiper-button-prev.filter-btn, .game-features-swiper .swiper-button-next.filter-btn{
        display: none;
    }
    .swiper.game-features-swiper .swiper-wrapper .swiper-slide{
        width: unset !important;
    }
    .games-grid {
        justify-content: center;
    }
}