:root {
    --primary-color: #00d4ff;
    --primary-dark: #0096cc;
    --secondary-color: #ff6b6b;
    --secondary-dark: #e55656;
    --accent-color: #ffc107;
    --accent-dark: #ffb300;
    --background-color: #0a0a0a;
    --background-secondary: #121212;
    --surface-color: #1f1f1f;
    --surface-light: #2a2a2a;
    --text-color: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.3);
    --shadow-heavy: rgba(0, 0, 0, 0.5);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    --gradient-background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    --header-height: 70px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* 全局重置和基础样式 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: var(--gradient-background);
    background-attachment: fixed;
    padding-top: var(--header-height);
    overflow-x: hidden;
}

/* 无障碍功能 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
    border-radius: var(--border-radius-sm);
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 6px;
}

/* 面包屑导航 - 默认隐藏，只在需要时显示 */
.breadcrumb-nav {
    display: none;
    background: rgba(31, 31, 31, 0.9);
    padding: 0.5rem 5%;
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: var(--header-height);
    width: 100%;
    z-index: 999;
}

.breadcrumb-nav ol {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.breadcrumb-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.breadcrumb-nav a:hover {
    color: var(--primary-color);
}

/* 顶部导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px var(--shadow-medium);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 8px 30px var(--shadow-heavy);
}

.logo {
    flex-shrink: 0;
    transition: transform var(--transition-normal);
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 50px;
    max-height: 50px;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1);
    transition: filter var(--transition-normal);
}

.logo img:hover {
    filter: brightness(1.2) contrast(1.2);
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: var(--border-radius-sm);
    background: transparent;
    border: none;
    transition: background var(--transition-fast);
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 5px 0;
    transition: all var(--transition-normal);
    border-radius: 2px;
}

/* 主导航菜单 */
.menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-normal);
}

.menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    transition: width var(--transition-normal);
    border-radius: 2px;
}

.menu a:hover {
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

.menu a:hover::before {
    width: 80%;
}

.menu a[aria-current="page"] {
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.15);
}

.menu a[aria-current="page"]::before {
    width: 100%;
}

/* 轮播图容器 */
.carousel-container {
    max-width: 1400px;
    width: 100%;
    margin: 2rem auto;
    padding: 0 2rem;
}

.carousel {
    position: relative;
    width: 100%;
    height: 400px;
    aspect-ratio: 3/1;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 35px var(--shadow-medium);
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--transition-slow), transform var(--transition-slow);
    transform: scale(1.05);
}

.carousel-item.active {
    opacity: 1;
    transform: scale(1);
}

.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: var(--border-radius-lg);
}

/* 轮播控制按钮 */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    z-index: 10;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.carousel-control:hover {
    background: rgba(0, 212, 255, 0.8);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* 轮播指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    border: none;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 50%;
    transform: scale(0);
    transition: transform var(--transition-normal);
}

.indicator:hover::before,
.indicator.active::before {
    transform: scale(1);
}

.indicator.active {
    background: white;
}

/* 主内容区域 */
.main-section {
    padding: 3rem 5% 2rem;
    margin-top: 1rem;
}

/* 主横幅 */
.banner {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    margin-bottom: 4rem;
    background: var(--gradient-primary);
    padding: 4rem;
    text-align: left;
    display: flex;
    align-items: center;
    box-shadow: 0 20px 40px var(--shadow-medium);
    transition: transform var(--transition-normal);
}

.banner:hover {
    transform: translateY(-5px);
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.9), rgba(0, 150, 204, 0.9));
    z-index: 1;
}

.banner > * {
    position: relative;
    z-index: 2;
}

.banner img {
    width: 45%;
    height: auto;
    object-fit: cover;
    margin-right: 3rem;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
    border-radius: var(--border-radius-lg);
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(1deg); }
    50% { transform: translateY(-10px) rotate(-1deg); }
    75% { transform: translateY(-20px) rotate(0.5deg); }
}

.banner-content {
    text-align: left;
    color: white;
    flex: 1;
}

.banner-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    line-height: 1.2;
}

.banner-content p {
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    margin-bottom: 2.5rem;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

/* CTA按钮 */
.cta-btn {
    background: var(--gradient-accent);
    color: #000;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: var(--border-radius-xl);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left var(--transition-slow);
}

.cta-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 193, 7, 0.4);
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* 特色功能区域 */
.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.feature-card {
    background: var(--surface-color);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px var(--shadow-medium);
    border-color: var(--primary-color);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 支付方式区域 */
.payment-methods {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 2rem;
    background: var(--surface-color);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
}

.payment-methods h2 {
    color: var(--text-color);
    margin-bottom: 2rem;
    font-size: 2.2rem;
    font-weight: 600;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.payment-icons img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    transition: all var(--transition-normal);
    border-radius: var(--border-radius-md);
    padding: 1rem;
    background: var(--surface-light);
    border: 1px solid var(--border-color);
}

.payment-icons img:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px var(--shadow-medium);
    border-color: var(--primary-color);
}

/* 新的支付方式网格布局 */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    justify-items: center;
    margin-top: 2rem;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--surface-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-normal);
    text-align: center;
    min-height: 120px;
    width: 100%;
    max-width: 150px;
}

.payment-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-medium);
    border-color: var(--primary-color);
    background: var(--surface-color);
}

.payment-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all var(--transition-normal);
}

.payment-method:hover .payment-icon {
    transform: scale(1.1);
}

.payment-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* VIP服务、游戏类型、安全保障通用样式 */
.vip-section, .games-section, .security-section {
    margin-bottom: 4rem;
    padding: 4rem 2rem;
    background: var(--surface-color);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.vip-section::before, .games-section::before, .security-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
    z-index: 1;
}

.vip-section h2, .games-section h2, .security-section h2 {
    color: var(--text-color);
    margin-bottom: 2rem;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vip-section p, .games-section p, .security-section p {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* VIP福利和游戏类型网格 */
.vip-benefits, .games-categories, .security-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.vip-benefit, .game-category, .security-benefit {
    background: var(--surface-light);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.vip-benefit::before, .game-category::before, .security-benefit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform var(--transition-normal);
}

.vip-benefit:hover, .game-category:hover, .security-benefit:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px var(--shadow-medium);
    border-color: var(--primary-color);
}

.vip-benefit:hover::before, .game-category:hover::before, .security-benefit:hover::before {
    transform: scaleY(1);
}

.vip-benefit h3, .game-category h3, .security-benefit h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.vip-benefit p, .game-category p, .security-benefit p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
    text-align: left;
}

/* 游戏类型特殊样式 */
.game-category {
    text-align: center;
}

.game-category img {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
    border-radius: var(--border-radius-sm);
    transition: transform var(--transition-normal);
}

.game-category:hover img {
    transform: scale(1.05);
}

/* 页脚 */
.footer {
    background: var(--background-secondary);
    padding: 3rem 5% 2rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

.footer p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.footer nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.footer nav a:hover {
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 12px 25px var(--shadow-heavy);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .main-section {
        padding: 2rem 3%;
    }
}

@media (max-width: 992px) {
    .banner {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
    }
    
    .banner img {
        width: 70%;
        margin-right: 0;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    /* 导航栏移动端适配 */
    .navbar {
        padding: 0 3%;
        height: 60px;
    }
    
    :root {
        --header-height: 60px;
    }

    .hamburger {
        display: block;
    }

    .menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        gap: 1rem;
        transform: translateX(-100%);
        transition: transform var(--transition-normal);
        overflow-y: auto;
    }

    .menu.active {
        transform: translateX(0);
    }

    .menu a {
        width: 90%;
        text-align: center;
        padding: 1rem;
        border-radius: var(--border-radius-md);
        background: var(--surface-color);
        border: 1px solid var(--border-color);
    }

    /* 汉堡菜单动画 */
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* 面包屑隐藏 */
    .breadcrumb-nav {
        display: none;
    }

    /* 轮播图移动端适配 */
    .carousel-container {
        padding: 0 1rem;
        margin: 1rem auto;
    }

    .carousel {
        height: 200px;
        aspect-ratio: 2/1;
    }

    .carousel-indicators {
        bottom: 15px;
        gap: 8px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    /* 主要内容移动端适配 */
    .main-section {
        padding: 2rem 3% 1rem;
    }

    .banner {
        padding: 2rem 1.5rem;
        margin-bottom: 3rem;
    }

    .banner img {
        width: 90%;
        margin-bottom: 1.5rem;
    }

    .banner-content h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .banner-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .cta-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* 特色功能移动端适配 */
    .features-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
        padding: 0;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    /* 支付方式移动端适配 */
    .payment-methods {
        padding: 2rem 1.5rem;
        margin-bottom: 3rem;
    }

    .payment-icons {
        gap: 1.5rem;
    }

    .payment-icons img {
        width: 80px;
        height: 80px;
    }

    /* 新支付网格移动端适配 */
    .payment-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .payment-method {
        padding: 1rem;
        min-height: 100px;
        max-width: 120px;
    }

    .payment-icon {
        width: 50px;
        height: 50px;
    }

    .payment-label {
        font-size: 0.8rem;
    }

    /* 其他部分移动端适配 */
    .vip-section, .games-section, .security-section {
        padding: 2.5rem 1.5rem;
        margin-bottom: 3rem;
    }

    .vip-benefits, .games-categories, .security-benefits {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .vip-benefit, .game-category, .security-benefit {
        padding: 1.5rem;
    }

    /* 页脚移动端适配 */
    .footer {
        padding: 2rem 3% 1.5rem;
    }

    .footer nav {
        flex-direction: column;
        gap: 1rem;
    }

    .footer nav a {
        width: 100%;
        text-align: center;
    }

    /* 返回顶部按钮移动端适配 */
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    /* 超小屏幕适配 */
    .carousel-container {
        margin: 0.5rem auto;
        padding: 0 0.5rem;
    }

    .carousel {
        height: 150px;
        aspect-ratio: 16/9;
    }

    .carousel-indicators {
        bottom: 10px;
        gap: 6px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    .carousel-control {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .carousel-prev {
        left: 5px;
    }

    .carousel-next {
        right: 5px;
    }

    .banner {
        padding: 1.5rem 1rem;
    }

    .banner img {
        width: 100%;
    }

    .banner-content h1 {
        font-size: 1.5rem;
    }

    .banner-content p {
        font-size: 0.9rem;
    }

    .cta-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .vip-benefits, .games-categories, .security-benefits {
        gap: 1rem;
    }

    .vip-benefit, .game-category, .security-benefit {
        padding: 1.2rem;
    }
}

/* 平滑滚动和性能优化 */
@media (min-width: 769px) {
    .carousel-item img {
        height: 400px;
        object-fit: cover;
    }
}

/* 打印样式 */
@media print {
    .navbar, .carousel-container, .back-to-top {
        display: none;
    }
    
    .main-section {
        padding-top: 0;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* 深色模式偏好 */
@media (prefers-color-scheme: light) {
    /* 如果用户偏好浅色模式，可以在这里添加相应的样式覆盖 */
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .banner img {
        animation: none;
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    :root {
        --border-color: rgba(255, 255, 255, 0.3);
        --shadow-medium: rgba(0, 0, 0, 0.6);
    }
}

/* 限時首存100%優惠活動區域 */
.promo-banner {
    background: var(--surface-color);
    margin: 2rem auto;
    max-width: 1400px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px var(--shadow-medium);
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    z-index: 1;
}

.promo-container {
    display: flex;
    align-items: center;
    padding: 3rem;
    gap: 3rem;
}

.promo-image {
    flex: 0 0 45%;
}

.promo-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 25px var(--shadow-medium);
    transition: transform var(--transition-normal);
}

.promo-image img:hover {
    transform: scale(1.02);
}

.promo-content {
    flex: 1;
}

.promo-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promo-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 500;
}

.promo-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.promo-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--surface-light);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.promo-feature:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.promo-feature .feature-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.promo-feature strong {
    color: var(--primary-color);
    font-weight: 600;
}

.promo-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.promo-btn {
    padding: 1rem 2rem;
    border-radius: var(--border-radius-xl);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

.promo-btn.primary {
    background: var(--gradient-accent);
    color: #000;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

.promo-btn.primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255, 193, 7, 0.4);
}

.promo-btn.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.promo-btn.secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.promo-notice {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
    margin: 0;
}

/* FAQ 常見問題樣式 */
.faq-section {
    margin-bottom: 4rem;
    padding: 4rem 2rem;
    background: var(--surface-color);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
    z-index: 1;
}

.faq-section h2 {
    color: var(--text-color);
    margin-bottom: 2rem;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-section > p {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

.faq-question {
    margin: 0;
}

.faq-toggle {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-normal);
}

.faq-toggle:hover {
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.05);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform var(--transition-normal);
}

.faq-toggle[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-toggle[aria-expanded="true"] + .faq-answer {
    max-height: 500px;
}

.faq-answer > div {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-answer p {
    margin: 0;
}

/* 響應式設計 - 促銷活動 */
@media (max-width: 992px) {
    .promo-container {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 2rem;
        gap: 2rem;
    }
    
    .promo-image {
        flex: none;
        max-width: 400px;
    }
    
    .promo-features {
        max-width: 500px;
        margin: 2rem auto;
    }
    
    .promo-cta {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .promo-container {
        padding: 2rem 1.5rem;
    }
    
    .promo-image {
        max-width: 100%;
    }
    
    .promo-features {
        gap: 0.75rem;
    }
    
    .promo-feature {
        padding: 0.75rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .promo-feature .feature-icon {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .promo-cta {
        flex-direction: column;
    }
    
    .promo-btn {
        width: 100%;
        min-width: auto;
    }
    
    /* FAQ 移動端適配 */
    .faq-section {
        padding: 2.5rem 1.5rem;
        margin-bottom: 3rem;
    }
    
    .faq-toggle {
        padding: 1.2rem;
        font-size: 1rem;
    }
    
    .faq-answer > div {
        padding: 0 1.2rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .promo-container {
        padding: 1.5rem 1rem;
    }
    
    .promo-title {
        font-size: 1.5rem;
    }
    
    .promo-subtitle {
        font-size: 1rem;
    }
    
    .promo-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* 图片加载优化 */
img {
    image-rendering: auto;
    image-rendering: crisp-edges;
    image-rendering: -webkit-optimize-contrast;
}

img.loaded {
    opacity: 1;
    transition: opacity var(--transition-normal);
}

/* 懒加载图片初始状态 */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 已加载的图片显示 */
img.loaded,
img[loading="eager"],
.carousel-item img {
    opacity: 1 !important;
}

/* 在视野中的图片立即显示 */
img[loading="lazy"]:not([data-src]) {
    opacity: 1;
}

/* 性能优化：减少重绘 */
.carousel-item {
    will-change: opacity, transform;
}

.navbar {
    will-change: background, box-shadow;
}

.back-to-top {
    will-change: opacity, visibility, transform;
}

/* GPU加速 */
.menu a::before,
.feature-card::before,
.vip-benefit::before,
.game-category::before,
.security-benefit::before {
    will-change: transform;
}

/* 字体优化 */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/inter/v12/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfAZ9hiA.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 离线状态样式 */
.offline-message {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--surface-color);
    color: var(--text-color);
    padding: 1rem 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 25px var(--shadow-medium);
    z-index: 10000;
    display: none;
}

.offline-message.show {
    display: block;
    animation: slideUp var(--transition-normal);
}

@keyframes slideUp {
    from {
        transform: translateX(-50%) translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* PWA 相关样式 */
.update-banner, .install-banner {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--gradient-primary);
    color: white;
    z-index: 10000;
    box-shadow: 0 4px 12px var(--shadow-medium);
    animation: slideDown var(--transition-normal);
}

.update-content, .install-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 5%;
    gap: 1rem;
}

.update-content p, .install-content p {
    margin: 0;
    font-weight: 500;
    flex-grow: 1;
}

.update-btn, .install-btn, .dismiss-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.update-btn:hover, .install-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.dismiss-btn {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
}

.dismiss-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 移动端PWA横幅适配 */
@media (max-width: 768px) {
    .update-content, .install-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 1rem 3%;
    }
    
    .update-content p, .install-content p {
        margin-bottom: 0.5rem;
    }
    
    .update-btn, .install-btn, .dismiss-btn {
        width: 100%;
        max-width: 200px;
    }
}

/* 可見性動畫效果 */
.promo-feature, .faq-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

.promo-feature.visible, .faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.promo-feature:nth-child(1) { transition-delay: 0.1s; }
.promo-feature:nth-child(2) { transition-delay: 0.2s; }
.promo-feature:nth-child(3) { transition-delay: 0.3s; }

.faq-item:nth-child(1) { transition-delay: 0.1s; }
.faq-item:nth-child(2) { transition-delay: 0.2s; }
.faq-item:nth-child(3) { transition-delay: 0.3s; }
.faq-item:nth-child(4) { transition-delay: 0.4s; }
.faq-item:nth-child(5) { transition-delay: 0.5s; }

/* 活動橫幅特殊效果 */
.promo-banner {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 圖片加載完成效果 */
.promo-image img {
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.promo-image img.loaded,
.promo-image img[src] {
    opacity: 1;
}

/* 提升FAQ點擊區域 */
.faq-toggle {
    position: relative;
}

.faq-toggle::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: var(--border-radius-sm);
    background: transparent;
    transition: background var(--transition-fast);
}

.faq-toggle:focus::before {
    background: rgba(0, 212, 255, 0.1);
    outline: 2px solid var(--primary-color);
}

/* 促銷按鈕脈沖效果 */
.promo-btn.primary {
    position: relative;
    overflow: hidden;
}

.promo-btn.primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.promo-btn.primary:active::after {
    width: 300px;
    height: 300px;
}
