/* Header样式 */
.header {
    background-color: #0a0a0a;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.nav__brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav__logo {
    height: 40px;
    width: auto;
}

.nav__title {
    color: #ffffff;
    font-family: 'Press Start 2P', cursive; /* 像素风格字体 */
    font-size: 1rem;
    text-transform: uppercase;
}

.nav__cta {
    background-color: #ff0000; /* 参考图片中的红色 */
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.875rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav__cta:hover {
    background-color: #cc0000;
    transform: scale(1.05);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav__title {
        font-size: 0.75rem;
    }
    
    .nav__cta {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .nav__title {
        display: none; /* 在移动端只显示logo */
    }
}

.hero {
    background-color: #0a0a0a;
    min-height: auto;
    padding: 120px 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(128, 0, 0, 0.2), rgba(0, 0, 0, 0.8));
    z-index: 1;
}

.hero__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.hero__text {
    flex: 1;
}

.hero__title {
    font-family: 'Press Start 2P', cursive;
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    line-height: 1.4;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.hero__subtitle {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero__cta {
    background-color: #ff0000;
    color: #ffffff;
    font-family: 'Press Start 2P', cursive;
    font-size: 1rem;
    padding: 1rem 2rem;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero__cta:hover {
    background-color: #cc0000;
    transform: scale(1.05);
}

.hero__cta::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: 0.5s;
}

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

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

.hero__img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

/* 响应式设计 */
@media (max-width: 968px) {
    .hero__content {
        flex-direction: column;
        text-align: center;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 1rem 3rem;
    }
    
    .hero__content {
        flex-direction: column;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }
}

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

    .hero__title {
        font-size: 1.5rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }
}

.trailer {
    background-color: #0a0a0a;
    padding: 4rem 2rem;
}

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

.trailer__title {
    font-family: 'Press Start 2P', cursive;
    font-size: 2rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.trailer__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 0 auto;
}

.trailer__video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 宽高比 */
    background-color: #000000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

.trailer__iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* 视频容器的悬浮效果 */
.trailer__video:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.3);
}

/* 响应式设计 */
@media (max-width: 968px) {
    .trailer__title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .trailer {
        padding: 3rem 1rem;
    }

    .trailer__grid {
        grid-template-columns: 1fr; /* 手机端单列显示 */
        max-width: 600px; /* 限制单个视频的最大宽度 */
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .trailer__title {
        font-size: 1.25rem;
    }
}

.features {
    background-color: #0a0a0a;
    padding: 6rem 2rem;
}

.features__title {
    font-family: 'Press Start 2P', cursive;
    font-size: 2rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 4rem;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.features__grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 2rem;
    background: rgba(255, 0, 0, 0.05);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-card__img {
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.feature-card__title {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.feature-card__description {
    color: #cccccc;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* 响应式设计 */
@media (max-width: 968px) {
    .feature-card {
        flex-direction: column !important;
        text-align: center;
        gap: 2rem;
    }

    .feature-card__img {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 480px) {
    .features__title {
        font-size: 1.5rem;
    }

    .feature-card__title {
        font-size: 1.25rem;
    }
}

.content {
    background-color: #0a0a0a;
    padding: 6rem 2rem;
    color: #ffffff;
}

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

.content__title {
    font-family: 'Press Start 2P', cursive;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.content__section {
    margin-bottom: 4rem;
    padding: 2rem;
    background: rgba(255, 0, 0, 0.05);
    border-radius: 8px;
}

.content__section h2 {
    font-family: 'Press Start 2P', cursive;
    font-size: 2rem;
    color: #ff0000;
    margin-bottom: 2rem;
}

.content__section h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    color: #ffffff;
    margin: 2rem 0 1rem;
}

.content__section h4 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
    color: #ff0000;
    margin: 1.5rem 0 1rem;
}

.content__section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #cccccc;
}

.content__section ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.content__section li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: #cccccc;
}

.content__section li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #ff0000;
    font-family: 'Press Start 2P', cursive;
}

.faq__item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .content__title {
        font-size: 2rem;
    }

    .content__section h2 {
        font-size: 1.5rem;
    }

    .content__section h3 {
        font-size: 1.2rem;
    }

    .content__section h4 {
        font-size: 1rem;
    }
}

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

    .content__title {
        font-size: 1.5rem;
    }
}