/* Qadiyah Experience Mode: cheerful games-first skin */

.experience-toggle-btn {
    color: #7dd3fc;
}

.experience-toggle-btn:hover {
    color: #38bdf8;
    background: rgba(56, 189, 248, .12);
    border-color: rgba(56, 189, 248, .32);
    box-shadow: 0 6px 20px rgba(56, 189, 248, .16);
}

.experience-toggle-btn.is-games {
    color: #ff4f7b;
    background: rgba(255, 255, 255, .88);
    border-color: rgba(255, 79, 123, .32);
}

.hero-title .hero-title-line {
    color: inherit;
    background: none;
    -webkit-text-fill-color: currentColor;
}

html[data-experience="games"] {
    --primary-color: #fff8e7;
    --secondary-color: #e7fbff;
    --accent-color: #ff4f7b;
    --gold-color: #ffc857;
    --text-color: #24304a;
    --text-muted: #667085;
    --success-color: #26c485;
    --danger-color: #ff4d6d;
    --card-bg: #ffffff;
    --border-color: rgba(36, 48, 74, .13);
    --gradient-primary: linear-gradient(180deg, #fff8e7 0%, #e7fbff 52%, #f2ffe9 100%);
    --gradient-accent: linear-gradient(135deg, #ff4f7b 0%, #ffb84d 55%, #38d6c8 100%);
    --shadow-lg: 0 24px 48px rgba(27, 50, 82, .14);
    --shadow-glow: 0 0 34px rgba(255, 184, 77, .22);
    --header-bg: rgba(255, 255, 255, .9);
    --header-bg-solid: rgba(255, 255, 255, .96);
    --overlay-bg: rgba(255, 255, 255, .34);
    --chat-user-bg: rgba(255, 79, 123, .12);
}

html[data-experience="games"] body {
    background:
        linear-gradient(180deg, #fff8e7 0%, #e7fbff 46%, #f6fff1 100%);
    color: var(--text-color);
}

html[data-experience="games"] .site-header {
    background: rgba(255, 255, 255, .88);
    border-bottom: 1px solid rgba(36, 48, 74, .1);
    box-shadow: 0 10px 30px rgba(27, 50, 82, .09);
}

html[data-experience="games"] .site-header.scrolled {
    background: rgba(255, 255, 255, .96);
}

html[data-experience="games"] .header-laser-line::before {
    background: linear-gradient(90deg, #ff4f7b, #ffc857, #38d6c8, #5b8cff);
}

html[data-experience="games"] .logo-text,
html[data-experience="games"] .tagline-reveal {
    -webkit-text-fill-color: unset;
    background: none;
    color: #24304a;
}

html[data-experience="games"] .logo-icon {
    background: linear-gradient(135deg, #ff4f7b, #ffc857);
    color: #fff;
    box-shadow: 0 10px 24px rgba(255, 79, 123, .22);
}

html[data-experience="games"] .main-nav .nav-menu-list > li > a {
    color: #31405f;
}

html[data-experience="games"] .main-nav .nav-menu-list > li > a:hover,
html[data-experience="games"] .main-nav .nav-menu-list > li.current-menu-item > a,
html[data-experience="games"] .main-nav .nav-menu-list > li.current_page_item > a {
    color: #ff4f7b;
    background: rgba(255, 79, 123, .1);
}

html[data-experience="games"] .header-icon-btn {
    color: #475569;
    background: rgba(255, 255, 255, .82);
    border-color: rgba(36, 48, 74, .12);
}

html[data-experience="games"] .theme-toggle-btn:hover {
    color: #ffb703;
}

html[data-experience="games"] .mobile-menu-toggle {
    background: rgba(255, 255, 255, .82);
    border-color: rgba(36, 48, 74, .12);
}

html[data-experience="games"] .hamburger-line {
    background: #31405f;
}

html[data-experience="games"] .hero-section {
    background:
        linear-gradient(180deg, #fff3d0 0%, #e4fbff 58%, #fff8e7 100%);
    color: #24304a;
}

html[data-experience="games"] .hero-bg {
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .22) 0 12px, rgba(255, 200, 87, .14) 12px 24px),
        linear-gradient(135deg, rgba(255, 79, 123, .16), rgba(56, 214, 200, .16));
}

html[data-experience="games"] .hero-badge {
    color: #8a3b00;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 184, 77, .48);
    box-shadow: 0 10px 24px rgba(255, 184, 77, .14);
}

html[data-experience="games"] .hero-title,
html[data-experience="games"] .hero-title span {
    color: #24304a;
    -webkit-text-fill-color: unset;
    background: none;
    text-shadow: none;
}

html[data-experience="games"] .hero-title span:not(.hero-title-line) {
    color: #ff4f7b;
}

html[data-experience="games"] .hero-description {
    color: #4b5b78;
}

html[data-experience="games"] .btn-primary,
html[data-experience="games"] .hero-buttons .btn-primary {
    background: linear-gradient(135deg, #ff4f7b, #ff8f3d);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 14px 30px rgba(255, 79, 123, .24);
}

html[data-experience="games"] .btn-secondary,
html[data-experience="games"] .hero-buttons .btn-secondary {
    background: #fff;
    color: #24304a;
    border-color: rgba(36, 48, 74, .14);
}

html[data-experience="games"] .btn-gold {
    background: linear-gradient(135deg, #ffc857, #ff8f3d);
    color: #291703;
}

html[data-experience="games"] .hero-stats,
html[data-experience="games"] .stat-item,
html[data-experience="games"] .daily-card,
html[data-experience="games"] .top-inv-card,
html[data-experience="games"] .home-blog-card,
html[data-experience="games"] .case-card {
    background: rgba(255, 255, 255, .84);
    border-color: rgba(36, 48, 74, .12);
    box-shadow: 0 18px 38px rgba(27, 50, 82, .1);
}

html[data-experience="games"] .stat-number,
html[data-experience="games"] .section-title {
    color: #24304a;
}

html[data-experience="games"] .stat-label,
html[data-experience="games"] .section-subtitle {
    color: #667085;
}

html[data-experience="games"] .qchall-promo {
    background:
        linear-gradient(180deg, #ffffff 0%, #f1fff8 100%);
    border-top: 1px solid rgba(36, 48, 74, .08);
    border-bottom: 1px solid rgba(36, 48, 74, .08);
}

html[data-experience="games"] .qchall-promo__title {
    color: #24304a;
}

html[data-experience="games"] .qchall-promo__more {
    color: #ff4f7b;
    background: rgba(255, 79, 123, .1);
    border-color: rgba(255, 79, 123, .18);
}

html[data-experience="games"] .qchall-promo__card {
    background: #fff;
    border: 1px solid rgba(36, 48, 74, .11);
    box-shadow: 0 16px 34px rgba(27, 50, 82, .1);
}

html[data-experience="games"] .qchall-promo__card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 79, 123, .24);
}

html[data-experience="games"] .qchall-promo__icon {
    background: #fff2c2;
}

html[data-experience="games"] .qchall-promo__name {
    color: #24304a;
}

html[data-experience="games"] .qchall-promo__desc {
    color: #667085;
}

html[data-experience="games"] .qchall-promo__btn {
    background: #38d6c8;
    color: #07322e;
}

html[data-experience="games"] .daily-case-section,
html[data-experience="games"] .cases-browse-section,
html[data-experience="games"] .top-investigators-section,
html[data-experience="games"] .home-blog-section {
    background: transparent;
}

html[data-experience="games"] .browse-filters,
html[data-experience="games"] .filter-chip {
    background: rgba(255, 255, 255, .76);
    border-color: rgba(36, 48, 74, .12);
    color: #31405f;
}

html[data-experience="games"] .filter-chip.active,
html[data-experience="games"] .filter-chip:hover {
    color: #fff;
    background: #5b8cff;
}

html[data-experience="games"] .cta-section {
    background: linear-gradient(135deg, #5b8cff, #38d6c8 55%, #ffc857);
    color: #fff;
}

html[data-experience="games"] .footer-logo,
html[data-experience="games"] .footer-title {
    color: #fff;
}

@media (max-width: 768px) {
    html[data-experience="games"] .main-nav {
        background: rgba(255, 255, 255, .96);
    }
}

.game-mode-only {
    display: none !important;
}

html[data-experience="games"] .game-mode-only {
    display: block !important;
}

html[data-experience="games"] .case-mode-only {
    display: none !important;
}

html[data-experience="games"] .header-particles {
    display: none;
}

html[data-experience="games"] .site-main,
html[data-experience="games"] .case-page,
html[data-experience="games"] .profile-page,
html[data-experience="games"] .leaderboard-page,
html[data-experience="games"] .qadiyah-archive {
    background:
        linear-gradient(180deg, #fff8e7 0%, #e7fbff 42%, #f6fff1 100%);
}

/* شريط ألعاب عام يظهر في كل صفحات الموقع عند تفعيل وضع الألعاب */
.games-topbar {
    border-top: 1px solid rgba(36, 48, 74, .08);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 28px rgba(27, 50, 82, .11);
}

.games-topbar__inner {
    width: min(1180px, calc(100% - 32px));
    height: 46px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.games-topbar__home,
.games-topbar__cases,
.games-topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 7px 12px;
    border: 1px solid rgba(36, 48, 74, .1);
    border-radius: 999px;
    background: #fff;
    color: #24304a;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.games-topbar__home {
    color: #fff;
    background: linear-gradient(135deg, #ff4f7b, #ff8f3d);
    border-color: transparent;
}

.games-topbar__cases {
    color: #5b6275;
    background: #f7f9fc;
}

.games-topbar__rail {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.games-topbar__rail::-webkit-scrollbar {
    display: none;
}

.games-topbar__item:hover,
.games-topbar__home:hover,
.games-topbar__cases:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 79, 123, .28);
}

.games-topbar__icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fff3d4;
    font-size: 14px;
}

.mobile-games-shortcuts {
    margin: 18px 0 8px;
    padding: 14px;
    border: 1px solid rgba(255, 200, 87, .22);
    border-radius: 18px;
    background: rgba(255, 255, 255, .08);
}

.mobile-games-shortcuts__home {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    margin-bottom: 10px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff4f7b, #ff8f3d);
    color: #fff;
    text-decoration: none !important;
    font-weight: 900;
}

.mobile-games-shortcuts__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.mobile-games-shortcuts__grid a {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 800;
}

html[data-experience="games"] .hero-section {
    min-height: 100vh;
    align-items: center;
    padding-top: 170px;
}

html[data-experience="games"] .hero-content {
    width: min(1180px, 100%);
    max-width: 1180px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 440px);
    gap: 42px;
    align-items: center;
    text-align: right;
}

html[data-experience="games"] .hero-copy {
    min-width: 0;
}

html[data-experience="games"] .hero-badge {
    margin-right: 0;
    margin-left: auto;
}

html[data-experience="games"] .hero-title {
    font-size: clamp(2.45rem, 5vw, 4.65rem);
    margin-bottom: 20px;
}

html[data-experience="games"] .hero-description {
    max-width: 620px;
    margin-right: 0;
    margin-left: 0;
    font-size: 1.18rem;
}

html[data-experience="games"] .hero-buttons,
html[data-experience="games"] .hero-stats {
    justify-content: flex-start;
}

html[data-experience="games"] .hero-stats {
    width: fit-content;
    max-width: 100%;
    gap: 18px;
    margin-top: 34px;
    padding: 12px;
    border: 1px solid rgba(36, 48, 74, .1);
    border-radius: 20px;
}

html[data-experience="games"] .hero-stats .stat-item {
    min-width: 120px;
    padding: 12px 16px;
    border-radius: 16px;
}

.hero-game-stage {
    position: relative;
    min-width: 0;
}

.hero-game-stage__screen {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(36, 48, 74, .12);
    border-radius: 28px;
    padding: 22px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .76)),
        repeating-linear-gradient(90deg, rgba(91, 140, 255, .08) 0 1px, transparent 1px 34px),
        repeating-linear-gradient(0deg, rgba(56, 214, 200, .08) 0 1px, transparent 1px 34px);
    box-shadow: 0 26px 58px rgba(27, 50, 82, .16);
}

.hero-game-stage__screen::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px dashed rgba(255, 79, 123, .2);
    border-radius: 20px;
    pointer-events: none;
}

.hero-game-stage__top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    color: #24304a;
    font-weight: 900;
}

.hero-game-stage__top strong {
    padding: 6px 12px;
    border-radius: 999px;
    background: #24304a;
    color: #fff;
    font-size: 12px;
}

.hero-game-stage__cards {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hero-mini-game {
    min-height: 132px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    padding: 16px;
    border: 1px solid rgba(36, 48, 74, .1);
    border-radius: 18px;
    background: #fff;
    color: #24304a;
    text-decoration: none !important;
    box-shadow: 0 12px 24px rgba(27, 50, 82, .08);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.hero-mini-game:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 79, 123, .3);
    box-shadow: 0 18px 34px rgba(255, 79, 123, .14);
}

.hero-mini-game__icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #fff2c2;
    font-size: 24px;
    font-weight: 900;
}

.hero-mini-game__name {
    font-size: 15px;
    font-weight: 900;
}

.hero-mini-game small {
    color: #667085;
    font-weight: 800;
}

.hero-game-stage__controller {
    position: relative;
    z-index: 1;
    height: 58px;
    margin: 18px auto 0;
    display: grid;
    grid-template-columns: 72px 1fr 38px 38px;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 18px;
    background: #24304a;
}

.hero-game-stage__pad,
.hero-game-stage__bar,
.hero-game-stage__button {
    display: block;
}

.hero-game-stage__pad {
    height: 32px;
    border-radius: 10px;
    background:
        linear-gradient(90deg, transparent 38%, #fff 38% 62%, transparent 62%),
        linear-gradient(0deg, transparent 38%, #fff 38% 62%, transparent 62%),
        #5b8cff;
}

.hero-game-stage__bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .28);
}

.hero-game-stage__button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.hero-game-stage__button--pink {
    background: #ff4f7b;
}

.hero-game-stage__button--yellow {
    background: #ffc857;
}

.home-game-lobby-section {
    padding: 86px 30px;
    background:
        linear-gradient(180deg, #ffffff 0%, #f1fff8 100%);
    border-top: 1px solid rgba(36, 48, 74, .08);
    border-bottom: 1px solid rgba(36, 48, 74, .08);
}

.game-lobby-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.game-lobby-kicker,
.games-cases-gateway__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #ff4f7b;
    font-weight: 900;
}

.game-lobby-title,
.games-cases-gateway h2 {
    margin: 0;
    color: #24304a;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 900;
}

.game-lobby-subtitle,
.games-cases-gateway p {
    max-width: 620px;
    margin: 10px 0 0;
    color: #667085;
    line-height: 1.8;
}

.game-lobby-all {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 999px;
    background: #24304a;
    color: #fff;
    text-decoration: none !important;
    font-weight: 900;
    white-space: nowrap;
}

.game-mode-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.game-mode-pills span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid rgba(36, 48, 74, .1);
    border-radius: 999px;
    background: #fff;
    color: #31405f;
    font-weight: 800;
    font-size: 13px;
}

.game-lobby-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.game-lobby-card {
    position: relative;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid rgba(36, 48, 74, .1);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .86));
    color: #24304a;
    text-decoration: none !important;
    box-shadow: 0 18px 36px rgba(27, 50, 82, .1);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.game-lobby-card::before {
    content: '';
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 6px;
    background: linear-gradient(90deg, #ff4f7b, #ffc857, #38d6c8, #5b8cff);
}

.game-lobby-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 79, 123, .28);
    box-shadow: 0 24px 48px rgba(27, 50, 82, .14);
}

.game-lobby-card__tag {
    align-self: flex-start;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(255, 79, 123, .1);
    color: #d6295a;
    font-weight: 900;
    font-size: 12px;
}

.game-lobby-card__icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    border-radius: 18px;
    background: #fff2c2;
    color: #24304a;
    font-size: 31px;
    font-weight: 900;
}

.game-lobby-card__meta {
    color: #5b8cff;
    font-size: 12px;
    font-weight: 900;
}

.game-lobby-card h3 {
    margin: 0;
    color: #24304a;
    font-size: 1.28rem;
    font-weight: 900;
    line-height: 1.35;
}

.game-lobby-card p {
    margin: 0;
    color: #667085;
    line-height: 1.75;
    font-size: 14px;
}

.game-lobby-card__action {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff4f7b;
    font-weight: 900;
}

.game-lobby-card--spy .game-lobby-card__icon,
.game-lobby-card--sevens-online .game-lobby-card__icon {
    background: #e7fbff;
}

.game-lobby-card--sequence .game-lobby-card__icon,
.game-lobby-card--recipe .game-lobby-card__icon {
    background: #f2ffe9;
}

.game-lobby-card--crossword .game-lobby-card__icon,
.game-lobby-card--features .game-lobby-card__icon {
    background: #eef3ff;
}

.games-cases-gateway {
    padding: 78px 30px;
    background:
        repeating-linear-gradient(135deg, rgba(36, 48, 74, .035) 0 10px, transparent 10px 20px),
        linear-gradient(180deg, #fff8e7 0%, #fff 100%);
}

.games-cases-gateway__inner {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, 1fr);
    gap: 28px;
    align-items: center;
}

.games-cases-gateway__copy .btn {
    margin-top: 22px;
}

.games-cases-gateway__list {
    display: grid;
    gap: 12px;
}

.games-case-mini {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 12px;
    min-height: 82px;
    padding: 14px;
    border: 1px solid rgba(36, 48, 74, .1);
    border-radius: 18px;
    background: #fff;
    color: #24304a;
    text-decoration: none !important;
    box-shadow: 0 14px 28px rgba(27, 50, 82, .08);
    transition: transform .2s ease, border-color .2s ease;
}

.games-case-mini:hover {
    transform: translateX(-4px);
    border-color: rgba(255, 79, 123, .26);
}

.games-case-mini__icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #24304a;
    color: #fff;
    font-size: 22px;
}

.games-case-mini__body {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.games-case-mini strong {
    color: #24304a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.games-case-mini small {
    color: #667085;
    font-weight: 800;
}

html[data-experience="games"] .top-investigators-section {
    background:
        linear-gradient(180deg, #e7fbff 0%, #fff 100%);
}

html[data-experience="games"] .top-inv-card {
    border-radius: 18px;
}

html[data-experience="games"] .home-blog-section {
    background: #fff;
}

html[data-experience="games"] .cta-section {
    background:
        linear-gradient(135deg, #24304a 0%, #5b8cff 42%, #38d6c8 72%, #ffc857 100%);
}

html[data-experience="games"] .site-footer {
    background:
        linear-gradient(180deg, #24304a 0%, #172033 100%);
    color: #f8fafc;
}

html[data-experience="games"] .footer-description,
html[data-experience="games"] .footer-links a,
html[data-experience="games"] .footer-bottom {
    color: rgba(248, 250, 252, .78);
}

html[data-experience="games"] .footer-links a:hover {
    color: #ffc857;
}

html[data-experience="games"] .search-overlay-container,
html[data-experience="games"] .notification-dropdown,
html[data-experience="games"] .pwa-install-banner,
html[data-experience="games"] .qissue-popover {
    background: rgba(255, 255, 255, .96);
    color: #24304a;
    border-color: rgba(36, 48, 74, .12);
}

html[data-experience="games"] .qadiyah-archive .arc-hero-section,
html[data-experience="games"] .leaderboard-page .lb-hero,
html[data-experience="games"] .profile-hero-card,
html[data-experience="games"] .case-hero {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(231, 251, 255, .82));
    border-color: rgba(36, 48, 74, .12);
    color: #24304a;
}

html[data-experience="games"] .case-story,
html[data-experience="games"] .suspect-card,
html[data-experience="games"] .evidence-card,
html[data-experience="games"] .investigation-section,
html[data-experience="games"] .accusation-section,
html[data-experience="games"] .leaderboard-table,
html[data-experience="games"] .profile-stat-card {
    background: rgba(255, 255, 255, .9);
    border-color: rgba(36, 48, 74, .12);
    color: #24304a;
}

@media (max-width: 1024px) {
    html[data-experience="games"] .hero-content,
    .games-cases-gateway__inner {
        grid-template-columns: 1fr;
    }

    html[data-experience="games"] .hero-content {
        text-align: center;
    }

    html[data-experience="games"] .hero-description {
        margin-right: auto;
        margin-left: auto;
    }

    html[data-experience="games"] .hero-buttons,
    html[data-experience="games"] .hero-stats {
        justify-content: center;
    }

    .game-lobby-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .game-lobby-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    html[data-experience="games"] .hero-section {
        padding: 148px 16px 54px;
    }

    html[data-experience="games"] .hero-title {
        font-size: clamp(2rem, 12vw, 3rem);
    }

    html[data-experience="games"] .hero-description {
        font-size: 1rem;
    }

    html[data-experience="games"] .hero-stats {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    html[data-experience="games"] .hero-stats .stat-item {
        min-width: 0;
        padding: 10px 8px;
    }

    html[data-experience="games"] .stat-number {
        font-size: 1.45rem;
    }

    .hero-game-stage__screen {
        padding: 16px;
        border-radius: 22px;
    }

    .hero-game-stage__cards,
    .game-lobby-grid,
    .mobile-games-shortcuts__grid {
        grid-template-columns: 1fr;
    }

    .hero-mini-game {
        min-height: 112px;
    }

    .hero-game-stage__controller {
        grid-template-columns: 56px 1fr 32px 32px;
        height: 52px;
    }

    .games-topbar__inner {
        width: calc(100% - 20px);
        height: 42px;
    }

    .games-topbar__home span,
    .games-topbar__cases span {
        display: none;
    }

    .games-topbar__home,
    .games-topbar__cases {
        width: 38px;
        justify-content: center;
        padding: 7px;
    }

    .games-topbar__item {
        font-size: 12px;
        padding: 7px 10px;
    }

    .home-game-lobby-section,
    .games-cases-gateway {
        padding: 58px 16px;
    }

    .game-lobby-card {
        min-height: 230px;
        border-radius: 18px;
    }

    .games-case-mini {
        grid-template-columns: 46px minmax(0, 1fr) 22px;
    }
}
