/* ============================
   game_qkd_0028 完整样式表
   ============================ */

/* 基础样式重置 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: #0a0a1a;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 文字截断工具类 */
.line-1, .text-line1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.line-3, .text-line3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================
   导航栏
   ============================ */
.navbar {
    background: #0a0a1a;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-menu a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    position: relative;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-menu a:hover {
    color: #ffffff;
    background: rgba(102, 126, 234, 0.15);
}

.nav-menu a.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.5), rgba(118, 75, 162, 0.35));
    box-shadow: inset 0 0 0 1px rgba(102, 126, 234, 0.25), 0 0 20px rgba(102, 126, 234, 0.2);
    position: relative;
}

/* active 底部指示条 */
.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #a78bfa);
    border-radius: 3px;
}

/* ============================
   英雄区域
   ============================ */
.hero {
    padding: 2rem 0;
}

/* ============================
   内容区域
   ============================ */
.content {
    padding: 2rem 0;
    min-height: calc(100vh - 300px);
}

.main-content {
    padding-top: 20px;
    min-height: calc(100vh - 300px);
}

/* ============================
   区块样式（首页3个模块）
   ============================ */
.section {
    margin: 3rem 0;
    padding: 2rem 0;
    position: relative;
}

/* 每个模块的section装饰 */
.section-style-0::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(16,221,180,0.06) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.section-style-1::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(102,126,234,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.section-style-2::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(39,174,96,0.05) 0%, transparent 65%);
    pointer-events: none;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1.2rem;
    position: relative;
}

/* 区块标题下划线动画 */
.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    border-radius: 3px;
    transition: width 0.6s ease;
}

.section-style-0 .section-header::after {
    width: 60px;
    background: linear-gradient(90deg, #10ddb4, #0aa886);
}

.section-style-1 .section-header::after {
    width: 60px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.section-style-2 .section-header::after {
    width: 60px;
    background: linear-gradient(90deg, #27ae60, #1e8449);
}

.section:hover .section-header::after {
    width: 120px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.section-style-0 .section-link {
    color: #10ddb4;
    border: 1.5px solid rgba(16,221,180,0.3);
}

.section-style-0 .section-link:hover {
    background: rgba(16,221,180,0.12);
    border-color: #10ddb4;
    transform: translateX(3px);
}

.section-style-1 .section-link {
    color: #667eea;
    border: 1.5px solid rgba(102,126,234,0.3);
}

.section-style-1 .section-link:hover {
    background: rgba(102,126,234,0.12);
    border-color: #667eea;
    transform: translateX(3px);
}

.section-style-2 .section-link {
    color: #27ae60;
    border: 1.5px solid rgba(39,174,96,0.3);
}

.section-style-2 .section-link:hover {
    background: rgba(39,174,96,0.12);
    border-color: #27ae60;
    transform: translateX(3px);
}

/* 游戏网格 */
.games-grid {
    display: grid;
    gap: 1.8rem;
}

.games-grid--style-0 {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.games-grid--style-1 {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.games-grid--style-2 {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* ============================
   游戏卡片 - 全新设计
   ============================ */

/* =============================================
   模块0 - 「Spotlight」 青色 #10ddb4
   特点：玻璃拟态 + 霓虹描边 + 悬停发光
   ============================================= */
.game-card--style-0 {
    position: relative;
    background: linear-gradient(160deg, rgba(16,221,180,0.08) 0%, rgba(10,15,25,0.9) 50%);
    border-radius: 18px;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(16,221,180,0.2);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

/* 外层发光环 */
.game-card--style-0::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(16,221,180,0.5), transparent 40%, transparent 60%, rgba(16,221,180,0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.4;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

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

.game-card--style-0:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 50px rgba(16,221,180,0.2),
        0 0 0 1px rgba(16,221,180,0.4),
        0 0 60px rgba(16,221,180,0.08);
    border-color: rgba(16,221,180,0.5);
}

.game-card--style-0 .card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    border-radius: 18px 18px 0 0;
}

/* 图片渐变遮罩 */
.game-card--style-0 .card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(10,15,25,0.95) 0%, transparent 100%);
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.game-card--style-0:hover .card-image::after {
    opacity: 0.7;
}

/* 图片上的Play浮层 */
.game-card--style-0 .card-image::before {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    width: 56px;
    height: 56px;
    background: rgba(16,221,180,0.85);
    color: #0a0a1a;
    font-size: 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    box-shadow: 0 6px 24px rgba(16,221,180,0.5);
}

.game-card--style-0:hover .card-image::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.game-card--style-0 .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, filter 0.4s ease;
}

.game-card--style-0:hover .card-image img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

/* style-0 的 .card-body 样式 */
.game-card--style-0 .card-body {
    padding: 1.3rem 1.4rem 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    z-index: 1;
}

.game-card--style-0 .card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    color: #ffffff;
    line-height: 1.4;
}

.game-card--style-0 .card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
    background: linear-gradient(to right, #fff, #fff 50%, #10ddb4 50%);
    background-size: 200% 100%;
    background-position: 0 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-card--style-0:hover .card-title a {
    background-position: -100% 0;
    transition: background-position 0.5s ease;
}

.game-card--style-0 .card-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
}

.game-card--style-0 .card-tag {
    background: rgba(16,221,180,0.12);
    color: #10ddb4;
    padding: 0.25rem 0.7rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(16,221,180,0.2);
    letter-spacing: 0.3px;
}

.game-card--style-0 .card-desc {
    font-size: 0.88rem;
    color: #999;
    margin-bottom: 0.9rem;
    flex: 1;
    line-height: 1.6;
}

.game-card--style-0 .card-rating {
    color: #fbbf24;
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.game-card--style-0 .card-btn {
    display: block;
    width: 100%;
    margin: 0.3rem 0 1.4rem;
    padding: 13px 20px;
    background: linear-gradient(135deg, #10ddb4 0%, #0aa886 100%);
    color: #0a0a1a;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.8px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* 按钮光泽扫过 */
.game-card--style-0 .card-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.5s ease;
}

.game-card--style-0 .card-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(16,221,180,0.45);
}

.game-card--style-0 .card-btn:hover::after {
    left: 100%;
}

/* =============================================
   模块1 - 「Immersive」 紫色 #667eea
   特点：暗色沉浸 + 边框流光 + 信息浮层
   ============================================= */
.game-card--style-1 {
    position: relative;
    background: #12121f;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(102,126,234,0.15);
    display: flex;
    flex-direction: column;
}

/* 流光边框 */
.game-card--style-1::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 17px;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(102,126,234,0.6) 90deg,
        rgba(118,75,162,0.4) 180deg,
        transparent 270deg
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: borderRotate 4s linear infinite paused;
}

.game-card--style-1:hover::before {
    opacity: 1;
    animation-play-state: running;
}

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

.game-card--style-1:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 18px 40px rgba(102,126,234,0.2),
        0 0 80px rgba(102,126,234,0.06);
}

.game-card--style-1 .card-image {
    position: relative;
    overflow: hidden;
    height: 190px;
}

/* 紫调滤镜层 */
.game-card--style-1 .card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(102,126,234,0.15) 0%, 
        rgba(118,75,162,0.05) 50%, 
        rgba(18,18,31,0.9) 100%);
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.game-card--style-1:hover .card-image::after {
    opacity: 0.5;
}

.game-card--style-1 .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, filter 0.4s ease;
}

.game-card--style-1:hover .card-image img {
    transform: scale(1.06);
    filter: saturate(1.2);
}

/* 游戏类型徽章浮动在图片上 */
.game-card--style-1 .card-tags {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    z-index: 3;
    margin-bottom: 0;
}

.game-card--style-1 .card-tag {
    background: rgba(18,18,31,0.85);
    color: #a78bfa;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(167,139,250,0.3);
    letter-spacing: 0.3px;
}

.game-card--style-1 .card-body {
    padding: 1.3rem 1.4rem 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.game-card--style-1 .card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #ffffff;
    line-height: 1.4;
}

.game-card--style-1 .card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.game-card--style-1 .card-title a:hover {
    color: #a78bfa;
}

.game-card--style-1 .card-desc {
    font-size: 0.88rem;
    color: #999;
    margin-bottom: 0.8rem;
    flex: 1;
    line-height: 1.6;
}

.game-card--style-1 .card-rating {
    color: #fbbf24;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.game-card--style-1 .card-btn {
    display: block;
    width: 100%;
    margin: 0.2rem 0 1.4rem;
    padding: 12px 20px;
    background: transparent;
    color: #a78bfa;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.8px;
    transition: all 0.35s ease;
    border: 2px solid rgba(167,139,250,0.4);
    position: relative;
    overflow: hidden;
}

.game-card--style-1 .card-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: -1;
}

.game-card--style-1 .card-btn:hover {
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102,126,234,0.4);
}

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

/* =============================================
   模块2 - 「Compact Elite」 绿色 #27ae60
   特点：紧凑高级 + 左色条 + 文字动画
   ============================================= */
.game-card--style-2 {
    position: relative;
    background: linear-gradient(160deg, #0d1f14 0%, #0a1510 100%);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(39,174,96,0.15);
    display: flex;
    flex-direction: row;
}

/* 左侧高亮色条 */
.game-card--style-2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5%;
    width: 3px;
    height: 90%;
    background: linear-gradient(180deg, #27ae60, #1e8449);
    border-radius: 0 3px 3px 0;
    transition: all 0.35s ease;
    opacity: 0.5;
}

.game-card--style-2:hover::before {
    width: 5px;
    opacity: 1;
    box-shadow: 0 0 20px rgba(39,174,96,0.5);
}

.game-card--style-2:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 35px rgba(39,174,96,0.15),
        0 0 0 1px rgba(39,174,96,0.25);
    border-color: rgba(39,174,96,0.4);
}

.game-card--style-2 .card-image {
    position: relative;
    overflow: hidden;
    min-width: 130px;
    width: 130px;
    flex-shrink: 0;
}

.game-card--style-2 .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.3s ease;
}

.game-card--style-2:hover .card-image img {
    transform: scale(1.08);
    filter: brightness(1.1) saturate(1.15);
}

/* 排名数字覆盖在图片上 */
.game-card--style-2 .card-image::after {
    content: '#' attr(data-rank);
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(10,21,16,0.85);
    color: #27ae60;
    padding: 0.15rem 0.55rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 800;
    z-index: 2;
    letter-spacing: 0.5px;
}

.game-card--style-2 .card-body {
    padding: 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.game-card--style-2 .card-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.game-card--style-2 .card-tag {
    background: rgba(39,174,96,0.1);
    color: #27ae60;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid rgba(39,174,96,0.2);
    letter-spacing: 0.3px;
}

.game-card--style-2 .card-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #ffffff;
    line-height: 1.4;
}

.game-card--style-2 .card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.game-card--style-2 .card-title a:hover {
    color: #27ae60;
}

.game-card--style-2 .card-desc {
    font-size: 0.82rem;
    color: #888;
    margin-bottom: 0.5rem;
    flex: 1;
    line-height: 1.5;
}

.game-card--style-2 .card-rating {
    color: #fbbf24;
    font-size: 0.82rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.game-card--style-2 .card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%);
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.game-card--style-2 .card-btn::after {
    content: '→';
    transition: transform 0.3s ease;
}

.game-card--style-2 .card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39,174,96,0.35);
    gap: 10px;
}

.game-card--style-2 .card-btn:hover::after {
    transform: translateX(3px);
}

/* ============================
   特色游戏区域（首页模块4+）— 金色「Premium」主题
   ============================ */
.featured {
    margin: 4rem 0;
    padding: 4rem 0;
    position: relative;
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.0) 0%, rgba(26, 26, 46, 0.65) 100%);
    border-radius: 24px;
    overflow: hidden;
}

/* 顶部装饰光晕 */
.featured::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(245,158,11,0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* 底部装饰光晕 */
.featured::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: 5%;
    width: 400px;
    height: 250px;
    background: radial-gradient(ellipse, rgba(251,191,36,0.05) 0%, transparent 65%);
    pointer-events: none;
    border-radius: 50%;
}

.featured-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 20px;
    position: relative;
}

.featured-header::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    margin: 1.2rem auto 0;
    background: linear-gradient(90deg, #f59e0b, #fbbf24, #f59e0b);
    border-radius: 3px;
    transition: width 0.6s ease;
}

.featured:hover .featured-header::after {
    width: 140px;
}

.featured-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.featured-title::before {
    content: '✨';
    font-size: 1.5rem;
}

.featured-desc {
    color: #999;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* featured 卡片 — 暗金玻璃拟态 */
.featured-card {
    position: relative;
    background: linear-gradient(160deg, rgba(245,158,11,0.06) 0%, rgba(20,20,40,0.9) 50%);
    border-radius: 18px;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(245,158,11,0.15);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

/* 外层金色发光环 */
.featured-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(245,158,11,0.4), transparent 40%, transparent 60%, rgba(251,191,36,0.25));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.35;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

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

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 50px rgba(245,158,11,0.15),
        0 0 0 1px rgba(245,158,11,0.3),
        0 0 60px rgba(251,191,36,0.06);
    border-color: rgba(245,158,11,0.45);
}

.featured-card .card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    border-radius: 18px 18px 0 0;
}

/* 图片渐变遮罩 */
.featured-card .card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(20,20,40,0.95) 0%, transparent 100%);
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.featured-card:hover .card-image::after {
    opacity: 0.7;
}

/* 播放按钮浮层 */
.featured-card .card-image::before {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    width: 56px;
    height: 56px;
    background: rgba(245,158,11,0.85);
    color: #1a1a2e;
    font-size: 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    box-shadow: 0 6px 24px rgba(245,158,11,0.5);
}

.featured-card:hover .card-image::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.featured-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, filter 0.4s ease;
}

.featured-card:hover .card-image img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.featured-card .card-body {
    padding: 1.3rem 1.5rem 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    z-index: 1;
}

.featured-card .card-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
}

.featured-card .card-tag {
    background: rgba(245,158,11,0.12);
    color: #f59e0b;
    padding: 0.25rem 0.7rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(245,158,11,0.2);
    letter-spacing: 0.3px;
}

.featured-card .card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #ffffff;
    line-height: 1.4;
}

.featured-card .card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
    background: linear-gradient(to right, #fff, #fff 50%, #fbbf24 50%);
    background-size: 200% 100%;
    background-position: 0 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.featured-card:hover .card-title a {
    background-position: -100% 0;
    transition: background-position 0.5s ease;
}

.featured-card .card-desc {
    font-size: 0.88rem;
    color: #999;
    margin-bottom: 0.8rem;
    flex: 1;
    line-height: 1.6;
}

.featured-card .card-rating {
    color: #fbbf24;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}



/* 金色渐变按钮 + 光泽扫过 */
.featured-card .card-btn {
    display: block;
    width: 100%;
    margin: 0.3rem 0 1.4rem;
    padding: 13px 20px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #1a1a2e;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.8px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.featured-card .card-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.featured-card .card-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(245,158,11,0.45);
}

.featured-card .card-btn:hover::after {
    left: 100%;
}

/* ============================
   产品列表页（list.html, tags.html）
   ============================ */
.page {
    padding: 2rem 0;
}

.page h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.product {
    background: #1a1a2e;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid rgba(102, 126, 234, 0.3);
    display: flex;
    flex-direction: column;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.6);
}

.inner-product {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.figure-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.figure-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.product:hover .figure-image img {
    transform: scale(1.05);
}

.product-title {
    padding: 1.2rem 1.2rem 0.5rem;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.product-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-title a:hover {
    color: #667eea;
}

.text-line3 {
    padding: 0 1.2rem;
    color: #b0b0b0;
    font-size: 14px;
    line-height: 1.6;
    min-height: 65px;
}

/* 产品卡片星级评分 */
.product-rating,
.inner-product > div {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 0 1.2rem;
    font-size: 15px;
}

.inner-product > div .star-full {
    color: #fbbf24;
}

.inner-product > div .star-empty {
    color: #555;
}

/* 产品卡片按钮 */
.product .button,
.button {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    margin-top: auto;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.2s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.product .button:hover,
.button:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
}

/* ============================
   分类按钮（tags.html）
   ============================ */
.category-buttons {
    background: rgba(26, 26, 46, 0.85);
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.category-title {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.3);
}

.category-title h2 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.category-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(102, 126, 234, 0.3);
    color: #e0e0e0;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    min-width: 120px;
    letter-spacing: 0.3px;
}

.category-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: #667eea;
    color: #ffffff;
    transform: translateY(-3px);
}

.category-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
}

/* ============================
   分页
   ============================ */
.pagination,
.pagination-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
    padding: 20px;
    background: rgba(26, 26, 46, 0.85);
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.pagination a,
.pagination-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(102, 126, 234, 0.3);
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pagination a:hover,
.pagination-bar a:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: #667eea;
    color: #ffffff;
    transform: translateY(-2px);
}

.pagination a.active,
.pagination-bar a.active,
.pagination-bar .current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
}

/* 新版 pagination 结构：.pagination-list / .pagination-item / .pagination-link */
.pagination-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination-item {
    list-style: none;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(102, 126, 234, 0.25);
    color: #c0c0c0;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.pagination-link:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: #667eea;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
}

/* 当前页码 */
.pagination-link.current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.35);
}

/* 禁用状态：上一页/下一页 */
.pagination-link.disabled {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(102, 126, 234, 0.1);
    color: rgba(224, 224, 224, 0.3);
    cursor: not-allowed;
    pointer-events: none;
}

/* ============================
   空状态
   ============================ */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: rgba(26, 26, 46, 0.85);
    border-radius: 16px;
    margin: 40px 0;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.empty-state-icon {
    font-size: 80px;
    color: rgba(102, 126, 234, 0.5);
    margin-bottom: 30px;
}

.empty-state p {
    color: #e0e0e0;
    font-size: 18px;
    margin: 10px 0;
}

.empty-state p:first-of-type {
    font-size: 20px;
    font-weight: 600;
}

.empty-state-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.empty-state-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.empty-state-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.empty-state-btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.08);
    color: #e0e0e0;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    border: 2px solid rgba(102, 126, 234, 0.3);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.empty-state-btn-secondary:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: #667eea;
    color: white;
    transform: translateY(-3px);
}

/* ============================
   About Page
   ============================ */
.page-hero {
    position: relative;
    padding: 5rem 0 3.5rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(102,126,234,0.08) 0%, rgba(26,26,46,0) 100%);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(102,126,234,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.page-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.8rem;
    position: relative;
    display: inline-block;
}

.page-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    margin: 1rem auto 0;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 3px;
}

.page-desc {
    font-size: 1.1rem;
    color: #999;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.6;
}

.page-content {
    padding: 1rem 0 4rem;
}

/* Stats */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, rgba(102,126,234,0.06) 0%, rgba(118,75,162,0.06) 100%);
    border-radius: 20px;
    border: 1px solid rgba(102,126,234,0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #999;
    margin-top: 0.3rem;
    font-weight: 500;
}

/* Section */
.about-section {
    margin-bottom: 4rem;
    text-align: center;
}

.about-section-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.about-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.6rem;
}

.about-section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    margin: 0.8rem auto;
    background: linear-gradient(90deg, #667eea, transparent);
    border-radius: 2px;
}

.about-lead {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 650px;
    margin: 0 auto 1.8rem;
    line-height: 1.7;
}

.about-section > p {
    color: #999;
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 750px;
    margin: 0 auto 1.2rem;
    text-align: left;
}

.about-section > p.about-lead {
    text-align: center;
    color: #ccc;
}

/* Mission Cards */
.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-card {
    background: rgba(26,26,46,0.6);
    border: 1px solid rgba(102,126,234,0.12);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102,126,234,0.35);
    box-shadow: 0 12px 35px rgba(102,126,234,0.1);
}

.about-card-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.7rem;
}

.about-card p {
    font-size: 0.9rem;
    color: #999;
    line-height: 1.7;
}

/* Testimonials */
.about-testimonials {
    background: linear-gradient(180deg, transparent 0%, rgba(102,126,234,0.03) 50%, transparent 100%);
    padding: 3rem 1.5rem;
    border-radius: 20px;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
    max-width: 950px;
    margin: 2rem auto 0;
}

.testimonial-card {
    background: rgba(26,26,46,0.7);
    border: 1px solid rgba(102,126,234,0.1);
    border-radius: 16px;
    padding: 1.8rem;
    text-align: left;
    position: relative;
    transition: border-color 0.3s ease;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 0.5rem;
    left: 1.2rem;
    font-size: 3rem;
    color: rgba(102,126,234,0.2);
    line-height: 1;
    font-family: serif;
}

.testimonial-card:hover {
    border-color: rgba(102,126,234,0.35);
}

.testimonial-card p {
    color: #bbb;
    font-size: 0.93rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-card cite {
    color: #667eea;
    font-size: 0.85rem;
    font-weight: 600;
    font-style: normal;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.team-member {
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-6px);
}

.team-member h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 1rem 0 0.3rem;
}

.team-role {
    font-size: 0.85rem;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-bio {
    font-size: 0.85rem;
    color: #999;
    line-height: 1.5;
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(102,126,234,0.3);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover .team-avatar {
    border-color: #667eea;
    box-shadow: 0 0 25px rgba(102,126,234,0.25);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* CTA */
.about-cta {
    text-align: center;
    padding: 3.5rem 2rem;
    background: linear-gradient(135deg, rgba(102,126,234,0.08) 0%, rgba(118,75,162,0.08) 100%);
    border-radius: 24px;
    border: 1px solid rgba(102,126,234,0.12);
    margin-top: 4rem;
}

.about-cta h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.8rem;
}

.about-cta p {
    color: #999;
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.about-cta-btn {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102,126,234,0.4);
}

/* ============================
   Contact Page
   ============================ */

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

/* Contact Info */
.contact-info {
    background: rgba(26, 26, 46, 0.7);
    border: 1px solid rgba(102, 126, 234, 0.15);
    border-radius: 20px;
    padding: 2.5rem 2rem;
}

.contact-info h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.8rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(102, 126, 234, 0.2);
}

.info-item {
    margin-bottom: 1.8rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-item h3::before {
    content: '◆';
    font-size: 0.6rem;
}

.info-item p {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.7;
    padding-left: 1.2rem;
}

/* Contact Form */
.contact-form {
    background: rgba(26, 26, 46, 0.7);
    border: 1px solid rgba(102, 126, 234, 0.15);
    border-radius: 20px;
    padding: 2.5rem 2rem;
}

.contact-form h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.8rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(102, 126, 234, 0.2);
}

.form-group {
    margin-bottom: 1.4rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ccc;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(102, 126, 234, 0.2);
    border-radius: 10px;
    color: #e0e0e0;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.08);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

/* Primary Button */
.btn-primary {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.45);
}

/* FAQ Section */
.faq-section {
    padding: 2.5rem;
    background: rgba(26, 26, 46, 0.5);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 20px;
}

.faq-section h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.faq-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    margin: 1rem auto 0;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 3px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(102, 126, 234, 0.12);
    border-radius: 14px;
    padding: 1.5rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(102, 126, 234, 0.35);
    background: rgba(102, 126, 234, 0.06);
}

.faq-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.faq-item h3::before {
    content: 'Q';
    font-size: 0.85rem;
    font-weight: 800;
    color: #667eea;
    background: rgba(102, 126, 234, 0.15);
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.faq-item p {
    color: #999;
    font-size: 0.93rem;
    line-height: 1.7;
    padding-left: 2.2rem;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 24px;
    right: 24px;
    min-width: 300px;
    max-width: 420px;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    overflow: hidden;
    animation: toastSlideIn 0.35s ease;
    border-left: 4px solid #667eea;
}

.toast-notification.toast-success {
    border-left-color: #2ecc71;
}

.toast-notification.toast-error {
    border-left-color: #e74c3c;
}

.toast-notification.hide {
    animation: toastSlideOut 0.3s ease forwards;
}

.toast-notification .toast-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px 8px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
}

.toast-notification .toast-header .close-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.2s ease;
}

.toast-notification .toast-header .close-btn:hover {
    color: #ffffff;
}

.toast-notification .toast-body {
    padding: 4px 18px 16px;
    color: #b0b0b0;
    font-size: 0.9rem;
    line-height: 1.5;
}

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

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

/* ============================
   Footer
   ============================ */
.footer {
    background: #0a0a1a;
    color: white;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-section p {
    color: #b0b0b0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-section ul {
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
}

.footer-bottom p {
    color: #808080;
    font-size: 0.85rem;
}

/* ============================
   Back to Top 按钮
   ============================ */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* ============================
   星级评分
   ============================ */
.star-full {
    color: #fbbf24;
}

.star-empty {
    color: #727171;
}

/* ============================
   Overlay
   ============================ */
.overlay {
    display: none;
}

/* ============================
   响应式设计
   ============================ */
@media (max-width: 1200px) {
    .product-list {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 0 15px;
    }

    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .games-grid--style-0,
    .games-grid--style-1 {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .games-grid--style-2 {
        grid-template-columns: 1fr;
    }

    /* 模块2移动端仍保持横向布局 */
    .game-card--style-2 {
        flex-direction: row;
    }

    .game-card--style-2 .card-image {
        min-width: 120px;
        width: 120px;
    }

    .game-card--style-2 .card-body {
        padding: 0.9rem 1rem;
    }

    .featured-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .featured {
        padding: 3rem 0;
        margin: 3rem 0;
    }

    .featured-title {
        font-size: 1.6rem;
    }

    .featured-card .card-image {
        height: 180px;
    }

    .product-list {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.5rem;
    }

    .figure-image {
        height: 160px;
    }

    .category-buttons {
        padding: 20px;
        margin: 20px 0;
    }

    .category-title h2 {
        font-size: 24px;
    }

    .button-group {
        gap: 8px;
    }

    .category-btn {
        min-width: 100px;
        font-size: 13px;
        padding: 8px 18px;
    }

    .page h2 {
        font-size: 24px;
    }

    /* About Page */
    .page-hero {
        padding: 3.5rem 0 2.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 1.8rem 1.5rem;
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .about-section h2 {
        font-size: 1.5rem;
    }

    .about-cards {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .about-testimonials {
        margin-left: 0;
        margin-right: 0;
        padding: 2rem 1rem;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .about-cta {
        padding: 2.5rem 1.5rem;
    }

    .about-cta h2 {
        font-size: 1.5rem;
    }

    /* Contact Page */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info,
    .contact-form {
        padding: 2rem 1.5rem;
    }

    .faq-section {
        padding: 2rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    #backToTop {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .games-grid--style-0,
    .games-grid--style-1,
    .games-grid--style-2 {
        grid-template-columns: 1fr;
    }

    /* 模块2极小屏堆叠为纵向 */
    .game-card--style-2 {
        flex-direction: column;
    }

    .game-card--style-2 .card-image {
        width: 100%;
        min-width: 100%;
        height: 160px;
    }

    .game-card--style-2::before {
        display: none;
    }

    .game-card--style-2::after {
        content: '';
        position: absolute;
        top: 0;
        left: 10%;
        width: 80%;
        height: 2px;
        background: linear-gradient(90deg, transparent, #27ae60, transparent);
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured {
        padding: 2.5rem 0;
        margin: 2rem 0;
        border-radius: 16px;
    }

    .featured-title {
        font-size: 1.4rem;
    }

    .featured-header::after {
        width: 60px;
    }

    .featured-card .card-image {
        height: 170px;
    }

    .product-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .figure-image {
        height: 180px;
    }

    .category-buttons {
        padding: 15px;
    }

    .category-title h2 {
        font-size: 20px;
    }

    .button-group {
        gap: 6px;
    }

    .category-btn {
        min-width: 80px;
        font-size: 12px;
        padding: 6px 14px;
    }

    .page h2 {
        font-size: 20px;
    }

    .pagination,
    .pagination-bar {
        flex-wrap: wrap;
        gap: 8px;
        padding: 15px;
    }

    .pagination-list {
        flex-wrap: wrap;
        gap: 6px;
    }

    .pagination-link {
        min-width: 38px;
        height: 38px;
        padding: 0 10px;
        font-size: 13px;
    }

    .empty-state-actions {
        flex-direction: column;
        align-items: center;
    }

    /* About Page */
    .page-hero {
        padding: 2.5rem 0 1.8rem;
    }

    .page-title {
        font-size: 1.6rem;
    }

    .page-desc {
        font-size: 0.95rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 1.5rem 1rem;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.78rem;
    }

    .about-section {
        margin-bottom: 2.5rem;
    }

    .about-section h2 {
        font-size: 1.3rem;
    }

    .about-section > p {
        text-align: left;
        font-size: 0.9rem;
    }

    .about-cards {
        grid-template-columns: 1fr;
    }

    .about-card {
        padding: 1.5rem 1.2rem;
    }

    .about-testimonials {
        margin-left: 0;
        margin-right: 0;
        padding: 1.5rem 0.8rem;
    }

    .testimonial-card {
        padding: 1.3rem;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem;
    }

    .team-avatar {
        width: 90px;
        height: 90px;
    }

    .about-cta {
        padding: 2rem 1rem;
        margin-top: 2.5rem;
        border-radius: 16px;
    }

    .about-cta h2 {
        font-size: 1.3rem;
    }

    .about-cta-btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    /* Contact Page */
    .contact-info,
    .contact-form {
        padding: 1.5rem 1.2rem;
    }

    .contact-info h2,
    .contact-form h2 {
        font-size: 1.3rem;
    }

    .faq-section {
        padding: 1.5rem 1rem;
    }

    .faq-section h2 {
        font-size: 1.3rem;
    }

    .faq-item {
        padding: 1.2rem;
    }

    .faq-item h3 {
        font-size: 0.95rem;
    }

    .faq-item p {
        font-size: 0.85rem;
        padding-left: 0;
    }

    .faq-item h3::before {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
    }

    .toast-notification {
        left: 16px;
        right: 16px;
        min-width: auto;
        max-width: none;
    }
}
