:root {
    --color-primary: #2b0b3a;    /* 深紫色 */
    --color-accent: #8a2be2;     /* 亮紫色 */
    --color-text: #ffffff;       /* 白色文字 */
    --color-hover: #b666ff;      /* 悬停紫色 */
  }
  
  .header {
    background-color: var(--color-primary);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  }
  
  .header__nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .header__brand {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .header__logo {
    height: 40px;
    width: auto;
  }
  
  .header__game-name {
    color: var(--color-text);
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .header__cta-button {
    background-color: var(--color-accent);
    color: var(--color-text);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid transparent;
  }
  
  .header__cta-button:hover {
    background-color: var(--color-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
  }
  
  /* 响应式设计 */
  @media (max-width: 768px) {
    .header {
      padding: 0.75rem 1rem;
    }
  
    .header__game-name {
      font-size: 1.2rem;
    }
  
    .header__logo {
      height: 32px;
    }
  
    .header__cta-button {
      padding: 0.5rem 1rem;
      font-size: 0.9rem;
    }
  }

.video {
    padding: 4rem 2rem;
    background-color: var(--color-primary);
}

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

.video__title {
    color: var(--color-text);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.video__wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 宽高比 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .video {
        padding: 3rem 1rem;
    }

    .video__title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .video__grid {
        grid-template-columns: 1fr; /* 手机端单列显示 */
        gap: 1.5rem;
    }
}

.features {
    padding: 6rem 2rem;
    background-color: var(--color-primary);
}

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

.features__title {
    color: var(--color-text);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.features__grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.feature-card {
    display: flex;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.feature-card__image {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
}

.feature-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-card__image img {
    transform: scale(1.05);
}

.feature-card__content {
    flex: 1;
    padding: 2rem;
}

.feature-card__title {
    color: var(--color-text);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-card__description {
    color: var(--color-text);
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

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

    .feature-card__image {
        flex: 0 0 200px;
    }
}

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

    .features__title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

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

    .feature-card__description {
        font-size: 1rem;
    }
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 80px; /* 为固定header留出空间 */
    background: linear-gradient(
        135deg,
        var(--color-primary) 0%,
        #1a0b2e 50%,
        #0f0618 100%
    );
    overflow: hidden;
}

/* 添加动态背景效果 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(138, 43, 226, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(138, 43, 226, 0.1) 0%, transparent 60%);
    animation: pulseBackground 8s ease-in-out infinite alternate;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    color: var(--color-text);
    text-align: center;
}

.hero__title {
    font-size: 4.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff 0%, #b666ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
}

.hero__description {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

.hero__cta-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.hero__cta {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-size: 1.25rem;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-text);
    background: linear-gradient(135deg, var(--color-accent) 0%, #6a1b9a 100%);
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
}

.hero__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.5);
    border-color: rgba(138, 43, 226, 0.5);
}

.hero__rating-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hero__rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.hero__rating-text {
    font-size: 2.5rem;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.5px;
}

.hero__stars {
    display: flex;
    gap: 4px;
}

.hero__stars .star {
    color: #FF9F43; /* 橙色星星 */
    font-size: 1.8rem;
    line-height: 1;
}

.hero__users {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero__users strong {
    margin-left: 0.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

/* 第二种评分样式（深色背景版） */
.hero__rating-alt {
    background-color: rgba(18, 18, 23, 0.95);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hero__image {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero__bg {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.hero__bg:hover {
    transform: scale(1.01);
}

/* 添加动画关键帧 */
@keyframes pulseBackground {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero__content {
        padding: 2rem 1rem;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__description {
        font-size: 1.25rem;
    }

    .hero__cta-container {
        flex-direction: column;
        gap: 1rem;
    }

    .hero__cta {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .hero__image {
        padding: 0 1rem;
    }

    .hero__rating-text {
        font-size: 2rem;
    }

    .hero__stars .star {
        font-size: 1.5rem;
    }

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

.content {
    padding: 6rem 2rem;
    background-color: var(--color-primary);
    color: var(--color-text);
}

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

.content__title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.content__section {
    margin-bottom: 4rem;
}

.content__subtitle {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
}

.content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--color-hover);
}

.content h4 {
    font-size: 1.25rem;
    margin: 1.5rem 0 1rem;
    color: var(--color-text);
}

.content__list {
    list-style: none;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.content__list li {
    position: relative;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
}

.content__list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.content p {
    line-height: 1.8;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.content__faq h4 {
    color: var(--color-accent);
    margin-top: 2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .content {
        padding: 4rem 1rem;
    }

    .content__title {
        font-size: 2rem;
    }

    .content__subtitle {
        font-size: 1.75rem;
    }

    .content h3 {
        font-size: 1.35rem;
    }

    .content h4 {
        font-size: 1.15rem;
    }
}

.gallery {
    padding: 4rem 2rem;
    background-color: var(--color-primary);
}

.gallery__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 347px); /* 固定宽度 */
    gap: 2rem;
    justify-content: center; /* 居中对齐 */
}

.gallery__item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    width: 347px; /* 固定宽度 */
    height: 195px; /* 固定高度 */
}

.gallery__image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 改为contain以完整显示图片 */
    display: block;
    transition: transform 0.4s ease;
}

/* 悬停效果 */
.gallery__item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(138, 43, 226, 0.2);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery__item:hover::after {
    opacity: 1;
}

.gallery__item:hover .gallery__image {
    transform: scale(1.05);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .gallery__container {
        grid-template-columns: repeat(2, 347px);
    }
}

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

    .gallery__container {
        grid-template-columns: 347px; /* 单列但保持图片原始尺寸 */
        gap: 1rem;
    }
}