@import url(https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap);
@import url(https://fonts.googleapis.com/css?family=Roboto+Condensed:100,300,400,700,900);
@import url(https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;700;800&display=swap);

@font-face {
    font-family: Roboto-condensed;
    font-style: normal;
    font-weight: 300;
    src: url(/static/media/RobotoCondensed-Light.315e30bd24f609c6f8d1.ttf) format("truetype")
}

@font-face {
    font-family: Roboto-condensed;
    font-style: normal;
    font-weight: 400;
    src: url(/static/media/RobotoCondensed-Regular.fc3d2f2e3a203d0037c1.ttf) format("truetype")
}

@font-face {
    font-family: Roboto-condensed;
    font-style: normal;
    font-weight: 700;
    src: url(/static/media/RobotoCondensed-Bold.c5fe6deebafaec078e64.ttf) format("truetype")
}

:root {
    --bg: #3d3d3d;
    --semidark: #074644;
    --lightdark: #180424;
    --gray: #636979;
    --white: #ffffff;
    --blue: #074644;
    --banner: url("../img/banner.svg") no-repeat;
}

* {
    list-style-type: none !important;
    text-decoration: none !important;
    scrollbar-width: thin !important;
}

body {
    font-family: "Roboto Condensed";
    background: var(--bg);
}

a {
    text-decoration: none;
}

@media (min-width: 1400px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1380px;
    }
}

.f-g {
    font-size: 14px;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.header {
    /*
    position: fixed;
    top: 0;
    left: 0;*/
    width: 100%;
    background-color: var(--semidark);
    z-index: 100;
    transition: 0.4s;
}

/*=============== NAV ===============*/
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__img {
    width: 32px;
    border-radius: 50%;
}

.nav__logo {
    color: var(--white);
    font-weight: 600;
    font-size: 18px;
}

.nav__logo span {
    color: var(--blue);
    font-weight: 700;
}

.casino-buttons-container,
.page-header {
    display: none !important;
}

@media screen and (max-width: 767px) {
    .nav__menu {
        position: fixed;
        bottom: 0;
        left: 0;
        background-color: var(--bg);
        border-top: 1px solid var(--semidark);
        width: 100%;
        padding: 1rem 1rem;
        display: grid;
        align-content: center;
        border-radius: 1.25rem 1.25rem 0 0;
        transition: 0.4s;
        z-index: 1000;
    }

    .search_bar .form-control {
        width: 100% !important;
    }

    .search_bar {
        width: 100% !important;
    }

    .casino-buttons-container,
    .page-header {
        display: flex !important;
    }
}

.nav__list,
.nav__link {
    display: flex;
    align-items: center;
}

.nav__link {
    flex-direction: column;
    align-items: center;
    row-gap: 4px;
    color: var(--white);
    font-weight: 600;
}

.nav__link:hover {
    color: var(--blue);
}

.nav__link svg,
.nav__link:hover svg {
    fill: var(--blue) !important;
}

.nav__link svg,
.btn-login svg {
    width: 2rem;
    height: 2rem;
    fill: var(--gray);
}

.btn-login {
    font-size: 0.625rem;
}

.btn-login svg {
    fill: var(--white) !important;
}

.btn-login:hover svg {
    fill: var(--white) !important;
}

.btn-login:hover,
.btn-login:active,
.btn-login:focus {
    background-color: transparent;
}

.nav__list {
    justify-content: space-around;
}

.nav__name {
    font-size: 0.625rem;
    /* display: none; */
    /* Minimalist design, hidden labels */
}

/* Change background header */
.scroll-header {
    box-shadow: 0 1px 12px rgba(25, 92, 92, 0.15);
}

/*=============== MEDIA QUERIES ===============*/
/* For small devices */
/* Remove if you choose, the minimalist design */
@media screen and (max-width: 320px) {
    .nav__name {
        display: none;
    }
}

/* For medium devices */
@media screen and (min-width: 576px) {
    .nav__list {
        justify-content: center;
        column-gap: 3rem;
    }
}

.login-nav {
    display: none;
}

.logo {
    color: var(--white);
    font-weight: 600;
    font-size: 26px !important;
}

.logo span {
    color: var(--blue);
    font-weight: 700;
}

.text-gray {
    color: var(--gray) !important;
    font-size: 13px;
    font-weight: 500;
}

.login-card {
    padding: 10px !important;
    border-radius: 10px !important;
}

.btn-my {
    background-color: var(--blue);
    padding: 10px 20px;
    font-size: 15px;
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
    flex-direction: inherit;
    border: none !important;
    box-shadow: none !important;
}

.btn-my:hover,
.btn-my:active,
.btn-my:focus {
    background-color: var(--blue) !important;
    color: var(--white) !important;
}

.login {
    background-color: var(--blue);
    padding: 10px 20px;
    font-size: 15px;
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
    flex-direction: inherit;
}

.login svg {
    width: 16px;
    height: 20px;
    fill: var(--white);
}

.login:hover svg {
    fill: var(--white);
}

.login:hover,
.login:active,
.login:focus {
    background-color: var(--blue);
    color: var(--white);
}

.home-navs .card {
    border: none;
    background-color: #323232;
}

.home-navs .card svg {
    height: 70px;
    fill: var(--blue);
    margin-left: auto;
    margin-right: auto;
}

.home-navs .card h3 {
    font-size: 14px !important;
}

.card-details {
    background-color: var(--lightdark) !important;
    border: none !important;
}

.card-details .card-body .form-control {
    background-color: white !important;
}

.card-details .card-header {
    background-color: var(--lightdarkdark) !important;
    /*border-bottom: 1px solid var(--gray) !important;*/
}

.btn-primary {
    background-color: var(--blue);
    border: none !important;
    color: var(--white) !important;
    font-weight: 500 !important;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background-color: var(--blue) !important;
    color: var(--white) !important;
}

.form-control:disabled {
    background-color: var(--lightdarkdark) !important;
    border-bottom: 1px solid var(--lightdark) !important;
}

.list-group-item {
    background-color: var(--semidark) !important;
    border: none !important;
    color: var(--white) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}

.list-group-item:hover {
    background-color: var(--blue) !important;
    border: none !important;
    color: var(--white) !important;
}

.table {
    color: var(--white) !important;
    font-size: 14px !important;
    border: 1px solid var(--bg) !important;
    background-color: var(--semidark) !important;
    border-radius: 10px !important;
}

.table> :not(caption)>*>* {
    background-color: var(--semidark) !important;
    color: var(--white) !important;
}

.home-navs {
    background-color: #3d3d3d;
}

@media screen and (max-width: 480px) {
    .home-navs .card {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
        padding-left: 0.2rem !important;
        padding-right: 0.2rem !important;
    }

    .home-navs .card h3 {
        font-size: 12px;
    }
}

.lang-desktop {
    display: none;
}

.lang-desktop img {
    width: 20px;
    height: 20px;
}

.lang-mobile img {
    width: 20px;
    height: 20px;
}

.mobile-part {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.mobile-account {
    padding: 8px 14px !important;
    font-size: 14px !important;
}

.user-sidebar-desktop {
    display: none;
}

.user-sidebar-mobile {
    display: block;
}

@media screen and (min-width: 767px) {
    .lang-desktop {
        display: block;
    }

    .lang-mobile {
        display: none;
    }

    .user-sidebar-mobile {
        display: none !important;
    }

    .user-sidebar-desktop {
        display: block;
    }

    .mobile-part {
        display: none;
    }

    .nav-home,
    .nav-support {
        display: none;
    }

    .section {
        padding: 7rem 0 2rem;
    }

    .nav {}

    .login {
        display: none;
    }

    .login-nav {
        display: block;
    }

    .nav__icon {
        display: none;
    }

    .nav__name {
        font-size: 14px;
        /* display: block; */
        /* Minimalist design, visible labels */
    }

    .nav__link:hover {
        color: var(--blue);
    }

    .nav__link:hover svg {
        fill: var(--blue);
    }

    .nav__link {
        flex-direction: initial;
        gap: 0.2rem;
        align-items: center;
        row-gap: 4px;
        color: var(--gray);
        font-weight: 600;
    }

    .nav__link svg {
        width: 1.4rem;
        height: 1.4rem;
        fill: var(--blue);
    }

    .btn-login {
        background-color: var(--blue);
        padding: 10px 20px;
        font-size: 15px;
        color: var(--white);
        border-radius: 8px;
        font-weight: 600;
    }

    .btn-login svg {
        width: 16px;
        height: 20px;
        fill: var(--white) !important;
    }

    .btn-login:hover svg {
        fill: var(--white);
    }

    .btn-login:hover,
    .btn-login:active,
    .btn-login:focus {
        background-color: var(--blue);
        color: var(--white);
    }
}

.banner {
    padding-top: 8rem;
    background: var(--banner);
    background-size: cover;
    background-position: center right;
}

.banner img {
    max-height: 500px;
}

.banner span {
    color: var(--blue);
    background-color: rgba(4, 148, 252, 0.2);
    border: 1px solid var(--blue);
    padding: 6px 10px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
}

.banner h1 {
    color: var(--white);
    font-weight: 800;
    font-size: 48px;
}

.banner p {
    color: var(--gray);
}

.casino-title {
    color: var(--white);
    font-weight: 600;
    font-size: 25px;
}

.search-active {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-active .provider-header {
    display: none;
}

.game {
    height: 200px;
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.5s ease-in-out;
    /* Glatka animacija za .game */
}

.game_block {
    position: absolute;
    top: 0;
    left: 0;
    /*background-color: var(--bg);*/
    /*opacity: 0.4; */
    z-index: 2;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
    /* Opcionalno, ako želiš animaciju promene opacity */
}

.game img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    z-index: 1;
    transition: transform 0.5s ease-in-out;
    /* Glatka animacija za sliku */
}

/* Hover efekat */
.game:hover img {
    transform: scale(1.1) rotate(1deg);
    /* Zumiranje i mala rotacija */
}

.game:hover {
    transform: scale(1.01);
    /* Malo zumiranje celog elementa za efekat */
}

.game:hover .game_block {
    opacity: 0;
}

.game-box h6 {
    font-size: 15px;
}

.card {
    background: var(--lightdark);
}

#searchButton {
    background-color: var(--blue);
    padding: 9px 20px;
    font-size: 15px;
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
}

@media (max-width: 576px) {
    .game {
        height: 140px !important;
    }
}

@media (max-width: 480px) {
    .game {
        height: 100px !important;
    }

    .game-box h6 {
        font-size: 12px;
    }
}

.truncate-text {
    white-space: nowrap;
    /* Sprečava prelazak u novi red */
    overflow: hidden;
    /* Sakriva višak teksta */
    text-overflow: ellipsis;
    /* Dodaje tri tačke '...' */
}

.game-container h5 {
    font-weight: 600;
    font-size: 16px;
}

.view-more {
    font-size: 14px;
    font-weight: 600;
}

.view-more .arrow-icon {
    position: relative;
}

.view-more .arrow-line {
    transform: translateX(-4px);
    transition: transform 0.2s ease;
}

.view-more .arrow-stem {
    transform: scaleX(0);
    transform-origin: right;
    opacity: 0;
    transition: all 0.2s ease;
}

.view-more:hover .arrow-line {
    transform: translateX(0);
}

.view-more:hover .arrow-stem {
    transform: scaleX(1);
    opacity: 1;
}

#providerTabs .swiper-slide,
.category-swiper .swiper-slide {
    align-items: center;
    background-color: #5d5d5d;
    border-radius: 10px;
    color: #fff;
    display: flex;
    font-size: 14px;
    max-height: 46px;
    justify-content: center;
    padding: 13px 20px;
    position: relative;
    text-transform: uppercase;
    white-space: nowrap;
}

#navbar .swiper-slide {
    max-width: 9rem;
}

.category-swiper .swiper-slide .category-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    padding: 0.59rem;
}

#providerTabs .swiper-slide img {
    height: 40px;
}

#providerTabs.swiper-slide:hover,
#providerTabs .swiper-slide:active,
#providerTabs .active {
    background-color: #008161 !important;
}

#categoryTabs .active {
    background-color: #008161 !important;
}

.page-header {
    background: #5d5d5d !important;
}

.page-header svg {
    width: 20px;
    height: 20px;
}

.casino-buttons-container .btn {
    background: #5d5d5d !important;
    padding: 10px 20px;
    font-size: 18px;
    color: var(--white);
    border-radius: 8px;
    font-weight: 400;
}

.casino-buttons-container .active {
    background: #f8df37 !important;
    color: black;
    font-weight: 400 !important;
}

.casino-buttons-container .btn svg {
    width: 16px;
    height: 16px;
}

.btn-nav {
    align-items: center;
    background-color: #5d5d5d;
    border-radius: 10px;
    color: #fff;
    display: flex;
    font-size: 14px;
    height: 100%;
    justify-content: center;
    padding: 13px 20px;
    position: relative;
    text-transform: uppercase;
    white-space: nowrap;
}

.search_bar {
    display: flex;
    align-items: center;
}

.dropdown {
    font-size: 14px;
}

.dropdown-menu {
    background-color: var(--lightdark);
    border: none;
}

.dropdown-item {
    background-color: var(--lightdark);
    color: var(--gray);
    font-weight: 500;
    padding: 8px 12px;
}

.dropdown-item:hover,
.dropdown-item:active,
.dropdown-item:focus {
    background-color: var(--semidark);
    color: var(--white);
}

.dropdown-item svg {
    width: 20px;
    height: 20px;
}

.search_bar span {
    position: absolute;
    z-index: 2;
    display: block;
    padding-left: 10px;
}

.search_bar svg {
    stroke: var(--gray);
    width: 20px;
    height: 20px;
}

.search_bar .form-control {
    padding-left: 40px;
    width: 300px;
}

.form-control {
    background: var(--semidark);
    border: 1px solid rgba(99, 105, 121, 0.1);
    color: var(--gray);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: none !important;
}

label {
    color: var(--gray);
}

.form-control:hover,
.form-control:active,
.form-control:focus {
    background: var(--semidark);
    border: 1px solid rgba(99, 105, 121, 0.1);
    color: var(--gray);
}

.form-control::placeholder {
    color: var(--gray) !important;
}

.game-box {
    background: var(--semidark) !important;
    border-radius: 10px !important;
    position: relative
}

.modal-content {
    background-color: var(--lightdark) !important;
}

.modal-body a img {
    width: 20px;
    height: 20px;
}

.modal-body a span {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.modal-header {
    border-bottom: none !important;
}

.modal-header .modal-title {
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
}

.modal-header .btn-close {
    border: none !important;
    background-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    color: var(--white) !important;
}

.card-transaction {
    /*grid-template-columns: repeat(1, 1fr);*/

    /*gap: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;*/
    background-color: var(--semidark);
    border-radius: 10px;
    padding: 10px 15px;
    color: var(--gray);
}

.card-transaction .card-transaction-item {
    /*width: 100%;*/
}

.card-transaction .card-transaction-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray);
}

.card-transaction .card-transaction-item h4 {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
}

@media screen and (max-width: 767px) {
    .card-transaction {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
    }

    .card-transaction .card-transaction-item {
        display: flex;
        flex-direction: column;
        flex-basis: 100%;
        flex: 1;
    }

    .card-transaction .card-transaction-item span {
        font-size: 11px;
    }

    .card-transaction .card-transaction-item h4 {
        font-size: 15px;
    }
}

.payment-option {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    /* Par défaut, pas de bordure visible */
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 80px;
    /* Taille fixe pour éviter que le cadre change */
    height: 80px;
    /* Taille fixe pour un rendu uniforme */
    background-color: #1d1d1d;
    /* Fond neutre */
}

.payment-option img {
    max-width: 50px;
    /* Limite la taille des images */
    max-height: 50px;
    /* Limite la hauteur des images */
    transition: none;
    /* Ajouté pour ne pas avoir de transition */
}

.payment-option input[type="radio"] {
    display: none;
    /* Masque le bouton radio */
}

.payment-option:hover {
    background-color: #28a745;
    /* Couleur de survol */
}

.payment-option input[type="radio"]:checked+img {
    border: 2px solid #ffffff;
    /* Bordure blanche lors de la sélection */
    border-radius: 8px;
    padding: 2px;
    /* Petit espace pour un effet visuel propre */
}

/* Aucune modification des dimensions de l'image après sélection */

.fav-icon {
    width: 24px;
    height: 24px;
    fill: transparent;
    color: var(--blue);
}

.unfav-icon {
    width: 24px;
    height: 24px;
    fill: var(--blue);
    border: var(--blue);
}


.fav-icon-container {
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 50%;
    padding: 5px;
    z-index: 10;
    border: none;
}

.fav-icon-container:hover {
    background: #6a85df4d;
    transition: all .3s ease;
}


.title-games {
    color: #cfc4cc;
}

.swiper-slide:first-of-type {
    border-top-left-radius: 12px;
}

.swiper-slide:last-of-type {
    border-top-right-radius: 12px;
}

.shadow-max {
    box-shadow: rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px, rgba(17, 17, 26, 0.1) 0px 24px 80px;
}

.mobile-nav-container {
    border-top-right-radius: 7px;
    border-top-left-radius: 7px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #1a1a2e;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.mobile-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    max-width: 100%;
    margin: 0 auto;
    height: 63px;
}

.mobile-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #94a3b8;
    padding: 8px 4px;
    flex: 1;
    transition: all 0.2s ease;
    position: relative;
}

.mobile-nav__item--active {
    border-top-right-radius: 7px;
    border-top-left-radius: 7px;
    background-image: linear-gradient(180deg, #008161, #074644);
    color: #ffffff;
}

.mobile-nav__icon {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    color: currentColor;
}

.mobile-nav__text {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
}

.mobile-nav__item--active::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
}

@media (min-width: 768px) {
    .mobile-nav-container {
        display: none;
    }
}