/*
Theme Name: casino
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

img {
    border-radius: 8px;
}

/* Filter buttons - 3 column layout */
.select-bar {
    display: flex;
    gap: 8px;
}

.select-bar.three-column {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    width: 100%;
}

.select-btn {
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-align: center;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.select-btn .btn-text {
    line-height: 1.1;
    letter-spacing: 0.3px;
    text-transform: none;
}

.select-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.select-btn.on {
    border-bottom: #00d4aa;
}

/* Responsive adjustments for filter buttons */
@media (max-width: 768px) {
    .select-btn {
        font-size: 11px;
        padding: 10px 6px;
        min-height: 45px;
    }

    .select-bar.three-column {
        gap: 6px;
    }
}


/* ############################ */

:root {
    --s-app-modal-bg-rgb: 73,147,253;
    --s-app-modal-color: #fff;
    --header-height: 1rem;
    --mid-nav-height: 1.25rem;
    --mc-header-height: 1rem;
    --download-bar-height: 1.28rem;
    --footer-height: 1.24rem;
    --footer-bg: #16202d;
    --main-bg: var(--main_background_color);
    --download-bar-bg: #000;
    --header-bg: var(--main_background_color);
    --header-color: var(--font_color_2);
    --text_Wireframe_color_1: #00ffb5;
    --text_Wireframe_color_2: #2a7659;
    --background_image_color: green;
    --sub_background_color: #6dd8bd;
    --main_background_color: #fff;
    --font_color_2: #2a7659;
    --important_font_color_2: #ff1414;
    --font_color_1: #fff;
    --important_font_color_1: #ffb014;
    --theme_button_gradient_color_2: #31b78a;
    --theme_button_gradient_color_1: #c2efd8;
    --theme_gradient_color_2: #31b78a;
    --theme_gradient_color_1: #c2efd8
}


h1, h2 {
    background: linear-gradient(180deg, #169d3d 35.44%, #7d7d7d 61.71%, #fff 87.98%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px #00ffb5;
    -webkit-text-stroke-width: 1;
    -webkit-text-stroke-color: #00ffb5;
    justify-content: center;
}

button.ux-search-submit {
    border-radius: 0px 10px 0px 0px;
    background-color: #26af87;
}
.searchform input {
    border-radius: 10px 0px 0px 10px;
}

input#submit {
    border-radius: 0px 10px 0px 0px;
    background-color: #26af87;
}

div#masthead {
    background: linear-gradient(180deg, #c2efd8, #31b78a);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, .25);
}

div#wide-nav {
    background: #6dd8bd;
    border-bottom: 1px solid #13a2af;
    box-shadow: 0 4px 4px 0 rgba(94, 92, 92, 0.534);
}

.is-divider {
    height: 0;
}

.section-title b {
    height: 0;
}

.section-title-normal {
    border-bottom: none;
}

.section-title-normal span {
    border-bottom: none;
    margin-bottom: none;
    margin-right: none;
    padding-bottom: none;
}

.box-blog-post .is-divider {
    height: 0;
}

#comments .comment-respond {
    background-color: rgb(6 149 15 / 5%);
}

label {
    color: #267921;
}

.menu-item-text {
    font-size: 15px;
    font-weight: 600;
}

.nav>li.header-button-1 .header-button a.button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 67px;
    height: 39px;
    padding: 0 12px;
    font-size: 16px;
    font-weight: 600;
    color: #31b78a;
    text-align: center;
    cursor: pointer;
    background: linear-gradient(180deg,#fdf402,#ffb014);
    border: 1px solid #31b78a;
    border-radius: 12px;
    box-shadow: 0 4px 4px 0 rgba(0,0,0,.25);
    transition: .2s;
    gap: 10px
}
.nav>li.header-button-1 .header-button a.button:hover {
    background: linear-gradient(0deg, #ffb014, #ffb014);
    border: 1px solid #fdf402;
}
.nav>li.header-button-2 .header-button a.button {
        display: flex
;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    height: 39px;
    padding: 0 12px;
    font-size: 16px;
    font-weight: 600;
    color: #2a7659;
    text-align: center;
    cursor: pointer;
    background: linear-gradient(180deg, #c2efd8, #31b78a);
    border: 1px solid #31b78a;
    border-radius: 12px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, .25);
    transition: .2s;
}
.nav>li.header-button-2 .header-button a.button:hover {
    color: #00ffb5;
    background: #2a7659;
    border: 1px solid #00ffb5;
}

.slider-nav-dots-dashes-spaced .flickity-page-dots .dot {
    border-radius: 14px;
    box-shadow: inset 0 2.8px 5.6px 0 rgba(0, 0, 0, .25);
}

.sidebar-menu.no-scrollbar {
    padding: 0px;
}

.rightbar-top-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    /* height: 3.85rem; */
    /* padding-top: .62rem; */
    background: linear-gradient(180deg, var(--theme_gradient_color_1), var(--theme_gradient_color_2));
}

li.header-block {
    display: block;
}

.account-btn, .withdraw-btn {
    /* flex-direction: column;
    grid-row: 1;
    width: 1.4rem;
    height: 1.46rem;
    margin: 0 auto;
    text-align: center; */
    /* background: var(--text_Wireframe_color_2); */
    border: 1px solid #00ffb5;
    border-radius: .12rem;
    box-shadow: 0 .04rem .04rem 0 rgba(0, 0, 0, .25);
    /* display: flex;
    align-items: center;
    justify-content: center; */
}

.align-content_ac > .col-inner {
    align-content: center;
}

.icon-box-text.last-reset > h6 {
    padding: 0px 0px;
    line-height: 14px;
    color: var(--text_Wireframe_color_1);
}

.ac-menu-item {
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 0 .5rem;
    background: linear-gradient(180deg, var(--theme_button_gradient_color_1), var(--theme_button_gradient_color_2));
    border: 1px solid var(--text_Wireframe_color_2);
    border-radius: .20rem;
    box-shadow: 0 .04rem .04rem 0 rgba(0, 0, 0, .25);
}

.ac-menu-item p > a {
    color: var(--font_color_2);
    padding: 0 4px;
}

/* ===== CASINO LAYOUT STYLES ===== */
/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.casino-game-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    display: flex;
    flex: 1;
    background: #f5f5f5;
}

/* ===== SIDEBAR ===== */
.sidebar {
    width: 200px;
    padding: 20px 10px;
    position: relative;
    transition: transform 0.3s ease;
}

.sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-item {
    margin-bottom: 8px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: linear-gradient(180deg, var(--theme_gradient_color_1), var(--theme_gradient_color_2));
    border-radius: 15px;
    color: var(--font_color_2);
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s;
    gap: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 .04rem .04rem 0 rgba(0, 0, 0, .25);
}

.sidebar-link::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;
}

.sidebar-link:hover::before {
    left: 100%;
}

.sidebar-link:hover,
.sidebar-link.active {
    color: var(--text_Wireframe_color_1);
    border: 1px solid var(--text_Wireframe_color_1);
}

.sidebar-link.active {
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(255, 107, 53, 0.6); }
    100% { box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4); }
}

.game-menu-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 28px;
}

.game-menu-icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Default state for all links: show default icon, hide active icon */
.sidebar-link .icon-default {
    display: block;
}
.sidebar-link .icon-active {
    display: none;
}

/* Active state: hide default icon, show active icon */
.sidebar-link.active .icon-default {
    display: none;
}
.sidebar-link.active .icon-active {
    display: block;
}

/* .sidebar-link.active {
    padding-top: 15px;
    padding-bottom: 15px;
} */

/* Ensure the text span is aligned correctly */
.sidebar-link span:not([class*='icon']) {
    align-self: center;
}


/* Icon styling for background images */
.icon-default, .icon-active {
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* ===== GAME CONTENT ===== */
.game-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

/* ===== SPORTS BANNERS ===== */
.sports-content {
    display: none;
}

.sports-content.active {
    display: block;
}

.sports-banner {
    /* background: linear-gradient(135deg, #22c55e, #16a34a); */
    border-radius: 15px;
    /* padding: 20px; */
    margin-bottom: 20px;
    /* color: white; */
    position: relative;
    overflow: hidden;
    /* min-height: 120px; */
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.sports-banner:hover {
    transform: translateY(-5px);
}

.sports-banner-content {
    z-index: 2;
    position: relative;
}

.sports-banner h3 {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 5px 0;
}

.sports-banner p {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
}

.sports-banner-image {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.sports-banner.launching {
    animation: sportsBannerLaunch 0.6s ease;
}

@keyframes sportsBannerLaunch {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.game-grid.hidden {
    display: none;
}

.game-card {
    /* background: white; */
    /* border-radius: 15px; */
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(32, 178, 170, 0.1), rgba(255, 107, 53, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.game-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}

.game-card:hover::before {
    opacity: 1;
}

.game-card:active {
    transform: translateY(-4px) scale(1.01);
}

.game-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    position: relative;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
}

.game-provider {
    background: rgba(255,255,255,0.9);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    color: #333;
    align-self: flex-start;
}

.game-info {
    color: white;
}

.game-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.game-subtitle {
    font-size: 14px;
    opacity: 0.9;
}

.chat-button {
    background: linear-gradient(135deg, #20b2aa, #48d1cc);
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    align-self: flex-start;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.chat-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.chat-button:hover::before {
    width: 100px;
    height: 100px;
}

.chat-button:hover {
    background: linear-gradient(135deg, #ff6b35, #ffa500);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.chat-button:active {
    transform: scale(1.05);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .main-content {
        flex-direction: row;
    }

    .sidebar {
        width: 100px;
        padding: 10px 5px;
    }

    .game-content {
        padding: 10px;
    }

    .game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .game-image {
        height: 120px;
    }

    .sports-banner {
        min-height: 100px;
        padding: 15px;
    }

    .sports-banner h3 {
        font-size: 20px;
    }

    .sports-banner p {
        font-size: 14px;
    }

    .sports-banner-image {
        width: 80px;
        height: 80px;
        font-size: 32px;
        right: 15px;
    }

    .sidebar-menu {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .sidebar-item {
        margin-bottom: 0;
    }

    .sidebar-link {
        padding: 8px 10px;
        font-size: 12px;
        border-radius: 8px;
        flex-direction: row;
        text-align: left;
        gap: 6px;
    }

    .sidebar-icon {
        font-size: 16px;
        flex-shrink: 0;
    }

    .sidebar-link span:not(.sidebar-icon) {
        font-size: 10px;
        line-height: 1.2;
        word-break: break-word;
        hyphens: auto;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .game-content {
        padding: 10px;
    }

    .game-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 12px;
    }

    .game-card {
        border-radius: 12px;
    }

    .game-image {
        height: 150px;
    }
}

/* ===== EXTRA SMALL MOBILE ===== */
@media (max-width: 480px) {
    .sidebar {
        width: 100px;
        padding: 8px 2px;
        margin: 0px 4px;
    }

    .sidebar-link {
        padding: 4px 8px;
        font-size: 12px;
        flex-direction: row;
        gap: 6px;
    }

    .sidebar-icon {
        font-size: 20px;
        flex-shrink: 0;
    }

    .sidebar-link span:not(.sidebar-icon) {
        font-size: 13px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .game-image {
        height: 100px;
    }

    .sports-banner {
        /* min-height: 80px; */
        padding: 0px;
    }

    .sports-banner h3 {
        font-size: 18px;
    }

    .sports-banner p {
        font-size: 12px;
    }

    .sports-banner-image {
        width: 60px;
        height: 60px;
        font-size: 24px;
        right: 10px;
    }

    .game-overlay {
        padding: 10px;
    }

    .game-provider {
        font-size: 10px;
        padding: 3px 8px;
    }

    .game-title {
        font-size: 14px;
    }

    .game-subtitle {
        font-size: 12px;
    }

    .chat-button {
        padding: 6px 15px;
        font-size: 12px;
    }
}

/* ===== OPTIMIZED ANIMATIONS ===== */
.fade-in {
    animation: fadeIn 0.2s ease-in;
    will-change: opacity, transform;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate3d(0, 10px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Performance optimizations */
.game-card {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.sidebar-link {
    will-change: transform;
    backface-visibility: hidden;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #20b2aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== MODAL STYLES ===== */
.casino-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 400px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 20px;
}

.modal-close {
    background: none;
    border: none;
    color: #888;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.modal-body {
    padding: 20px;
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.demo-form input {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    color: #333;
    font-size: 14px;
    transition: border-color 0.3s;
}

.demo-form input:focus {
    outline: none;
    border-color: #20b2aa;
}

.demo-form button {
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #20b2aa, #48d1cc);
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.demo-form button:hover {
    transform: translateY(-2px);
}

/* ===== ONLINE INDICATORS ===== */
.online-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: white;
    z-index: 3;
}

.online-dot {
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.online-count {
    font-weight: bold;
    font-size: 11px;
}

/* ===== PARTICLE EFFECTS ===== */
.particle {
    animation: particle-float 0.6s ease-out forwards;
}

@keyframes particle-float {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3);
    }
}

/* ===== ENHANCED ANIMATIONS ===== */
.game-card.launching {
    animation: launch-pulse 0.8s ease-in-out;
}

@keyframes launch-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.sidebar-link.loading {
    position: relative;
}

.sidebar-link.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ===== FLOATING TEXT ===== */
.floating-text {
    animation: float-up 1s ease-out forwards;
}

@keyframes float-up {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -80px) scale(1.2);
    }
}

/* ===== ENHANCED HOVER EFFECTS ===== */
.game-card:hover .game-provider {
    animation: provider-glow 0.5s ease-in-out;
}

@keyframes provider-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(255,255,255,0.5); }
    50% { box-shadow: 0 0 15px rgba(255,255,255,0.8); }
}

.top-icon:active {
    transform: translateY(-2px) scale(0.95);
}

.sidebar-link:active {
    transform: translateX(2px) scale(0.98);
}

/* ===== LAZY LOADING OPTIMIZATION ===== */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

img.lazy.loaded {
    opacity: 1;
}

/* Reduce repaints and reflows */
.game-card,
.sports-banner,
.sidebar-link {
    contain: layout style paint;
}

/* GPU acceleration for smooth animations */
.game-card:hover,
.sidebar-link:hover,
.sports-banner:hover {
    transform: translateZ(0);
}
/* ############################ */
/* NOTICE BANNER STYLES */
/* ############################ */

/* Notice Banner Styles */
.notice-root {
  position: relative;
  width: 100%;
  z-index: 1000;
  /* background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%); */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.notice-bg {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  min-height: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.notice-icon {
  flex-shrink: 0;
  margin-right: 8px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.notice-icon svg,
.notice-message svg {
  width: 24px;
  height: 24px;
  fill: var(--font_color_2);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.marquee {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 30px;
  display: flex;
  align-items: center;
  width: 100%;
}

.marquee_content {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: marqueeScroll var(--duration, 60s) linear infinite;
  animation-play-state: var(--play, running);
  animation-direction: var(--direction, normal);
  animation-delay: var(--delay, 0s);
  animation-iteration-count: var(--iteration-count, infinite);
  width: max-content;
  min-width: 100%;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.content-item {
  color: var(--font_color_2);
  font-size: 14px;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  line-height: 1.4;
  padding-right: 50px;
}

.notice-message {
  flex-shrink: 0;
  margin: 0 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.notice-message:hover {
  transform: scale(1.1);
}

.notice-domain {
  flex-shrink: 0;
  color: #2a7659;
  background: linear-gradient(180deg, #fdf402, #ffb014);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border: 1px solid #2a7659;
  border-radius: 6px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* SVG Icons */
.am-icon {
  display: inline-block;
  vertical-align: middle;
}

.am-icon-md {
  width: 24px;
  height: 24px;
}



/* Animation pause on hover */
.notice-root:hover .marquee_content {
  animation-play-state: paused;
}






@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

/* Notice Banner Mobile Styles */
.notice-bg {
  padding: 6px 10px;
  min-height: 45px;
}

.content-item {
  font-size: 13px;
}

.notice-domain {
  font-size: 11px;
  padding: 3px 6px;
}

.notice-icon svg,
.notice-message svg {
  width: 20px;
  height: 20px;
}

}

/* Mid Navigation Styles */
.mid-nav {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: transparent;
  gap: 20px;
}

/* Left Navigation */
.left-nav {
  display: flex;
  align-items: center;
}

.left-nav-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: stretch;
  width: 120px;
}

.nav-login,
.nav-register {
  position: relative;
    width: 100%;
    height: .5rem;
    /* padding: 0 .15rem; */
    /* font-size: .22rem; */
    font-weight: 400;
    color: var(--font_color_2);
    text-align: center;
    background: linear-gradient(180deg, #fdf402, #ffb014);
    border: 1px solid var(--font_color_2);
    border-radius: .3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-login:hover {
  background: linear-gradient(135deg, #FFC700 0%, #FF8C00 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(255, 215, 0, 0.4);
}

.nav-register {
  background: linear-gradient(180deg, var(--theme_gradient_color_1), var(--theme_gradient_color_2));
}

.nav-register:hover {
  background: linear-gradient(135deg, #48D1CC 0%, #20B2AA 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(32, 178, 170, 0.4);
}

/* Right Navigation */
.right-nav {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-left: auto;
}

.right-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 50px;
}

.right-nav-item:hover {
  transform: translateY(-2px);
}



.right-nav-item svg {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
  fill: #333;
  transition: all 0.3s ease;
}

.right-nav-item:hover svg {
  transform: scale(1.1);
  fill: #666;
}

.right-nav-item span {
  font-size: 11px;
  font-weight: 500;
  color: #333;
  text-align: center;
  line-height: 1.2;
}

.right-nav-item:hover span {
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mid-nav {
    padding: 10px 12px;
  }

  .left-nav-wrap {
    width: 100px;
    gap: 3px;
  }

  .nav-login,
  .nav-register {
    padding: 6px 12px;
    font-size: 12px;
  }

  .right-nav {
    gap: 12px;
  }

  .right-nav-item {
    min-width: 45px;
  }

  .right-nav-item svg {
    width: 36px;
    height: 36px;
    padding: 6px;
  }

  .right-nav-item span {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .mid-nav {
    padding: 8px 6px;
    align-items: end;
  }

  .left-nav-wrap {
    width: 150px;
  }

  .nav-login,
  .nav-register {
    padding: 12px 20px;
    font-size: 12px;
  }

  .right-nav {
    gap: 4px;
  }

  .right-nav-item {
    min-width: 40px;
    text-transform: uppercase;
  }

  .right-nav-item svg {
    width: 55px;
    height: 55px;
    padding: 5px;
  }

  .right-nav-item span {
    font-size: 12px;
    color: var(--font_color_2);
  }
}

/* Hot Tab Styles */
.hot-content {
  display: none;
  width: 100%;
  padding: 10px;
}

.hot-content.active {
  display: block;
}

.filter-box {
  display: flex;
  justify-content: center;
}

.select-bar {
  display: flex;
  gap: 25px;
  align-items: center;
}

.select-btn {
  background: none;
  border: none;
  padding: 5px;
  cursor: pointer;
  color: var(--font_color_2); /* Inactive color */
  font-weight: 500;
  font-size: 14px;
}

.select-btn.on {
  color: #26af87; /* Active text color */
}

/* Special style for the 'Hot nhất' button when active */
.select-btn[data-filter="hot"].on {
  color: var(--text_Wireframe_color_1);
}

/* Game List Styles */
.category-game-list {
    display: flex;
    flex-direction: column; /* Default: List view for 'Hot nhất' */
    gap: 15px;
}

.category-game-list.grid-view {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for other filters */
    gap: 10px;
}

/* Game Item Base Styles */
.game-list-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.game-background img {
  display: block;
  width: 100%;
  height: auto;
}

.game-item-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  text-align: center;
  padding: 8px;
}

.game-item-name {
  font-weight: 500;
  font-size: 14px;
}

.game-fav {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
}

.favorite_icon {
  width: 20px;
  height: 20px;
  fill: rgba(255, 255, 255, 0.438);
}

/* List View ('Hot nhất') Specifics */
.category-game-list:not(.grid-view) .game-item-name {
    font-size: 16px;
}

/* Grid View Specifics */
.grid-view .game-item-name {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.grid-view .game-background img {
    aspect-ratio: 1 / 1; /* Make grid images square */
    object-fit: cover;
}

.game-vendor-logo {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 25px; /* Adjust size as needed */
    height: auto;
    z-index: 2;
}

/* Game grid layout - 3 columns */
.category-game-list.grid-view .game-list-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.category-game-list.grid-view .game-list-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-game-list.grid-view .game-background {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.category-game-list.grid-view .game-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-game-list.grid-view .game-item-info {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    background: #fff !important;
    z-index: 1;
}

.category-game-list.grid-view .game-item-name {
    color: var(--font_color_2);
    font-weight: 500;
    font-size: 12px;
    text-align: center !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    line-height: 1.4;
}

.category-game-list.grid-view .game-vendor-name {
    position: absolute;
    bottom: 8px;
    right: 8px;
}

.category-game-list.grid-view .vendor-icon {
    width: 24px;
    height: 24px;
}

.category-game-list.grid-view .game-fav {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
}

/* Initial page load - hide all content except hot by default */
#casino-grid,
.game-grid,
.sports-content,
.casino-content,
.slots-content,
.fishing-content,
.cards-content,
.lottery-content,
.esports-content,
.cockfight-content {
    display: none !important;
}

/* Show casino content when active */
.casino-content.active {
    display: block !important;
}

/* Casino 2-column layout styles - Updated for simplified structure */
.casino-content {
    width: 100%;
    box-sizing: border-box;
}

.home-vendor-list.LIVE {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
    gap: .1rem;
}

.vendor-game-item {
    position: relative;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
}


.vendor-game-img {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.vendor-game-img img.img-loading {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-vendor-name {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
    color: white;
}

.vendor-icon {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.vendor-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.vendor-text .text {
    font-size: 9px;
    font-weight: 600;
    color: #2a7659;
}

.vendor-text span:last-child {
    font-size: 6px;
    color: #2a7659;
}

.vendor-btn {
    align-items: center;
    justify-content: center;
    padding: 2px 2px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    margin-top: auto;
}

.vendor-btn svg {
    width: 14px;
    height: 14px;
}

/* Responsive design */
@media (max-width: 768px) {
    .home-vendor-list.LIVE {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px;
    }

    .vendor-game-img {
        height: 100px;
    }

    .game-vendor-name {
        padding: 8px;
    }

    .vendor-icon {
        width: 50px;
    }

    .vendor-text span:last-child {
        font-size: 10px;
    }

    .vendor-btn {
        font-size: 8px;
    }
}

/* Only show hot content by default */
.hot-content {
    display: block !important;
}

/* Hide hot content when other tabs are active */
body.casino-tab-active .hot-content,
body.sports-tab-active .hot-content,
body.slots-tab-active .hot-content,
body.fishing-tab-active .hot-content,
body.cards-tab-active .hot-content,
body.lottery-tab-active .hot-content,
body.esports-tab-active .hot-content,
body.cockfight-tab-active .hot-content {
    display: none !important;
}

/* Show content when specific body classes are active */
body.casino-tab-active #casino-grid,
body.casino-tab-active .game-grid {
    display: block !important;
}

body.sports-tab-active .sports-content {
    display: block !important;
}

body.slots-tab-active .slots-content {
    display: block !important;
}

body.fishing-tab-active .fishing-content {
    display: block !important;
}

body.cards-tab-active .cards-content {
    display: block !important;
}

body.lottery-tab-active .lottery-content {
    display: block !important;
}

body.esports-tab-active .esports-content {
    display: block !important;
}

body.cockfight-tab-active .cockfight-content {
    display: block !important;
}
