/* =====================================================================
   Blue-White Theme — UI Upgrade (Refined Modern Gaming Aesthetic)
   Design tokens · Glassmorphism · Soft gradients · Cohesive motion
   ===================================================================== */

:root {
    /* Brand palette */
    --bw-primary: #00bceb;
    --bw-primary-600: #00a5d4;
    --bw-primary-700: #008cb6;
    --bw-accent: #6c5ce7;
    --bw-warm: #ff5b5b;
    --bw-warm-600: #ec4545;

    /* Surfaces */
    --bw-bg: #f3f8fc;
    --bw-surface: #ffffff;
    --bw-surface-soft: rgba(255, 255, 255, 0.72);
    --bw-surface-glass: rgba(255, 255, 255, 0.55);
    --bw-line: rgba(11, 17, 31, 0.08);
    --bw-line-strong: rgba(11, 17, 31, 0.14);

    /* Text */
    --bw-ink: #0b111f;
    --bw-ink-2: #273a4e;
    --bw-ink-3: #526171;
    --bw-ink-mute: #8696a8;

    /* Effects */
    --bw-shadow-sm: 0 2px 6px rgba(11, 17, 31, 0.06);
    --bw-shadow-md: 0 10px 30px rgba(11, 17, 31, 0.08);
    --bw-shadow-lg: 0 24px 60px rgba(11, 17, 31, 0.14);
    --bw-shadow-glow: 0 10px 30px rgba(0, 188, 235, 0.28);

    /* Radius */
    --bw-radius-sm: 10px;
    --bw-radius-md: 14px;
    --bw-radius-lg: 20px;
    --bw-radius-pill: 999px;

    /* Motion */
    --bw-ease: cubic-bezier(0.2, 0.57, 0.36, 0.8);
    --bw-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --bw-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Type system */
    --bw-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --bw-font-display: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------------------------------------------------------------------
   1. Body & background — soft gradient + subtle pattern overlay
   --------------------------------------------------------------------- */
body {
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(0, 188, 235, 0.18), transparent 60%),
        radial-gradient(900px 500px at -10% 10%, rgba(108, 92, 231, 0.12), transparent 60%),
        radial-gradient(1000px 700px at 50% 110%, rgba(0, 173, 165, 0.10), transparent 60%),
        linear-gradient(180deg, #eef6fc 0%, #f3f8fc 60%, #eaf3f9 100%) !important;
    background-attachment: fixed !important;
    color: var(--bw-ink);
    font-family: var(--bw-font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.01em;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'><circle cx='1.5' cy='1.5' r='1' fill='%2300bceb' fill-opacity='0.05'/></svg>");
    background-size: 28px 28px;
    opacity: 0.7;
}

main {
    position: relative;
    z-index: 1;
}

/* ---------------------------------------------------------------------
   2. Custom scrollbar
   --------------------------------------------------------------------- */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 188, 235, 0.45) transparent;
}
*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
*::-webkit-scrollbar-track {
    background: transparent;
}
*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00bceb, #6c5ce7);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #008cb6, #5849c1);
    background-clip: padding-box;
    border: 2px solid transparent;
}

/* ---------------------------------------------------------------------
   3. Header — glass + sticky + refined nav
   --------------------------------------------------------------------- */
.header_142699.main {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.72) !important;
    backdrop-filter: saturate(160%) blur(18px);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    border-bottom: 1px solid var(--bw-line) !important;
    box-shadow: 0 6px 24px rgba(11, 17, 31, 0.05) !important;
    transition: background 0.3s var(--bw-ease), box-shadow 0.3s var(--bw-ease);
}

.header_142699 .inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 14px 0;
}

.header_142699 .inner > a {
    font-family: var(--bw-font-display) !important;
    font-weight: 700 !important;
    font-size: 22px !important;
    background: linear-gradient(135deg, #00bceb 0%, #6c5ce7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    letter-spacing: 0.02em;
    text-transform: lowercase;
    white-space: nowrap;
    transition: filter 0.3s var(--bw-ease);
}
.header_142699 .inner > a:hover {
    filter: brightness(1.15) saturate(1.1);
}

.header_142699 .search-container {
    flex: 1 1 auto;
    min-width: 180px;
    display: flex;
    justify-content: flex-end;
    max-width: 520px;
    margin: 0 auto;
}

.header_142699 .form-search.style2 {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--bw-line);
    box-shadow: var(--bw-shadow-sm);
    border-radius: var(--bw-radius-pill);
    overflow: hidden;
    transition: all 0.3s var(--bw-ease);
    height: 44px;
    display: flex;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    position: relative;
}
.header_142699 .form-search.style2:focus-within {
    border-color: var(--bw-primary);
    box-shadow: 0 0 0 4px rgba(0, 188, 235, 0.15), var(--bw-shadow-md);
    background: #fff;
    transform: translateY(-1px);
}

.header_142699 .form-search .search-input {
    height: 44px !important;
    padding: 0 14px 0 18px !important;
    border: none !important;
    background: transparent !important;
    font-size: 15px;
    color: var(--bw-ink);
    font-family: inherit;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    outline: none;
}
.header_142699 .form-search .search-input::placeholder {
    color: var(--bw-ink-mute);
    transition: opacity 0.2s var(--bw-ease);
}
.header_142699 .form-search.style2:focus-within .search-input::placeholder {
    opacity: 0.55;
}

.header_142699 .form-search .sbmt-btn {
    flex: 0 0 48px;
    width: 48px;
    height: 44px;
    background: linear-gradient(135deg, #00bceb 0%, #008cb6 100%);
    border-radius: 0 var(--bw-radius-pill) var(--bw-radius-pill) 0;
    transition: filter 0.25s var(--bw-ease), transform 0.25s var(--bw-ease);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
    flex-shrink: 0;
}
.header_142699 .form-search .sbmt-btn:hover {
    filter: brightness(1.1);
}
.header_142699 .form-search .sbmt-btn:active {
    transform: scale(0.96);
}
.header_142699 .form-search .sbmt-btn img {
    width: 18px !important;
    height: 18px !important;
    filter: brightness(0) invert(1);
}

/* Clear button — appears once the user types something */
.header_142699 .form-search .clear-btn {
    flex: 0 0 30px;
    width: 30px;
    height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    cursor: pointer;
    color: var(--bw-ink-mute);
    transition: color 0.2s var(--bw-ease), transform 0.2s var(--bw-ease);
    flex-shrink: 0;
    padding: 0;
}
.header_142699 .form-search .clear-btn:hover {
    color: var(--bw-ink);
    transform: scale(1.1);
}
.header_142699 .form-search.has-value .clear-btn {
    display: inline-flex;
}

.header_142699 .nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
}

.header_142699 .nav-menu .nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: nowrap;
}

.header_142699 .nav-list > li > .dropdown-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--bw-ink-2);
    border-radius: var(--bw-radius-pill);
    transition: all 0.25s var(--bw-ease);
    position: relative;
    white-space: nowrap;
}
.header_142699 .nav-list > li > .dropdown-btn::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00bceb, #6c5ce7);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.3s var(--bw-ease-out);
}
.header_142699 .nav-list > li > .dropdown-btn:hover {
    color: var(--bw-primary);
    background: rgba(0, 188, 235, 0.08);
}
.header_142699 .nav-list > li > .dropdown-btn:hover::after {
    width: 60%;
}

.header_142699 .burger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--bw-line);
    border-radius: var(--bw-radius-md);
    transition: all 0.25s var(--bw-ease);
    cursor: pointer;
}
.header_142699 .burger-btn:hover {
    background: #fff;
    border-color: var(--bw-primary);
    box-shadow: 0 0 0 4px rgba(0, 188, 235, 0.12);
}
.header_142699 .burger-btn svg {
    stroke: var(--bw-ink-2) !important;
}

@media (min-width: 1024px) {
    .header_142699 .burger-btn { display: none; }
}
@media (max-width: 1023px) {
    .header_142699 .nav-menu { display: none; }
    .header_142699 .search-container {
        flex: 1 1 auto;
        max-width: none;
        min-width: 0;
    }
}

/* Mid-size screens — give the search box breathing room by
   tightening the nav items so it never gets squeezed. */
@media (max-width: 1280px) {
    .header_142699 .nav-list > li > .dropdown-btn {
        padding: 7px 10px;
        font-size: 13px;
    }
    .header_142699 .inner {
        gap: 14px;
    }
}

/* Tight mobile — search gets a slight breathing room */
@media (max-width: 767px) {
    .header_142699 .inner {
        gap: 10px;
    }
    .header_142699 .inner > a {
        font-size: 18px !important;
    }
    .header_142699 .form-search .search-input {
        font-size: 14px;
        padding: 0 10px 0 14px !important;
    }
}

/* Slide-in mobile menu */
.menu-popup {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    min-height: 100vh;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: saturate(160%) blur(20px);
    -webkit-backdrop-filter: saturate(160%) blur(20px);
    border-left: 1px solid var(--bw-line) !important;
    box-shadow: -16px 0 40px rgba(11, 17, 31, 0.12) !important;
    width: 70% !important;
    max-width: 360px;
    padding: 80px 24px 24px;
    z-index: 1001;
    transition: right 0.35s var(--bw-ease-out);
}
.menu-popup.show {
    right: 0;
}
.menu-popup .nav-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px;
    width: 100%;
    padding: 0;
    height: auto;
}
.menu-popup .nav-list > li {
    display: block !important;
    margin: 0 !important;
}
.menu-popup .nav-list > li > .dropdown-btn {
    display: block;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 500;
    color: var(--bw-ink-2);
    border-radius: var(--bw-radius-md);
    transition: all 0.25s var(--bw-ease);
}
.menu-popup .nav-list > li > .dropdown-btn:hover {
    background: rgba(0, 188, 235, 0.1);
    color: var(--bw-primary);
}
.menu-popup .close-menu {
    position: absolute;
    top: 16px !important;
    right: 16px !important;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 17, 31, 0.04);
    border-radius: 50%;
    transition: all 0.2s var(--bw-ease);
    cursor: pointer;
    z-index: 2;
}
.menu-popup .close-menu:hover {
    background: rgba(11, 17, 31, 0.1);
}

/* Menu overlay — blocks background interaction */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 17, 31, 0.35);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Tablet — slightly narrower so background is still visible */
@media (max-width: 1023px) {
    .menu-popup {
        width: 60% !important;
        max-width: 420px;
    }
}

/* Mobile — full screen for best UX */
@media (max-width: 767px) {
    .menu-popup {
        width: 100% !important;
        max-width: none;
        padding: 72px 20px 20px;
    }
    .menu-popup .nav-list > li > .dropdown-btn {
        font-size: 18px;
        padding: 14px 16px;
    }
}

/* ---------------------------------------------------------------------
   4. Section title — decorative bar + glass icon badge
   --------------------------------------------------------------------- */
.trendbox .common_title {
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    font-family: var(--bw-font-display) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--bw-ink) !important;
    text-transform: none !important;
    letter-spacing: -0.01em;
    padding: 6px 0 14px;
    margin-bottom: 8px;
    position: relative;
    flex-wrap: nowrap;
    min-width: 0;
}
.trendbox .common_title::before {
    content: "";
    width: 5px;
    height: 24px;
    background: linear-gradient(180deg, #00bceb 0%, #6c5ce7 100%);
    border-radius: 4px;
    flex: none;
    box-shadow: 0 4px 12px rgba(0, 188, 235, 0.4);
}
.trendbox .common_title .iconlinear {
    width: 24px !important;
    height: 24px !important;
    transform: none !important;
    margin-right: 0 !important;
    background: linear-gradient(135deg, rgba(0, 188, 235, 0.15), rgba(108, 92, 231, 0.15));
    padding: 5px;
    border-radius: 8px;
    box-sizing: content-box;
}
.trendbox .common_title a {
    color: inherit !important;
    transition: color 0.25s var(--bw-ease);
}
.trendbox .common_title > a:not(.viewAll) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.trendbox .common_title a:hover {
    color: var(--bw-primary) !important;
}
.trendbox .common_title .viewAll {
    margin-left: auto !important;
    position: static !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: var(--bw-ink-3) !important;
    text-transform: none;
    padding: 5px 12px;
    border: 1px solid var(--bw-line-strong);
    border-radius: var(--bw-radius-pill);
    transition: all 0.25s var(--bw-ease);
    background: rgba(255, 255, 255, 0.6);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: none;
}
.trendbox .common_title .viewAll:hover {
    background: var(--bw-primary);
    color: #fff !important;
    border-color: var(--bw-primary);
    box-shadow: var(--bw-shadow-glow);
}

/* Random game button next to section title */
.trendbox .random-game-btn {
    margin-left: auto !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--bw-primary);
    background: rgba(0, 188, 235, 0.08);
    border: 1px solid rgba(0, 188, 235, 0.25);
    border-radius: var(--bw-radius-pill);
    cursor: pointer;
    transition: all 0.25s var(--bw-ease);
    font-family: inherit;
    line-height: 1;
    white-space: nowrap;
    flex: none;
}
.trendbox .random-game-btn:hover {
    background: var(--bw-primary);
    color: #fff;
    border-color: var(--bw-primary);
    box-shadow: var(--bw-shadow-glow);
    transform: translateY(-1px);
}
.trendbox .random-game-btn:active {
    transform: scale(0.96);
}
.trendbox .random-game-btn .dice-icon {
    width: 14px;
    height: 14px;
    display: inline-block;
    transition: transform 0.4s var(--bw-ease-out);
}
.trendbox .random-game-btn:hover .dice-icon {
    transform: rotate(180deg);
}

/* Title that has both random button and viewAll — push viewAll next to random */
.trendbox .common_title:has(.random-game-btn) .viewAll {
    margin-left: 8px !important;
}

/* -----------------------------------------------------------------
   Like section header (You may also like it)
   ----------------------------------------------------------------- */
.like-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
}
.like-header .title-block {
    margin-bottom: 0 !important;
}
.like-games {
    padding: 16px 20px 20px !important;
}
@media (max-width: 767px) {
    .like-games {
        padding: 12px 16px 16px !important;
    }
}

.trendbox .common_title.top::after,
.trendbox .common_title.hot::after {
    content: none !important;
}

/* ---------------------------------------------------------------------
   5. Game card — refined hover with soft gradient border & lift
   --------------------------------------------------------------------- */
.pop_li {
    transition: transform 0.4s var(--bw-ease-out);
}
.pop_li_box {
    border-radius: var(--bw-radius-md) !important;
    box-shadow: 0 4px 16px rgba(11, 17, 31, 0.08) !important;
    transition: transform 0.45s var(--bw-ease-out), box-shadow 0.45s var(--bw-ease-out);
    position: relative;
    background: #fff;
    isolation: isolate;
}
.pop_li_box::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 188, 235, 0.0), rgba(108, 92, 231, 0.0));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: background 0.5s var(--bw-ease-out);
    pointer-events: none;
}
.pop_li:hover .pop_li_box {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(11, 17, 31, 0.16) !important;
}
.pop_li:hover .pop_li_box::before {
    background: linear-gradient(135deg, rgba(0, 188, 235, 0.7), rgba(108, 92, 231, 0.7));
}

.game_img {
    border-radius: var(--bw-radius-md) !important;
    overflow: hidden;
    position: relative;
}
.game_img img {
    transition: transform 0.6s var(--bw-ease-out), filter 0.4s var(--bw-ease);
    will-change: transform;
}
.pop_li:hover .game_img img {
    transform: scale(1.1);
    filter: saturate(1.05);
}

/* ---------------------------------------------------------------------
   6. Buttons — modernized (Play Now, .simple-btn, .btn-section)
   --------------------------------------------------------------------- */
.playNow {
    background: linear-gradient(135deg, #00bceb 0%, #008cb6 100%) !important;
    border: none !important;
    color: #fff !important;
    border-radius: var(--bw-radius-pill) !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 18px rgba(0, 188, 235, 0.32);
    transition: all 0.3s var(--bw-ease-out) !important;
    position: relative;
    overflow: hidden;
}
.playNow::after {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    transition: left 0.6s var(--bw-ease);
}
.playNow:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 28px rgba(0, 188, 235, 0.45) !important;
    filter: brightness(1.05);
}
.playNow:hover::after { left: 100%; }
.playNow:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 188, 235, 0.25), 0 6px 18px rgba(0, 188, 235, 0.32);
}

.pop_li .playNow {
    background: #fff !important;
    color: var(--bw-primary) !important;
    border: 1.5px solid var(--bw-primary) !important;
    box-shadow: none !important;
}
.pop_li .playNow:hover {
    background: linear-gradient(135deg, #00bceb 0%, #008cb6 100%) !important;
    color: #fff !important;
}

.btn-section.get-btn-139871,
.laguna-comments-wrapper .simple-btn {
    background: linear-gradient(135deg, #00bceb 0%, #008cb6 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--bw-radius-md) !important;
    box-shadow: 0 6px 18px rgba(0, 188, 235, 0.28) !important;
    transition: all 0.3s var(--bw-ease-out) !important;
    font-weight: 600 !important;
}
.btn-section.get-btn-139871:hover,
.laguna-comments-wrapper .simple-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 28px rgba(0, 188, 235, 0.42) !important;
    filter: brightness(1.05);
}

#myModal .close,
#myModal .unlock {
    border-radius: var(--bw-radius-pill) !important;
    padding: 8px 28px !important;
    font-weight: 600 !important;
    transition: all 0.25s var(--bw-ease) !important;
    border: none !important;
}
#myModal .close {
    background: linear-gradient(135deg, #00bceb 0%, #008cb6 100%) !important;
    box-shadow: 0 6px 18px rgba(0, 188, 235, 0.32);
}
#myModal .close:hover { transform: translateY(-2px); filter: brightness(1.05); }
#myModal .unlock {
    background: linear-gradient(135deg, #ff5b5b 0%, #ec4545 100%) !important;
    box-shadow: 0 6px 18px rgba(236, 69, 69, 0.32);
}
#myModal .unlock:hover { transform: translateY(-2px); filter: brightness(1.05); }

/* ---------------------------------------------------------------------
   7. Pagination — refined pills
   --------------------------------------------------------------------- */
.page-numbers {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid var(--bw-line) !important;
    box-shadow: var(--bw-shadow-sm) !important;
    color: var(--bw-ink-2) !important;
    font-weight: 500 !important;
    transition: all 0.3s var(--bw-ease-out) !important;
}
.page-numbers:hover {
    background: var(--bw-primary) !important;
    color: #fff !important;
    border-color: var(--bw-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 188, 235, 0.32) !important;
}
.page-numbers.current {
    background: linear-gradient(135deg, #00bceb 0%, #008cb6 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 8px 20px rgba(0, 188, 235, 0.4) !important;
}

/* ---------------------------------------------------------------------
   8. Game info containers — softer glass surfaces
   --------------------------------------------------------------------- */
.container.main .gameBox,
.play-game,
.list-game,
.left-model .list-game,
.info-h5-game,
.popular-apps_sidebar,
.popular-now_block,
.product_section,
.popular-reviewed_section,
.trendbox {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Wrap the body content in a soft glass surface for a more refined feel */
.container.main .gameBox {
    background: rgba(255, 255, 255, 0.55) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: var(--bw-shadow-md) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--bw-radius-lg) !important;
}

.play-game,
.list-game,
.info-h5-game,
.popular-now_block {
    background: rgba(255, 255, 255, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: var(--bw-shadow-md) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--bw-radius-lg) !important;
}

/* ---------------------------------------------------------------------
   9. Title-section — refined headings
   --------------------------------------------------------------------- */
.title-section,
.page-list-game .top-part h1,
.sitemap_page .title-section,
.title-block,
.title-sidebar {
    font-family: var(--bw-font-display) !important;
    color: var(--bw-ink) !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em;
}

/* ---------------------------------------------------------------------
   10. Staggered reveal animation for game cards
   --------------------------------------------------------------------- */
@keyframes bw-fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
.pop_li {
    animation: bw-fade-up 0.6s var(--bw-ease-out) both;
}
.pop_games .pop_li:nth-child(1)  { animation-delay: 0.02s; }
.pop_games .pop_li:nth-child(2)  { animation-delay: 0.05s; }
.pop_games .pop_li:nth-child(3)  { animation-delay: 0.08s; }
.pop_games .pop_li:nth-child(4)  { animation-delay: 0.11s; }
.pop_games .pop_li:nth-child(5)  { animation-delay: 0.14s; }
.pop_games .pop_li:nth-child(6)  { animation-delay: 0.17s; }
.pop_games .pop_li:nth-child(7)  { animation-delay: 0.20s; }
.pop_games .pop_li:nth-child(8)  { animation-delay: 0.23s; }
.pop_games .pop_li:nth-child(9)  { animation-delay: 0.26s; }
.pop_games .pop_li:nth-child(10) { animation-delay: 0.29s; }
.pop_games .pop_li:nth-child(11) { animation-delay: 0.32s; }
.pop_games .pop_li:nth-child(12) { animation-delay: 0.35s; }
.pop_games .pop_li:nth-child(n+13) { animation-delay: 0.38s; }

.trendbox {
    animation: bw-fade-up 0.7s var(--bw-ease-out) both;
}
.trendbox:nth-of-type(1) { animation-delay: 0s; }
.trendbox:nth-of-type(2) { animation-delay: 0.08s; }
.trendbox:nth-of-type(3) { animation-delay: 0.16s; }
.trendbox:nth-of-type(4) { animation-delay: 0.24s; }
.trendbox:nth-of-type(n+5) { animation-delay: 0.32s; }

/* ---------------------------------------------------------------------
   11. Footer — refined
   --------------------------------------------------------------------- */
.footer_142699.main {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.7) 30%) !important;
    border-top: 1px solid var(--bw-line);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.footer_142699 .info-part .title-section,
.footer_142699 .info-part h4 {
    font-family: var(--bw-font-display) !important;
    color: var(--bw-ink) !important;
    font-weight: 700 !important;
}
.footer_142699 .info-part h4 {
    font-size: 18px !important;
    margin-top: 18px;
    margin-bottom: 8px;
    position: relative;
    padding-left: 14px;
}
.footer_142699 .info-part h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, #00bceb, #6c5ce7);
    border-radius: 2px;
}
.footer_142699 .info-part .text {
    color: var(--bw-ink-3) !important;
    line-height: 1.7;
    font-size: 15px;
}
.footer_142699 .menu-list {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.footer_142699 .menu-list a {
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--bw-line);
    border-radius: var(--bw-radius-pill);
    color: var(--bw-ink-2) !important;
    font-size: 14px;
    transition: all 0.25s var(--bw-ease);
}
.footer_142699 .menu-list a:hover {
    background: var(--bw-primary);
    color: #fff !important;
    border-color: var(--bw-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 188, 235, 0.32);
}

/* ---------------------------------------------------------------------
   12. Ad containers — quieter, less jarring
   --------------------------------------------------------------------- */
.ad {
    background: rgba(255, 255, 255, 0.55) !important;
    border: 1px dashed rgba(11, 17, 31, 0.14) !important;
    border-radius: var(--bw-radius-md) !important;
    padding: 8px !important;
}
.ad p {
    color: var(--bw-ink-mute) !important;
    letter-spacing: 0.15em;
    font-size: 11px !important;
    text-transform: uppercase;
    margin: 4px 0 !important;
}
.ad .adBox {
    border-radius: var(--bw-radius-sm);
    overflow: hidden;
}

/* ---------------------------------------------------------------------
   13. Misc refinements
   --------------------------------------------------------------------- */
::selection {
    background: rgba(0, 188, 235, 0.25);
    color: var(--bw-ink);
}

a {
    transition: color 0.2s var(--bw-ease);
}

/* Smooth focus rings globally */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--bw-primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Rating stars subtle glow on hover */
.rating:hover .rating-info {
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.6));
    transition: filter 0.3s var(--bw-ease);
}
.rating .rating-info {
    transition: filter 0.3s var(--bw-ease);
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
