/* ==========================================================================
   1. RESET & BASE STYLES
   ========================================================================== */

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 自定义字体 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   2. CSS CUSTOM PROPERTIES (VARIABLES)
   ========================================================================== */

:root {
    /* 颜色变量 - 科技感风格（深蓝+暗蓝）11.5.2-深蓝配色 */
    --primary-color: #0099CC;
    --primary-hover: #0077AA;
    --bg-page: #0a0f1a;
    --bg-dark: #151a2a;
    --text-primary: #ffffff;
    --text-secondary: #A8D0E8;
    --text-muted: #6AA5C0;
    --border-color: #1a2332;
    --card-bg: rgba(0, 153, 204, 0.08);
    --overlay-dark: rgba(21, 26, 42, 0.9);
    --gradient-start: rgba(21, 26, 42, 0);
    --gradient-end: #151a2a;
    
    /* 间距变量 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* 字体大小 */
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 1.875rem;
    --font-4xl: 2.25rem;
    --font-5xl: 3rem;
    
    /* 阴影 */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    
    /* 过渡 */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* ==========================================================================
   3. GLOBAL STYLES & UTILITIES
   ========================================================================== */

/* 基础样式 */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(to right, 
        #0a0f1a 0%, 
        #151a2a 30%, 
        #1a2332 50%, 
        #151a2a 70%, 
        #0a0f1a 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    font-size: var(--font-base);
    overflow-x: hidden;
    min-height: 100vh;
}

/* 工具类 */
.flex-y {
    display: flex;
    flex-direction: column;
}

.flex-x-center {
    display: flex;
    align-items: center;
}

.flex-y-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.min-h-screen {
    min-height: 100vh;
}

.w-full {
    width: 100%;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ==========================================================================
   4. COMPONENTS
   ========================================================================== */

/* 按钮样式 */
.primary-button {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0077AA 100%);
    color: white;
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 8px;
    font-weight: 700;
    font-size: var(--font-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(0, 153, 204, 0.3);
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 153, 204, 0.4);
    background: linear-gradient(135deg, #0077AA 0%, var(--primary-color) 100%);
}

.primary-button:active {
    transform: translateY(0);
}

.play-button {
    background: #28A745;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
}

.play-button:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

/* ==========================================================================
   5. LAYOUT SECTIONS
   ========================================================================== */

/* Header */
.header {
    height: 140px;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(180deg, 
        rgba(26, 35, 50, 0.85) 0%, 
        rgba(26, 35, 50, 0.7) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-normal);
}

.header .section-content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    max-width: 1200px;
}

.logo-link {
    flex-shrink: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    transition: transform var(--transition-fast);
    margin-left: 60px;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo img {
    height: 120px;
    width: auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding-top: 0;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    padding: var(--spacing-xs);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.social-link:hover {
    color: var(--primary-color);
    background: rgba(0, 153, 204, 0.1);
}

/* Main Content */
.main-content {
    flex: 1;
}

/* ==========================================================================
   6. HERO SECTION & CAROUSEL
   ========================================================================== */

/* Hero Section - 全新大胆设计 */
.hero-section {
    position: relative;
    width: 100%;
    height: calc(100dvh - 10rem);
    min-height: calc(100vh - 10rem);
    overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(0, 153, 204, 0.15) 0%, transparent 70%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: transparent;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        transparent 20%, 
        rgba(21, 26, 42, 0.1) 40%, 
        rgba(21, 26, 42, 0.3) 60%, 
        rgba(21, 26, 42, 0.5) 75%, 
        rgba(21, 26, 42, 0.7) 90%, 
        rgba(21, 26, 42, 0.9) 100%);
}

.hero-title-original {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 40;
    margin: 0;
    width: auto;
    text-align: center;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    color: white;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8), 0 0 50px rgba(0, 153, 204, 0.4);
    letter-spacing: -0.02em;
    line-height: 1.1;
    animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Infinite Games Container - 新布局 */
.infinite-games-container {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
    opacity: 0.95;
    z-index: 1;
    pointer-events: none;
    color:#0099CC
}

/* 游戏容器渐变遮罩 - 顶部浅色，底部深色 */
.infinite-games-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 153, 204, 0.05) 0%, 
        rgba(0, 153, 204, 0.03) 15%, 
        rgba(0, 153, 204, 0.02) 25%, 
        rgba(0, 153, 204, 0.01) 35%, 
        rgba(0, 153, 204, 0) 45%, 
        rgba(30, 41, 59, 0.1) 55%, 
        rgba(30, 41, 59, 0.3) 70%, 
        rgba(30, 41, 59, 0.6) 85%, 
        rgba(30, 41, 59, 0.9) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Linear Swiper Rows */
.linear-swiper {
    height: 220px;
    width: 100%;
    background: transparent;
    display: flex;
    align-items: center;
}

.linear-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
    height: 100%;
    align-items: center;
}

.linear-swiper .swiper-slide {
    width: auto;
    background: transparent;
    flex-shrink: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.linear-swiper .swiper-slide img {
    display: block;
    margin: 0;
}

/* Swiper Height Control - Desktop */
.games-swiper-row1,
.games-swiper-row2,
.games-swiper-row3 {
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
}

.games-swiper-row1 .swiper-container,
.games-swiper-row2 .swiper-container,
.games-swiper-row3 .swiper-container,
.games-swiper-row1.swiper,
.games-swiper-row2.swiper,
.games-swiper-row3.swiper {
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
}

.games-swiper-row1 .swiper-wrapper,
.games-swiper-row2 .swiper-wrapper,
.games-swiper-row3 .swiper-wrapper {
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
    align-items: center !important;
}

.infinite-games-container .swiper,
.infinite-games-container .swiper-container {
    height: 220px !important;
}

.infinite-games-container .swiper .swiper-wrapper {
    height: 220px !important;
    align-items: center !important;
    display: flex !important;
}

.infinite-games-container .swiper .swiper-slide {
    height: 220px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Row Directions */
.games-swiper-row1 .swiper-wrapper,
.games-swiper-row3 .swiper-wrapper {
    animation-direction: normal;
}

.games-swiper-row2 .swiper-wrapper {
    animation-direction: reverse;
}

/* Game Icons */
.game-icon {
    height: 180px;
    width: 180px;
    object-fit: contain;
    transition: all var(--transition-fast);
    filter: brightness(0.9) contrast(1.1);
    vertical-align: middle;
}

.game-icon:hover {
    filter: brightness(1.1) contrast(1.2);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 153, 204, 0.4);
}

/* ==========================================================================
   7. GAME SHOWCASE SECTION
   ========================================================================== */

/* 游戏展示区域 - 杂志式不对称布局 */
.game-showcase-section {
    background: linear-gradient(135deg, #151a2a 0%, #0a0f1a 100%);
    padding: 4rem 2rem 0;
    margin: 0;
    position: relative;
    overflow: visible;
}

.game-showcase-section .section-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 2rem;
}

.game-showcase-section .section-title {
    /* 使用通用的 section-title 样式 */
}

.game-showcase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 153, 204, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 153, 204, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.game-showcase-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 153, 204, 0.3) 50%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* 为外部按钮预留空间 - 新布局 */
.game-showcase-section .flex-y-center {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    overflow: visible;
}

/* 轮播图容器 - 居中显示 */
.game-showcase-section .relative.w-full {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.game-showcase-swiper {
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 0 auto;
    overflow: visible;
}

.game-showcase-swiper .swiper-wrapper {
    overflow: visible;
}

.game-showcase-swiper .swiper-slide {
    width: 100%;
    height: auto;
    min-height: 540px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px; /* 增加 padding 为悬停效果留出空间 */
    box-sizing: border-box;
    overflow: visible; /* slide 内部保持 visible 以显示悬停效果 */
}

/* 游戏展示卡片 - 玻璃态大卡片设计 */
.game-showcase-card {
    display: flex;
    background: linear-gradient(145deg, 
        rgba(36, 52, 71, 0.7) 0%, 
        rgba(26, 35, 50, 0.6) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    height: 500px;
    min-height: 500px;
    max-height: 500px;
    align-items: stretch;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(0, 153, 204, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 2rem auto;
    position: relative;
    transform-style: preserve-3d;
    z-index: 1;
    will-change: transform;
    backface-visibility: hidden;
}

.game-showcase-card:hover {
    transform: translateY(-12px) rotateX(2deg) rotateY(-1deg);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(0, 153, 204, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(0, 153, 204, 0.5);
    background: linear-gradient(145deg, 
        rgba(36, 52, 71, 0.85) 0%, 
        rgba(26, 35, 50, 0.75) 100%);
    z-index: 10;
}

.game-preview-image {
    width: 50%;
    max-width: 500px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    align-self: stretch;
    min-height: 500px;
    padding: 0;
    margin: 0;
}

.game-preview-img {
    max-width: 500px;
    max-height: 500px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center top;
    border-radius: 14px 0 0 14px;
    display: block;
    margin: 0;
    padding: 0;
    line-height: 0;
    backface-visibility: hidden;
}

.game-showcase-content {
    width: 55%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    align-self: stretch;
    min-height: 500px;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

.game-showcase-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-showcase-title .game-address {
    color: #888;
    font-size: 0.5em;
    font-weight: 400;
}

.game-showcase-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
    flex-wrap: wrap;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

.rating-score {
    font-size: 2.0rem;
    font-weight: 700;
    color: white;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

.rating-stars {
    font-size: 2.0rem;
    color: #F59E0B;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

.rating-count {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

.game-description-area {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin: 1rem 0;
    flex: 1;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

.game-round-icon {
    width: 160px;
    height: 160px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid white;
    border-radius: 40px;
}

.game-showcase-description {
    color: rgba(255, 255, 255, 1);
    font-size: 1.1rem;
    line-height: 1.4;
    margin: 0;
    flex: 1;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.game-showcase-description1,
.game-showcase-description2 {
    margin: 0;
    color: rgba(255, 255, 255, 1);
    font-size: 1.15rem;
    line-height: 1.4;
}

.game-showcase-description1 {
    margin-top: 0;
}

/* Custom Swiper Navigation - 移到轮播图外部 */
.custom-swiper-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.custom-swiper-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 153, 204, 0.3);
}

/* 将按钮定位到轮播图容器外部 - 居中布局 */
.game-showcase-section .custom-swiper-button-next {
    right: 1rem;
}

.game-showcase-section .custom-swiper-button-prev {
    left: 1rem;
}

.custom-swiper-button.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.custom-swiper-button svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

/* ==========================================================================
   8. ALL GAMES SECTION
   ========================================================================== */

/* 所有游戏区域 - 现代网格布局 */
.all-games-section {
    padding: 4rem 2rem 2rem;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.all-games-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(0, 153, 204, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 153, 204, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.all-games-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 153, 204, 0.3) 50%, transparent 100%);
}

/* Section标题 - 更大更醒目 */
.section-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #0099CC 0%, #A8D0E8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: var(--spacing-lg);
    letter-spacing: -0.03em;
    line-height: 1.1;
    filter: brightness(1.3) contrast(1.1);
}

/* 主页面section标题下方的装饰线（不包括about-page-section内的） */
.main-content > section:not(.about-page-section) .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    border-radius: 2px;
}

/* 游戏网格 - 动态瀑布流风格 */
.all-games-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-xl) 0 var(--spacing-md) 0;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* 所有游戏图标大小一致 */

/* 游戏项 - 玻璃态浮动卡片 */
.game-item {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(145deg, 
        rgba(36, 52, 71, 0.5) 0%, 
        rgba(26, 35, 50, 0.3) 100%);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    border-radius: 24px;
    padding: var(--spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    transform-origin: center center;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 153, 204, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

.game-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(0, 153, 204, 0.2) 0%, 
        rgba(0, 119, 170, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 24px;
}

.game-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(0, 153, 204, 0.15) 0%, 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.game-item:hover::before,
.game-item:hover::after {
    opacity: 1;
}

.game-item:hover {
    transform: translateY(-15px) scale(1.08) !important;
    transform-origin: center center;
    aspect-ratio: 1 !important;
    border-color: rgba(0, 153, 204, 0.6);
    box-shadow: 
        0 30px 70px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(0, 153, 204, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    background: linear-gradient(145deg, 
        rgba(36, 52, 71, 0.75) 0%, 
        rgba(26, 35, 50, 0.65) 100%);
    z-index: 10;
}

.game-item-image {
    width: 120%;
    height: 120%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.game-item:hover .game-item-image {
    transform: scale(1.15);
    filter: drop-shadow(0 8px 24px rgba(0, 153, 204, 0.4));
}

/* ==========================================================================
   9. COMPANY PROFILE SECTION
   ========================================================================== */

/* 公司简介区域 - 分屏式布局 */
.company-profile-section {
    padding: 4rem 2rem 2rem;
    background: transparent;
    position: relative;
    border-top: 1px solid rgba(0, 153, 204, 0.2);
    overflow: hidden;
}

.company-profile-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 153, 204, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
}

.company-profile-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    opacity: 0.5;
}

/* 公司简介 - 居中布局 */
.company-profile {
    margin: 0 auto;
    text-align: center;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.about-section-button-container {
    margin-top: var(--spacing-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: var(--spacing-sm);
    margin-bottom: 0;
}

.about-section-btn {
    position: relative;
    width: auto;
    height: auto;
    min-width: 140px;
    min-height: 50px;
    padding: 12px 24px;
}

/* 公司描述 - 玻璃态卡片（居中） */
.company-description {
    font-size: var(--font-xl);
    line-height: 1.6;
    color: var(--text-primary);
    opacity: 0.95;
    margin-bottom: 0;
    text-align: center;
    padding: 3rem;
    background: linear-gradient(145deg, 
        rgba(36, 52, 71, 0.4) 0%, 
        rgba(26, 35, 50, 0.3) 100%);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(0, 153, 204, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    animation: fadeInUp 0.8s ease-out;
    white-space: pre-line;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 居中布局下的装饰元素 */
.company-profile::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, 
        rgba(0, 153, 204, 0.15) 0%, 
        rgba(0, 119, 170, 0.1) 100%);
    border-radius: 50%;
    filter: blur(60px);
    animation: pulseGlow 4s ease-in-out infinite;
    z-index: 0;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.company-description {
    position: relative;
    z-index: 1;
}

/* Company Profile - Mobile响应式 */
@media (max-width: 768px) {
    .company-profile-section {
        padding: var(--spacing-xl) 0;
    }
    
    .company-description {
        font-size: var(--font-lg);
        line-height: 1.5;
        text-align: left;
        padding: 2rem;
    }
    
    .company-profile {
        text-align: left;
    }
}

/* ==========================================================================
   10. WHAT WE DO SECTION
   ========================================================================== */

.what-we-do-section {
    padding: 4rem 2rem 2rem;
    background: linear-gradient(135deg, rgba(36, 52, 71, 0.6) 0%, var(--bg-dark) 100%);
    position: relative;
    border-top: 1px solid rgba(0, 153, 204, 0.4);
}

.what-we-do-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    opacity: 0.5;
}

.what-we-do-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.what-we-do-item {
    background: var(--card-bg);
    border-radius: 16px;
    padding: var(--spacing-xl);
    border: 2px solid var(--border-color);
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.what-we-do-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 153, 204, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.what-we-do-item:hover::before {
    opacity: 1;
}

.what-we-do-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 153, 204, 0.2);
}

.service-title {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 2;
}

.service-description {
    font-size: var(--font-lg);
    line-height: 1.8;
    color: var(--text-primary);
    opacity: 0.9;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* What We Do - Mobile响应式 */
@media (max-width: 768px) {
    .what-we-do-section {
        padding: var(--spacing-xl) 0;
    }

    .what-we-do-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .what-we-do-item {
        padding: var(--spacing-lg);
    }
}

/* ==========================================================================
   11. OUR VISION SECTION
   ========================================================================== */

.our-vision-section {
    padding: 4rem 2rem 2rem;
    background: linear-gradient(135deg, var(--bg-dark) 0%, rgba(36, 52, 71, 0.6) 100%);
    position: relative;
    border-top: 1px solid rgba(0, 153, 204, 0.4);
}

.our-vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    opacity: 0.5;
}

.our-vision-content {
    margin: 0 auto;
    max-width: 900px;
    text-align: center;
}

.vision-description {
    font-size: var(--font-xl);
    line-height: 1.6;
    color: var(--text-primary);
    opacity: 0.95;
    margin: var(--spacing-xl) 0 0 0;
    text-align: center;
    padding: 3rem;
    background: linear-gradient(145deg, 
        rgba(36, 52, 71, 0.4) 0%, 
        rgba(26, 35, 50, 0.3) 100%);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(0, 153, 204, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    animation: fadeInUp 0.8s ease-out;
    white-space: pre-line;
}

/* Our Vision - Mobile响应式 */
@media (max-width: 768px) {
    .our-vision-section {
        padding: var(--spacing-xl) 0;
    }

    .vision-description {
        font-size: var(--font-lg);
        line-height: 1.5;
        text-align: left;
        padding: 2rem;
    }
}

/* ==========================================================================
   12. OUR GAMES SECTION
   ========================================================================== */

.our-games-section {
    padding: 4rem 2rem 2rem;
    background: linear-gradient(135deg, #151a2a 0%, #0a0f1a 100%);
    position: relative;
    border-top: none;
    margin-top: -1px; /* 与轮播图无缝衔接 */
}

.our-games-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 153, 204, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 153, 204, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.our-games-content {
    margin: 0 auto;
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.games-intro {
    font-size: var(--font-xl);
    line-height: 1.8;
    color: var(--text-primary);
    opacity: 0.9;
    margin: var(--spacing-xl) 0 var(--spacing-lg) 0;
}

.games-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-lg) 0 0 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.game-item-name {
    font-size: var(--font-xl);
    font-weight: 600;
    color: var(--primary-color);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--card-bg);
    border-radius: 8px;
    border: 2px solid var(--border-color);
    transition: all var(--transition-normal);
    min-width: 200px;
    text-align: center;
    flex: 0 1 auto;
}

.game-item-name:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 153, 204, 0.2);
}

/* Our Games - Mobile响应式 */
@media (max-width: 768px) {
    .our-games-section {
        padding: var(--spacing-xl) 0;
    }

    .games-intro {
        font-size: var(--font-lg);
        text-align: left;
    }

    .games-list {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-md);
    }

    .game-item-name {
        font-size: var(--font-lg);
        min-width: auto;
        width: 100%;
    }
}

/* ==========================================================================
   13. LET'S BUILD TOGETHER SECTION
   ========================================================================== */

.lets-build-section {
    padding: 4rem 2rem 2rem;
    background: linear-gradient(135deg, var(--bg-dark) 0%, rgba(36, 52, 71, 0.6) 100%);
    position: relative;
    border-top: 1px solid rgba(0, 153, 204, 0.4);
}

.lets-build-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    opacity: 0.5;
}

.lets-build-content {
    margin: 0 auto;
    max-width: 900px;
    text-align: center;
}

.build-description {
    font-size: var(--font-xl);
    line-height: 1.6;
    color: var(--text-primary);
    opacity: 0.95;
    margin: var(--spacing-xl) 0 0 0;
    text-align: center;
    padding: 3rem;
    background: linear-gradient(145deg, 
        rgba(36, 52, 71, 0.4) 0%, 
        rgba(26, 35, 50, 0.3) 100%);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(0, 153, 204, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.build-contact {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: var(--card-bg);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: all var(--transition-normal);
}

.build-contact:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 153, 204, 0.2);
}

.contact-label {
    font-size: var(--font-lg);
    color: var(--text-primary);
    opacity: 0.9;
}

.contact-email {
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.contact-email:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Let's Build Together - Mobile响应式 */
@media (max-width: 768px) {
    .lets-build-section {
        padding: var(--spacing-xl) 0;
    }

    .build-description {
        font-size: var(--font-lg);
        text-align: left;
        padding: 2rem;
    }

    .build-contact {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

/* ==========================================================================
   15. ABOUT PAGE
   ========================================================================== */

.about-page-section {
    min-height: calc(100vh - 5rem);
}

/* B页面标题下方的蓝色下标装饰 */
.about-page-section .section-title {
    position: relative;
    padding-bottom: var(--spacing-md);
}

.about-page-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    border-radius: 2px;
}

.lets-build-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* ==========================================================================
   14. FOOTER
   ========================================================================== */

.footer {
    background: transparent;
    padding: 4rem 2rem 6rem;
    border-top: 1px solid rgba(0, 153, 204, 0.2);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 153, 204, 0.5) 50%, transparent 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: start;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-section:nth-child(2) {
    gap: var(--spacing-xs);
}

.footer-title {
    font-size: var(--font-sm);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: 0.05em;
}

.footer-text {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.footer-link {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    text-decoration: underline;
    transition: color var(--transition-fast);
    line-height: 1.5;
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-contact-description {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    margin: var(--spacing-sm) 0 0 0;
    line-height: 1.6;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
    margin-bottom: 0;
}

.footer-contact-label {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    opacity: 0.8;
}

.footer-email {
    font-size: var(--font-sm);
    color: var(--primary-color);
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* ==========================================================================
   11. RESPONSIVE DESIGN
   ========================================================================== */

/* Large Screens (≤1535px) */
@media (max-width: 1535px) {
    .game-icon {
        height: 140px;
        width: 140px;
    }
    
    .linear-swiper {
        height: 180px;
    }
    
    .games-swiper-row1,
    .games-swiper-row2,
    .games-swiper-row3,
    .games-swiper-row1.swiper,
    .games-swiper-row2.swiper,
    .games-swiper-row3.swiper,
    .games-swiper-row1 .swiper-wrapper,
    .games-swiper-row2 .swiper-wrapper,
    .games-swiper-row3 .swiper-wrapper,
    .infinite-games-container .swiper,
    .infinite-games-container .swiper-container,
    .infinite-games-container .swiper .swiper-wrapper,
    .infinite-games-container .swiper .swiper-slide {
        height: 180px !important;
        min-height: 180px !important;
        max-height: 180px !important;
    }
    
    
    .hero-section {
        height: calc(100dvh - 5rem);
        min-height: calc(100vh - 5rem);
    }
}

/* Tablets (≤1024px) */
@media (max-width: 1024px) {
    .infinite-games-container {
        gap: 1rem;
    }
    
    .all-games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-md);
    }
}

/* Medium Tablets (≤1023px) */
@media (max-width: 1023px) {
    .infinite-games-container {
        gap: 0.75rem;
    }
    
    .linear-swiper {
        height: 150px;
    }
    
    .games-swiper-row1,
    .games-swiper-row2,
    .games-swiper-row3,
    .games-swiper-row1.swiper,
    .games-swiper-row2.swiper,
    .games-swiper-row3.swiper,
    .games-swiper-row1 .swiper-wrapper,
    .games-swiper-row2 .swiper-wrapper,
    .games-swiper-row3 .swiper-wrapper,
    .infinite-games-container .swiper,
    .infinite-games-container .swiper-container,
    .infinite-games-container .swiper .swiper-wrapper,
    .infinite-games-container .swiper .swiper-slide {
        height: 150px !important;
        min-height: 150px !important;
        max-height: 150px !important;
    }
    
    .game-icon {
        height: 110px;
        width: 110px;
    }
    
    .hero-section {
        height: calc(100dvh - 5rem);
        min-height: calc(100vh - 5rem);
    }
}

/* Mobile & Tablets (≤768px) */
@media (max-width: 768px) {
    .infinite-games-container {
        gap: 0.25rem !important;
    }
    
    .linear-swiper {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .games-swiper-row1,
    .games-swiper-row2,
    .games-swiper-row3 {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .header {
        height: 7rem; /* 从 5.5rem 增加到 7rem (约 112px) */
        padding: 0 var(--spacing-sm);
    }
    
    .logo-link {
        margin-left: 1rem;
        padding-top: 20px;
        padding-bottom: 10px;
    }
    
    .logo img {
        height: 6rem; /* 从 4.5rem 增加到 6rem (约 96px)，适配移动端 header 高度 */
    }
    
    .section-content {
        padding: 0 var(--spacing-sm);
    }
    
    .all-games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-sm);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }
    
    .footer-section {
        align-items: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    /* Custom Swiper Buttons - Mobile */
    .custom-swiper-button {
        width: 44px;
        height: 44px;
    }
    
    /* 移动设备上隐藏按钮，使用触摸滑动 */
    .game-showcase-section .custom-swiper-button {
        display: none; /* 隐藏所有导航按钮 */
    }
    
    .game-showcase-section .flex-y-center {
        padding: 0 1rem; /* 移动设备上减少padding，不需要为按钮预留空间 */
    }
    
    .custom-swiper-button svg {
        width: 20px;
        height: 20px;
    }
    
    /* Game Showcase - Mobile */
    .game-showcase-section {
        padding: 2rem 1rem 0;
    }
    
    .game-showcase-section .relative.w-full {
        padding: 0;
    }
    
    .game-showcase-swiper {
        width: 100%;
        padding: 0;
    }
    
    .game-showcase-swiper .swiper-slide {
        padding: 0.5rem;
        min-height: auto;
    }
    
    .game-showcase-card {
        flex-direction: column;
        height: auto;
        min-height: auto;
        max-height: none;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0;
        border-radius: 16px;
    }
    
    .game-preview-image {
        width: 100%;
        height: auto;
        min-height: auto;
        max-width: 100%;
        align-items: center;
    }
    
    .game-preview-img {
        width: 100%;
        height: auto;
        max-width: 100%;
        max-height: 300px;
        object-fit: cover;
        border-radius: 16px 16px 0 0;
    }
    
    .game-showcase-content {
        width: 100%;
        padding: 1rem;
        gap: 0.75rem;
        min-height: auto;
    }
    
    .game-showcase-title {
        font-size: 1.7rem;
    }
    
    .game-description-area {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .rating-score,
    .rating-stars,
    .rating-count {
        font-size: 1.5rem;
    }
    
    .game-round-icon {
        display: none;
    }
    
    .game-showcase-description {
        font-size: 0.9rem;
        text-align: left;
    }
    
    .play-button {
        width: 100%;
        text-align: center;
    }
}

/* Game Modal Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

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

/* Mobile Phones (≤767px) */
@media (max-width: 767px) {
    .hero-title-original {
        width: 100%;
        text-align: center;
        bottom: 2rem;
        z-index: 30;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
        font-size: 2.5rem;
    }
    
    .linear-swiper {
        height: 130px;
    }
    
    .games-swiper-row1,
    .games-swiper-row2,
    .games-swiper-row3,
    .games-swiper-row1.swiper,
    .games-swiper-row2.swiper,
    .games-swiper-row3.swiper,
    .games-swiper-row1 .swiper-wrapper,
    .games-swiper-row2 .swiper-wrapper,
    .games-swiper-row3 .swiper-wrapper,
    .infinite-games-container .swiper,
    .infinite-games-container .swiper-container,
    .infinite-games-container .swiper .swiper-wrapper,
    .infinite-games-container .swiper .swiper-slide {
        height: 130px !important;
        min-height: 130px !important;
        max-height: 130px !important;
    }
    
    .game-icon {
        height: 90px;
        width: 90px;
    }
    
    .hero-section {
        height: calc(100dvh - 25rem);
        min-height: calc(100vh - 25rem);
    }
}

/* Medium Mobile (≤640px) */
@media (max-width: 640px) {
    .all-games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-sm);
    }
    
    .game-item {
        padding: var(--spacing-sm);
    }
}

/* Small Mobile (≤480px) */
@media (max-width: 480px) {
    .infinite-games-container {
        gap: 0.125rem !important;
    }
    
    .logo-link {
        margin-left: 0.5rem;
        padding-top: 20px;
        padding-bottom: 10px;
    }
    
    .logo img {
        height: 5rem; /* 从 3.5rem 增加到 5rem (约 80px)，适配小屏幕 */
    }
    
    .header-right {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .social-links {
        order: 2;
    }
    
    .primary-button {
        order: 1;
        font-size: var(--font-sm);
    }
    
    .all-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xs);
    }
    
    .game-item {
        padding: var(--spacing-sm);
    }
    
    /* 超小屏幕上隐藏按钮，使用触摸滑动 */
    .game-showcase-section .custom-swiper-button {
        display: none !important;
    }
    
    .game-showcase-section .flex-y-center {
        padding: 0 0.5rem; /* 最小padding */
    }
}

/* Very Small Mobile (≤360px) */
@media (max-width: 360px) {
    .infinite-games-container {
        gap: 0.0625rem !important;
    }
    
    .all-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xs);
    }
    
    .game-item {
        padding: calc(var(--spacing-sm) * 0.75);
    }
    
    .section-content {
        padding: 0 var(--spacing-xs);
    }
}

/* ==========================================================================
   11. SCROLLBAR & SELECTION STYLES
   ========================================================================== */

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #006699;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0077AA;
}

/* 选中文本样式 */
::selection {
    background: var(--primary-color);
    color: white;
}

/* 禁用用户选择 */
    .logo img,
.game-icon,
.feature-icon {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
