/* CSS变量定义 */
:root {
    --primary-color: #125ea8;
    --primary-color-rgb: 18, 94, 168;
    --secondary-color: #0f5ea9;
    --accent-color: #3096d5;
    --accent-color-rgb: 48, 150, 213;
    --light-blue: #8bcae9;
    --medium-blue: #3e90ca;
    --dark-blue: #040c31;
    --white: #ffffff;
    --text-light: #ecf0f1;
    --text-muted: #bdc3c7;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.3);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --font-primary: 'Noto Sans SC', sans-serif;
    --font-heading: 'Orbitron', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-light);
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-color) 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(4, 12, 49, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

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

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition);
}

/* 英雄区域 */
.hero {
    height: 80vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/2.webp') center/cover no-repeat, linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-color) 50%, var(--accent-color) 100%);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
}

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

.title-main {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.5rem;
}

.title-sub {
    display: block;
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--light-blue);
    font-weight: 300;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero-version {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.version-badge {
    background: linear-gradient(45deg, var(--accent-color), var(--light-blue));
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
}

.version-text {
    color: var(--light-blue);
    font-weight: 500;
}

.hero-tags {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.game-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.game-tag:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.game-tag i {
    font-size: 1rem;
    color: var(--accent-color);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--light-blue);
    font-size: 0.9rem;
    cursor: pointer;
}

.scroll-indicator i {
    margin-top: 0.5rem;
    font-size: 1.2rem;
}

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

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.btn-download {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: var(--white);
    padding: 1.5rem 2.5rem;
    font-size: 1.1rem;
    box-shadow: var(--shadow-hover);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(231, 76, 60, 0.4);
}

.btn-download span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0.5rem;
}

.btn-download small {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* 区域样式 */
section {
    padding: 5rem 0;
    position: relative;
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, var(--accent-color), var(--light-blue));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--light-blue);
    max-width: 600px;
    margin: 0 auto;
}

/* 关于区域 */
.about {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.about-content {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

/* 游戏概览 */
.game-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.overview-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
}

.overview-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.overview-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.overview-info h3 {
    color: var(--light-blue);
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.overview-info p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 故事时间线 */
.story-timeline {
    background: rgba(255, 255, 255, 0.03);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-header {
    text-align: center;
    margin-bottom: 50px;
}

.timeline-header h3 {
    color: var(--light-blue);
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.timeline-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 80px;
}

.timeline-marker {
    position: absolute;
    left: 15px;
    top: 0;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--dark-blue);
}

.timeline-marker i {
    font-size: 0.9rem;
    color: var(--white);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-content h4 {
    color: var(--light-blue);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

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

.witch-quote {
    background: rgba(var(--accent-color-rgb), 0.1);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
    margin: 20px 0;
    text-align: center;
    position: relative;
}

.witch-quote span {
    color: var(--accent-color);
    font-weight: 600;
    font-style: italic;
    font-size: 1.1rem;
    margin: 0 10px;
}

.witch-quote i {
    color: var(--accent-color);
    opacity: 0.7;
}

/* 游戏亮点 */
.game-highlights h3 {
    color: var(--light-blue);
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 600;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.highlight-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
}

.highlight-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.highlight-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.highlight-item h4 {
    color: var(--light-blue);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.highlight-item p {
    color: var(--text-light);
    line-height: 1.6;
}



/* 画廊区域 */
.gallery {
    background: rgba(0, 0, 0, 0.2);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 1rem;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

/* 更新日志区域 */
.updates-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.updates-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-color), var(--light-blue));
}

.update-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.update-item::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 10px;
    width: 14px;
    height: 14px;
    background: var(--accent-color);
    border-radius: 50%;
    border: 3px solid var(--dark-blue);
}

.update-date {
    flex: 0 0 200px;
    text-align: right;
    padding-right: 2rem;
}

.version {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--accent-color);
    font-weight: 600;
}

.date {
    color: var(--light-blue);
    font-size: 0.9rem;
}

.update-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px);
    margin-left: 2rem;
}

.update-content h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.update-content ul {
    list-style: none;
    padding-left: 0;
}

.update-content li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.update-content li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* 下载区域 */
.download {
    background: rgba(0, 0, 0, 0.3);
}

.download-content {
    /* 移除旧的Grid布局，使用新的download-layout */
}

.game-info,
.system-requirements {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
}

.game-info h3,
.system-requirements h3 {
    color: var(--white);
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.info-grid {
    display: grid;
    gap: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-label {
    color: var(--light-blue);
    font-weight: 500;
}

.info-value {
    color: var(--white);
    font-weight: 600;
}

.requirements-grid {
    display: grid;
    gap: 2rem;
}

.req-column h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.req-column ul {
    list-style: none;
    padding: 0;
}

.req-column li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.req-column li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.download-main {
    text-align: center;
}

.download-note {
    color: var(--light-blue);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.download-alternatives h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.alt-downloads {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* 新的下载模块样式 */
.version-card {
    background: rgba(var(--accent-color-rgb), 0.1);
    border: 1px solid rgba(var(--accent-color-rgb), 0.2);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
}

.version-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.version-badge {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.version-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    font-family: 'Orbitron', monospace;
}

.version-status {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
}

.version-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.version-features h3 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(var(--accent-color-rgb), 0.1);
    transform: translateY(-2px);
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

/* 下载模块布局 */
.download-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.download-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.download-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.download-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--accent-color-rgb), 0.3);
}

.download-card.featured {
    background: linear-gradient(135deg, rgba(var(--accent-color-rgb), 0.15), rgba(var(--primary-color-rgb), 0.1));
    border: 2px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.download-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.download-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.download-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.download-icon i {
    font-size: 1.5rem;
    color: white;
}

.download-info {
    flex: 1;
}

.download-info h3,
.download-info h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.download-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.download-size {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-color);
    font-family: 'Orbitron', monospace;
}

.download-details {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.detail-item i {
    color: var(--accent-color);
}

.btn-download-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    justify-content: center;
}

.btn-download-primary::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: left 0.5s ease;
}

.btn-download-primary:hover::before {
    left: 100%;
}

.btn-download-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(var(--accent-color-rgb), 0.4);
}





.spec-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.spec-card h3 {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.spec-card h3 i {
    color: var(--accent-color);
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
}

.spec-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-value {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.requirements-tabs {
    margin-top: 1rem;
}

.tab-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-muted);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.tab-content {
    display: none;
}

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

.req-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.req-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.req-item:hover {
    background: rgba(var(--accent-color-rgb), 0.1);
}

.req-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.req-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.req-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.req-value {
    color: var(--text-light);
    font-weight: 500;
}



.guide-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.guide-card h3 {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.guide-card h3 i {
    color: var(--accent-color);
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step-content p {
    color: var(--text-muted);
    margin: 0;
}

.guide-tips {
    background: rgba(var(--accent-color-rgb), 0.1);
    border: 1px solid rgba(var(--accent-color-rgb), 0.2);
    border-radius: 10px;
    padding: 1.5rem;
}

.guide-tips h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.guide-tips h4 i {
    color: var(--accent-color);
}

.guide-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-tips li {
    color: var(--text-muted);
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.guide-tips li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}



/* 页脚 */
.footer {
    background: var(--dark-blue);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.footer-section p,
.footer-section li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

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

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(4, 12, 49, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-content,
    .download-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .game-overview {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .overview-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .story-timeline {
        padding: 30px 20px;
    }

    .timeline-container::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-marker {
        left: 5px;
        width: 25px;
        height: 25px;
    }

    .timeline-marker i {
        font-size: 0.8rem;
    }

    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }



    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .update-item {
        flex-direction: column;
        text-align: left;
    }

    .update-date {
        flex: none;
        text-align: left;
        padding-right: 0;
        margin-bottom: 1rem;
    }

    .update-content {
        margin-left: 0;
    }

    .updates-timeline::before {
        display: none;
    }

    .update-item::before {
        display: none;
    }

    .requirements-grid {
        grid-template-columns: 1fr;
    }



    /* 新下载模块响应式 */
    .download-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .download-details {
        flex-direction: column;
        gap: 1rem;
    }

    .spec-grid {
        grid-template-columns: 1fr;
    }

    .tab-buttons {
        flex-direction: column;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        align-self: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }

    .hero {
        height: 70vh;
        min-height: 500px;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .title-main {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-version {
        flex-direction: row;
        gap: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-tags {
        gap: 0.8rem;
        justify-content: center;
    }
    
    .game-tag {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        flex: 0 0 calc(50% - 0.4rem);
        justify-content: center;
        min-width: 0;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .btn-download {
        padding: 1.2rem 2rem;
        font-size: 1rem;
    }

    .story-block {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .timeline-header h3 {
        font-size: 1.5rem;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-content h4 {
        font-size: 1.2rem;
    }

    .witch-quote {
        padding: 15px;
        margin: 15px 0;
    }

    .witch-quote span {
        font-size: 1rem;
    }

    .game-highlights h3 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .highlight-item {
        padding: 20px;
    }

    .highlight-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .highlight-icon i {
        font-size: 1.5rem;
    }
}

/* 打印样式 */
@media print {
    .navbar,
    .hero-scroll,
    .back-to-top {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .hero {
        height: auto;
        padding: 2rem 0;
    }

    section {
        padding: 2rem 0;
        break-inside: avoid;
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000080;
        --accent-color: #0066cc;
        --text-light: #ffffff;
        --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }

    .btn {
        border: 2px solid currentColor;
    }
}

/* 减少动画模式 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
} 