/* 游戏风格模板24样式 */

/* CSS变量定义 */
:root {
    /* 游戏主题色彩 */
    --primary-color: #00ff88;
    --secondary-color: #0099ff;
    --accent-color: #ff3366;
    --bg-dark: #0a0a0f;
    --bg-darker: #05050a;
    --bg-card: #1a1a2e;
    --bg-card-hover: #16213e;
    
    /* 文字颜色 */
    --text-primary: #ffffff;
    --text-secondary: #b8b8d4;
    --text-muted: #8888aa;
    
    /* 边框和阴影 */
    --border-color: #333366;
    --shadow-glow: 0 0 20px rgba(0, 255, 136, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-button: 0 4px 16px rgba(0, 255, 136, 0.4);
    
    /* 动画时长 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* 间距 */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
}

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* 粒子背景 */
.particles-bg-r8e1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.particles-bg-r8e1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 153, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 51, 102, 0.1) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* 容器 */
.container-r8e1 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* 导航栏 */
.navbar-r8e1 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-normal);
}

.nav-container-r8e1 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand-r8e1 {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
}

.nav-icon-r8e1 {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.nav-title-r8e1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.nav-menu-r8e1 {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-link-r8e1 {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    padding: var(--spacing-xs) 0;
}

.nav-link-r8e1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition-normal);
}

.nav-link-r8e1:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
}

.nav-link-r8e1:hover::after {
    width: 100%;
}

/* 移动端菜单按钮 */
.mobile-toggle-r8e1 {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    gap: 4px;
}

.toggle-line-r8e1 {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition-normal);
    box-shadow: 0 0 5px rgba(0, 255, 136, 0.5);
}

.mobile-toggle-r8e1.active .toggle-line-r8e1:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle-r8e1.active .toggle-line-r8e1:nth-child(2) {
    opacity: 0;
}

.mobile-toggle-r8e1.active .toggle-line-r8e1:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* 移动端菜单 */
.mobile-menu-r8e1 {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    padding: var(--spacing-sm);
    flex-direction: column;
    gap: var(--spacing-sm);
}

.mobile-menu-r8e1.active {
    display: flex;
}

.mobile-link-r8e1 {
    color: var(--text-secondary);
    text-decoration: none;
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    text-align: center;
    border: 1px solid transparent;
}

.mobile-link-r8e1:hover {
    color: var(--primary-color);
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

/* 英雄区域 */
.hero-section-r8e1 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 var(--spacing-2xl);
    position: relative;
    overflow: hidden;
}

.hero-container-r8e1 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.hero-content-r8e1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero-text-r8e1 {
    z-index: 2;
}

.hero-title-r8e1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
    line-height: 1.1;
}

.hero-description-r8e1 {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

.hero-tags-r8e1 {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.game-tag-r8e1 {
    background: rgba(0, 255, 136, 0.15);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 136, 0.3);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.hero-buttons-r8e1 {
    display: flex;
    gap: var(--spacing-sm);
}

/* 按钮样式 */
.btn-primary-r8e1, .btn-secondary-r8e1 {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 14px 28px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 2px solid;
}

.btn-primary-r8e1 {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-dark);
    border-color: transparent;
    box-shadow: var(--shadow-button);
}

.btn-primary-r8e1:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.6);
}

.btn-secondary-r8e1 {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary-r8e1:hover {
    background: rgba(0, 255, 136, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

/* 英雄图片 */
.hero-image-r8e1 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cover-image-r8e1 {
    width: 100%;
    max-width: 500px;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-card);
    position: relative;
    z-index: 2;
    transition: var(--transition-slow);
}

.cover-image-r8e1:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.image-glow-r8e1 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulseGlow 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulseGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

/* 内容区域 */
.intro-section-r8e1, .guide-section-r8e1, .screenshots-section-r8e1, .friends-section-r8e1 {
    padding: var(--spacing-2xl) 0;
    position: relative;
}

.section-title-r8e1 {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.title-icon-r8e1 {
    font-size: 2rem;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.8);
}

/* 卡片样式 */
.intro-card-r8e1, .guide-card-r8e1 {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    transition: var(--transition-normal);
}

.intro-card-r8e1:hover, .guide-card-r8e1:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.card-header-r8e1 {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--border-color);
}

.card-header-r8e1 i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.card-header-r8e1 h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.card-body-r8e1 {
    color: var(--text-secondary);
    line-height: 1.8;
}

.card-body-r8e1 p {
    margin-bottom: var(--spacing-sm);
}

/* 截图网格 */
.screenshots-grid-r8e1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.screenshot-item-r8e1 {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-normal);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.screenshot-item-r8e1:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

.screenshot-img-r8e1 {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition-normal);
}

.screenshot-overlay-r8e1 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.screenshot-item-r8e1:hover .screenshot-overlay-r8e1 {
    opacity: 1;
}

.screenshot-overlay-r8e1 i {
    font-size: 2rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
}

.no-screenshots-r8e1, .no-friends-r8e1 {
    text-align: center;
    padding: var(--spacing-2xl);
    color: var(--text-muted);
}

.no-screenshots-r8e1 i, .no-friends-r8e1 i {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--border-color);
}

/* 下载区域 */
.download-section-r8e1 {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.05), rgba(0, 153, 255, 0.05));
    position: relative;
}

.download-card-r8e1 {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.download-card-r8e1::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    transition: var(--transition-slow);
}

.download-card-r8e1:hover::before {
    left: 100%;
}

.download-header-r8e1 {
    margin-bottom: var(--spacing-xl);
}

.download-title-r8e1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.download-subtitle-r8e1 {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.download-content-r8e1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
}

.download-info-r8e1 {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
}

.info-item-r8e1 {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-secondary);
    font-weight: 500;
}

.info-item-r8e1 i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.download-btn-r8e1 {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 18px 36px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1.2rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-button);
}

.download-btn-r8e1:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 255, 136, 0.7);
}

.btn-glow-r8e1 {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition-slow);
}

.download-btn-r8e1:hover .btn-glow-r8e1 {
    left: 100%;
}

/* 友情链接 */
.friends-grid-r8e1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-sm);
}

.friend-link-r8e1 {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--bg-card);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    font-weight: 500;
}

.friend-link-r8e1:hover {
    background: var(--bg-card-hover);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

/* 页脚 */
.footer-r8e1 {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.footer-content-r8e1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-brand-r8e1 {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-icon-r8e1 {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.footer-title-r8e1 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.footer-text-r8e1 {
    color: var(--text-muted);
}

/* 回到顶部按钮 */
.back-to-top-r8e1 {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-dark);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-button);
    transition: var(--transition-normal);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top-r8e1.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-r8e1:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.6);
}

.back-to-top-r8e1:active {
    transform: translateY(-1px) scale(1.05);
}

.back-to-top-r8e1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition-fast);
}

.back-to-top-r8e1:hover::before {
    opacity: 1;
}

/* 图片灯箱 */
.lightbox-r8e1 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    backdrop-filter: blur(10px);
}

.lightbox-r8e1.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content-r8e1 {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img-r8e1 {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.lightbox-close-r8e1 {
    position: absolute;
    top: -50px;
    right: 0;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    background: var(--bg-card);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.lightbox-close-r8e1:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
}

.lightbox-nav-r8e1 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    width: 100%;
    justify-content: space-between;
    pointer-events: none;
}

.lightbox-prev-r8e1, .lightbox-next-r8e1 {
    background: var(--bg-card);
    color: var(--text-primary);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-fast);
    pointer-events: all;
}

.lightbox-prev-r8e1:hover, .lightbox-next-r8e1:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
}

.lightbox-prev-r8e1 {
    margin-left: -60px;
}

.lightbox-next-r8e1 {
    margin-right: -60px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 导航栏移动端 */
    .nav-menu-r8e1 {
        display: none;
    }
    
    .mobile-toggle-r8e1 {
        display: flex;
    }
    
    /* 英雄区域移动端 */
    .hero-content-r8e1 {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-lg);
    }
    
    .hero-title-r8e1 {
        font-size: 2.5rem;
    }
    
    .hero-description-r8e1 {
        font-size: 1.1rem;
    }
    
    .hero-buttons-r8e1 {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary-r8e1, .btn-secondary-r8e1 {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .cover-image-r8e1 {
        max-width: 350px;
        height: 220px;
    }
    
    /* 内容区域移动端 */
    .section-title-r8e1 {
        font-size: 2rem;
        flex-direction: column;
    }
    
    .screenshots-grid-r8e1 {
        grid-template-columns: 1fr;
    }
    
    .download-info-r8e1 {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .friends-grid-r8e1 {
        grid-template-columns: 1fr;
    }
    
    /* 灯箱移动端 */
    .lightbox-prev-r8e1, .lightbox-next-r8e1 {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-prev-r8e1 {
        margin-left: -50px;
    }
    
    .lightbox-next-r8e1 {
        margin-right: -50px;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-sm: 12px;
        --spacing-md: 18px;
        --spacing-lg: 24px;
        --spacing-xl: 36px;
        --spacing-2xl: 48px;
    }
    
    .hero-title-r8e1 {
        font-size: 2rem;
    }
    
    .hero-description-r8e1 {
        font-size: 1rem;
    }
    
    .section-title-r8e1 {
        font-size: 1.8rem;
    }
    
    .download-title-r8e1 {
        font-size: 2rem;
        flex-direction: column;
    }
    
    .cover-image-r8e1 {
        max-width: 300px;
        height: 180px;
    }
    
    /* 回到顶部按钮移动端 */
    .back-to-top-r8e1 {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}
