* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: Arial, sans-serif;
    background: #fff;
}

.header {
    background: #fff;
    position: relative;
    z-index: 10;
    height: 80px;
}

.header .container {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo {
    width: 120px;
    margin-right: 50px;
}

.nav {
    display: flex;
    gap: 40px;
}

.nav a {
    text-decoration: none;
    color: #333;
    color: #027e7e;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s;
}

.nav a:hover {
    color: #00b3b3;
}

.nav a.active {
    color: #00b3b3;
    border-bottom: 2px solid #00b3b3;
}

.hero {
    position: relative;
    overflow: visible;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 500px;
    background: #f5f5f5;
}

.hero .bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero .char {
    position: absolute;
    right: 50px;
    height: 600px;
    bottom: -50px;
    z-index: 2000;
}

.hero .download-buttons {
    position: relative;
    z-index: 3000;
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
}

.download-button img {
    height: 45px;
    transition: transform 0.3s;
}

.download-button:hover img {
    transform: scale(1.05);
}

.features {
    padding: 40px 0;
    text-align: center;
    background: #fff;
}

.features-title {
    margin-bottom: 20px;
    height: 40px;
    object-fit: contain;
}

.features .container {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.swiper-container {
    width: 1000px;
    margin: 0 auto;
    position: relative;
}

.swiper-wrapper {
    align-items: center;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0.4;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.swiper-slide-active {
    transform: scale(1.1);
    opacity: 1;
}

.swiper-slide-prev,
.swiper-slide-next {
    opacity: 0.7;
}

.swiper-button-next,
.swiper-button-prev {
    width: 60px;
    height: 60px;
    background: none;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    display: none;
}

.swiper-button-prev {
    background: url('./res/arrow.png') no-repeat center;
    background-size: contain;
}

.swiper-button-next {
    background: url('./res/arrow.png') no-repeat center;
    background-size: contain;
    transform: rotate(180deg);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 0.8;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ddd;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #00b3b3;
}

.footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: #fff;
    font-size: 14px;
}

.game-intro {
    text-align: center;
    padding: 30px 20px;
    background: transparent;
}

.game-intro h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #1a1a1a;
    letter-spacing: 0.5px;
}

.game-intro p {
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

.game-intro .sub-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .header {
        height: auto;
        padding: 15px 0;
    }

    .header .container {
        flex-direction: column;
    }

    .logo {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .nav {
        margin-top: 0;
        gap: 20px;
    }

    .hero {
        height: 400px;
    }

    .hero .char {
        height: 450px;
        right: 20px;
        bottom: -30px;
    }

    .download-button img {
        height: 35px;
    }

    .swiper-container {
        width: 100%;
        max-width: 500px;
        padding: 30px 0;
    }

    .swiper-slide {
        width: 250px !important;
        height: 250px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 18px;
    }

    .features {
        padding: 40px 0;
    }
}

/* 移动端样式 */
@media screen and (max-width: 768px) {
    .header .container {
        flex-direction: column;
        padding: 10px;
    }

    .logo {
        max-width: 200px;
        margin-bottom: 10px;
    }

    .nav {
        width: 100%;
        justify-content: center;
        gap: 15px;
    }

    .nav a {
        font-size: 14px;
    }

    .hero .char {
        width: 80%;
        max-width: 300px;
    }

    .download-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .download-button img {
        max-width: 200px;
    }

    .features .container {
        padding: 20px 10px;
    }

    .features-title {
        max-width: 80%;
        margin-bottom: 20px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .swiper-pagination {
        bottom: -30px !important;
    }

    .swiper-container {
        padding-bottom: 40px;
    }

    .game-intro {
        padding: 20px 15px;
        margin-top: -10px;
    }

    .game-intro h1 {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .game-intro p {
        font-size: 14px;
        padding: 0 20px;
    }

    .game-intro .sub-title {
        font-size: 12px;
        letter-spacing: 1px;
    }
}

/* 平板设备样式 */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .hero .char {
        width: 60%;
    }

    .features .container {
        padding: 30px 20px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        transform: scale(0.8);
    }
}