/* 统一UI设计样式 - 怀旧天龙游戏官网 */

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

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.6;
}

/* 导航菜单 */
.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 58, 92, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    /* box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3); */
}

.top-logo {
    background: url('../image/logo.png') no-repeat center/contain;
    width: 150px;
    height: 60px;
    display: block;
}

.center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.center ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

.center ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.center ul li a:hover, .center ul li a.active {
    color: #ffd700;
}

.center ul li a span {
    display: block;
    font-size: 10px;
    color: #cccccc;
    margin-top: 2px;
}

.center ul li a:hover span {
    color: #ffd700;
}

/* 页面容器 */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 50px 50px;
}

/* 页面头部 */
.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 36px;
    color: #ffd700;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.page-header p {
    font-size: 18px;
    color: #cccccc;
}

/* 主要按钮 */
.btn-primary {
    background: linear-gradient(135deg, #1a3a5c 0%, #2d5a87 100%);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2d5a87 0%, #1a3a5c 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 58, 92, 0.3);
}

/* 次要按钮 */
.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid #2d5a87;
    border-radius: 5px;
    padding: 12px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-secondary:hover {
    background: #2d5a87;
    transform: translateY(-2px);
}

/* 强调按钮 */
.btn-accent {
    background: linear-gradient(135deg, #ffd700 0%, #ffc107 100%);
    color: #1a3a5c;
    border: none;
    border-radius: 5px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-accent:hover {
    background: linear-gradient(135deg, #ffc107 0%, #ffd700 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* 卡片样式 */
.card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ffd700;
}

.card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #ffffff;
}

.card p {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 10px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.form-group input::placeholder {
    color: #999999;
}

.form-hint {
    display: block;
    font-size: 12px;
    color: #999999;
    margin-top: 5px;
}

.form-error {
    display: block;
    font-size: 12px;
    color: #ff4757;
    margin-top: 5px;
}

/* 下载内容样式 */
.download-content {
    max-width: 800px;
    margin: 0 auto;
}

.download-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 下载提示文本 */
.hint {
    font-size: 14px;
    color: #999999;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* 备份下载链接样式 */
.backup-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.backup-links .btn-secondary {
    flex: 1;
    min-width: 150px;
}

/* 密码提示样式 */
.password-hint {
    font-size: 14px;
    color: #ffd700;
    font-weight: bold;
    margin-top: 15px;
}

/* 版本信息样式 */
.version, .size, .date {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 8px;
}

/* 下载选项容器 */
.download-options {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

/* 单个下载选项 */
.download-option {
    flex: 1;
    min-width: 300px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.download-option:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.download-option h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #ffd700;
}

/* 备份下载链接部分 */
.backup-section {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.backup-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ffffff;
}

.backup-section strong {
    color: #ffd700;
    font-weight: bold;
}

/* 备份下载链接网格 */
.backup-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.backup-links-grid .btn-secondary {
    padding: 12px 15px;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
}

.backup-links-grid .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 复选框标签样式 */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #ffffff;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

/* 表格样式 */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.table th,
.table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.table th {
    color: #ffd700;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.table td {
    color: #cccccc;
    font-size: 14px;
}

.table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* 列表样式 */
.list {
    list-style: none;
    margin-bottom: 30px;
}

.list li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #cccccc;
}

.list li:last-child {
    border-bottom: none;
}

/* 标签页样式 */
.tab-container {
    margin-bottom: 30px;
}

.tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-btn {
    background: transparent;
    color: #cccccc;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn:hover {
    color: #ffffff;
}

.tab-btn.active {
    color: #ffd700;
    border-bottom-color: #ffd700;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        padding: 0 20px;
        height: 70px;
    }
    
    .center ul {
        gap: 20px;
    }
    
    .center ul li a {
        font-size: 14px;
    }
    
    .page-container {
        padding: 100px 20px 30px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .card {
        padding: 20px;
    }
    
    .tab-buttons {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        font-size: 14px;
        padding: 8px 15px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* 辅助类 */
.text-center {
    text-align: center;
}

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

/* 页面特定样式将在各自页面中补充 */