/* 儿童友好主题 - Kid-Friendly Fresh Mint Theme */
/* 清新、梦幻、充满活力但不失优雅 */

:root {
    /* 主色调 - 清新薄荷青 */
    --primary-color: #5FDCD2;
    --primary-dark: #3DBDB3;
    --primary-light: #b8f1ed;
    --secondary-color: #A8D8FF;
    --accent-color: #FFD166;
    --success-color: #6DD6B8;
    --error-color: #FF8A9B;
    --orange-color: #FFB366;
    --purple-color: #C8A2E0;

    /* 渐变色 - 梦幻糖果色（清新冷色调） */
    --gradient-primary: linear-gradient(135deg, #5FDCD2 0%, #b8f1ed 100%);
    --gradient-secondary: linear-gradient(135deg, #A8D8FF 0%, #D4EAFF 100%);
    --gradient-accent: linear-gradient(135deg, #FFD166 0%, #FFE5A0 100%);
    --gradient-success: linear-gradient(135deg, #6DD6B8 0%, #A8EDD7 100%);
    --gradient-rainbow: linear-gradient(135deg, #5FDCD2 0%, #A8D8FF 25%, #C8A2E0 50%, #FFD166 75%, #b8f1ed 100%);
    --gradient-card: linear-gradient(135deg, rgba(95, 220, 210, 0.08) 0%, rgba(168, 216, 255, 0.08) 100%);

    /* 背景色 - 清新浅色系（冷色调） */
    --bg-primary: #F0FCFB;
    --bg-secondary: #E8F9F8;
    --bg-tertiary: #D8F5F3;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-card-hover: rgba(255, 255, 255, 1);

    /* 文字颜色 - 深色系 */
    --text-primary: #2C3E50;
    --text-secondary: #546E7A;
    --text-tertiary: #78909C;
    --text-muted: #B0BEC5;

    /* 边框和阴影 - 柔和青色阴影 */
    --border-color: rgba(95, 220, 210, 0.2);
    --border-glow: rgba(95, 220, 210, 0.3);
    --shadow-sm: 0 2px 8px rgba(95, 220, 210, 0.1);
    --shadow-md: 0 4px 12px rgba(95, 220, 210, 0.15);
    --shadow-lg: 0 8px 24px rgba(95, 220, 210, 0.2);
    --shadow-xl: 0 12px 32px rgba(95, 220, 210, 0.25);
    --shadow-glow: 0 0 20px rgba(95, 220, 210, 0.25);
    --shadow-glow-lg: 0 0 30px rgba(95, 220, 210, 0.3);
}

* {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--bg-secondary);
    background-image:
        radial-gradient(circle at 20% 50%, rgba(95, 220, 210, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(168, 216, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(200, 162, 224, 0.06) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    font-size: 14px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 明亮可爱的导航栏 - 调整为更小尺寸 */
.page-head {
    display: flex;
    align-items: center;
    height: 0.7rem; /* 从0.88rem减小到0.7rem */
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: all 0.3s ease;
}

.page-head:hover {
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--primary-color);
}

.page-head-title {
    flex: 1;
    font-size: 0.3rem; /* 从0.36rem减小到0.3rem */
    color: var(--text-primary);
    font-weight: 800;
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.12rem;
    pointer-events: none;
}

.page-head-title > * {
    pointer-events: auto;
    cursor: pointer;
}

.page-head-logo {
    height: 0.5rem;
    width: auto;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    filter: drop-shadow(0 2px 4px rgba(95, 220, 210, 0.2));
}

.page-head-title span {
    display: inline-block;
}

.page-head-actbtn {
    width: 0.4rem; /* 从0.48rem减小到0.4rem */
    height: 0.4rem; /* 从0.48rem减小到0.4rem */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.16rem; /* 从0.2rem减小 */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border-radius: 0.2rem;
    position: relative;
    background: rgba(95, 220, 210, 0.08);
}

.page-head-actbtn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0.2rem;
    padding: 1px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-head-actbtn:hover::before {
    opacity: 1;
}

.page-head-actbtn:hover {
    background: rgba(95, 220, 210, 0.15);
    transform: scale(1.08);
    box-shadow: var(--shadow-glow);
}

.page-head-actbtn:active {
    transform: scale(0.95);
}

.page-head-actbtn img {
    width: 60%;
    height: 60%;
    filter: brightness(0) saturate(100%) invert(84%) sepia(23%) saturate(991%) hue-rotate(123deg) brightness(98%) contrast(93%);
    transition: filter 0.3s ease;
}

.page-head-actbtn:hover img {
    filter: brightness(0) saturate(100%) invert(80%) sepia(18%) saturate(1200%) hue-rotate(123deg) brightness(95%) contrast(95%);
}

/* 导航栏搜索容器 */
.page-head-search-container {
    display: flex;
    align-items: center;
    position: relative;
}

/* 明亮搜索框 */
.page-head-search-input {
    position: absolute;
    right: 0.7rem;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 0.24rem;
    padding: 0.06rem 0.06rem 0.06rem 0.16rem;
    height: 0.48rem; /* 从0.56rem减小 */
    width: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    border: 2px solid var(--border-color);
}

.page-head-search-input.active {
    width: 4.2rem;
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.page-head-search-input input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.28rem;
    color: var(--text-primary);
    padding: 0 0.1rem;
    min-width: 0;
}

.page-head-search-input input:focus {
    color: var(--primary-dark);
}

.page-head-search-input input::placeholder {
    color: var(--text-tertiary);
}

.header-search-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.06rem;
    transition: all 0.3s ease;
}

.header-search-btn:hover {
    transform: scale(1.1);
}

.header-search-btn:active {
    transform: scale(0.95);
}

/* 搜索框内的搜索图标（CSS绘制）*/
.search-icon-inner {
    position: relative;
    width: 0.28rem;
    height: 0.28rem;
    display: block;
}

.search-icon-inner::before {
    content: '';
    position: absolute;
    width: 0.18rem;
    height: 0.18rem;
    border: 2.5px solid var(--primary-color);
    border-radius: 50%;
    top: 0;
    left: 0;
    transition: border-color 0.3s ease;
}

.search-icon-inner::after {
    content: '';
    position: absolute;
    width: 2.5px;
    height: 0.12rem;
    background: var(--primary-color);
    bottom: 0;
    right: 0;
    transform: rotate(-45deg);
    transform-origin: bottom right;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.header-search-btn:hover .search-icon-inner::before {
    border-color: var(--primary-dark);
}

.header-search-btn:hover .search-icon-inner::after {
    background: var(--primary-dark);
}

/* 导航栏的搜索触发图标（CSS绘制）*/
.search-icon-outer {
    position: relative;
    width: 0.36rem;
    height: 0.36rem;
    display: block;
}

.search-icon-outer::before {
    content: '';
    position: absolute;
    width: 0.22rem;
    height: 0.22rem;
    border: 3px solid var(--text-primary);
    border-radius: 50%;
    top: 0.02rem;
    left: 0.02rem;
    transition: all 0.3s ease;
}

.search-icon-outer::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 0.14rem;
    background: var(--text-primary);
    bottom: 0.01rem;
    right: 0.01rem;
    transform: rotate(-45deg);
    transform-origin: bottom right;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.page-head-actbtn:hover .search-icon-outer::before {
    border-color: var(--primary-dark);
    transform: scale(1.05);
}

.page-head-actbtn:hover .search-icon-outer::after {
    background: var(--primary-dark);
    transform: rotate(-45deg) scale(1.05);
}

/* Category Panel */
.page-home-catepanel {
    padding: 0.12rem 0.3rem;
    background: transparent;
}

.page-home-catepanel:first-of-type {
    padding-top: 0.2rem;
}

.page-home-catepanel:last-of-type {
    padding-bottom: 0.12rem;
}

/* 特色游戏区美化 */
.featured-section {
    position: relative;
    overflow: hidden;
}

.page-home-catepanel-title {
    display: flex;
    min-height: 0.3rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.08rem 0;
    margin-bottom: 0.1rem;
}

.page-home-catepanel-title label {
    line-height: 0.44rem;
    font-size: 0.34rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.page-home-catepanel-title-more {
    font-size: 0.26rem;
    font-weight: 600;
    color: var(--text-primary);
    height: 0.36rem;
    line-height: 0.36rem;
    padding: 0 0.16rem;
    border-radius: 0.18rem;
    transition: all 0.2s ease;
}

.page-home-catepanel-title-more:hover {
    color: var(--text-secondary);
}

/* 霓虹风格大卡片 - 特色游戏 */
.page-home-catepanel-poplist {
    display: flex;
    margin-bottom: 0;
    gap: 0.24rem;
    flex-wrap: wrap;
}

.page-home-catepanel-poplist-item {
    position: relative;
    width: 2.78rem;
    height: 1.42rem;
    background: var(--bg-card);
    /* 移动端移除backdrop-filter提升性能 */
    border-radius: 0.24rem;
    margin-top: 0.5rem;
    overflow: visible;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid var(--border-color);
    isolation: isolate;
}

.page-home-catepanel-poplist-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    border-radius: 16px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    filter: blur(4px);
    transform: scale(0.98);
}

.page-home-catepanel-poplist-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.4s ease;
    overflow: hidden;
}

.page-home-catepanel-poplist-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg), var(--shadow-glow-lg);
    border-color: var(--primary-color);
}

.page-home-catepanel-poplist-item:hover::before {
    opacity: 0.6;
    transform: scale(1);
}

.page-home-catepanel-poplist-item:hover::after {
    opacity: 1;
}

.page-home-catepanel-poplist-item:nth-child(2n) {
    margin-right: 0;
}

.page-home-catepanel-poplist-item:nth-child(2n)::before {
    background: var(--gradient-secondary);
}

.page-home-catepanel-poplist-item-icon {
    position: absolute;
    width: 1.08rem;
    height: 1.08rem;
    object-fit: cover;
    border-radius: 0.2rem;
    border: 2px solid var(--primary-color);
    left: 0.2rem;
    top: -0.4rem;
    box-shadow: var(--shadow-md), var(--shadow-glow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    background: var(--bg-tertiary);
}

.page-home-catepanel-poplist-item:hover .page-home-catepanel-poplist-item-icon {
    transform: scale(1.08) rotate(-2deg);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg), var(--shadow-glow-lg);
}

.page-home-catepanel-poplist-item-name {
    position: absolute;
    bottom: 0.16rem;
    width: 100%;
    box-sizing: border-box;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    padding: 0 0.2rem;
    font-size: 0.28rem;
    line-height: 0.36rem;
    font-weight: 700;
    color: var(--text-primary);
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-home-catepanel-poplist-item-count {
    position: absolute;
    right: 7%;
    top: 12%;
    font-size: 0.8em;
    font-weight: 700;
    color: var(--text-secondary);
    line-height: 1.4;
    z-index: 1;
    background: rgba(95, 220, 210, 0.2);
    padding: 0.3em 0.6em;
    border-radius: 0.8em;
    /* 移动端移除backdrop-filter提升性能 */
    border: 1px solid rgba(95, 220, 210, 0.3);
    white-space: nowrap;
}

.page-home-catepanel-poplist-item-count label {
    display: none;
}

/* 霓虹风格游戏网格 */
.page-home-catepanel-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.12rem;
}

.page-home-catepanel-list-item {
    width: calc((100% - 0.24rem) / 3);
    margin-bottom: 0.16rem;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    padding: 0.14rem;
    border-radius: 0.2rem;
    background: rgba(20, 45, 50, 0.4);
    /* 移动端移除backdrop-filter提升性能 */
    border: 1px solid transparent;
    box-sizing: border-box;
}

/* 移动端图片包裹容器 - 垂直布局 */
.page-home-catepanel-list-item-image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.page-home-catepanel-list-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0.2rem;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.page-home-catepanel-list-item:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.page-home-catepanel-list-item:hover::before {
    opacity: 1;
}

.page-home-catepanel-list-item:active {
    transform: translateY(-3px);
}

.page-home-catepanel-list-item:nth-child(3n) {
    margin-right: 0;
}

.page-home-catepanel-list-item-icon {
    width: 1.80rem;
    height: 1.80rem;
    object-fit: cover;
    border-radius: 0.18rem;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-tertiary);
    border: 2px solid rgba(95, 220, 210, 0.3);
}

.page-home-catepanel-list-item:hover .page-home-catepanel-list-item-icon {
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.page-home-catepanel-list-item-name {
    width: 100%;
    height: auto;
    font-size: 0.26rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.35;
    margin-top: 0.1rem;
    text-overflow: ellipsis;
    overflow: hidden;
    display: none; /* 移动端隐藏游戏名称 */
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    text-align: center;
    padding: 0 0.04rem;
}

.page-home-catepanel-list-item-count {
    font-size: 0.22rem;
    line-height: 1.4;
    font-weight: 500;
    color: var(--text-secondary);
    margin-top: 0.04rem;
}

.page-home-catepanel-list-item-count label {
    display: none;
}

/* 霓虹风格 Footer */
.page-foot {
    background: rgba(255, 255, 255, 0.98);
    /* 移动端移除backdrop-filter以提升性能 */
    border-top: 2px solid var(--border-glow);
    text-align: center;
    margin-top: 0.3rem;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    /* 简化阴影效果 */
    box-shadow: 0 -2px 8px rgba(95, 220, 210, 0.1);
    position: relative;
    flex-shrink: 0;
    flex-grow: 0;
    height: 1.8rem;
    overflow: hidden;
    /* 使用will-change提示浏览器优化 */
    will-change: transform;
}

.page-foot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.5;
}

.page-foot-site {
    padding-top: 0.2rem;
    height: 0.22rem;
    font-size: 0.26rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 0.22rem;
    text-shadow: 0 0 10px rgba(95, 220, 210, 0.3);
    transition: color 0.3s ease, text-shadow 0.3s ease;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(95, 220, 210, 0.6);
}



.page-foot-agreement {
    padding-top: 0.12rem;
    font-size: 0.24rem;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 0.34rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.24rem;
    flex-wrap: wrap;
}

.page-foot-agreement a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.page-foot-agreement a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--text-secondary);
    transition: all 0.3s ease;
}

.page-foot-agreement a:hover {
    color: var(--primary-color);
}

.page-foot-agreement a:hover::after {
    background: var(--primary-color);
    height: 2px;
}

.page-foot-agreement .separator {
    color: var(--text-muted);
    user-select: none;
}

.page-foot-copyright {
    padding-top: 0.12rem;
    font-size: 0.24rem;
    font-weight: 500;
    color: var(--text-tertiary);
    line-height: 0.34rem;
    padding-bottom: 0.2rem;
}

/* 霓虹风格广告位 */
.ui-ad-pannel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: calc(100% - 0.6rem);
    box-sizing: border-box;
    position: relative;
    background: #fff;
    /* 移动端移除backdrop-filter提升性能 */
    border-radius: 0;
    border: none;
    box-shadow: none;
    margin: 0.3rem 0.3rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ui-ad-pannel:hover {
    box-shadow: none;
    border-color: transparent;
}

.ui-ad-pannel-tip {
    font-size: 10px;
    line-height: 15px;
    color: var(--text-tertiary);
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.15rem;
    text-shadow: 0 0 10px rgba(95, 220, 210, 0.3);
    opacity: 0.7;
}

.ui-ad-pannel-head {
    background: var(--bg-card);
    /* 移动端移除backdrop-filter提升性能 */
    height: 0.5rem;
    text-align: center;
    line-height: 0.7rem;
    font-size: 0.18rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.16rem 0.16rem 0 0;
}

.ui-ad-pannel-foot {
    height: 1.1rem;
    background: rgba(10, 35, 40, 0.8);
    /* 移动端移除backdrop-filter提升性能 */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 0.16rem 0.16rem;
}

.ui-ad-pannel-foot-openbtn {
    width: 3.40rem;
    height: 0.60rem;
    background: var(--gradient-primary);
    border-radius: 0.30rem;
    font-size: 0.24rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 0.6rem;
    text-align: center;
    box-shadow: var(--shadow-md), var(--shadow-glow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.ui-ad-pannel-foot-openbtn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ui-ad-pannel-foot-openbtn:hover::before {
    width: 300%;
    height: 300%;
}

.ui-ad-pannel-foot-openbtn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg), var(--shadow-glow-lg);
    border-color: var(--primary-light);
}

.ui-ad-pannel-foot-openbtn:active {
    transform: translateY(-1px) scale(1.02);
}

.ui-ad-pannel img {
    width: 6.4rem;
    height: 4.3rem;
    border-radius: 0.20rem;
    box-shadow: var(--shadow-md), 0 0 30px rgba(95, 220, 210, 0.2);
    border: 2px solid var(--border-glow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ui-ad-pannel img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: var(--primary-color);
}

/* Clean List Container */
.category-game-container {
    padding: 0.24rem 0;
}

.page-list-itemcontainer {
    background: transparent;
    padding: 0 0.3rem;
}

/* 霓虹风格列表项 */
.page-list-itemcontainer-item {
    display: flex;
    align-items: center;
    margin: 0.16rem 0;
    padding: 0.18rem;
    border-radius: 0.2rem;
    background: var(--bg-card);
    /* 移动端移除backdrop-filter提升性能 */
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.page-list-itemcontainer-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.page-list-itemcontainer-item:hover::before {
    opacity: 1;
}

.page-list-itemcontainer-item:hover {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.page-list-itemcontainer-item-icon {
    width: 1.3rem;
    height: 1.3rem;
    object-fit: cover;
    border-radius: 0.18rem;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
    border: 2px solid rgba(95, 220, 210, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.page-list-itemcontainer-item:hover .page-list-itemcontainer-item-icon {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.page-list-itemcontainer-item-center {
    margin: 0 0.18rem;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.06rem;
    position: relative;
    z-index: 1;
}

.page-list-itemcontainer-item-name {
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    font-size: 0.28rem;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    transition: color 0.3s ease;
}

.page-list-itemcontainer-item:hover .page-list-itemcontainer-item-name {
    color: var(--primary-light);
}

.page-list-itemcontainer-item-count {
    font-size: 0.22rem;
    line-height: 1.3;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.page-list-itemcontainer-item:hover .page-list-itemcontainer-item-count {
    color: var(--text-primary);
}

.page-list-itemcontainer-item label {
    display: none;
}

.page-list-itemcontainer-item-playbtn {
    width: 1.1rem;
    height: 0.52rem;
    line-height: 0.52rem;
    background: var(--gradient-primary);
    border-radius: 0.26rem;
    text-align: center;
    font-size: 0.26rem;
    color: #FFFFFF;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: var(--shadow-md), 0 0 15px rgba(95, 220, 210, 0.3);
    border: 1px solid var(--primary-color);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.page-list-itemcontainer-item-playbtn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.page-list-itemcontainer-item-playbtn:hover::before {
    width: 300%;
    height: 300%;
}

.page-list-itemcontainer-item-playbtn:hover {
    transform: scale(1.08);
    box-shadow: var(--shadow-lg), var(--shadow-glow-lg);
    border-color: var(--primary-light);
}

.page-list-itemcontainer-item-playbtn:active {
    transform: scale(1.02);
}

.page-list-loading {
    font-size: 0.28rem;
    color: var(--text-secondary);
    line-height: 0.8rem;
    text-align: center;
    padding-bottom: 0.14rem;
}

/* Game Detail Section */
.game-detail-section {
    padding: 0.3rem;
}

/* 移动端背景样式 */
@media screen and (max-width: 767px) {
    .game-detail-section {
        position: relative;
        overflow: hidden;
    }

    .game-detail-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: 100% auto;
        background-position: center top;
        background-repeat: no-repeat;
        filter: blur(5px);
        opacity: 0.6;
        z-index: 0;
        pointer-events: none;
    }

    /* 半透明蒙层，让背景自然融入页面 */
    .game-detail-section::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(232, 249, 248, 0.8);
        z-index: 0;
        pointer-events: none;
    }

    .game-detail-section > * {
        position: relative;
        z-index: 1;
    }
}

/* 霓虹风格游戏详情 - 重构版 */
.page-game-detail {
    padding: 0.2rem;
    display: flex;
    flex-direction: column;
    background: rgba(13, 17, 28, 0.95);
    /* 移动端移除backdrop-filter提升性能 */
    border-radius: 0.24rem;
    box-shadow: var(--shadow-lg), 0 0 30px rgba(95, 220, 210, 0.2);
    border: 1px solid var(--border-glow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.page-game-detail::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(95, 220, 210, 0.05) 0%, rgba(109, 214, 184, 0.05) 100%);
    opacity: 1;
    pointer-events: none;
}

.page-game-detail:hover {
    box-shadow: var(--shadow-xl), var(--shadow-glow-lg);
    border-color: var(--primary-color);
}

/* 顶部游戏信息区 */
.page-game-detail > .page-game-detail-icon,
.page-game-detail > .page-game-detail-right {
    position: relative;
    z-index: 1;
}

.page-game-detail-icon {
    width: 1.6rem;
    height: 1.6rem;
    object-fit: cover;
    border-radius: 0.16rem;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    flex-shrink: 0;
    border: 2px solid var(--primary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0.16rem;
}

.page-game-detail:hover .page-game-detail-icon {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl), var(--shadow-glow-lg);
}

.page-game-detail-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.page-game-detail-right-name {
    font-size: 0.28rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.35;
    margin-bottom: 0.08rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-game-detail-right-tags {
    margin-top: 0.08rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.06rem;
}

.page-game-detail-right-tags span {
    height: 0.32rem;
    font-size: 0.22rem;
    border-radius: 0.16rem;
    background: rgba(95, 220, 210, 0.15);
    /* 移动端移除backdrop-filter提升性能 */
    border: 1px solid var(--border-glow);
    line-height: 0.30rem;
    font-weight: 700;
    color: var(--primary-color);
    padding: 0 0.12rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(95, 220, 210, 0.2);
}

.page-game-detail-right-tags span:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.page-game-detail-right-review {
    display: flex;
    align-items: center;
    margin-top: 0.08rem;
}

.page-game-detail-right-stars {
    background-image: url(../images/icon_review_star_bg.png);
    background-size: 0.32rem 0.32rem;
    width: 1.6rem;
    height: 0.32rem;
}

.page-game-detail-right-stars-score {
    background-image: url(../images/icon_review_star.png);
    background-size: 0.32rem 0.32rem;
    height: 0.32rem;
}

.page-game-detail-right-score {
    height: 0.32rem;
    font-size: 0.26rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 0.32rem;
    margin-left: 0.06rem;
    text-shadow: 0 0 10px rgba(95, 220, 210, 0.5);
}

.page-game-detail-right-count {
    margin-top: 0.08rem;
    font-size: 0.22rem;
    line-height: 0.28rem;
    font-weight: 600;
    color: var(--primary-color);
}

.page-game-detail-right-count label {
    display: none;
}

/* 游戏描述区域 */
.page-game-detail-desc {
    margin-top: 0.16rem;
    padding-top: 0.16rem;
    border-top: 1px solid rgba(95, 220, 210, 0.2);
}

.page-game-detail-desc-title {
    font-size: 0.26rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.1rem;
    text-shadow: 0 0 10px rgba(95, 220, 210, 0.3);
}

.page-game-detail-desc-content {
    font-size: 0.24rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.ui-page-split {
    background: transparent;
    height: 0;
}

/* Clean Preview */
.page-game-preview-screens {
    width: 100%;
    overflow-x: scroll;
    display: flex;
    padding: 0.2rem 0;
}

.page-game-preview-screens img {
    padding-right: 0.30rem;
    border-radius: 0.20rem;
    box-shadow: var(--shadow-md);
}

.page-game-preview-screens img:first-child {
    padding-left: 0.30rem;
}

.page-game-preview-foot {
    padding: 0.24rem 0;
    display: flex;
    justify-content: center;
}

/* 霓虹风格预览按钮 */
.page-game-preview-foot-playbtn {
    text-align: center;
    width: 100%;
    max-width: 5rem;
    height: 0.7rem;
    background: var(--gradient-success);
    border-radius: 0.35rem;
    font-size: 0.3rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 0.7rem;
    box-shadow: var(--shadow-lg), 0 0 30px rgba(109, 214, 184, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 2px solid rgba(109, 214, 184, 0.5);
    position: relative;
    overflow: hidden;
}

.page-game-preview-foot-playbtn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.page-game-preview-foot-playbtn:hover::before {
    width: 300%;
    height: 300%;
}

.page-game-preview-foot-playbtn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: var(--shadow-xl), 0 0 50px rgba(109, 214, 184, 0.6);
    border-color: rgba(109, 214, 184, 0.8);
}

.page-game-preview-foot-playbtn:active {
    transform: translateY(-2px) scale(1.01);
}

.page-game-desc-cont {
    font-size: 0.26rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 0.42rem;
}

/* 霓虹风格面板 */
.page-pannel {
    background: var(--bg-card);
    /* 移动端移除backdrop-filter提升性能 */
    border-radius: 0.24rem;
    margin: 0.2rem 0.3rem;
    box-shadow: var(--shadow-lg), 0 0 20px rgba(95, 220, 210, 0.15);
    border: 1px solid var(--border-glow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-pannel:hover {
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: var(--primary-color);
}

.page-pannel-title {
    padding: 0.24rem 0.3rem 0.18rem;
    font-size: 0.3rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
}

.page-pannel-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.3rem;
    right: 0.3rem;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.3;
    border-radius: 1px;
}

.page-pannel-cont {
    padding: 0 0.3rem 0.3rem;
    font-size: 0.26rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

/* 游戏详情页特殊样式 */
.game-desc-panel {
    margin-top: 0.18rem;
}

.similar-games-panel {
    margin-top: 0.18rem;
    margin-bottom: 0.2rem;
}

.similar-games-panel .page-pannel-title {
    padding-bottom: 0.16rem;
}

.similar-games-panel .page-list-itemcontainer {
    padding: 0 0.3rem 0.3rem;
}

/* 移动端推荐游戏列表 */
.similar-games-grid .page-list-itemcontainer-item {
    margin: 0.12rem 0;
}

.similar-games-grid .page-list-itemcontainer-item-icon {
    width: 1.2rem;
    height: 1.2rem;
}

.similar-games-grid .page-list-itemcontainer-item-center {
    margin: 0 0.16rem;
}

.similar-games-grid .page-list-itemcontainer-item-playbtn {
    width: 1rem;
}

/* 霓虹风格播放页面 */
.page-play {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
}

.page-play-gameboard {
    position: absolute;
    overflow: hidden;
    top: 0;
    width: 100%;
    bottom: 70px;
}

.page-play-gameboard iframe {
    border: none;
    width: 100%;
    height: 100%;
}

.page-play-adpanel {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 70px;
    background: rgba(10, 35, 40, 0.98);
    /* 移动端移除backdrop-filter提升性能 */
    border-top: 2px solid var(--border-glow);
    font-size: 0;
    box-shadow: 0 -6px 20px rgba(95, 220, 210, 0.2);
}

/* 霓虹风格侧边栏 */
.ui-sidepanel {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 10000;
    /* 移动端移除backdrop-filter提升性能 */
}

.ui-sidepanel-content {
    width: 3.6rem;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    /* 移动端移除backdrop-filter提升性能 */
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 30px rgba(95, 220, 210, 0.3), inset -1px 0 0 var(--border-glow);
    animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 2px solid var(--border-glow);
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.ui-sidepanel-content-closepanel {
    display: flex;
    padding: 0.4rem 0;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.ui-sidepanel-content-closepanel::before {
    content: '';
    position: absolute;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(20px);
}

.ui-sidepanel-content-closepanel:hover::before {
    opacity: 0.3;
}

.ui-sidepanel-content-closepanel:hover {
    transform: scale(1.1) rotate(90deg);
}

.ui-sidepanel-content-closepanel img {
    width: 0.72rem;
    height: 0.72rem;
    filter: brightness(0) saturate(100%) invert(84%) sepia(23%) saturate(991%) hue-rotate(123deg) brightness(98%) contrast(93%);
    transition: filter 0.3s ease;
}

.ui-sidepanel-content-closepanel:hover img {
    filter: brightness(0) saturate(100%) invert(80%) sepia(18%) saturate(1200%) hue-rotate(123deg) brightness(95%) contrast(95%);
}

.ui-sidepanel-content-catelist {
    padding: 0 0.4rem;
    display: flex;
    flex-direction: column;
}

.ui-sidepanel-content-catelist-item {
    height: 0.48rem;
    line-height: 0.48rem;
    margin-bottom: 0.3rem;
    font-size: 0.34rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    padding-left: 0.2rem;
    border-radius: 0.16rem;
    border-left: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.ui-sidepanel-content-catelist-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--gradient-primary);
    transition: width 0.4s ease;
    opacity: 0.15;
}

.ui-sidepanel-content-catelist-item:hover::before {
    width: 100%;
}

.ui-sidepanel-content-catelist-item:hover {
    background: rgba(95, 220, 210, 0.15);
    color: var(--primary-light);
    padding-left: 0.3rem;
    border-left-color: var(--primary-color);
    text-shadow: 0 0 10px rgba(95, 220, 210, 0.5);
}

.ui-sidepanel-content-catelist-item:active {
    transform: scale(0.98);
}

/* 霓虹风格 Toast */
.ui-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(20, 45, 50, 0.95);
    /* 移动端移除backdrop-filter提升性能 */
    color: var(--text-primary);
    font-size: 0.30rem;
    padding: 0.20rem 0.48rem;
    line-height: 0.46rem;
    border-radius: 0.20rem;
    max-width: 80%;
    text-align: center;
    box-shadow: var(--shadow-xl), var(--shadow-glow-lg);
    font-weight: 700;
    border: 2px solid var(--border-glow);
    animation: toastFadeIn 0.3s ease-out;
}

@keyframes toastFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

#gameframediv {
    position: fixed;
    width: 100%;
}

#game_frame {
    width: 100%;
    height: 100%;
}

/* 霓虹风格搜索页 */
.search {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 100%;
    height: 70px;
    padding: 10px 0;
    background: rgba(10, 35, 40, 0.98);
    /* 移动端移除backdrop-filter提升性能 */
    border-bottom: 2px solid var(--border-glow);
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg), 0 4px 20px rgba(95, 220, 210, 0.2);
}

.search .search-input {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    /* 移动端移除backdrop-filter提升性能 */
    height: 40px;
    border-radius: 20px;
    overflow: hidden;
    padding-right: 5px;
    margin: 0 20px;
    width: calc(100% - 40px);
    max-width: 500px;
    border: 2px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
}

.search .search-input:focus-within {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.search .search-input input {
    display: flex;
    height: 100%;
    width: 100%;
    font-size: 15px;
    color: var(--text-primary);
    padding-left: 20px;
    border-width: 0;
    background: transparent;
    font-weight: 600;
}

.search .search-input input::placeholder {
    color: var(--text-tertiary);
}

.search .search-input input:focus {
    outline: none;
}

.search .search-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border-radius: 50%;
    position: relative;
}

.search .search-btn::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(10px);
}

.search .search-btn:hover::before {
    opacity: 0.3;
}

.search .search-btn:hover {
    transform: scale(1.1);
}

.search .search-btn:active {
    transform: scale(0.95);
}

.search .search-btn > img {
    width: 56px;
    height: 29px;
}

.search .search-tip {
    padding-left: 21px;
}

.search .search-tip-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(95, 220, 210, 0.3);
}

.search .search-tip-item {
    padding: 5px 10px;
    text-decoration: none;
    font-size: 14px;
    background: rgba(95, 220, 210, 0.15);
    /* 移动端移除backdrop-filter提升性能 */
    color: var(--primary-color);
    border-radius: 13px;
    line-height: 30px;
    white-space: nowrap;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-glow);
}

.search .search-tip-item:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

#close-search-btn > img {
    width: 11px;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(26%) sepia(88%) saturate(2711%) hue-rotate(212deg) brightness(95%) contrast(93%);
}

.header {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 60px;
    background: var(--primary-color);
    padding: 0 16px;
}

.header .left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header .body {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
}

.header .right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.adsbygoogle {
    display: inline-block;
    width: 336px;
    height: 280px;
}

@media (max-width: 336px) {
    .adsbygoogle {
        width: 300px;
        height: 250px;
    }
}

/* 移动端布局优化 */
/* 特色区域横向滚动 */
.page-home-catepanel-poplist {
    display: flex;
    overflow-x: auto;
    overflow-y: visible;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.2rem;
    padding-top: 0.5rem;
    margin-top: -0.5rem;
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
}

.page-home-catepanel-poplist::-webkit-scrollbar {
    display: none;
}

.page-home-catepanel-poplist-item {
    flex-shrink: 0;
    width: 3rem;
    margin-right: 0.2rem;
}

.page-home-catepanel-poplist-item:last-child {
    margin-right: 0;
}

/* 移动端3列网格布局 */
.page-home-catepanel-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.12rem;
    margin: 0;
    padding: 0;
}

.page-home-catepanel-list-item {
    width: 100%;
    max-width: 100%;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    backdrop-filter: none !important;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.page-home-catepanel-list-item::before {
    display: none !important;
}

.page-home-catepanel-list-item:hover {
    transform: translateY(-3px);
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.page-home-catepanel-list-item-icon {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    border-radius: 0.12rem;
    display: block;
    box-sizing: border-box;
}

.page-home-catepanel-list-item-name {
    width: 100%;
    padding: 0 0.02rem;
    font-size: 0.22rem;
    line-height: 1.3;
    margin-top: 0.08rem;
    min-height: 0.56rem;
    box-sizing: border-box;
}

.page-home-catepanel-list-item-count {
    font-size: 0.18rem;
    margin-top: 0.02rem;
}

/* 移动端隐藏PC导航 */
.pc-side-nav {
    display: none;
}

.pc-main-content {
    width: 100%;
    flex: 1;
}

/* 响应式设计 - Responsive Design */
@media screen and (min-width: 768px) {
    /* PC端隐藏仅移动端显示的广告 */
    .mobile-only-ad {
        display: none !important;
    }

    /* PC端游戏详情背景样式 */
    .game-detail-main {
        position: relative;
        overflow: hidden;
    }

    .game-detail-main::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: 100% auto;
        background-position: center top;
        background-repeat: no-repeat;
        filter: blur(5px);
        opacity: 0.7;
        z-index: 0;
        pointer-events: none;
    }

    /* 半透明蒙层，让背景自然融入页面 */
    .game-detail-main::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(232, 249, 248, 0.8);
        z-index: 0;
        pointer-events: none;
    }

    .game-detail-main > * {
        position: relative;
        z-index: 1;
    }

    /* PC端整体布局 */
    body {
        display: flex;
        flex-direction: column;
        overflow-x: hidden;
        font-size: 16px;
        min-height: 100vh;
    }
    
    * {
        box-sizing: border-box;
    }
    
    html {
        font-size: 16px;
    }
    
    .pc-side-nav {
        display: block;
        position: fixed;
        left: 0;
        top: 55px; /* 从70px改为55px,匹配新的page-head高度 */
        width: 200px;
        height: calc(100vh - 55px); /* 从70px改为55px */
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-right: 2px solid var(--border-glow);
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 100;
        padding: 0 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-md);
    }

    .pc-side-nav::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 1px;
        height: 100%;
        background: var(--gradient-primary);
        opacity: 0.3;
    }

    .pc-side-nav::-webkit-scrollbar {
        width: 8px;
    }

    .pc-side-nav::-webkit-scrollbar-track {
        background: transparent;
    }

    .pc-side-nav::-webkit-scrollbar-thumb {
        background: var(--border-glow);
        border-radius: 4px;
        transition: background 0.3s ease;
    }

    .pc-side-nav::-webkit-scrollbar-thumb:hover {
        background: var(--primary-color);
    }

    .pc-side-nav-item {
        display: block;
        padding: 12px 20px;
        font-size: 14px;
        font-weight: 700;
        color: var(--text-primary);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 3px solid transparent;
        position: relative;
        line-height: 1.5;
        overflow: hidden;
    }

    .pc-side-nav-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 0;
        background: var(--gradient-primary);
        transition: width 0.3s ease;
        opacity: 0.12;
        z-index: -1;
    }

    .pc-side-nav-item::after {
        content: '';
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-radius: 50%;
        background: var(--primary-color);
        opacity: 0;
        transition: all 0.3s ease;
        filter: blur(10px);
    }

    .pc-side-nav-item:hover::before {
        width: 100%;
    }

    .pc-side-nav-item:hover::after {
        width: 40px;
        height: 40px;
        opacity: 0.3;
    }

    .pc-side-nav-item:hover {
        background: rgba(95, 220, 210, 0.08);
        color: var(--text-primary);
        border-left-color: var(--primary-color);
        padding-left: 35px;
        text-shadow: 0 0 10px rgba(95, 220, 210, 0.3);
    }

    .pc-side-nav-item.active {
        background: rgba(95, 220, 210, 0.15);
        color: var(--primary-color);
        border-left-color: var(--primary-color);
        box-shadow: inset 0 0 20px rgba(95, 220, 210, 0.2);
        text-shadow: 0 0 10px rgba(95, 220, 210, 0.5);
    }

    .pc-side-nav-item.active::before {
        width: 100%;
        opacity: 0.2;
    }
    
    /* PC端主内容区域左移 */
    .pc-main-content {
        margin-left: 200px;
        width: calc(100% - 200px);
        max-width: calc(100vw - 200px);
        overflow-x: hidden;
        transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        flex: 1;
    }
    
    /* PC端导航栏 - 调整为更小尺寸 */
    .page-head {
        height: 55px; /* 从70px减小到55px */
        padding: 0 35px; /* 从40px减小 */
        width: 100%;
        max-width: 100vw;
    }

    .page-head-title {
        font-size: 22px; /* 从28px减小 */
        letter-spacing: -0.5px;
        color: var(--text-primary);
    }

    .page-head-logo {
        height: 40px;
    }

    .page-head-actbtn {
        width: 34px; /* 从40px减小 */
        height: 34px; /* 从40px减小 */
        margin: 0 12px; /* 从15px减小 */
    }
    
    /* 隐藏PC端菜单按钮 */
    .JS-showPageMenuBtn {
        display: none;
    }
    
    /* 内容区域全屏布局 */
    .page-home-catepanel {
        padding: 4px 20px;
        max-width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .page-home-catepanel:first-of-type {
        padding-top: 10px;
    }

    .page-home-catepanel:last-of-type {
        padding-bottom: 8px;
    }

    .page-home-catepanel-title {
        padding: 2px 0;
        margin-bottom: 6px;
        min-height: auto;
    }
    
    /* 特色区域美化 */
    .featured-section {
        padding-bottom: 12px;
    }
    
    .page-home-catepanel-title label {
        font-size: 24px;
        font-weight: 700;
        line-height: 1.1;
        flex: 1;
        word-wrap: break-word;
        overflow-wrap: break-word;
        color: var(--text-primary);
    }
    
    .page-home-catepanel-title-more {
        font-size: 14px;
        padding: 6px 16px;
        font-weight: 600;
        height: auto;
        line-height: normal;
        color: var(--text-primary);
    }
    
    /* 大卡片PC端布局 */
    .page-home-catepanel-poplist {
        gap: 18px;
        flex-wrap: wrap;
        overflow-x: visible;
        padding-bottom: 0;
        max-width: 100%;
    }
    
    .page-home-catepanel-poplist-item {
        width: calc(50% - 9px);
        height: 140px;
        margin-top: 48px;
        margin-right: 0;
        box-sizing: border-box;
        border-radius: 16px;
        box-shadow: 0 4px 16px rgba(168, 216, 255, 0.2);
        overflow: visible;
    }
    
    .page-home-catepanel-poplist-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(168, 216, 255, 0.28);
    }
    
    .page-home-catepanel-poplist-item-icon {
        width: 110px;
        height: 110px;
        left: 20px;
        top: -48px;
        border-radius: 16px;
        z-index: 2;
    }
    
    .page-home-catepanel-poplist-item-name {
        font-size: 15px;
        font-weight: 700;
        bottom: 15px;
        top: auto;
        line-height: 1.3;
        padding: 0 25px;
        z-index: 1;
        color: var(--text-primary);
    }
    
    .page-home-catepanel-poplist-item-count {
        right: 7%;
        top: 11%;
        font-size: 0.8em;
        font-weight: 600;
        color: var(--text-secondary);
        z-index: 1;
        padding: 0.25em 0.55em;
    }

    .page-home-catepanel-poplist-item-count label {
        display: none;
    }
    
    /* 游戏网格PC端6列布局 */
    .page-home-catepanel-list {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 12px;
        max-width: 100%;
    }

    .page-home-catepanel-list-item {
        width: 100%;
        margin-right: 0;
        margin-bottom: 0;
        box-sizing: border-box;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
    }
    
    .page-home-catepanel-list-item:hover {
        transform: translateY(-4px);
    }
    
    .page-home-catepanel-list-item-icon {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        border-radius: 16px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }
    
    .page-home-catepanel-list-item:hover .page-home-catepanel-list-item-icon {
        box-shadow: 0 6px 20px rgba(168, 216, 255, 0.15);
    }
    
    .page-home-catepanel-list-item-name {
        width: 100%;
        font-size: 13px;
        font-weight: 600;
        margin-top: 10px;
        line-height: 1.35;
        height: auto;
        min-height: 34px;
        max-height: 44px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        text-align: center;
        padding: 0 6px;
    }
    
    .page-home-catepanel-list-item-count {
        font-size: 11px;
        font-weight: 500;
        color: var(--text-tertiary);
        margin-top: 4px;
    }
    
    .page-home-catepanel-list-item-count label {
        display: none;
    }
    
    /* 分类页容器 */
    .category-game-container {
        padding: 20px 40px;
    }
    
    /* 列表项PC端优化 - 霓虹风格 */
    .page-list-itemcontainer {
        max-width: 100%;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }

    .page-list-itemcontainer-item {
        padding: 16px;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-radius: 16px;
        background: var(--bg-card);
        backdrop-filter: blur(16px);
        box-shadow: var(--shadow-md);
        border: 1px solid var(--border-color);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }

    .page-list-itemcontainer-item::before {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--gradient-card);
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .page-list-itemcontainer-item:hover::before {
        opacity: 1;
    }

    .page-list-itemcontainer-item:hover {
        box-shadow: var(--shadow-xl), var(--shadow-glow);
        transform: translateY(-6px);
        border-color: var(--primary-color);
    }

    .page-list-itemcontainer-item-icon {
        width: 100%;
        max-width: 140px;
        height: auto;
        aspect-ratio: 1;
        border-radius: 14px;
        box-shadow: var(--shadow-md);
        border: 2px solid rgba(95, 220, 210, 0.3);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        z-index: 1;
    }

    .page-list-itemcontainer-item:hover .page-list-itemcontainer-item-icon {
        border-color: var(--primary-color);
        box-shadow: var(--shadow-lg), var(--shadow-glow);
        transform: scale(1.05);
    }

    .page-list-itemcontainer-item-center {
        margin: 16px 0 0 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 8px;
        position: relative;
        z-index: 1;
    }

    .page-list-itemcontainer-item-name {
        font-size: 16px;
        font-weight: 700;
        line-height: 1.4;
        min-height: 44px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        color: var(--text-primary);
        transition: color 0.3s ease;
    }

    .page-list-itemcontainer-item:hover .page-list-itemcontainer-item-name {
        color: var(--primary-light);
    }

    .page-list-itemcontainer-item-count {
        font-size: 13px;
        font-weight: 600;
        color: var(--text-secondary);
        transition: color 0.3s ease;
    }

    .page-list-itemcontainer-item:hover .page-list-itemcontainer-item-count {
        color: var(--text-primary);
    }

    .page-list-itemcontainer-item-playbtn {
        width: 100%;
        max-width: 160px;
        height: 44px;
        line-height: 44px;
        font-size: 15px;
        font-weight: 700;
        margin-top: 12px;
        border-radius: 22px;
        background: var(--gradient-primary);
        border: 1px solid var(--primary-color);
        box-shadow: var(--shadow-md), 0 0 20px rgba(95, 220, 210, 0.3);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        z-index: 1;
        overflow: hidden;
    }

    .page-list-itemcontainer-item-playbtn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .page-list-itemcontainer-item-playbtn:hover::before {
        width: 300%;
        height: 300%;
    }

    .page-list-itemcontainer-item-playbtn:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg), var(--shadow-glow-lg);
        border-color: var(--primary-light);
    }

    .page-list-itemcontainer-item-playbtn:active {
        transform: translateY(0);
    }
    
    /* 游戏详情区PC端 */
    .game-detail-section {
        padding: 20px 0;
    }
    
    /* 游戏详情卡片PC端 - 霓虹风格重构版 */
    .page-game-detail {
        max-width: 1100px; /* 与游戏容器宽度一致 */
        margin: 0 auto;
        padding: 16px; /* 从24px减少到16px,更紧凑 */
        box-sizing: border-box;
        border-radius: 20px;
        box-shadow: var(--shadow-xl), 0 0 40px rgba(95, 220, 210, 0.2);
        background: rgba(13, 17, 28, 0.95);
        backdrop-filter: blur(20px);
        border: 2px solid var(--border-glow);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        flex-direction: row;
    }

    .page-game-detail:hover {
        box-shadow: var(--shadow-xl), var(--shadow-glow-lg);
        border-color: var(--primary-color);
    }

    .page-game-detail-icon {
        width: 140px; /* 从160px减少到140px */
        height: 140px;
        border-radius: 16px;
        border: 3px solid var(--primary-color);
        box-shadow: var(--shadow-lg), var(--shadow-glow);
        margin-bottom: 0;
        margin-right: 16px; /* 从24px减少到16px */
    }

    .page-game-detail:hover .page-game-detail-icon {
        box-shadow: var(--shadow-xl), var(--shadow-glow-lg);
        transform: scale(1.03);
    }

    .page-game-detail-right {
        margin-left: 0;
        flex: 1;
    }

    .page-game-detail-right-name {
        font-size: 20px; /* 从22px减少到20px */
        font-weight: 700;
        line-height: 1.35;
        margin-bottom: 6px; /* 从10px减少到6px */
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }

    .page-game-detail-right-tags {
        height: auto;
        margin-top: 6px; /* 从10px减少到6px */
        gap: 6px; /* 从8px减少到6px */
    }

    .page-game-detail-right-tags span {
        font-size: 11px; /* 从12px减少到11px */
        font-weight: 700;
        padding: 0 10px; /* 从12px减少到10px */
        height: 24px; /* 从26px减少到24px */
        line-height: 22px; /* 从24px减少到22px */
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(95, 220, 210, 0.3);
    }

    .page-game-detail-right-count {
        font-size: 12px; /* 从13px减少到12px */
        font-weight: 600;
        color: var(--primary-color);
        margin-top: 4px; /* 从6px减少到4px */
        line-height: 1.2; /* 添加行高控制 */
    }

    .page-game-detail-right-count label {
        display: none;
    }

    .page-game-detail-right-review {
        margin-top: 4px; /* 从6px减少到4px */
    }

    .page-game-detail-right-stars {
        width: 100px;
        height: 20px;
        background-size: 20px 20px;
        flex-shrink: 0;
    }

    .page-game-detail-right-stars-score {
        height: 20px;
        background-size: 20px 20px;
    }

    .page-game-detail-right-score {
        font-size: 15px; /* 从16px减少到15px */
        font-weight: 700;
        margin-left: 6px; /* 从8px减少到6px */
        height: 20px;
        line-height: 20px;
    }

    /* 游戏描述区域 PC端 */
    .page-game-detail-desc {
        margin-top: 12px; /* 从20px减少到12px */
        padding-top: 12px; /* 从20px减少到12px */
        border-top: 1px solid rgba(95, 220, 210, 0.25);
    }

    .page-game-detail-desc-title {
        font-size: 16px; /* 从18px减少到16px */
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 8px; /* 从12px减少到8px */
        text-shadow: 0 0 12px rgba(95, 220, 210, 0.4);
    }

    .page-game-detail-desc-content {
        font-size: 14px; /* 从15px减少到14px */
        line-height: 1.6; /* 从1.7减少到1.6 */
        color: rgba(255, 255, 255, 0.90);
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    }
    
    /* 播放按钮PC端 - 霓虹风格 */
    .page-game-preview-foot {
        padding: 20px 0;
    }

    .page-game-preview-foot-playbtn {
        width: 100%;
        max-width: 360px;
        height: 56px;
        line-height: 56px;
        font-size: 17px;
        font-weight: 700;
        letter-spacing: 0.8px;
        border-radius: 28px;
        box-shadow: var(--shadow-xl), 0 0 40px rgba(109, 214, 184, 0.4);
        border: 2px solid rgba(109, 214, 184, 0.6);
    }

    .page-game-preview-foot-playbtn:hover {
        box-shadow: var(--shadow-xl), 0 0 60px rgba(109, 214, 184, 0.6);
        border-color: rgba(109, 214, 184, 0.9);
    }

    /* Panel PC端 - 霓虹风格 */
    .page-pannel {
        max-width: 100%;
        margin: 12px 20px;
        box-sizing: border-box;
        border-radius: 20px;
        box-shadow: var(--shadow-lg), 0 0 30px rgba(95, 220, 210, 0.15);
        background: var(--bg-card);
        backdrop-filter: blur(16px);
        border: 1px solid var(--border-glow);
    }

    .page-pannel:hover {
        box-shadow: var(--shadow-xl), var(--shadow-glow);
        border-color: var(--primary-color);
    }

    .page-pannel-title {
        font-size: 20px;
        font-weight: 700;
        padding: 24px 30px 16px;
        line-height: 1.3;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    .page-pannel-cont {
        padding: 0 30px 30px;
        font-size: 15px;
        line-height: 1.7;
    }

    .page-game-desc-cont {
        font-size: 15px;
        line-height: 1.75;
        color: var(--text-secondary);
    }
    
    /* 游戏详情页面板 */
    .game-desc-panel {
        max-width: 900px;
        /* margin-left: auto;
        margin-right: auto; */
    }
    
    .similar-games-panel {
        margin-top: 20px;
    }

    .similar-games-panel .page-list-itemcontainer {
        padding: 0 30px 30px;
    }

    /* 推荐游戏网格布局 */
    .similar-games-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    /* 游戏详情页推荐游戏面板 */
    body:has(.game-detail-header) .similar-games-panel {
        max-width: 100%;
        margin: 20px 0;
    }
    
    .similar-games-grid .page-list-itemcontainer-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px;
    }
    
    .similar-games-grid .page-list-itemcontainer-item-icon {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 1;
    }
    
    .similar-games-grid .page-list-itemcontainer-item-center {
        margin: 14px 0 0 0;
        width: 100%;
    }
    
    .similar-games-grid .page-list-itemcontainer-item-playbtn {
        width: 100%;
        max-width: 140px;
        height: 42px;
        line-height: 42px;
        font-size: 14px;
        margin-top: 12px;
    }
    
    /* Footer PC端 - 霓虹风格 */
    .page-foot {
        padding: 30px 40px 20px;
        margin-left: 200px;
        margin-top: 30px;
        width: calc(100% - 200px);
        max-width: calc(100vw - 200px);
        box-sizing: border-box;
        background: rgba(10, 35, 40, 0.98);
        /* PC端可以使用backdrop-filter，性能更好 */
        backdrop-filter: blur(12px);
        border-top: 2px solid var(--border-glow);
        box-shadow: 0 -4px 20px rgba(95, 220, 210, 0.15);
        height: 150px;
        overflow: hidden;
    }

    .page-foot::before {
        opacity: 0.7;
    }

    .page-foot-site {
        font-size: 16px;
        font-weight: 700;
        line-height: 1.5;
        padding-top: 10px;
        height: 24px;
        color: var(--primary-color);
    }

    .page-foot-agreement {
        font-size: 14px;
        font-weight: 600;
        line-height: 1.5;
        padding-top: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 16px;
    }

    .page-foot-agreement a {
        color: var(--text-secondary);
        position: relative;
    }

    .page-foot-agreement a::after {
        bottom: -2px;
        height: 1px;
    }

    .page-foot-agreement a:hover::after {
        height: 2px;
    }

    .page-foot-copyright {
        font-size: 14px;
        font-weight: 500;
        line-height: 1.5;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    /* PC端隐藏移动端侧边栏 */
    .ui-sidepanel {
        display: none !important;
    }
    
    /* 分隔线适配左侧导航 - 已隐藏 */
    .ui-page-split {
        display: none;
    }
    
    /* 广告面板PC端优化 */
    .ui-ad-pannel {
        margin: 20px 20px;
        width: calc(100% - 40px);
        border-radius: 0;
        /* background: transparent; */
        background: #fff;
        border: none;
        box-shadow: none;
        align-items: center;
        justify-content: center;
    }
    
    /* PC端导航栏搜索框 */
    .page-head-search-input {
        height: 42px;
        border-radius: 21px;
        padding: 5px 5px 5px 16px;
    }
    
    .page-head-search-input.active {
        width: 360px;
    }
    
    .page-head-search-input input {
        font-size: 15px;
        padding: 0 8px;
    }
    
    .header-search-btn {
        padding: 6px;
    }

    .search-icon-inner {
        width: 20px;
        height: 20px;
    }

    .search-icon-inner::before {
        width: 13px;
        height: 13px;
        border-width: 2.5px;
    }

    .search-icon-inner::after {
        width: 2.5px;
        height: 9px;
    }

    .search-icon-outer {
        width: 26px;
        height: 26px;
    }

    .search-icon-outer::before {
        width: 16px;
        height: 16px;
        border-width: 2.5px;
        top: 1px;
        left: 1px;
    }

    .search-icon-outer::after {
        width: 2.5px;
        height: 10px;
        bottom: 0.5px;
        right: 0.5px;
    }

    /* 隐藏原搜索弹窗 */
    .search {
        display: none !important;
    }

    /* PC端图片包裹容器 - 用于定位蒙层 */
    .page-home-catepanel-list-item-image-wrapper {
        position: relative;
        width: 100%;
        overflow: hidden;
        border-radius: 0.18rem;
    }

    /* PC端游戏列表蒙层样式 */
    .page-home-catepanel-list-item-name {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        margin-top: 0;
        padding: 0.08rem 0.12rem;
        font-size: 11px;
        font-weight: 700;
        line-height: 1.2;
        color: var(--primary-color);
        text-align: center;
        background: linear-gradient(to top, rgba(10, 35, 40, 0.95), rgba(10, 35, 40, 0.8));
        backdrop-filter: blur(8px);
        border-radius: 0 0 0.18rem 0.18rem;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), 0 0 8px rgba(95, 220, 210, 0.3);
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        min-height: 30px;
        width: 100%;
    }

    /* hover时显示蒙层 */
    .page-home-catepanel-list-item:hover .page-home-catepanel-list-item-name {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 超大屏幕优化 */
@media screen and (min-width: 1440px) {
    .page-home-catepanel {
        padding: 8px 30px;
        max-width: 100%;
    }

    .page-home-catepanel-title {
        padding: 3px 0;
        margin-bottom: 5px;
        min-height: 0.2rem;
    }

    /* 特色区3列布局 */
    .page-home-catepanel-poplist {
        flex-wrap: wrap;
    }

    .page-home-catepanel-poplist-item {
        width: calc(33.333% - 12px);
    }

    /* 8列布局 */
    .page-home-catepanel-list {
        grid-template-columns: repeat(8, 1fr);
        gap: 10px;
    }

    .page-home-catepanel-list-item {
        width: 100%;
        margin-bottom: 0;
    }

    .page-home-catepanel-list-item-name {
        font-size: 12px;
        padding: 0.08rem 0.12rem;
        min-height: 32px;
    }
    
    .page-home-catepanel-list-item-count {
        font-size: 11px;
    }
    
    .page-list-itemcontainer {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }

    .page-list-itemcontainer-item {
        padding: 12px;
    }
    
    .page-list-itemcontainer-item-icon {
        max-width: 130px;
    }
    
    .page-list-itemcontainer-item-name {
        font-size: 14px;
        min-height: 40px;
    }
    
    .page-list-itemcontainer-item-count {
        font-size: 12px;
    }
    
    /* 推荐游戏4列 */
    .similar-games-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .page-game-detail-icon {
        width: 150px; /* 从220px减少,更紧凑 */
        height: 150px;
    }

    .page-list-itemcontainer,
    .page-pannel {
        max-width: 100%;
    }

    /* 广告面板超大屏优化 */
    .ui-ad-pannel {
        margin: 20px 30px;
        width: calc(100% - 60px);
        /* background: transparent; */
        background: #fff;
        border: none;
        box-shadow: none;
        align-items: center;
        justify-content: center;
    }
}

/* 4K屏幕优化 */
@media screen and (min-width: 1920px) {
    body {
        font-size: 18px;
    }

    .page-home-catepanel {
        padding: 8px 40px;
        max-width: 100%;
    }

    .page-home-catepanel-title {
        padding: 3px 0;
        margin-bottom: 5px;
    }

    .page-home-catepanel-title label {
        font-size: 20px;
        font-weight: 700;
        line-height: 1.3;
        color: var(--text-primary);
    }

    .page-home-catepanel-title-more {
        font-size: 16px;
        color: var(--text-primary);
    }

    /* 10列布局 */
    .page-home-catepanel-list {
        grid-template-columns: repeat(10, 1fr);
        gap: 12px;
    }

    .page-home-catepanel-list-item {
        width: 100%;
        margin-bottom: 0;
    }

    .page-home-catepanel-list-item-name {
        font-size: 13px;
        padding: 0.09rem 0.14rem;
        min-height: 34px;
    }
    
    .page-home-catepanel-list-item-count {
        font-size: 12px;
    }
    
    .pc-side-nav-item {
        font-size: 16px;
        padding: 18px 30px;
    }
    
    .page-pannel-title {
        font-size: 24px;
    }
    
    .page-list-itemcontainer {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 12px;
    }

    .page-list-itemcontainer-item {
        padding: 14px;
    }
    
    .page-list-itemcontainer-item-icon {
        max-width: 150px;
    }
    
    .page-list-itemcontainer-item-name {
        font-size: 16px;
    }
    
    .page-list-itemcontainer-item-playbtn {
        max-width: 180px;
        height: 48px;
        line-height: 48px;
        font-size: 16px;
    }
    
    /* 推荐游戏5列 */
    .similar-games-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .page-game-detail {
        max-width: 1100px; /* 保持与PC端一致 */
    }

    .page-game-detail-icon {
        width: 160px; /* 从240px减少,保持紧凑 */
        height: 160px;
    }

    .page-game-detail-right-name {
        font-size: 22px; /* 从26px减少 */
    }
    
    .page-game-preview-foot-playbtn {
        max-width: 400px;
        height: 60px;
        line-height: 60px;
        font-size: 18px;
    }

    .page-list-itemcontainer,
    .page-pannel {
        max-width: 100%;
    }

    /* 广告面板4K屏优化 */
    .ui-ad-pannel {
        margin: 20px 40px;
        width: calc(100% - 80px);
        /* background: transparent; */
        background: #fff;
        border: none;
        box-shadow: none;
        align-items: center;
        justify-content: center;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 6px;
    border: 2px solid var(--bg-tertiary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Focus States for Accessibility */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Button States */
button, .clickable {
    transition: all 0.2s ease;
}

button:active, .clickable:active {
    transform: scale(0.98);
}

/* 页面加载动画优化 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-home-catepanel {
    animation: fadeInUp 0.5s ease-out;
}

.page-home-catepanel:nth-child(even) {
    animation-delay: 0.1s;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 加载状态优化 */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* 图片加载优化 */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* 触摸反馈优化 */
@media (hover: none) {
    .page-home-catepanel-list-item:active {
        transform: scale(0.95);
    }

    .page-home-catepanel-poplist-item:active {
        transform: scale(0.98);
    }
}

/* ========== 游戏详情页专属样式 ========== */

/* 返回按钮 */
.page-head-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.08rem;
    padding: 0.12rem;
    margin: 0 0.15rem;
    background: rgba(95, 220, 210, 0.15);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--primary-color);
    width: 0.6rem;
    height: 0.6rem;
    box-shadow: 0 2px 8px rgba(95, 220, 210, 0.2);
}

.page-head-back-btn > span:not(.back-arrow) {
    display: none;
}

.page-head-back-btn .back-arrow {
    font-size: 0.44rem;
    font-weight: 700;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-head-back-btn:hover {
    background: rgba(95, 220, 210, 0.25);
    transform: translateX(-2px);
    box-shadow: 0 4px 12px rgba(95, 220, 210, 0.3);
}

.page-head-back-btn:hover .back-arrow {
    transform: translateX(-2px);
}

.page-head-back-btn:active {
    transform: translateX(-1px) scale(0.95);
    box-shadow: 0 2px 6px rgba(95, 220, 210, 0.25);
}

/* 游戏播放容器 (PC端页面内播放) */
.game-play-container {
    display: none; /* 默认隐藏，PC端通过JS显示 */
    width: 100%;
    background: var(--bg-tertiary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 30px rgba(95, 220, 210, 0.2);
    border: 2px solid var(--border-glow);
    margin: 0 auto 30px;
    position: relative;
}

/* 游戏预览区域 */
.game-play-preview {
    width: 100%;
    position: relative;
    cursor: pointer;
}

.game-play-preview-content {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 宽高比 */
    overflow: hidden;
    background: var(--bg-primary);
}

.game-play-preview-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-play-preview-content:hover .game-play-preview-image {
    transform: scale(1.05);
}

/* Play按钮覆盖层 */
.game-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-play-preview-content:hover .game-play-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.game-play-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-play-button svg {
    filter: drop-shadow(0 8px 20px rgba(95, 220, 210, 0.6));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-play-preview-content:hover .game-play-button svg {
    transform: scale(1.15);
    filter: drop-shadow(0 12px 30px rgba(95, 220, 210, 0.8));
}

.game-play-button span {
    font-size: 20px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* 游戏iframe包装器 */
.game-play-iframe-wrapper {
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 宽高比 */
    position: relative;
    background: #000;
}

.game-play-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* PC端显示游戏容器 */
@media screen and (min-width: 768px) {
    /* PC端三栏布局容器 */
    .game-layout-container {
        display: flex;
        gap: 20px;
        max-width: 1600px;
        margin: 30px auto;
        padding: 0 20px;
        align-items: flex-start;
    }

    /* 中间游戏内容区 */
    .game-center-content {
        flex: 1;
        min-width: 0;
        max-width: 1100px;
    }

    /* 左右侧广告 */
    .game-side-ad {
        width: 160px;
        flex-shrink: 0;
        position: sticky;
        top: 100px;
        align-self: flex-start;
    }

    .game-side-ad-left,
    .game-side-ad-right {
        min-height: 600px;
        /* background: transparent; */
        background: #fff;
        /* backdrop-filter: blur(16px); */
        /* border-radius: 12px; */
        /* border: 1px solid var(--border-glow); */
        /* box-shadow: var(--shadow-md), 0 0 20px rgba(95, 220, 210, 0.15); */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .game-side-ad:hover {
        box-shadow: var(--shadow-lg), var(--shadow-glow);
        border-color: var(--primary-color);
    }

    /* 游戏详情下方广告 */
    .game-detail-bottom-ad {
        /* margin-top: 20px;
        min-height: 250px; */
        /* background: transparent; */
        background: #Fff;
        /* backdrop-filter: blur(16px); */
        /* border-radius: 12px; */
        /* border: 1px solid var(--border-glow); */
        /* box-shadow: var(--shadow-md), 0 0 20px rgba(95, 220, 210, 0.15); */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* .game-detail-bottom-ad:hover {
        box-shadow: var(--shadow-lg), var(--shadow-glow);
        border-color: var(--primary-color);
    } */

    /* 隐藏移动端广告 */
    .mobile-ad-pannel {
        display: none;
    }

    .game-play-container {
        display: block;
        max-width: 100%;
        margin: 0 0 30px 0;
    }

    /* 游戏详情页游戏容器调整 */
    body:has(.game-detail-header) .game-play-container {
        max-width: 100%;
        margin: 0 0 30px 0;
    }

    /* PC端游戏详情页隐藏下方的Play按钮（因为容器上已经有Play了） */
    body:has(.game-detail-header) .page-game-preview-foot {
        display: none !important;
    }
}

/* 移动端隐藏游戏容器 */
@media screen and (max-width: 767px) {
    /* 移动端隐藏PC端三栏布局的广告 */
    .game-layout-container {
        display: block;
    }

    .game-side-ad {
        display: none;
    }

    .game-detail-bottom-ad {
        display: none;
    }

    /* 移动端显示移动端广告 */
    .mobile-ad-pannel {
        display: flex;
    }

    .game-play-container {
        display: none !important;
    }
}

/* PC端游戏详情页隐藏左侧导航 */
@media screen and (min-width: 768px) {
    /* 游戏详情页特定样式 */
    body:has(.game-detail-header) .pc-side-nav {
        display: none !important;
    }

    body:has(.game-detail-header) .game-detail-main {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    body:has(.game-detail-header) .page-foot {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    /* PC端返回按钮样式 */
    .page-head-back-btn {
        display: flex;
        width: auto;
        height: auto;
        font-size: 15px;
        font-weight: 600;
        padding: 10px 18px;
        gap: 8px;
        border-radius: 12px;
        margin: 0 15px;
        box-shadow: 0 2px 8px rgba(95, 220, 210, 0.15);
    }

    .page-head-back-btn > span:not(.back-arrow) {
        display: inline;
    }

    .page-head-back-btn .back-arrow {
        font-size: 18px;
        font-weight: 700;
    }

    .page-head-back-btn:hover {
        transform: translateX(-3px);
        box-shadow: 0 4px 12px rgba(95, 220, 210, 0.25);
    }
}

/* 移动端适配 */
@media screen and (max-width: 767px) {
    /* 移动端显示返回按钮 */
    .page-head-back-btn {
        display: flex !important;
    }

    /* 移动端隐藏游戏容器 */
    .game-play-container {
        display: none !important;
    }

    /* 移动端游戏详情页隐藏左侧导航（移动端使用侧边栏） */
    body:has(.game-detail-header) .pc-side-nav {
        display: none !important;
    }

    /* 移动端游戏详情页完全隐藏菜单按钮，让返回按钮占据其位置 */
    body:has(.game-detail-header) .JS-showPageMenuBtn {
        display: none !important;
    }

    /* 移动端返回按钮样式调整 - 更简洁，适合左上角 */
    body:has(.game-detail-header) .page-head-back-btn {
        background: transparent;
        border: none;
        padding: 0;
        margin: 0 0.2rem;
        gap: 0.06rem;
        color: var(--text-primary);
    }

    body:has(.game-detail-header) .page-head-back-btn:hover {
        background: transparent;
        box-shadow: none;
        transform: none;
    }

    body:has(.game-detail-header) .page-head-back-btn:active {
        transform: scale(0.95);
    }

    /* 移动端返回按钮图标稍微大一点 */
    body:has(.game-detail-header) .page-head-back-btn svg {
        width: 0.40rem;
        height: 0.40rem;
    }

    /* 移动端返回按钮文字 */
    body:has(.game-detail-header) .page-head-back-btn span {
        font-size: 0.30rem;
        font-weight: 600;
    }

    /* 移动端侧边栏分类项目使用主色 */
    .ui-sidepanel-content-catelist-item {
        color: var(--primary-color);
    }
}

/* ========== 语言切换器样式 ========== */

/* 语言切换器容器 - 固定在左下角 */
.language-switcher {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1000;
}

.language-switcher-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-md), 0 0 15px rgba(95, 220, 210, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    padding: 3px;
}

.language-switcher-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg), 0 0 25px rgba(95, 220, 210, 0.5);
    border-color: var(--primary-light);
}

.language-switcher-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.language-switcher-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.language-switcher-btn svg {
    width: 20px;
    height: 20px;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* 语言选择面板 */
.language-switcher-panel {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 8px;
    border: 2px solid var(--border-glow);
    box-shadow: var(--shadow-xl), 0 0 25px rgba(95, 220, 210, 0.3);
    min-width: auto;
    padding: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.language-switcher-panel.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.language-switcher-panel::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid rgba(255, 255, 255, 0.98);
}

.lang-option {
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    position: relative;
    margin: 2px;
}

.lang-option img {
    width: 28px;
    height: 21px;
    object-fit: contain;
    display: block;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.lang-option:hover {
    background: rgba(95, 220, 210, 0.15);
}

.lang-option:hover img {
    transform: scale(1.05);
}

.lang-option.active {
    background: rgba(95, 220, 210, 0.3);
    box-shadow: 0 0 10px rgba(95, 220, 210, 0.5);
}

.lang-option.active img {
    box-shadow: 0 0 8px rgba(95, 220, 210, 0.6);
    border: 2px solid var(--primary-color);
}

/* 移动端适配 */
@media screen and (max-width: 767px) {
    .language-switcher {
        left: 12px;
        bottom: 12px;
    }

    .language-switcher-btn {
        width: 34px;
        height: 34px;
        padding: 2px;
    }

    .language-switcher-btn svg {
        width: 18px;
        height: 18px;
    }

    .language-switcher-panel {
        bottom: 46px;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        padding: 6px;
        max-width: 132px;
    }

    .language-switcher-panel.show {
        transform: translateX(-50%) translateY(0);
    }

    .language-switcher-panel::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .lang-option {
        padding: 4px;
        margin: 2px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .lang-option img {
        width: 24px;
        height: 18px;
        display: block;
    }
}

/* PC端在有左侧导航时调整位置 */
@media screen and (min-width: 768px) {
    .language-switcher {
        left: 220px; /* 左侧导航宽度 200px + 20px 间距 */
    }

    /* 游戏详情页无左侧导航 */
    body:has(.game-detail-header) .language-switcher {
        left: 20px;
    }
}

/* ========================================
   方向提示遮罩 - Orientation Reminder
   ======================================== */

/* 全屏不透明遮罩 */
.orientation-reminder {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #E8F9F8 0%, #F0FCFB 50%, #b8f1ed 100%);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.orientation-reminder.show {
    display: flex;
    opacity: 1;
}

/* 提示内容容器 */
.orientation-reminder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.40rem;
    text-align: center;
}

/* 旋转手机图标容器 */
.orientation-icon {
    width: 1.80rem;
    height: 1.80rem;
    margin-bottom: 0.40rem;
    position: relative;
    animation: rotatePhone 2s ease-in-out infinite;
}

/* 手机图标SVG样式 */
.orientation-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--primary-color);
    filter: drop-shadow(0 0 0.20rem rgba(95, 220, 210, 0.4));
}

/* 旋转动画 */
@keyframes rotatePhone {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-15deg);
    }
    50% {
        transform: rotate(0deg);
    }
    75% {
        transform: rotate(15deg);
    }
}

/* 旋转箭头 - 跟随手机图标一起旋转 */
.orientation-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orientation-arrow svg {
    width: 0.60rem;
    height: 0.60rem;
    fill: var(--accent-color);
    filter: drop-shadow(0 0 0.10rem rgba(255, 209, 102, 0.6));
}

/* 提示文字 */
.orientation-text {
    font-size: 0.36rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.20rem;
    text-shadow: 0 0.02rem 0.08rem rgba(95, 220, 210, 0.2);
    animation: textPulse 2s ease-in-out infinite;
}

.orientation-subtext {
    font-size: 0.28rem;
    color: var(--text-secondary);
    opacity: 0.9;
}

@keyframes textPulse {
    0%, 100% {
        opacity: 1;
        transform: translateY(0);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-0.05rem);
    }
}

/* 装饰性元素 - 浮动圆点 */
.orientation-reminder::before,
.orientation-reminder::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(95, 220, 210, 0.3) 0%, transparent 70%);
    animation: float 4s ease-in-out infinite;
}

.orientation-reminder::before {
    width: 2.00rem;
    height: 2.00rem;
    top: 15%;
    left: 10%;
}

.orientation-reminder::after {
    width: 1.50rem;
    height: 1.50rem;
    bottom: 20%;
    right: 15%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-0.30rem) scale(1.1);
        opacity: 0.5;
    }
}

/* 横屏优化 - 方向提醒 */
@media screen and (orientation: landscape) {
    /* 调整内容容器，横屏时使用更紧凑的布局 */
    .orientation-reminder-content {
        padding: 0.20rem;
        max-height: 100vh;
    }

    /* 横屏时缩小图标 */
    .orientation-icon {
        width: 1.20rem;
        height: 1.20rem;
        margin-bottom: 0.30rem;
    }

    .orientation-arrow svg {
        width: 0.40rem;
        height: 0.40rem;
    }

    /* 横屏时调整文字大小 */
    .orientation-text {
        font-size: 0.28rem;
        margin-bottom: 0.12rem;
    }

    .orientation-subtext {
        font-size: 0.22rem;
    }

    /* 调整装饰元素位置和大小 */
    .orientation-reminder::before {
        width: 1.50rem;
        height: 1.50rem;
        top: 10%;
        left: 5%;
    }

    .orientation-reminder::after {
        width: 1.20rem;
        height: 1.20rem;
        bottom: 15%;
        right: 10%;
    }
}

/* 小屏幕横屏（手机横屏）进一步优化 */
@media screen and (orientation: landscape) and (max-height: 500px) {
    .orientation-reminder-content {
        padding: 0.15rem;
    }

    .orientation-icon {
        width: 0.80rem;
        height: 0.80rem;
        margin-bottom: 0.20rem;
    }

    .orientation-arrow svg {
        width: 0.28rem;
        height: 0.28rem;
    }

    .orientation-text {
        font-size: 0.20rem;
        margin-bottom: 0.08rem;
    }

    .orientation-subtext {
        font-size: 0.16rem;
    }

    /* 小屏横屏时隐藏装饰元素，节省空间 */
    .orientation-reminder::before,
    .orientation-reminder::after {
        display: none;
    }
}

/* 极小屏幕横屏优化（高度小于400px） */
@media screen and (orientation: landscape) and (max-height: 400px) {
    .orientation-reminder-content {
        padding: 0.10rem;
    }

    .orientation-icon {
        width: 0.60rem;
        height: 0.60rem;
        margin-bottom: 0.15rem;
    }

    .orientation-arrow svg {
        width: 0.22rem;
        height: 0.22rem;
    }

    .orientation-text {
        font-size: 0.18rem;
        margin-bottom: 0.06rem;
    }

    .orientation-subtext {
        font-size: 0.14rem;
    }
}

/* ========================================
   游戏加载页面 - Game Loading Screen
   ======================================== */

/* 全屏加载遮罩 */
.game-loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0A1929 0%, #132F4C 50%, #1A2332 100%);
    z-index: 99998;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.game-loading-screen.hide {
    opacity: 0;
    pointer-events: none;
}

/* 加载内容容器 */
.game-loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.40rem;
}

/* 游戏图标预览 */
.game-loading-icon {
    width: 4.20rem;
    height: 2.80rem;
    border-radius: 0.24rem;
    overflow: hidden;
    margin-bottom: 0.50rem;
    box-shadow: 0 0.12rem 0.40rem rgba(0, 0, 0, 0.5);
    animation: iconPulse 2s ease-in-out infinite;
}

.game-loading-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

/* LOADING 文字 */
.game-loading-text {
    font-size: 0.32rem;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: 0.08rem;
    margin-bottom: 0.40rem;
    text-transform: uppercase;
    animation: textBlink 1.5s ease-in-out infinite;
}

@keyframes textBlink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* 进度条容器 */
.game-loading-progress {
    width: 4.20rem;
    height: 0.12rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.06rem;
    overflow: hidden;
    position: relative;
}

/* 进度条填充 */
.game-loading-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #5FDCD2 0%, #3DBDB3 100%);
    border-radius: 0.06rem;
    transition: width 0.3s ease;
    box-shadow: 0 0 0.20rem rgba(95, 220, 210, 0.6);
}

/* 进度条动画 - 3秒到50% */
.game-loading-progress-bar.animating {
    animation: progressTo50 3s ease-out forwards;
}

@keyframes progressTo50 {
    0% {
        width: 0%;
    }
    100% {
        width: 50%;
    }
}

/* 横屏优化 - 当屏幕宽度大于高度时调整加载界面 */
@media screen and (orientation: landscape) {
    /* 调整内容容器的padding，横屏时高度较小 */
    .game-loading-content {
        padding: 0.20rem;
        max-height: 100vh;
    }

    /* 横屏时缩小图标尺寸 */
    .game-loading-icon {
        width: 2.80rem;
        height: 1.80rem;
        margin-bottom: 0.30rem;
    }

    /* 横屏时缩小文字 */
    .game-loading-text {
        font-size: 0.24rem;
        margin-bottom: 0.24rem;
        letter-spacing: 0.06rem;
    }

    /* 横屏时缩小进度条 */
    .game-loading-progress {
        width: 2.80rem;
        height: 0.10rem;
    }
}

/* 小屏幕横屏（手机横屏）进一步优化 */
@media screen and (orientation: landscape) and (max-height: 500px) {
    .game-loading-content {
        padding: 0.15rem;
    }

    .game-loading-icon {
        width: 2.00rem;
        height: 1.30rem;
        margin-bottom: 0.20rem;
    }

    .game-loading-text {
        font-size: 0.20rem;
        margin-bottom: 0.20rem;
    }

    .game-loading-progress {
        width: 2.00rem;
        height: 0.08rem;
    }
}



/* Google 广告响应式尺寸 */
.example_responsive_1 {
    width: 320px;
    height: 100px;
}

/* PC端 */
@media screen and (min-width: 768px) {
    .example_responsive_1 {
        width: 100%;
        height: 90px;
    }
}




/* 超大屏 */
/* @media screen and (min-width: 1440px) {
    .example_responsive_1 {
        width: 970px;
        height: 90px;
    }
} */

/* 4K屏 */
/* @media screen and (min-width: 1920px) {
    .example_responsive_1 {
        width: 970px;
        height: 250px;
    }
} */

/* Google 竖向广告响应式尺寸 */
.example_responsive_2 {
    width: 300px;
    height: 250px;
}

/* PC端 */
@media screen and (min-width: 768px) {
    .example_responsive_2 {
        width: 160px;
        height: 600px;
    }
}
