/* ================================
   EXTERNAL IMPORTS
   ================================ */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

body {
  --background-color-1: #1a1c22;
  --background-color-2: #1a1c22;
  --background-color-3: #21232b;
  --background-color-4: #2C3140;
  --background-color-5: #21232b;
  --background-color-6: #12141A;
}

body {
padding: 0px !important;
}


/* ================================
   LAYOUT & CONTAINERS
   ================================ */
.l2--top {
    max-width: 1440px !important;
    margin: auto !important;
}

.l2--container {
    margin: 0 auto;
    max-width: 1440px !important;
   overflow-x: auto;
    padding: 0 0 !important;
}

.banners--long-list .slick-list { 
    margin: 0 -4px;
    max-width: 1440px !important;
}

/* ================================
   HEADER & LOGO
   ================================ */


/* ================================
   MENU BUTTONS
   ================================ */
a.menu--block-item.tb--flex.tb--align-center.no-mutation.menu-block-big.tb--bold {
    background: #ffde02;
    color: #000;
    border-radius: 10px !important;
    height: 36px;
    line-height: 40px;
    padding: 0 16px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

a.menu--block-item.tb--flex.tb--align-center.no-mutation.menu-block-big.tb--bold:hover {
    background: #f5d000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    scale: 1.02;
}

a.menu--block-item.tb--flex.tb--align-center.no-mutation.menu-block-big.tb--bold:active {
    transform: translateY(0);
    scale: 0.98;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

a.menu--block-item.tb--flex.tb--align-center.no-mutation.menu-block-big.tb--bold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

a.menu--block-item.tb--flex.tb--align-center.no-mutation.menu-block-big.tb--bold:hover::before {
    left: 100%;
}

/* ================================
   VIDEO & MEDIA
   ================================ */
.multi-view_content__background {
    filter: blur(0px) !important;
    opacity: 0.4 !important;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
}

.multi-view_content.one-grid .multi-view-item_wrapper.grid-centered {
    aspect-ratio: 16 / 9;
    padding-right: 0;
    box-shadow: 0 36px 72px rgba(0, 0, 0, 0.8) !important;
}

/* ================================
   SLIDER CONTROLS
   ================================ */
.tm_slider_control > button {
    border-radius: 10px !important;
}

/* ================================
   FOOTER
   ================================ */
footer .about--company, footer .copyright {
    width: 100%;
    display: none !important;
}

/* ================================
   RESPONSIVE - DESKTOP (1366px+)
   ================================ */
@media only screen and (min-width: 1366px) {
    .btn {
        height: 36px !important;
        line-height: 36px !important;
        width: 100px !important;
        border-radius: 10px !important;
        font-weight: bold !important;
        font-size: 14px !important;
        text-transform: uppercase !important;
    }
}

/* ================================
   RESPONSIVE - DESKTOP (1024px+)
   ================================ */
@media only screen and (min-width: 1024px) {

    .tb--has-sidebar.show-sidebar_block .main-block .l5--main {
        padding-left: 0px !important;
    }
   .logoBlock_img {
        width: 110px !important;
        height: auto !important;
    }

    .tb--secondary-menu-container.secondary--menu-left {
        margin-left: none !important;
        margin-right: none !important;
        margin: auto !important;
    }

    /* Meksika Dalgası Efekti - Sadece Desktop */
    .mainmenu-block--mutation.menu-block .mainmenu-block--mutation-menu:nth-child(1) {
        animation: waveEffect 4s ease-in-out infinite;
        animation-delay: 0s;
    }

    .mainmenu-block--mutation.menu-block .mainmenu-block--mutation-menu:nth-child(2) {
        animation: waveEffect 4s ease-in-out infinite;
        animation-delay: 0.4s;
    }

    .mainmenu-block--mutation.menu-block .mainmenu-block--mutation-menu:nth-child(3) {
        animation: waveEffect 4s ease-in-out infinite;
        animation-delay: 0.8s;
    }

    .mainmenu-block--mutation.menu-block .mainmenu-block--mutation-menu:nth-child(4) {
        animation: waveEffect 4s ease-in-out infinite;
        animation-delay: 1.2s;
    }

    @keyframes waveEffect {
        0%, 85%, 100% { 
            transform: scale(1); 
        }
        15% { 
            transform: scale(1.06); 
        }
    }
}

/* ================================
   RESPONSIVE - TABLET (769px+)
   ================================ */
@media only screen and (min-width: 769px) {


    .tb--promotions_cont {
        display: grid;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px;
        padding: 0px !important;
    }
.menu-block_holder.main--menu-center {
        margin: 0 16px !important;
    }
}

/* ================================
   RESPONSIVE - MOBILE (768px-)
   ================================ */
@media only screen and (max-width: 768px) {

.tb--widget-container {
    min-height: 100%;
    padding: 0 16px !important;
}

    .menu--block-item.tb--bold .tb--menu-item_text.no-mutation {
        color: #2d2d2d !important;
    }
    
    
    /* Mobile menu layout */
    .header-mobile-menu .menu-block_grid, 
    .header-mobile-menu .menu-block_static-list {
        gap: 0px !important;
        padding: 0;
    }
    
    /* Mobile menu containers */
    .menu-block_static-list .main--menu-item-cont {
        border-radius: 12px;
        color: var(--text-color-3);
        margin-bottom: 12px;
        min-height: 54px;
        padding: 0px !important;
    }
    
    /* Hide mobile menu icons */
    .menu-block .menu--block-item .header-icon {
        display: none !important;
    }
    
    /* Featured products mobile */
    .featured-product .tb--featured-menu-grid, 
    .featured-product .tb--featured-menu-slider {
        gap: 8px;
        padding: 0 16px !important;
        margin-bottom: 16px;
    }
    
    /* Mobile container padding */
    .l2--container {
        margin: 0 auto;
       overflow-x: auto;
        max-width: 1440px !important;
        padding: 0 16px !important;
    }
}

/* Secondary Menu Hover Effect */
.secondarymenu-block--mutation-menu a.submenu-txt {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    position: relative;
    overflow: hidden;
    padding: 0 12px;
    border-radius:10px;
    
}

.secondarymenu-block--mutation-menu a.submenu-txt:hover {
    background:#191919 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.secondarymenu-block--mutation-menu a.submenu-txt:active {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Shimmer effect */
.secondarymenu-block--mutation-menu a.submenu-txt::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.secondarymenu-block--mutation-menu a.submenu-txt:hover::before {
    left: 100%;
}

.tb--sidebar-menu_wrapper.tb--sidebar-open .tb--sidebar-secondary_item:before {
    background-color: var(--background-color-4) !important;
    background-image: var(--background-gradient-1);
    opacity: .6;
}

/* Main Menu Hover Effect */
.mainmenu-block--mutation-menu a.menu--block-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border-radius:10px !important;
   
}

.mainmenu-block--mutation-menu a.menu--block-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    scale: 1.02;
}

.mainmenu-block--mutation-menu a.menu--block-item:active {
    transform: translateY(0);
    scale: 0.98;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mainmenu-block--mutation-menu a.menu--block-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.mainmenu-block--mutation-menu a.menu--block-item:hover::before {
    left: 100%;
}

.tb--floating-menu_item__link {
    background: var(--background-color-3) !important;
}

/* ================================
   CUSTOM SECTION 1 - GRID IMAGES (8 görsel)
   ================================ */
.custom-section1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-top: 20px;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}
.custom-section1-link {
    display: block;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.custom-section1-link:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.custom-section1-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: left 0.3s ease;
    z-index: 1;
}
.custom-section1-link:hover::before {
    left: 100%;
    opacity: 1;
}
.custom-section1-item {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}
.custom-section1-link:hover .custom-section1-item {
    transform: scale(1.01);
}

/* ================================
   CUSTOM SECTION 2 - SOCIAL LINKS (2 görsel)
   ================================ */
.custom-section2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 10px 0 20px 0;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}
.custom-section2-link {
    display: block;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.custom-section2-link:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.custom-section2-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: left 0.3s ease;
    z-index: 1;
}
.custom-section2-link:hover::before {
    left: 100%;
    opacity: 1;
}
.custom-section2-item {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}
.custom-section2-link:hover .custom-section2-item {
    transform: scale(1.01);
}

/* ================================
   RESPONSIVE BREAKPOINTS
   ================================ */

@media only screen and (min-width: 769px) {
    .custom-section1 {
        grid-template-columns: repeat(8, 1fr);
    }
    .custom-section2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 768px) {
    .custom-section1 {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        padding: 0 5px;
        margin-top: 10px;
    }
    
    .custom-section1-link:hover {
        transform: translateY(-4px) scale(1.01);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }
    
    .custom-section2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 0 5px;
        margin: 5px 0 15px 0;
    }
    
    .custom-section2-link:hover {
        transform: translateY(-4px) scale(1.01);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }
}

#anj-0258d931-1563-4a3b-a522-851c1c24e41e {
    display: flex !important;
    justify-content: center !important;
    background: #12141A !important;
}

/* Duyuru Animasyonları - Sadece Ana Container */
.tb--announcement-block {
    animation: slideInFromTop 0.8s ease-out, slideRepeat 6s ease-in-out 3s infinite;
    transition: all 0.3s ease;
}

/* Giriş animasyonu */
@keyframes slideInFromTop {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Tekrarlanan giriş-çıkış animasyonu */
@keyframes slideRepeat {
    0%, 85%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    10% {
        transform: translateY(-100%);
        opacity: 0;
    }
    25% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Çıkış animasyonu için class */
.tb--announcement-block.fade-out {
    animation: slideOutToTop 0.5s ease-in forwards;
}

@keyframes slideOutToTop {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-100%);
        opacity: 0;
    }
}

/* Responsive animasyonlar */
@media (max-width: 768px) {
    .tb--announcement-block {
        animation: slideInFromLeft 0.6s ease-out, slideRepeatMobile 6s ease-in-out 3s infinite;
    }
    
    @keyframes slideInFromLeft {
        0% {
            transform: translateX(-100%);
            opacity: 0;
        }
        100% {
            transform: translateX(0);
            opacity: 1;
        }
    }
    
    @keyframes slideRepeatMobile {
        0%, 85%, 100% {
            transform: translateX(0);
            opacity: 1;
        }
        10% {
            transform: translateX(-100%);
            opacity: 0;
        }
        25% {
            transform: translateX(0);
            opacity: 1;
        }
    }
    
    .tb--announcement-block.fade-out {
        animation: slideOutToLeft 0.4s ease-in forwards;
    }
    
    @keyframes slideOutToLeft {
        0% {
            transform: translateX(0);
            opacity: 1;
        }
        100% {
            transform: translateX(-100%);
            opacity: 0;
        }
    }
}

/* Sosyal Medya Icon Renkleri - Sadece İconlar */

/* Twitter/X */
.tb--floating-menu_item .category_icon-twitter {
    color: #ffffff !important;
}

/* Telegram */
.tb--floating-menu_item .category_icon-telegram {
    color: #0088cc !important;
}

/* YouTube */
.tb--floating-menu_item .category_icon-youtube {
    color: #FF0000 !important;
}

/* Instagram */
.tb--floating-menu_item .category_icon-instagram {
    color: #E4405F !important;
}

/* WhatsApp */
.tb--floating-menu_item .category_icon-whatsapp {
    color: #25D366 !important;
}

/* Bonus Talep */
.tb--floating-menu_item .category_icon-bonus {
    color: #FFD700 !important;
}

/* EvaTV */
.tb--floating-menu_item .category_icon-tv_games_2 {
    color: #9146FF !important;
}

/* Promosyonlar */
.tb--floating-menu_item .category_icon-promotions {
    color: #FF6B35 !important;
}

/* ================================
   BADGES - Anjouan Seal içindeki logoler
   ================================ */
#anj-0258d931-1563-4a3b-a522-851c1c24e41e {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    margin: 20px auto !important;
    width: auto !important;
    max-width: 500px !important;
    padding: 0 20px !important;
}

.evabet-badge-link {
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.evabet-badge-link:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.evabet-badge-item {
    width: 100px;
    height: auto;
    display: block;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.evabet-badge-link:hover .evabet-badge-item {
    filter: brightness(1.1);
}

/* Responsive badge boyutları */
@media (max-width: 768px) {
    #anj-0258d931-1563-4a3b-a522-851c1c24e41e {
        gap: 15px !important;
        padding: 0 15px !important;
    }
    
    .evabet-badge-item {
        width: 80px;
    }
}

@media (max-width: 480px) {
    #anj-0258d931-1563-4a3b-a522-851c1c24e41e {
        gap: 12px !important;
    }
    
    .evabet-badge-item {
        width: 70px;
    }
}

/* Provider Image Section */
.provider-image-section {
    width: 100%;
    text-align: center;
}

.provider-image-item {
    width: 100%;
    height: auto;
    display: block;
}


@media only screen and (min-width: 1024px) {

   .tb--widgets-footer {
    height: 100%;
    max-width: 1440px;
    margin: auto !important;
    margin-top: -100px !important;

}

    .footer-menu-block:not(:last-child) {
        max-width: 1440px !important;
        margin: auto !important;
    }
.footer-menu-block .footer-menu-block_col:not(:last-child) {
        max-width: 200px;
        margin: 0 !important;
    }
}

/* Provider Image Section */
.provider-image-section {
    width: 100%;
    text-align: center;
}

.provider-image-item {
    width: 100%;
    height: auto;
    display: block;
}

/* Footer Header Section */
.footer-header-section {
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
}

.footer-header-item {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}

.footer {
   margin: 0 auto;
   max-width: 100% !important;
   padding: 0px !important;
   padding-bottom:16px !important;

}

.tb--promotion_categories {
    background: var(--background-color-1);
    background-image: url(https://github.com/allwaysapp/evabet-custom/blob/main/promo-top.gif?raw=true) !important;
    margin-top: 24px;
    overflow-x: auto;
    height: 150px !important;
}


/* ================================
   CUSTOM SECTION 3 - BOTTOM GRID (4 görsel) - Sadece Anasayfa
   ================================ */
.custom-section3 {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    margin: 20px auto !important;
    max-width: 1440px !important;
    position: relative !important;
    z-index: 10 !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
}

.custom-section3-link {
    display: block;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.custom-section3-link:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.custom-section3-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: left 0.3s ease;
    z-index: 1;
}

.custom-section3-link:hover::before {
    left: 100%;
    opacity: 1;
}

.custom-section3-item {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    transition: transform 0.3s ease;
}

.custom-section3-link:hover .custom-section3-item {
    transform: scale(1.01);
}

/* ================================
   RESPONSIVE BREAKPOINTS
   ================================ */
@media only screen and (max-width: 768px) {
    .custom-section3 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 0 5px !important;
        margin: 15px auto !important;
    }
    
    .custom-section3-link:hover {
        transform: translateY(-4px) scale(1.01);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }
}


#sport_div_iframe {
    padding-left: 60px;
}

.tb--body-panel, .tb--modal-body {
    background-color: var(--background-color-1) !important;
}

.popup-banner, .tb--header-item.active, .tb--modal-header, .tb--modal-logo {
    background-color: var(--background-color-1) !important;
}

#modal-root .tb--log_reg_form, .popup-to-page .tb--log_reg_form {
    background-color: var(--background-color-1) !important;
    overflow: hidden;
}

.logos-block .logos-block_item img {
    max-height: 1000px !important;
    object-fit: contain;
}
