/* ========================================
   魔天记 - 传奇游戏配套网站样式表
   ======================================== */

/* CSS变量定义 */
:root {
    /* 主色调 */
    --primary-dark: #2a1a4a;
    --primary-blue: #1a2a4a;
    --primary-purple: #3d2a6a;
    
    /* 强调色 */
    --accent-purple: #8b5cf6;
    --accent-gold: #d4af37;
    --accent-orange: #ff6b35;
    --accent-cyan: #00d4ff;
    --accent-pink: #ec4899;
    
    /* 文字颜色 */
    --text-white: #ffffff;
    --text-gray: #c9d1d9;
    --text-light-gray: #8b949e;
    
    /* 背景 */
    --bg-overlay: rgba(0, 0, 0, 0.7);
    --bg-card: rgba(42, 26, 74, 0.6);
    --bg-card-hover: rgba(61, 42, 106, 0.8);
    
    /* 边框 */
    --border-gold: 2px solid var(--accent-gold);
    --border-purple: 2px solid var(--accent-purple);
    
    /* 阴影 */
    --shadow-glow: 0 0 20px rgba(139, 92, 246, 0.5);
    --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.3);
    
    /* 动画 */
    --transition-smooth: all 0.3s ease;
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* 字体 */
    --font-title: 'Noto Serif SC', serif;
    --font-body: 'Noto Sans SC', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-white);
    background-color: var(--primary-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 背景层 */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('魔天记.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.background::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(42, 26, 74, 0.9) 0%,
        rgba(26, 42, 74, 0.85) 50%,
        rgba(61, 42, 106, 0.9) 100%
    );
    z-index: -1;
}

/* 粒子效果画布 */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-gold));
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--accent-purple);
    background: rgba(139, 92, 246, 0.1);
}

.nav-link:hover::after {
    width: 80%;
}

/* 汉堡菜单按钮 */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* 主容器 */
.main-container {
    position: relative;
    z-index: 1;
}

/* Hero区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 2rem 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    margin-bottom: 2rem;
}

.title-main {
    display: block;
    font-family: var(--font-title);
    font-size: 5rem;
    font-weight: 700;
    background: linear-gradient(
        135deg,
        var(--accent-gold) 0%,
        var(--accent-purple) 50%,
        var(--accent-cyan) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(139, 92, 246, 0.5);
    margin-bottom: 1rem;
    letter-spacing: 0.2em;
    animation: glow 3s ease-in-out infinite;
}

.title-sub {
    display: block;
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--accent-gold);
    font-weight: 400;
    letter-spacing: 0.3em;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    line-height: 2;
    animation: fadeInUp 1s ease 0.3s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.hero-status {
    display: flex;
    gap: 3rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.9s backwards;
}

.status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.status-label {
    font-size: 0.9rem;
    color: var(--text-light-gray);
}

.status-value {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-white);
}

.status-online {
    color: #10b981;
    animation: pulse 2s infinite;
}

/* 装饰元素 */
.hero-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.decoration-line {
    width: 300px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
    animation: expandLine 2s ease-out;
}

.decoration-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50%;
    animation: rotateCircle 20s linear infinite;
}

/* 公益服特色横幅 */
.welfare-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.15) 0%, 
        rgba(212, 175, 55, 0.05) 100%);
    border: 2px solid var(--accent-gold);
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
    }
}

.welfare-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 1.2rem;
}

.welfare-icon {
    font-size: 1.5rem;
}

.welfare-divider {
    color: var(--accent-gold);
    opacity: 0.5;
    font-size: 1.5rem;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    color: var(--text-white);
    box-shadow: var(--shadow-glow);
    animation: breathe 2s ease-in-out infinite;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.6);
}

.btn-secondary {
    background: rgba(139, 92, 246, 0.2);
    color: var(--text-white);
    border: var(--border-purple);
}

.btn-secondary:hover {
    background: rgba(139, 92, 246, 0.4);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
}

.btn-download {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    color: var(--text-white);
    box-shadow: var(--shadow-gold);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

/* 通用区块样式 */
section {
    padding: 100px 2rem;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
}

/* 游戏截图展示 */
.screenshots {
    padding: 60px 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.screenshot-container {
    text-align: center;
    max-width: 1200px;
    width: 100%;
}

.screenshot-wrapper {
    position: relative;
    display: inline-block;
    border-radius: 16px;
    border: 3px solid var(--accent-purple);
    box-shadow: var(--shadow-glow);
    cursor: pointer;
}

.screenshot {
    display: block;
    object-fit: contain;
    object-position: bottom center;
    transition: all 0.5s ease;
}

.screenshot-normal {
    width: 1026px;
    height: 795px;
    border-radius: 13px;
}

.screenshot-magnifier {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 1922px;
    height: 1107px;
    border-radius: 12px;
    border: 3px solid var(--accent-gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
    opacity: 0;
    transition: all 0.5s ease;
    pointer-events: none;
    z-index: 9999;
}

.screenshot-wrapper:hover .screenshot-magnifier {
    opacity: 1;
}

.screenshot-wrapper:hover .screenshot-normal {
    opacity: 0.7;
}

.magnifier-image {
    width: 1922px;
    height: 1107px;
    object-fit: contain;
    object-position: bottom center;
}

.screenshot-hint {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: var(--accent-purple);
    font-weight: 500;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* 大图预览模态框（功能预览） */
.preview-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.preview-modal.active {
    display: flex;
}

.preview-modal .screenshot-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.preview-modal .screenshot-modal-image {
    position: relative;
    max-width: 95vw;
    max-height: 90vh;
    object-fit: contain;
    z-index: 1;
    border-radius: 8px;
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.5);
}

.preview-modal .screenshot-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition-smooth);
    line-height: 1;
}

.preview-modal .screenshot-modal-close:hover {
    color: var(--accent-purple);
    transform: rotate(90deg);
}

.preview-modal-info {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 2;
    background: rgba(139, 92, 246, 0.8);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
}

/* 游戏功能预览 */
.preview {
    padding: 80px 2rem;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-dark) 100%);
}

.preview-gallery {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.preview-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--accent-purple);
    box-shadow: var(--shadow-glow);
    cursor: pointer;
    transition: var(--transition-smooth);
    aspect-ratio: 16 / 10;
}

.preview-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.preview-item:hover img {
    opacity: 0.8;
}

.preview-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.preview-item:hover .preview-item-overlay {
    opacity: 1;
}

.preview-item-overlay span {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.preview-hint {
    text-align: center;
    padding: 2rem 0;
    margin-top: 1rem;
}

.hint-text {
    font-size: 1.1rem;
    color: var(--accent-gold);
    font-weight: 500;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-block;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* 游戏特色 */
.features {
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(42, 26, 74, 0.5) 50%,
        transparent 100%
    );
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(139, 92, 246, 0.1) 0%,
        transparent 70%
    );
    animation: rotateGradient 10s linear infinite;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover);
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.feature-title {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-gold);
    position: relative;
    z-index: 1;
}

.feature-description {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.feature-tags {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.tag {
    background: rgba(139, 92, 246, 0.3);
    color: var(--accent-purple);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 公益服特色卡片 */
.feature-card-highlight {
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.15) 0%, 
        rgba(212, 175, 55, 0.05) 100%);
    border: 2px solid var(--accent-gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.feature-card-highlight::before {
    background: radial-gradient(
        circle,
        rgba(212, 175, 55, 0.15) 0%,
        transparent 70%
    );
}

.feature-card-highlight:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.25) 0%, 
        rgba(212, 175, 55, 0.1) 100%);
    border-color: var(--accent-gold);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
}

.feature-card-highlight .feature-icon {
    animation: pulse 2s ease-in-out infinite;
}

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

.feature-card-highlight .tag {
    background: rgba(212, 175, 55, 0.3);
    color: var(--accent-gold);
}

/* 服务器信息 */
.server-info {
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(26, 42, 74, 0.5) 50%,
        transparent 100%
    );
}

.server-content {
    max-width: 800px;
    margin: 0 auto;
}

.server-card {
    background: var(--bg-card);
    border: var(--border-gold);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-purple), var(--accent-gold));
}

.server-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.server-name {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--accent-gold);
}

.server-status-badge {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.server-details {
    margin-bottom: 2.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    width: 120px;
    font-weight: 600;
    color: var(--text-light-gray);
    font-size: 1rem;
}

.detail-value {
    flex: 1;
    font-size: 1.2rem;
    color: var(--text-white);
    font-weight: 500;
}

.btn-copy {
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid var(--accent-purple);
    color: var(--accent-purple);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 1rem;
}

.btn-copy:hover {
    background: var(--accent-purple);
    color: var(--text-white);
    transform: scale(1.05);
}

.server-actions {
    text-align: center;
    margin-bottom: 2.5rem;
}

.server-tips {
    background: rgba(139, 92, 246, 0.1);
    border-left: 4px solid var(--accent-purple);
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
}

.server-tips p {
    font-weight: 600;
    color: var(--accent-purple);
    margin-bottom: 1rem;
}

.server-tips ol {
    list-style-position: inside;
    color: var(--text-gray);
    line-height: 2;
}

/* 游戏攻略 */
.guides-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.guide-card {
    background: var(--bg-card);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.guide-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-purple);
}

.guide-image {
    font-size: 5rem;
    text-align: center;
    padding: 2rem;
    background: rgba(139, 92, 246, 0.1);
}

.guide-content {
    padding: 1.5rem;
}

.guide-title {
    font-family: var(--font-title);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.guide-excerpt {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.guide-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-light-gray);
}

/* 下载中心 */
.download-content {
    max-width: 900px;
    margin: 0 auto;
}

.download-item {
    background: var(--bg-card);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: var(--transition-smooth);
}

.download-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-purple);
    transform: translateX(10px);
}

.download-icon {
    font-size: 4rem;
    flex-shrink: 0;
}

.download-info {
    flex: 1;
}

.download-title {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.download-desc {
    color: var(--text-gray);
    margin-bottom: 0.8rem;
}

.download-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light-gray);
}

/* 页脚 */
.footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 60px 2rem 30px;
    border-top: 1px solid rgba(139, 92, 246, 0.3);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    text-align: center;
    margin-bottom: 3rem;
}

.footer-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.footer-slogan {
    color: var(--text-gray);
    font-size: 1.2rem;
}

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

.footer-section h4 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a,
.footer-section span {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-section a:hover {
    color: var(--accent-purple);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--text-light-gray);
    font-size: 0.9rem;
}

.footer-bottom p:first-child {
    margin-bottom: 0.5rem;
}

/* 模态框 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--bg-card);
    border: var(--border-purple);
    border-radius: 20px;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    backdrop-filter: blur(15px);
    animation: modalSlideIn 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
}

.modal-header h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--accent-gold);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    line-height: 1;
}

.modal-close:hover {
    color: var(--accent-purple);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.update-item {
    margin-bottom: 2rem;
}

.update-item h4 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    color: var(--accent-purple);
    margin-bottom: 1rem;
}

.update-item ul {
    list-style-position: inside;
    color: var(--text-gray);
    line-height: 2;
}

.update-item li {
    margin-bottom: 0.5rem;
}

/* Toast提示 */
.toast {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--accent-purple);
    color: var(--text-white);
    padding: 1rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-glow);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 3000;
}

.toast.show {
    transform: translateX(0);
}

/* 动画关键帧 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.8));
    }
}

@keyframes breathe {
    0%, 100% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(139, 92, 246, 0.8);
    }
}

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

@keyframes expandLine {
    from {
        width: 0;
    }
    to {
        width: 300px;
    }
}

@keyframes rotateCircle {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes rotateGradient {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 功能预览 */
    .preview {
        padding: 50px 1rem;
    }
    
    .preview-gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
        padding: 1.5rem 0;
    }
    
    .preview-item {
        border-radius: 10px;
        aspect-ratio: 16 / 10;
    }
    
    .preview-item-overlay span {
        font-size: 1rem;
    }
    
    .hint-text {
        font-size: 0.95rem;
        padding: 0.8rem 1.5rem;
    }
    
    /* 公益服横幅 */
    .welfare-banner {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 0.8rem 1.5rem;
        margin: 1.5rem 1rem 0 1rem;
    }
    
    .welfare-item {
        font-size: 1rem;
    }
    
    .welfare-icon {
        font-size: 1.2rem;
    }
    
    /* 截图展示 */
    .screenshots {
        padding: 40px 1rem;
    }
    
    .screenshot-container {
        padding: 0 0.5rem;
    }
    
    .screenshot-wrapper {
        border-radius: 12px;
        border-width: 2px;
    }
    
    .screenshot-normal {
        width: 100%;
        height: auto;
    }
    
    .screenshot-magnifier {
        width: 95%;
        max-width: 1922px;
        height: auto;
        aspect-ratio: 1922 / 1107;
    }
    
    .magnifier-image {
        width: 100%;
        height: auto;
        object-position: bottom center;
    }
    
    .screenshot-hint {
        font-size: 0.9rem;
    }
    
    /* 导航栏 */
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-smooth);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    /* Hero区域 */
    .hero {
        padding: 100px 1rem 60px;
    }
    
    .title-main {
        font-size: 3rem;
        letter-spacing: 0.1em;
    }
    
    .title-sub {
        font-size: 1.2rem;
        letter-spacing: 0.15em;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-status {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    /* 区块标题 */
    .section-title {
        font-size: 2rem;
    }
    
    /* 特色卡片 */
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* 服务器信息 */
    .server-card {
        padding: 2rem;
    }
    
    .detail-item {
        flex-wrap: wrap;
    }
    
    .detail-label {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .detail-value {
        width: calc(100% - 50px);
    }
    
    .btn-copy {
        width: 40px;
        padding: 0.5rem;
    }
    
    /* 下载项 */
    .download-item {
        flex-direction: column;
        text-align: center;
    }
    
    /* 攻略卡片 */
    .guides-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .title-main {
        font-size: 4rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .guides-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 加载动画 */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}
