:root {
    --doom-red: #ff4136;
    --doom-dark: #1a1a1a;
    --doom-orange: #ff6b4a;
  }
  
  .header {
    background: linear-gradient(to bottom, var(--doom-dark), rgba(26, 26, 26, 0.95));
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(255, 65, 54, 0.3);
  }
  
  .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .logo img {
    height: 40px;
    width: auto;
  }
  
  .logo-text {
    font-family: 'Arial Black', sans-serif;
    font-size: 1.8rem;
    color: var(--doom-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }

  /* Game Section Styles */
.game-section {
    margin-top: 80px; /* 为header留出空间 */
    padding: 20px;
    background: var(--doom-dark);
}

.game-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    aspect-ratio: 4/3; /* 保持游戏画面比例 */
    background: #000;
    border: 2px solid var(--doom-red);
    box-shadow: 0 0 20px rgba(255, 65, 54, 0.3);
}

.game-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.game-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100;
}

.fullscreen-btn {
    background: rgba(26, 26, 26, 0.8);
    color: var(--doom-red);
    border: 1px solid var(--doom-red);
    padding: 8px 15px;
    cursor: pointer;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.fullscreen-btn:hover {
    background: var(--doom-red);
    color: var(--doom-dark);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .game-section {
        padding: 10px;
        margin-top: 60px;
    }

    .game-container {
        aspect-ratio: 3/4; /* 移动端竖屏比例 */
    }

    .fullscreen-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Hero Section Styles */
.hero {
    background: linear-gradient(
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.9)
    ), url('doom-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(transparent, var(--doom-dark));
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-family: 'Arial Black', sans-serif;
    font-size: 3.5rem;
    color: var(--doom-red);
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-image {
    flex: 1;
    max-width: 500px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border: 3px solid var(--doom-red);
    box-shadow: 0 0 30px rgba(255, 65, 54, 0.3);
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(-5deg);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-image {
        max-width: 100%;
    }
}

.cta-button {
    display: inline-block;
    background: var(--doom-red);
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    border: 2px solid var(--doom-red);
    transition: all 0.3s ease;
    font-size: 1.1rem;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: transparent;
    color: var(--doom-red);
    box-shadow: 0 0 20px rgba(255, 65, 54, 0.5);
}

.cta-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.cta-button:hover::after {
    left: 100%;
}

/* Features Section Styles */
.features {
    background: var(--doom-dark);
    padding: 80px 20px;
}

.features-title {
    text-align: center;
    color: var(--doom-red);
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.feature-card {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--doom-red);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 65, 54, 0.3);
}

.feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 2px solid var(--doom-red);
    margin-bottom: 20px;
}

.feature-title {
    color: var(--doom-red);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-description {
    color: #fff;
    font-size: 1rem;
    line-height: 1.6;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

.content-section {
    background: var(--doom-dark);
    padding: 80px 20px;
    color: #fff;
}

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

.section-title {
    color: var(--doom-red);
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.content-text {
    line-height: 1.8;
}

.content-image {
    width: 100%;
    border: 3px solid var(--doom-red);
    box-shadow: 0 0 20px rgba(255, 65, 54, 0.3);
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

.faq-section {
    background: var(--doom-dark);
    padding: 80px 20px;
    color: #fff;
}

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

.faq-title {
    color: var(--doom-red);
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.faq-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--doom-red);
    margin-bottom: 20px;
    padding: 25px;
}

.faq-question {
    color: var(--doom-red);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.faq-answer {
    color: #fff;
    line-height: 1.8;
}

.faq-category {
    margin-bottom: 40px;
}

.faq-category-title {
    color: var(--doom-orange);
    font-size: 1.8rem;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--doom-red);
    padding-bottom: 10px;
}

/* YouTube Videos Section Styles */
.youtube-section {
    padding: 40px 20px;
    background: var(--doom-dark);
}

.youtube-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--doom-red);
    box-shadow: 0 0 20px rgba(255, 65, 54, 0.3);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .youtube-container {
        grid-template-columns: 1fr;
    }
    
    .video-wrapper {
        margin-bottom: 20px;
    }
}