/* 全局样式 */
/* 复古噪点纹理动画 */
@keyframes grain {
    0%, 100% {
        transform: translate(0, 0);
    }
    10% {
        transform: translate(-1%, -1%);
    }
    20% {
        transform: translate(1%, 1%);
    }
    30% {
        transform: translate(-1%, 1%);
    }
    40% {
        transform: translate(1%, -1%);
    }
    50% {
        transform: translate(-2%, 0);
    }
    60% {
        transform: translate(2%, 0);
    }
    70% {
        transform: translate(0, -2%);
    }
    80% {
        transform: translate(0, 2%);
    }
    90% {
        transform: translate(-1%, 0);
    }
}

body {
    margin: 0;
    padding: 0;
    color: #e0e0e0;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    /* 复古游戏深色背景 */
    background: #0d0d0d;
    background-image: 
        /* 细微的网格纹理 */
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    position: relative;
}

/* 复古噪点遮罩 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* 复古棕色调 */
        linear-gradient(
            to bottom,
            rgba(13, 13, 13, 0.9),
            rgba(15, 10, 5, 0.85),
            rgba(13, 13, 13, 0.9)
        ),
        /* 噪点效果 */
        repeating-linear-gradient(
            transparent,
            transparent 4px,
            rgba(0, 0, 0, 0.1) 4px,
            rgba(0, 0, 0, 0.1) 5px
        );
    opacity: 0.7;
    animation: grain 8s steps(8) infinite;
    z-index: -1;
}

/* 标题区域 */
.title {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #2d0a0a, #4a1515);
    border-bottom: 3px solid #cc0000;
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.3);
}

/* 商标样式 */
.trademark {
    font-size: 0.5em;
    vertical-align: super;
    color: #ffcc00;
}

/* Logo按钮样式 */
.logo-button {
    display: inline-block;
    background: linear-gradient(45deg, #660000, #990000);
    padding: 20px 40px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    /* 防止文本复制 */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* 按钮悬停效果 */
.logo-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(204, 0, 0, 0.5);
}

/* 按钮点击效果 */
.logo-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.4);
}

.logo-button h1 {
    font-size: 52px;
    color: #ffffff;
    margin: 0;
    letter-spacing: 4px;
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.5),
        0 0 20px rgba(255, 215, 0, 0.3),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    /* 防止文本复制 */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.logo-button h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    opacity: 0.7;
}

/* 标题段落样式 */
.title p {
    font-size: 16px;
    color: #cccccc;
    margin: 15px 0 0 0;
    letter-spacing: 1px;
}

/* Logo按钮段落样式 */
.logo-button p {
    font-size: 20px;
    color: #ffd700;
    margin: 15px 0 0 0;
    letter-spacing: 3px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    position: relative;
    display: inline-block;
    /* 防止文本复制 */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.logo-button p::before,
.logo-button p::after {
    content: '•';
    color: #ffd700;
    opacity: 0.7;
    margin: 0 15px;
    font-size: 22px;
}

.logo-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 105%;
    height: 110%;
    background: radial-gradient(circle, rgba(255,215,0,0.15) 0%, rgba(255,215,0,0) 70%);
    z-index: -1;
    border-radius: 12px;
}

/* 游戏特色列表样式 */
.feature-list {
    margin-top: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border-left: 3px solid #cc0000;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px 15px;
    background: rgba(204, 0, 0, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* 鼠标悬停效果 */
.feature-item:hover {
    transform: translateX(10px);
    background: rgba(204, 0, 0, 0.2);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

/* 伪元素发光效果 */
.feature-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    transition: all 0.6s ease;
}

.feature-item:hover::after {
    left: 150%;
}

/* 清理后的特色项样式 */
.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 12px 15px;
    background: rgba(204, 0, 0, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 40px;
}

/* 特色标题样式 */
.feature-title {
    font-size: 18px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    margin-right: 10px;
    animation: glowPulse 2s infinite alternate;
    white-space: nowrap;
    flex-shrink: 0;
    padding-top: 3px;
}

/* 版本介绍文字样式 */
.version-content {
    padding: 25px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(204, 0, 0, 0.3);
    margin-bottom: 30px;
}

.version-content p {
    font-size: 18px;
    color: #f5f5f5;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: center;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}

.version-content p:hover {
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5), 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.version-content p:last-child {
    margin-bottom: 0;
}

/* 特色描述样式 */
.feature-desc {
    font-size: 16px;
    color: #ffffff;
    line-height: 1.6;
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
    padding-top: 3px;
}

/* 发光脉冲动画 */
@keyframes glowPulse {
    0% {
        text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    }
    100% {
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.5);
    }
}

/* 淡入动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 为每个特色项添加延迟动画 */
.feature-item:nth-child(1) { animation: fadeInUp 0.5s ease-out; }
.feature-item:nth-child(2) { animation: fadeInUp 0.6s ease-out 0.1s both; }
.feature-item:nth-child(3) { animation: fadeInUp 0.7s ease-out 0.2s both; }
.feature-item:nth-child(4) { animation: fadeInUp 0.8s ease-out 0.3s both; }
.feature-item:nth-child(5) { animation: fadeInUp 0.9s ease-out 0.4s both; }
.feature-item:nth-child(6) { animation: fadeInUp 1s ease-out 0.5s both; }

/* 主要内容区域 - 两栏布局 */
.content-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    gap: 40px;
}

/* 左侧主要内容 */
.main-content {
    width: 70%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.version-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    text-align: left !important;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    border-left: 4px solid #cc0000;
}

.version-content p {
    text-align: left !important;
    margin: 12px 0;
    padding: 0;
    display: block;
    width: 100%;
    font-size: 16px;
    line-height: 1.7;
}

/* 右侧边栏 */
.sidebar {
    width: 280px;
    min-width: 220px;
    flex-shrink: 0;
    text-align: center;
    display: block;
}

/* 游戏信息区块 */
.game-info {
    background: linear-gradient(145deg, rgba(30, 10, 10, 0.95), rgba(40, 15, 15, 0.95));
    border: 1px solid #660000;
    padding: 30px;
    margin: 0 auto 30px;
    border-radius: 12px;
    max-width: 100%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.game-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #cc0000, transparent);
}

.game-info h2 {
    color: #ffd700;
    font-size: 28px;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #800000;
    text-align: center;
    letter-spacing: 3px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.game-info p {
    margin: 10px auto;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    max-width: 100%;
}

/* 装备展示图片样式 */
.equipment-images {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.image-container {
    border: 1px solid #660000;
    padding: 15px;
    background: linear-gradient(145deg, rgba(30, 10, 10, 0.9), rgba(40, 15, 15, 0.9));
    text-align: center;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.image-container:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.3);
    border-color: #cc0000;
}

.image-container img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 右侧按钮组 */
.button-group {
    background: linear-gradient(145deg, rgba(30, 10, 10, 0.95), rgba(40, 15, 15, 0.95));
    border: 1px solid #660000;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 20px;
}

.action-button {
    display: block;
    width: 100%;
    padding: 18px 0;
    margin-bottom: 20px;
    text-align: center;
    text-decoration: none;
    font-size: 19px;
    font-weight: bold;
    color: #ffffff;
    background-color: #800000;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.action-button:hover {
    background-color: #a00000;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.action-button:last-child {
    margin-bottom: 0;
}

/* 不同按钮的特殊样式 */
.action-button.download {
    background-color: #0066cc;
}

.action-button.download:hover {
    background-color: #0080ff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 128, 255, 0.3);
}

.action-button.auth {
    background-color: #008000;
}

.action-button.auth:hover {
    background-color: #00a000;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 160, 0, 0.3);
}

.action-button.qq {
    background-color: #ff6600;
}

.action-button.qq:hover {
    background-color: #ff8000;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 128, 0, 0.3);
}

.footer {
    background-color: #331a1a;
    color: #a89984;
    padding: 30px 20px;
    text-align: center;
    font-size: 14px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 商标样式 */
.trademark {
    font-size: 12px;
    vertical-align: super;
}

/* 信息区域 */
.footer-info-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 版权和备案信息样式 */
.license-info {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #4a2a2a;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    line-height: 1.6;
}

.license-item {
    color: #a89984;
    font-size: 14px;
    white-space: nowrap;
    display: inline-block;
}

/* 健康游戏忠告样式 */
.game-advice {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #4a2a2a;
}

.game-advice p {
    margin: 8px 0;
    line-height: 1.5;
    font-size: 13px;
}

/* 链接样式 */
.footer-links {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #a89984;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
}

.footer-links a:hover {
    color: #c0b090;
    background-color: rgba(120, 100, 70, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .footer {
        padding: 20px 15px;
    }
    
    .footer-brand {
        font-size: 16px;
    }
    
    .license-info {
        flex-direction: column;
        gap: 10px;
        padding: 12px;
    }
    
    .license-item {
        font-size: 13px;
    }
    
    .game-advice {
        padding: 12px;
    }
    
    .game-advice p {
        font-size: 12px;
    }
    
    .footer-links {
        gap: 12px;
        padding: 8px 10px;
    }
    
    .footer-links a {
        font-size: 12px;
    }
    
    .footer-content {
        gap: 12px;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .equipment-images {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}