/* Splash screen styles */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 3s ease;
}

#splash-screen img {
    width: 100%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Mobile header styles */
.mobile-memu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    /* Ensure above other content */
}

.mobile-memu img.logo {
    height: 35px;
}

.mobile-memu .btn {
    font-size: 14px;
    padding: 4px 10px;
}

.mobile-memu img.flag {
    height: 20px;
    border-radius: 50%;
}

.mobile-memu a {
    text-decoration: none;
    color: black;
}

@media (min-width: 992px) {
    .mobile-memu {
        display: none;
        /* Hide on desktop */
    }

    .all_boody {
        display: none;
        background: black;
    }
}

/* Add top margin to body so content doesn't hide behind fixed header */
body {
    background-color: black;
}

#mobilePromoSlider {
    padding-top: 50px;
}

/* Mobile slider styling */
.mobile-promo-slider {
    border-bottom: 1px solid transparent;
    overflow: hidden;
    animation: borderGlow 2s infinite alternate;
}


/* Glow animation */
@keyframes borderGlow {
    0% {
        border-color: #ff9800;
    }

    100% {
        border-color: #00ff88;
    }
}

/* Hide slider on desktop */
@media (min-width: 992px) {
    .mobile-promo-slider {
        display: none;
    }
}

/* Notice bar container */
.notice-bar {
    background: black;
    color: white;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    padding: 5px 10px;
    border-bottom: 1px solid #00ff88;
}

/* Icon fixed at left */
.notice-icon {
    height: 20px;
    margin-right: 10px;
    flex-shrink: 0;
    animation: pulse 1.2s infinite alternate;
}

/* Running text */
.notice-text {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 10s linear infinite;
}

/* Marquee animation */
@keyframes marquee {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

/* Icon pulsing */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.2);
    }
}

/* Hide on desktop if mobile only */
@media (min-width: 992px) {
    .notice-bar {
        display: none;
    }
}

/* মোবাইল ছাড়া অন্য স্ক্রিনে লুকাবে */
@media (min-width: 768px) {
    .mobile-tab-slider {
        display: none;
    }
}

.mobile-tab-slider {
    background: black;
    padding: 8px 0;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.mobile-tab-slider .tab-item {
    display: inline-block;
    text-align: center;
    color: white;
    font-size: 12px;
    min-width: 85px;
    padding: 5px 5px;
    border: 1px solid #00ff88;
    border-radius: 6px;
    margin: 1px 2px;
    animation: border-anim 2s infinite;
    transition: transform 0.3s ease;
}

.mobile-tab-slider .tab-item:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.mobile-tab-slider i {
    font-size: 17px;
    margin-bottom: 4px;
    display: block;
}

/* Border Animation */
@keyframes border-anim {
    0% {
        border-color: #00ff88;
    }

    50% {
        border-color: #00ff88;
    }

    100% {
        border-color: #ff9800;
    }
}

/* Tab Bar */
.mobile-tab-slider {
    display: flex;
    overflow-x: auto;
    background: #000;
    padding: 5px 5px;
    gap: 3px;
}

.tab-item {
    flex: 0 0 auto;
    text-align: center;
    border: 2px solid gold;
    border-radius: 8px;
    padding: 6px 10px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    animation: border-anim 2s infinite;
    transition: background 0.3s ease, color 0.3s ease;
}

.tab-item i {
    display: block;
    font-size: 18px;
    margin-bottom: 3px;
}

.tab-item.active {
    background: limegreen;
    color: black;
    border-color: limegreen;
}

/* Border Animation */
@keyframes border-anim {
    0% {
        border-color: #00ff88;
    }

    50% {
        border-color: #00ff88;
    }

    100% {
        border-color: #ff9800;
    }
}

/* Tab Content Area */
.tab-content-area {
    background: #000;
    padding: 5px 5px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Game Card */
.game-card {
    background: black;
    border-radius: 5px;
    overflow: hidden;
    text-align: left;
    color: white;
    font-size: 14px;
    margin-bottom: 10px;
    border: 1px solid gold;
    animation: border-anim 2s infinite;
}

.game_text {
    color: white;
    font-size: 18px;
}

.game-card img {
    width: 100%;
    height: 120px;
}

/* Show only on mobile */
@media (min-width: 769px) {
    .mobile-game-section {
        display: none;
    }
}

.mobile-game-section {
    background: #000;
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
}

.section-title {
    color: #9bff9b;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
    margin-top: 10px;
}


.game-sliders {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 5px;
}

.game-sliders::-webkit-scrollbar {
    display: none;
}

.game-cards {
    flex: 0 0 auto;
    width: 140px;
    background: #111;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    border: 1px solid transparent;
    scroll-snap-align: start;
    transition: border-color 0.3s ease;
}


.game-cards {
    background: black;
    border-radius: 5px;
    overflow: hidden;
    text-align: left;
    color: white;
    font-size: 14px;
    margin-bottom: 10px;
    border: 1px solid gold;
    animation: border-anim 2s infinite;
}

.game-cards img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

#game-image-casino img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.game-cards p {
    background: #000;
    color: #fff;
    font-size: 14px;
    margin: 0;
    padding: 5px;
    text-align: left;
}

.game-cards:hover {
    border-color: gold;
    animation: border-glow 1.5s infinite alternate;
}

/* icon */
.game-cards {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 5px !important;
}


.love-icon {
    position: absolute;
    top: 2px;
    right: 5px;
    border: none;
    color: white;
    padding: 6px;
    cursor: pointer;
    background: none;
    font-size: 20px;
}

.love-icon:hover {
    color: white;
}

.love-icon.active i {
    color: #1f1;
}

/* latest winer */
.latest-winer-section {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #000;
    padding: 10px 36px;
    border: 1px solid #00ff88;
    animation: border-anim 2s infinite;
    margin: 5px;
    border-radius: 5px;
}

.latest-winer-section .winner-img {
    height: 170px;
    /* তোমার ইমেজ সাইজ অনুযায়ী */
    object-fit: contain;
}

.latest-winer-section .winner-title {
    font-size: 30px;
    font-weight: bold;
    color: #7FFFD4;
    line-height: 42px;
    margin: 0;
    margin-left: 25px;
}

@media (max-width: 768px) {
    .latest-winner-wrapper {
        overflow: hidden;
        height: 220px;
        background: #000;
        padding: 0px 21px;
    }

    .latest-winner-list {
        display: flex;
        flex-direction: column;
        transition: transform 0.5s ease-in-out;
    }

    .winner-item {
        display: flex;
        align-items: center;
        gap: 15px;
        background: #111;
        padding: 10px 30px;
        border-radius: 10px;
        min-height: 60px;
        margin-bottom: 11px;
    }

    .winner-icon {
        width: 36px;
        height: 36px;
    }

    .winner-text {
        flex: 1;
        line-height: 1.2;
    }

    .winner-name {
        font-size: 14px;
        color: #fff;
    }

    .winner-game {
        font-size: 12px;
        color: #ffdd55;
    }

    .play-icon {
        width: 20px;
        height: 20px;
    }

    .winner-amount {
        font-size: 14px;
        font-weight: bold;
        color: #ffd700;
        white-space: nowrap;
    }
}