/* 全局样式 - 军事暗黑风格 */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Microsoft YaHei', sans-serif;
    background-color: #121212;
    color: #d0d0d0;
    background-image: url('../img/bg-texture.jpg');
    background-size: cover;
    background-attachment: fixed;
}

a {
    text-decoration: none;
    color: #d0d0d0;
}

/* 顶部导航栏 */
.header {
    background-color: rgba(10, 10, 10, 0.9);
    border-bottom: 1px solid #333;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
    background-image: url('../img/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 180px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin: 0 20px;
}

.main-nav a {
    font-size: 16px;
    font-weight: bold;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.main-nav a:hover {
    border-bottom-color: #ffc107;
    color: #fff;
}

.active {
    border-bottom-color: #ffc107 !important;
    color: #fff !important;
}

.download-btn {
    background-color: #e8b839;
    color: #000 !important;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.download-btn:hover {
    background-color: #ffc107;
    border-bottom: none !important;
}

/* 主视觉区域 */
.hero-slider {
    width: 100%;
    height: 500px;
    background-image: url('../img/hero-banner.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.slider-content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.slider-content h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.slider-content p {
    font-size: 1.2em;
    max-width: 600px;
    margin-bottom: 20px;
}

/* 内容区域 */
.content {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
    background-color: rgba(20, 20, 20, 0.8);
    border: 1px solid #333;
    border-radius: 5px;
    padding: 20px;
}

.section-title {
    font-size: 24px;
    border-bottom: 2px solid #e8b839;
    padding-bottom: 10px;
    margin-top: 0;
    display: inline-block;
}

/* 新闻列表 */
.news-list {
    list-style: none;
    padding: 0;
}

.news-item {
    padding: 15px 0;
    border-bottom: 1px solid #333;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    color: #888;
    font-size: 0.9em;
    margin-right: 15px;
}

.news-title {
    font-weight: bold;
    transition: color 0.3s;
}

.news-title:hover {
    color: #e8b839;
}

/* 媒体网格 */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.media-item img {
    width: 100%;
    border: 1px solid #333;
    transition: transform 0.3s;
}

.media-item img:hover {
    transform: scale(1.02);
}

.media-item p {
    text-align: center;
    margin-top: 10px;
}

/* 视频容器 */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-top: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* FAQ 样式 */
.faq-list {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    font-weight: bold;
    color: #e8b839;
    cursor: pointer;
    padding: 10px;
    background-color: rgba(30, 30, 30, 0.8);
    border-radius: 4px;
}

.faq-answer {
    padding: 10px;
    display: none;
}

.faq-answer.show {
    display: block;
}

/* 支持表单 */
.support-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    background-color: rgba(30, 30, 30, 0.8);
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
}

.form-group textarea {
    height: 150px;
}

.submit-btn {
    background-color: #e8b839;
    color: #000;
    padding: 10px 25px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #ffc107;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.page-btn {
    padding: 8px 15px;
    margin: 0 5px;
    background-color: rgba(30, 30, 30, 0.8);
    border-radius: 4px;
    transition: background-color 0.3s;
}

.page-btn:hover {
    background-color: rgba(50, 50, 50, 0.8);
}

.page-btn.active {
    background-color: #e8b839;
    color: #000;
}

/* 页脚 */
.footer {
    background-color: rgba(0, 0, 0, 0.95);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #333;
    margin-top: 50px;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    margin: 0 10px;
    font-size: 0.9em;
    color: #888;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    color: #555;
    font-size: 0.8em;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 15px;
    }
    
    .main-nav li {
        margin: 5px 10px;
    }
    
    .hero-slider {
        height: 300px;
    }
    
    .slider-content h1 {
        font-size: 1.8em;
    }
    
    .slider-content p {
        font-size: 1em;
    }
}