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

.custom-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 10px 7px;
}

.custom-title a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.custom-title i {
    margin-right: 12px;
    font-size: 42px;
    color: #FFFFFF;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.6));
}

.custom-title span {
    position: relative;
    z-index: 1;
    animation: glow 2s ease-in-out infinite, scale 2s ease-in-out infinite;
    font-size: 20px;
    font-weight: 800;

}

.custom-title span::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #FFFFFF, #B0E0E6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: -1;
    opacity: 0.5;
}


.custom-arrows {
    display: flex;
}

.custom-arrow {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin: 0 5px;
    transition: background .3s, transform .3s;
    border-radius: 50%;
}

.custom-arrow svg {
    width: 23px;
    height: 23px;
    fill: #fff;
}

.custom-arrow:hover,
.custom-arrow:active {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.custom-gallery {
    display: flex;
    overflow: hidden;
    padding: 10px;
    position: relative;
}

.custom-slide {
    flex: 0 0 auto;
    margin-right: 10px;
    position: relative;
    transition: transform .3s, filter .3s;
}


.hero_area {
    margin-top: 6rem;
}

.custom-img-wrap-provider {
    width: 200px;
    height: 120px;
    border: 2px solid #1e6f9f;
    background: linear-gradient(135deg, #0e131c, #1e6f9f);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5), 0 4px 6px rgba(30, 111, 159, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-img-wrap-provider:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.6), 0 5px 7px rgba(30, 111, 159, 0.3);
}


.custom-img-wrap-provider img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

@media only screen and (max-width: 1225px) {

    .mobile-menu {
        position: fixed;
        bottom: 0;
        width: 100%;
        background-color: #131a28;
        display: flex;
        justify-content: space-around;
        padding: 10px 0;
        box-shadow: 0 -2px 10px #00000080;
        z-index: 36;
    }

    .mobile-menu a {
        color: #fff;
        text-align: center;
        text-decoration: none;
        flex-grow: 1
    }

    .mobile-menu a span {
        display: block;
        font-size: 12px;
        margin-top: 5px
    }

    .mobile-menu a.active {
        color: #00bfff
    }

    .mobile-menu i {
        font-size: 24px;
        color: #a1a1a1;
        transition: all .3s
    }

    .mobile-menu i:hover {
        color: #fff
    }
}

/* Nidabet style For game category */
@media (max-width: 576px) {
    .hero_area__main .row {
        display: flex;
        flex-wrap: wrap;
    }

    .hero_area__main .col-3 {
        flex: 0 0 33.33%;
        max-width: 33.33%;
        padding: 5px;
    }
}

@media (min-width: 577px) {
    .hero_area__main .col-3,
    .hero_area__main .col-sm-6,
    .hero_area__main .col-md-4,
    .hero_area__main .col-lg-2 {
        padding: 10px;
    }
}

@media (max-width: 991px) {
    .game_categories {
        margin: 0;
        padding-left: 25px;
    }
}

.game_category_image {
    position: relative;
    overflow: hidden;
}

.game_category_image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game_category_image:hover img {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.game_categories {
    margin-top: 6rem;
}


.language-area {
    position: relative;
    /*width: 200px; !* Можно подкорректировать по ширине *!*/
}

.translate_wrapper {
    background-color: rgb(8, 15, 37); /* Задний фон */
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #fff; /* Цвет текста */
}

.current_lang {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.current_lang img {
    width: 24px; /* Размер иконки */
    height: 24px;
}

.current_lang .lang-txt {
    font-weight: bold;
    margin-left: 10px;
    color: #fff; /* Цвет текста */
}

.more_lang {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgb(8, 15, 37);
    z-index: 1000;
    width: 100%;
    margin-top: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.more_lang .currency-option {
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    /*width: 179px;*/
}

.more_lang .currency-option img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.more_lang .currency-option:hover {
    background: #1a1e3a;
}

.selected {
    background: #1a1e3a;
}

.cmn-btn {
    padding: 10px 20px;
    background-color: #35c31e;
    border: 3px solid #35c31e !important;
    border-radius: 5px;
    cursor: pointer;
    transition: .5s linear;
    color: #fff;
    font-weight: 600;
    margin: 3px;
}

@media (max-width: 991px) {
    .header-section2 .navbar {
        margin-left: 14px;
        border-left: none;
        height: 79px;
    }
}


.modal-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    margin-top: 2rem;
    margin-bottom: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    max-width: 90%;
    width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.modal-content h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #fff;
}

.modal-content input:focus {
    /*background-color: rgba(255, 255, 255, 0.2);*/
    color: black;
    box-shadow: 0 0 10px rgba(30, 144, 255, 0.8),
    0 as0 20px rgba(30, 144, 255, 0.6),
    0 0 30px rgba(30, 144, 255, 0.4);
}

.modal-content input {
    width: 100%;
    padding: 15px;
    font-size: 18px; /* Устанавливаем тот же размер шрифта, что и у плейсхолдера */
    font-weight: 600; /* Устанавливаем ту же толщину шрифта, что и у плейсхолдера */
    margin-right: 10px;
    border: none;
    border-radius: 5px;
    box-sizing: border-box;
    /*background-color: rgba(255, 255, 255, 0.2);*/
    color: rgba(255, 255, 255, 0.89);
    font-family: 'Montserrat', sans-serif;
    outline: none;
    margin-bottom: 12px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.modal-content input::placeholder {
    color: rgba(255, 255, 255, 0.89);
    font-weight: 600;
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
}

.modal-content button {
    padding: 15px 30px;
    font-size: 20px;
    border: none;
    background-color: #1e90ff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(30, 144, 255, 0.5);
}

.modal-content button:hover {
    background-color: #0a74d3;
    transform: translateY(-2px);
}

.shiny-button {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.shiny-button::before,
.shiny-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.7);
    opacity: 0;
    animation: shine 3s infinite;
}

.shiny-button::before {
    top: 0;
    left: -100%;
}

.shiny-button::after {
    bottom: 0;
    right: -100%;
    animation-delay: 1.5s;
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(100%);
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

.shiny-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%) rotate(0deg);
    animation: additionalShine 5s infinite;
    pointer-events: none;
}

@keyframes additionalShine {
    0% {
        transform: translateY(-50%) translateX(-100%) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: translateY(-50%) translateX(100%) rotate(0deg);
        opacity: 0.5;
    }
    100% {
        transform: translateY(-50%) translateX(100%) rotate(0deg);
        opacity: 0;
    }
}


.custom-img-wrap {
    position: relative;
    margin-bottom: 10px;
}

.custom-img-wrap a {
    display: block;
    pointer-events: auto;
}


.custom-game-card-wrap {
    transition: transform 0.3s ease;
}

.custom-game-card-wrap:hover {
    transform: translateY(-10px);
}

.custom-img-wrap img {
    width: 100%;
    border-radius: 5px;
    object-fit: cover;
}


/* Glavnaya slider */

.custom-img-wrap-slider img {
    width: 100%;
    border-radius: 5px;
    object-fit: cover;
}

/* Like blok */

.likescount {
    position: absolute;
    top: 3px;
    left: -10px;
    background: rgba(19, 26, 40, 0.37);
    padding: 6px 12px 0px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.likescount span {
    font-size: 14px;
    color: #fff;
    font-weight: 600;
    display: inline-block;
}

.likescount button {
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    font-size: 16px;
    display: flex; /* Flexbox для иконки */
    align-items: center;
    justify-content: center;
    padding: 0; /* Убираем лишние отступы */
}

.text-success {
    color: greenyellow !important; /* Устанавливаем цвет как greenyellow */
}

.likescount i {
    transition: color 0.3s ease; /* Плавный переход цвета */
}

.likescount button:hover i {
    color: greenyellow; /* Зеленый цвет при наведении */
}


.favoritescount {
    position: absolute;
    top: 3px;
    right: -10px;
    background: rgba(19, 26, 40, 0.37);
    padding: 6px 12px 0px; /* Увеличенный отступ для аккуратности */
    border-radius: 12px;
    display: flex; /* Flexbox для выравнивания */
    align-items: center; /* Вертикальное выравнивание по центру */
    gap: 8px; /* Расстояние между кнопкой и количеством лайков */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 10; /* Поверх остальных элементов */
}

.favoritescount button {
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    font-size: 16px;
    display: flex; /* Flexbox для иконки */
    align-items: center;
    justify-content: center;
    padding: 0; /* Убираем лишние отступы */
}

.favoritescount span {
    font-size: 14px; /* Уменьшенный размер для аккуратности */
    color: #fff;
    font-weight: 600;
    display: inline-block; /* Гарантируем правильное позиционирование */
    margin-bottom: 10px;
}

.favoritescount i {
    transition: color 0.3s ease;
}

.favoritescount button:hover i {
    color: #ffd700; /* Золотой цвет при наведении */
}

.favoritescount i.text-warning {
    color: #ffd700; /* Постоянный золотой цвет для избранных игр */
}


@media (max-width: 576px) {
    button.btn-icon {
        font-size: 18px !important;
        background: none !important;
        padding: 5px 10px !important;
        border: none !important;
        color: white !important;
        border-radius: 4px !important;
        text-shadow: 3px 3px 6px rgb(0 0 0 / 28%) !important;
        box-shadow: 0 0 5px 1px #00000045 !important;
    }
}

button.btn-icon {
    font-size: 18px;
    background: none;
    align-content: normal;
    border: none;
    color: white;
    cursor: pointer;
    transition: color .4s;
}


.pagination-wrapper {
    margin-top: 30px;
    margin-bottom: 30px;
}

.pagination {
    display: flex;
    justify-content: center;
    padding-left: 0;
    list-style: none;
    position: relative;
    z-index: 1;
}

.pagination .page-item {
    margin: 0 5px;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #fff;
    background-color: #212b40;
    border: 2px solid #212b40;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

.pagination .page-item.active .page-link {
    background-color: #f0ad4e;
    border-color: #f0ad4e;
    color: #fff;
}

.pagination .page-link:hover {
    background-color: #f0ad4e;
    border-color: #f0ad4e;
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    background-color: #6c757d;
    border-color: #6c757d;
}

.pagination .page-item .page-link:focus {
    box-shadow: none;
}

.pagination .page-link span {
    line-height: 1;
}

.profile_wrapper {
    position: relative;
    /*width: 212px;*/
    background-color: transparent;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.profile {
    background-color: #202b3f;
    color: white;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    /*width: 202px;*/
}

.profile img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.profile:hover {
    background-color: #343a40;
}

.profile i {
    margin-left: auto;
    font-size: 14px;
}

.more_menu_profile {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #202b3f;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    width: 200px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.more_menu_profile.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.more_menu_profile .profile-option {
    padding: 10px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 10px;
    border-radius: 8px;
    background-color: #2a3a4f;
}

.more_menu_profile .profile-option:hover {
    background-color: #343a40;
}

.more_menu_profile .profile-option img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px;
}

.profile-lang-txt {
    font-size: 16px;
}

.more_menu_profile .profile-option:last-child {
    margin-bottom: 0;
}

.send-money-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.send-money-popup {
    background-color: #202b3f;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: center;
}

.send-money-popup-close-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 32px;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
}

.send-money-popup-close-icon:hover {
    color: #ff4c4c;
}

.send-money-popup img {
    margin-bottom: 20px;
    max-width: 60%;
    height: auto;
}

.send-money-popup-form {
    display: flex;
    flex-direction: column;
}

.send-money-popup-input {
    padding: 15px;
    margin-bottom: 15px;
    border: none;
    border-radius: 8px;
    background-color: #2a3a4f;
    color: white;
    font-size: 16px;
    box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.send-money-popup-input::placeholder {
    color: #bbb;
}

.send-money-popup-input:focus {
    background-color: #34475d;
    outline: none;
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.3);
}

.send-money-popup-button {
    background-color: #4CAF50;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.send-money-popup-button:hover {
    background-color: #45a049;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
    .send-money-popup {
        width: 95%;
        max-width: 380px;
    }

    .send-money-popup-title {
        font-size: 20px;
    }

    .send-money-popup-input {
        font-size: 14px;
    }

    .send-money-popup-button {
        font-size: 14px;
    }

    .send-money-popup img {
        max-width: 70%;
    }

    .send-money-popup-close-icon {
        font-size: 36px;
    }
}

#toast-container {
    margin-top: 4.5rem;
}

.likescount,
.favoritescount {
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-icon i {
    font-size: 18px;
}

.btn-icon:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.like-count {
    font-size: 14px;
    margin-left: 5px;
}

.game-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    background: linear-gradient(45deg, #232526, #414345);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    padding: 5px;
    height: 78vh;
}

iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
    border-radius: 10px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1000px) {
    .game-container {
        height: calc(40vh);
    }
}


.fullscreen-icon {
    position: absolute;
    bottom: 10px;
    right: 5px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #414345, #232526);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.fullscreen-icon:hover {
    transform: scale(1.1) rotate(10deg);
    background: linear-gradient(135deg, #3a3b3c, #1c1d1e);
}

.fullscreen-icon i {
    color: white;
    font-size: 24px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.fullscreen-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
}

.language-dropdown {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 20px auto;
}

.language-dropdown .dropdown-toggle {
    width: 100%;
    /*background-color: #33425e;*/
    color: white;
    padding: 10px;
    border: none;
    text-align: left;
    cursor: pointer;
    outline: none;
}

.language-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    background: #33425e;
    border: none;
    list-style: none;
    width: 100%;
    margin: 0;
    padding: 0;
    z-index: 1000;
    height: 300px;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.language-dropdown.open .dropdown-menu {
    display: block;
}

.language-dropdown .dropdown-menu li {
    padding: 0;
}

.language-dropdown .dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    background: #33425e;
    width: 100%;
}

.language-dropdown .dropdown-menu li a:hover {
    background-color: #425475;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.icon-sport {
    display: inline-block;
    font-size: 1.5rem;
    color: #ffffff;
    animation: spin 2s linear infinite;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
}

.icon-sport:hover {
    transform: scale(1.1);
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}
