/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.main-nav {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    transition: all 0.3s ease;
    background-color: #ffffff99;
}

.main-nav.fixed {
    position: fixed;
    background-color: #FFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1380px;
    margin: 0 auto;
}

.main-nav.fixed .container {
    padding: 15px 20px;
    max-width: 1380px;
}


.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
}

.logo span {
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: #000000FF;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #BA2E1EFF;
}

.nav-links a.active {
    color: #BA2E1EFF;
}

.language-btn {
    padding: 5px 15px;
    border: 2px solid #fff;
    border-radius: 20px;
}

/* 主页横幅区域样式 */
.hero {
    position: relative;
    height: 100vh;
    /* background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)); */
    background: url('../images/img_topbanner0.png') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    transition: opacity 0.5s ease;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text {
    flex: 1;
    color: #fff;
    z-index: 2;
}

.hero-text h1 {
    font-size: 90px;
    line-height: 1.2;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-image {
    flex: 1;
    position: relative;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1200px) {
    .hero {
        height: 600px;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-nav {
        /* padding: 15px 20px; */
    }
    .main-nav .container {
        padding: 10px 20px;
    }

    .nav-links {
        display: none;
        /* 移动端需要添加汉堡菜单 */
    }

    .hero{
        background-position: 75%;
    }

    .hero-text h1 {
        font-size: 56px;
    }

    .hero-image {
        margin-top: 30px;
    }
}

/* 下载按钮样式 */
.product-section {
    padding: 80px 0;
    background-color: #ffffff;
}

/* .product-section:nth-child(even) {
    padding-bottom: 0;
} */

.product-section.p-b-0 {
    padding-bottom: 0;
}

.product-section {
    background-color: #f8f9fa;
}

.product-section .container {
    background-position: center;
    background-size: auto 100%;
    background-repeat: no-repeat;
    /* background-color: white; */
    max-width: 1720px;
    border-radius: 20px;
    padding: 180px 180px;
}

.product-section .product-img-h5 {
    display: none;
    position: relative;
    height: 96vw;
    min-height: 400px;
    overflow: hidden;
}

.product-section .product-img-h5 img {
    position: absolute;
    top: 0;
    left: 10%;
    height: 100%;
    transform: translateX(-50%);
}

.product-section .container.game1 {
    background-image: url('../images/img_game01.png');
}

.product-section .container.game2 {
    background-image: url('../images/img_game02.png');
}

.product-section .container.game3 {
    background-image: url('../images/img_game03.png');
}

.product-content {
    display: flex;
    align-items: center;
    gap: 60px;
    width: 50%;
}

.product-info {
    flex: 1;
}

.product-logo {
    width: 80px;
    height: 80px;
}

.product-info h2 {
    font-size: 56px;
    line-height: 64px;
    margin-bottom: 48px;
    color: #333;
}

.product-info p {
    font-size: 18px;
    color: #666;
    line-height: 1.5;
    max-width: 440px;
    height: 200px;
}

.download-buttons {
    display: flex;
    gap: 20px;
}

.download-buttons a img {
    height: 52px;
}

.product-gallery {
    flex: 1;
    display: flex;
    justify-content: center;
}

.product-gallery img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1400px) {
    .product-section .container {
        min-height: 825px;
    }
}

@media (max-width: 1200px) {
    .product-section .container {
        padding: 100px 20px;
    }
}

@media (max-width: 768px) {
    .product-section .container {
        padding: 0px 20px;
    }

    .product-section .product-img-h5 {
        display: block;
    }

    .product-section .container.game1,
    .product-section .container.game2,
    .product-section .container.game3 {
        background: none;
    }

    .product-info h2 {
        font-size: 32px;
        line-height: 40px;
        margin-bottom: 20px;
        font-weight: 800;
    }

    .product-info p {
        font-size: 18px;
        margin-bottom: 32px;
        max-width: 100%;
        height: 150px;
    }
}

@media (max-width: 576px) {
    .product-section .container {
        padding: 0px 20px;
    }

    /* .product-section .product-img-h5{
        height: 300px;
    } */
}

/* 功能展示区域样式 */
.features {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-item img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* 响应式设计 */
@media (max-width: 968px) {
    .product-info {
        order: 1;
    }

    .product-gallery {
        order: 2;
    }

}

/* 响应式设计 */
@media (max-width: 768px) {
    .product-content {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 40px;
    }

    .product-info h2 {
        font-size: 2rem;
    }

    .product-info p {
        font-size: 1rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* 评价区域样式 */
.testimonials {
    margin-top: 161px;
    margin-bottom: 140px;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 56px;
    margin-bottom: 70px;
    color: #333;
}

.testimonial-container {
    position: relative;
    overflow: hidden;
    padding: 80px 0 0;
}

.testimonial-container::before,
.testimonial-container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 200px;
    z-index: 1;
    pointer-events: none;
}

.testimonial-container::before {
    left: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.testimonial-container::after {
    right: 0;
    background: linear-gradient(270deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.testimonial-wrapper {
    position: relative;
    z-index: 0;
}

.testimonial-wrapper {
    display: flex;
    transition: transform 0.3s ease;
    gap: 20px;
    padding: 0 20px;
    width: max-content;
}

.testimonial-wrapper.auto-scroll {
    animation: scroll 30s linear infinite;
}

.testimonial-wrapper:not(.auto-scroll) {
    animation: none;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    position: relative;
    flex: 0 0 580px;
    background: white;
    padding: 138px 48px 0;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 473px;
}

.review-text {
    width: 484px;
    height: auto;
    min-height: 81px;
    font-family: Poppins, Poppins;
    font-weight: 400;
    font-size: 18px;
    color: #000000;
    line-height: 27px;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.user-avatar {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto 15px;
}

.yinhao {
    position: absolute;
    left: 48px;
    top: 84px;
    width: 55px;
    height: 55px;
}

.user-name {
    height: 24px;
    font-family: Poppins, Poppins;
    font-weight: 600;
    font-size: 24px;
    color: #000000;
    line-height: 24px;
    text-align: center;
    font-style: normal;
    text-transform: none;
}

.rating {
    color: #ffd700;
    font-size: 20px;
    margin-bottom: 24px;
    margin-top: 12px;
}

.star {
    width: 32px;
    height: 32px;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #333;
    color: white;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
}

.nav-btn:hover {
    background: #555;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .testimonials {
        margin-top: 80px;
    }

    .testimonial-container {
        padding: 80px 20px 0;
    }

    .testimonial-wrapper {
        padding: 0;
    }

    .testimonial-container::before,
    .testimonial-container::after {
        width: 100px;
    }

    .testimonial-card {
        flex: 0 0 100%;
        max-width: calc(100vw - 40px);
        padding: 100px 20px 30px;
        height: auto;
        min-height: 400px;
    }

    .user-avatar {
        width: 120px;
        height: 120px;
    }

    .yinhao {
        width: 40px;
        height: 40px;
        left: 20px;
        top: 60px;
    }

    .review-text {
        width: 100%;
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 20px;
    }

    .user-name {
        font-size: 20px;
    }

    .rating {
        margin: 10px 0 20px;
    }

    .star {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 580px) {
    .testimonial-card {
        flex: 0 0 100%;
        padding: 138px 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .review-text {
        font-size: 14px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 80px 15px 25px;
        min-height: 350px;
    }

    .user-avatar {
        width: 100px;
        height: 100px;
    }

    .yinhao {
        width: 30px;
        height: 30px;
        left: 15px;
        top: 50px;
    }

    .review-text {
        font-size: 14px;
        line-height: 22px;
    }
}

/* 信仰理念区域样式 */
.beliefs {
    padding: 100px 0;
    /* background-color: #1a1a1a; */
    background-image: url('../images/img_belifes_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

.beliefs .container {
    max-width: 1320px;
}

.beliefs .section-title {
    text-align: center;
    font-size: 56px;
    margin-bottom: 60px;
    color: white;
}

.beliefs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.belief-card {
    background-color: white;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    /* margin-top: 30px; */
    min-height: 568px;
    padding-bottom: 30px;
}

.belief-card:nth-child(2) {
    margin-top: 0;
}

.belief-card:hover {
    transform: translateY(-30px);
}

.belief-card-image-container {
    position: relative;
}

.belief-card-image {
    width: 100%;
}

.belief-number {
    position: absolute;
    bottom: -17px;
    left: 24px;
    width: 70px;
    height: 48px;
    background: #BA2E1E;
    border-radius: 24px 24px 24px 24px;
    color: #FFF;
    font-weight: bold;
    font-size: 24px;
    line-height: 48px;
    text-align: center;
    letter-spacing: 0.02em;
}

.belief-card h3 {
    font-size: 24px;
    margin: 40px 24px 12px;
    color: #333333FF;
}

.belief-card p {
    color: #152B4080;
    line-height: 1.6;
    font-size: 16px;
    padding: 0 24px;
}

/* 响应式设计 */
@media (max-width: 968px) {
    .beliefs-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .beliefs {
        padding-top: 100px;
    }
}

@media (max-width: 576px) {
    .beliefs-grid {
        grid-template-columns: 1fr;
    }

    .belief-card {
        padding-bottom: 32px;
        height: auto;
    }

    .beliefs .section-title {
        font-size: 2rem;
    }
}

/* 故事展示区域样式 */
.stories {
    padding: 80px 0;
    background-color: #fff;
}

.stories .container {
    max-width: 1376px;
    padding: 0 108px;
}

.stories-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
    max-width: 1200px;
    aspect-ratio: 1200 / 757;
    margin: 0 auto;
}

.story-card {
    position: relative;
}

.story-tag {
    position: absolute;
    top: 100px;
    left: 80px;
    width: 220px;
    height: auto;
    object-fit: cover;
    z-index: 3;
}

.story-content {
    position: absolute;
    top: 200px;
    left: 80px;
    max-width: 60%;
    z-index: 3;
}

.story-content h3 {
    font-size: 56px;
    color: #FFF;
    margin-bottom: 80px;
    line-height: 1.2;
}

.story-content p {
    color: #FFF;
    line-height: 1.6;
    width: 364px;
    font-size: 16px;
    font-weight: 400;
}

.story-image {
    position: relative;
    width: 100%;
    object-fit: cover;
    z-index: 2;
}

/* 装饰点样式 */
/* .story-card::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, #ff000010 2px, transparent 2px);
    background-size: 10px 10px;
    opacity: 0.5;
} */

.story-zhuangshi {
    width: 176px;
    height: 176px;
    position: absolute;
    top: 100px;
}

.story-zhuangshi.left {
    left: 0;
    transform: translateX(-50%);
}

.story-zhuangshi.right {
    right: 0;
    transform: translateX(50%);
}

.story-down {
    height: 48px;
    width: 48px;
    position: absolute;
    bottom: 20%;

}

.story-down.left {
    left: 0;
    transform: translateX(-65px);
}

.story-down.right {
    right: 0;
    transform: translateX(65px);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .story-zhuangshi {
        width: 130px;
        height: 130px;
    }

    .story-content h3 {
        font-size: 40px;
        margin-bottom: 60px;
    }
}

@media (max-width: 1000px) {
    .story-tag {
        top: 70px;
        width: 180px;
    }

    .story-content {
        top: 150px;
    }

    .story-content h3 {
        margin-bottom: 50px;
    }
}

@media (max-width: 968px) {
    .section-title {
        margin-bottom: 90px;
    }

    .story-zhuangshi {
        width: 100px;
        height: 100px;
    }

    .story-tag {
        top: 60px;
    }

    .story-content {
        top: 120px;
    }

    .story-content h3 {
        font-size: 30px;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .section-title {
        margin-bottom: 20px;
    }

    .stories .container {
        padding: 0 20px;
    }

    .story-tag {
        position: relative;
        top: 0;
        left: 0;
        display: inline-block;
        margin-bottom: 20px;
    }

    .story-content {
        position: relative;
        top: 0;
        left: 0;
        max-width: 100%;
        padding: 20px 0;
        text-align: left;
    }

    .story-content h3 {
        font-size: 24px;
        margin-bottom: 24px;
        color: #333;
    }

    .story-content p {
        width: 100%;
        color: #666;
    }

    .story-image {
        border-radius: 20px;
        margin-top: 20px;
    }

    .story-zhuangshi,
    .story-down {
        display: none;
    }

    .stories-container {
        gap: 40px;
        aspect-ratio: auto;
    }
}



/* 办公室展示区域样式 */
.office-section {
    background-color: #1a1a1a;
    color: white;
}

.office-content {
    position: relative;
    width: 100%;
    height: 840px;
    overflow: hidden;
}

.office-info {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    max-width: 400px;
    z-index: 2;
}

.office-info h2 {
    font-size: 56px;
    margin-bottom: 20px;
}

.office-info p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 364px;
}

.office-image {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .office-content {
        height: 500px;
    }

    .office-info {
        right: 5%;
        max-width: 90%;
        padding: 20px;
        background: rgba(0, 0, 0, 0.6);
    }

    .office-info h2 {
        font-size: 2rem;
    }
}

.coming-soon {
    background-color: #8B0000;
    background: url('../images/img_moregames_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 96px 0 89px;
    text-align: center;
    color: white;
}

.coming-soon h3 {
    font-family: Montserrat, Montserrat;
    font-weight: bold;
    font-size: 2.5rem;
    color: #FFFFFF;
    text-align: center;
    font-style: normal;
    text-transform: none;
}

.coming-soon p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .coming-soon {
        padding: 70px 0;
    }

    .coming-soon h3 {
        font-size: 2rem;
        margin-bottom: 15px;
        line-height: 1.3em;
    }

    .coming-soon p {
        font-size: 1.1rem;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .coming-soon {
        padding: 50px 0;
    }

    .coming-soon h3 {
        font-size: 1.8rem;
        margin-bottom: 12px;
        padding: 0 15px;
    }

    .coming-soon p {
        font-size: 1rem;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .coming-soon {
        padding: 40px 0;
    }

    .coming-soon h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .coming-soon p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* 底部区域样式 */
footer {
    background-color: #ecedf1FF;
    color: white;
    padding: 80px 0 40px;
}

footer .container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-section {
    flex: 1;
    /* padding: 0 20px; */
}

.footer-section span {
    font-weight: bold;
    font-size: 1.3rem;
}

.footer-logo {
    max-width: 300px;
    vertical-align: middle;
    margin-right: 10px;
}

.footer-section h4 {
    color: #000000FF;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-section a {
    color: #000000FF;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
    display: block;
    margin-bottom: 10px;
}

.footer-section a:hover {
    opacity: 1;
}

.social-link img {
    /* width: 32px; */
    height: 32px;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #d5d6d9FF;
    color: #00000080;
}

.footer-bottom p {
    opacity: 0.8;
    font-size: 14px;
}

/* 响应式设计 */
/* @media (max-width: 992px) {
    footer {
        padding: 60px 0 30px;
    }

    .footer-content {
        flex-wrap: wrap;
        gap: 40px;
    }

    .footer-section {
        flex: 0 0 calc(50% - 40px);
        text-align: center;
    }
} */

@media (max-width: 992px) {
    footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-section {
        flex: 0 0 100%;
        padding: 0;
        text-align: center;
    }

    .footer-section h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .social-link img {
        width: 28px;
        height: 28px;
    }

    .footer-bottom {
        padding-top: 30px;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 30px 0 15px;
    }

    .footer-content {
        gap: 25px;
    }

    .footer-section h4 {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .footer-section a {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .footer-bottom p {
        font-size: 12px;
    }
}