.header {
    background: linear-gradient(to bottom, #2b1b3b, #372454);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.header__brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 1rem;
}

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

.header__title {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
}

.header__cta {
    background: #ff69b4;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.header__cta:hover {
    background: #ff4da6;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header__container {
        padding: 0 1rem;
    }
    
    .header__title {
        font-size: 1.2rem;
    }
    
    .header__cta {
        padding: 0.5rem 1rem;
    }
}

.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
  }
  
  .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .hero-video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 半透明遮罩 */
  }
  
  .hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #fff;
    text-align: center;
  }
  
  .hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  }
  
  .hero-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #1a9fff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s ease;
  }
  
  .hero-button:hover {
    background: #0084ff;
  }

  .mods {
    padding: 4rem 2rem;
    background: #1a1a1a;
}

.mods__title {
    color: #fff;
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.mods__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.mod-card {
    display: block; /* 将a标签改为块级元素 */
    text-decoration: none; /* 移除下划线 */
    background: #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

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

.mod-card__image {
    position: relative;
    padding-top: 56.25%; /* 16:9 aspect ratio */
}

.mod-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mod-card__expand {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.mod-card__content {
    padding: 1.5rem;
}

/* 确保卡片内的文字颜色不会因为是链接而改变 */
.mod-card__title {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.mod-card__category {
    color: #ff69b4;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.mod-card__meta {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.mod-card__description {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.mod-card__stats {
    display: flex;
    gap: 1rem;
    color: #888;
    font-size: 0.8rem;
}

.mod-card__stats i {
    margin-right: 0.3rem;
}

/* 防止expand按钮触发卡片链接 */
.mod-card__expand {
    position: relative;
    z-index: 2;
    cursor: pointer;
}
.mod-card__expand:hover {
    background: rgba(0, 0, 0, 0.7);
}
/* 响应式设计 */
@media (max-width: 768px) {
    .mods__grid {
        grid-template-columns: 1fr;
    }
    
    .mods {
        padding: 2rem 1rem;
    }
}

.features {
    padding: 6rem 2rem;
    background: #1a1a1a;
}

.features__title {
    text-align: center;
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

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

.feature-card {
    display: flex;
    flex-direction: column;
    background: #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.feature-card__content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-card__content h3 {
    color: #ff69b4;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

.feature-card__image {
    min-height: 300px;
}

.feature-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 响应式设计 */
@media (max-width: 968px) {
    .feature-card__content {
        padding: 1.5rem;
    }
    
    .feature-card__image {
        min-height: 200px;
    }
    
    .features {
        padding: 4rem 1rem;
    }
}

.content {
    background: #1a1a1a;
    padding: 4rem 2rem;
}

.content__wrapper {
    max-width: 800px;
    margin: 0 auto;
    color: #fff;
}

.content h2 {
    font-size: 2.5rem;
    color: #ff69b4;
    margin-bottom: 2rem;
    text-align: center;
}

.content h3 {
    font-size: 1.8rem;
    color: #ff69b4;
    margin: 2rem 0 1rem;
}

.content h4 {
    font-size: 1.4rem;
    color: #ff69b4;
    margin: 1.5rem 0 1rem;
}

.content__text {
    line-height: 1.8;
}

.content__text p {
    margin-bottom: 1.5rem;
}

.content__text ul {
    margin: 1rem 0 1.5rem 2rem;
}

.content__text li {
    margin-bottom: 0.5rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .content {
        padding: 2rem 1rem;
    }
    
    .content h2 {
        font-size: 2rem;
    }
    
    .content h3 {
        font-size: 1.5rem;
    }
    
    .content h4 {
        font-size: 1.2rem;
    }
}

.video-showcase {
    background: #1a1a1a;
    padding: 4rem 2rem;
}

.video-showcase__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.video-showcase__item {
    flex: 1;
    max-width: 560px; /* YouTube 推荐的最大宽度 */
    position: relative;
    padding-top: 31.25%; /* 16:9 宽高比 */
}

.video-showcase__item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .video-showcase__container {
        flex-direction: column;
    }

    .video-showcase__item {
        padding-top: 56.25%; /* 移动端下的16:9比例 */
        width: 100%;
    }

    .video-showcase {
        padding: 2rem 1rem;
    }
}