/* 基础样式 */
:root {
    --primary-color: #0a1428;
    --secondary-color: #091428;
    --accent-color: #c8aa6e;
    --text-color: #cdbe91;
    --highlight-color: #1e2328;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: color 0.3s;
}

a:hover {
    color: #f0e6d2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-section {
    display: none;
}

.page-section.active {
    display: block;
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(rgba(10, 20, 40, 0.8), rgba(10, 20, 40, 0.9)), url('../assets/images/hero-bg.jpg') no-repeat center center/cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 40px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #f0e6d2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.version {
    font-size: 16px;
    color: var(--accent-color);
    margin-top: 10px;
}

/* 内容区域样式 */
.section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 32px;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* 英雄列表样式 */
.hero-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

/* 搜索栏样式 */
.search-container {
    margin-bottom: 30px;
    position: relative;
}

.search-box {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 30px;
    background-color: var(--highlight-color);
    color: var(--text-color);
    font-size: 16px;
}

.search-box:focus {
    outline: 2px solid var(--accent-color);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--highlight-color);
    border-radius: 0 0 8px 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 10;
    display: none;
}

.search-result-item {
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 1px solid rgba(200, 170, 110, 0.2);
}

.search-result-item:hover {
    background-color: rgba(200, 170, 110, 0.1);
}

/* 页脚样式 */
footer {
    background-color: var(--secondary-color);
    padding: 40px 0;
    margin-top: 60px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links {
    display: flex;
    list-style: none;
    margin: 20px 0;
}

.footer-links li {
    margin: 0 15px;
}

.copyright {
    margin-top: 20px;
    font-size: 14px;
    color: #888;
}