/* 基础样式重置 */
:root {
    --primary-color: #b91c1c; /* 深红色 */
    --secondary-color: #7f1d1d; /* 更深的红色 */
    --accent-color: #d97706; /* 暗橙色 */
    --text-color: #e5e5e5; /* 浅灰色文字 */
    --light-text: #f8f8f8; /* 几乎白色的文字 */
    --dark-bg: #0f0f0f; /* 接近黑色的背景 */
    --darker-bg: #030303; /* 更黑的背景 */
    --light-bg: #1a1a1a; /* 深灰色背景 */
    --container-width: 1200px;
    --heading-font: 'Cinzel', serif; /* 更神秘/哥特风格的字体 */
    --body-font: 'Crimson Text', serif; /* 衬线字体增加恐怖感 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--darker-bg);
    background-image: url('1.png');
    background-repeat: repeat;
    background-blend-mode: overlay;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 2px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--heading-font);
    position: relative;
    overflow: hidden;
}

.btn::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.7s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(185, 28, 28, 0.4);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
    box-shadow: 0 0 20px rgba(185, 28, 28, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(15, 15, 15, 0.7);
    border: 1px solid var(--primary-color);
    color: var(--light-text);
    box-shadow: 0 0 10px rgba(185, 28, 28, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(30, 30, 30, 0.9);
    border-color: var(--accent-color);
    color: var(--light-text);
    box-shadow: 0 0 15px rgba(185, 28, 28, 0.5);
    transform: translateY(-2px);
}

/* 头部样式 */
header {
    background-color: var(--darker-bg);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 1px solid rgba(185, 28, 28, 0.3); /* 淡红色边框 */
}

header.scrolled {
    background-color: rgba(3, 3, 3, 0.95);
    box-shadow: 0 2px 15px rgba(185, 28, 28, 0.2); /* 红色阴影 */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 40px;
    filter: drop-shadow(0 0 5px rgba(185, 28, 28, 0.7)); /* 红色阴影效果 */
    transition: filter 0.3s ease;
}

.logo:hover img {
    filter: drop-shadow(0 0 8px rgba(185, 28, 28, 0.9));
}

.game-title {
    font-family: var(--heading-font);
    color: var(--light-text);
    font-size: 1.8rem;
    font-weight: 700;
    margin-left: 1rem;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(185, 28, 28, 0.5); /* 红色文字阴影 */
    transition: text-shadow 0.3s ease;
}

.logo:hover .game-title {
    text-shadow: 0 0 15px rgba(185, 28, 28, 0.8);
}

.header-cta {
    display: flex;
    align-items: center;
}

.btn-download {
    background-color: var(--primary-color);
    border: 1px solid var(--secondary-color);
    padding: 0.6rem 1.5rem;
    font-family: var(--heading-font);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(185, 28, 28, 0.3);
}

.btn-download:hover {
    background-color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(185, 28, 28, 0.5);
    transform: translateY(-2px);
}

/* 英雄区域样式 */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(15, 3, 3, 0.85)), url('1.png');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    padding: 10rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        rgba(0, 0, 0, 0.1) 1px,
        transparent 2px
    );
    pointer-events: none;
    opacity: 0.3;
    animation: scanlines 8s linear infinite;
}

@keyframes scanlines {
    0% { background-position: 0 0; }
    100% { background-position: 0 100%; }
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 8px;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(185, 28, 28, 0.7);
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0%, 100% { text-shadow: 0 0 15px rgba(185, 28, 28, 0.7); }
    50% { text-shadow: 0 0 25px rgba(185, 28, 28, 0.9); }
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-style: italic;
    opacity: 0.9;
    letter-spacing: 1px;
}

.hero-description {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.hero-description p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-style: normal;
    text-align: left;
    opacity: 0.8;
    line-height: 1.7;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* 预告片区域样式 */
.trailer {
    padding: 5rem 0;
    text-align: center;
    background-color: var(--dark-bg);
    position: relative;
}

.trailer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('2.png');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    pointer-events: none;
}

.trailer h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
}

.trailer h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background-color: var(--primary-color);
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 2rem auto 0;
    padding-bottom: 56.25%; /* 16:9 比例 */
    height: 0;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(185, 28, 28, 0.3);
    border: 1px solid rgba(185, 28, 28, 0.2);
}

.video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(185, 28, 28, 0.2) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 0;
}

/* 特性区域样式 */
.features {
    padding: 6rem 0;
    background-color: var(--dark-bg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/noise.png');
    opacity: 0.1;
    pointer-events: none;
}

.features h2 {
    color: var(--light-text);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 10px rgba(185, 28, 28, 0.4);
}

.features h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: var(--primary-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.feature-item {
    background-color: rgba(15, 15, 15, 0.8);
    border: 1px solid rgba(185, 28, 28, 0.2);
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(185, 28, 28, 0.2);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: grayscale(30%) brightness(0.8);
    transition: filter 0.4s ease;
}

.feature-item:hover img {
    filter: grayscale(0%) brightness(1);
}

.feature-item h3 {
    padding: 1.2rem 1rem 0.5rem;
    color: var(--primary-color);
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.feature-item p {
    padding: 0 1rem 1.8rem;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* 关于区域样式 */
.about {
    padding: 6rem 0;
    background-color: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(185, 28, 28, 0.3), transparent);
}

.about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(185, 28, 28, 0.3), transparent);
}

.about h2 {
    color: var(--light-text);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(185, 28, 28, 0.4);
    text-align: center;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.text-content p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.8;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.text-content p:first-child {
    font-size: 1.2rem;
    color: var(--light-text);
    font-style: italic;
}

.image-content img {
    border-radius: 2px;
    box-shadow: 0 0 25px rgba(185, 28, 28, 0.3);
    filter: grayscale(40%) contrast(1.1);
    transition: all 0.5s ease;
    border: 1px solid rgba(185, 28, 28, 0.2);
}

.image-content:hover img {
    filter: grayscale(20%) contrast(1.2);
    box-shadow: 0 0 30px rgba(185, 28, 28, 0.5);
}

/* SEO内容区域样式 */
.seo-content {
    padding: 6rem 0;
    background-color: var(--dark-bg);
    position: relative;
}

.seo-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(185, 28, 28, 0.3), transparent);
}

.seo-content h2 {
    color: var(--light-text);
    font-size: 2.2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(185, 28, 28, 0.4);
}

.seo-content h2:first-child {
    margin-top: 0;
}


.seo-content article {
    max-width: 900px;
    margin: 0 auto;
    background-color: rgba(10, 10, 10, 0.5);
    padding: 3rem;
    border: 1px solid rgba(185, 28, 28, 0.1);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.seo-content h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.seo-content h4 {
    color: var(--accent-color);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.seo-content p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* 页脚样式 */
footer {
    background-color: var(--darker-bg);
    color: var(--text-color);
    padding: 4rem 0 3rem;
    position: relative;
    border-top: 1px solid rgba(185, 28, 28, 0.2);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/noise.png');
    opacity: 0.05;
    pointer-events: none;
}

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

.footer-column h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 1px;
    background-color: var(--primary-color);
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: var(--text-color);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-column a:hover {
    color: var(--light-text);
    padding-left: 5px;
}

.footer-column a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
    opacity: 0;
}

.footer-column a:hover::before {
    width: 3px;
    opacity: 1;
}

.footer-column p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header .container {
        flex-direction: row; /* 保持水平布局 */
    }
    
    .hamburger {
        display: block; /* 显示汉堡菜单 */
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--dark-bg);
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        z-index: 100;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    nav a {
        display: block;
        padding: 15px 0;
    }
    
    nav a::after {
        display: none; /* 移除下划线动画 */
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 1rem;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .image-content {
        order: -1;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* 平板设备样式 */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 添加字体 */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Crimson+Text:ital,wght@0,400;0,600;1,400&display=swap'); 