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

:root {
    --primary: #FF6B9D;
    --secondary: #7B68EE;
    --accent: #FFD93D;
    --green: #6BCB77;
    --bg-gradient-start: #FFF5F8;
    --bg-gradient-end: #F0E6FF;
}

html, body {
    width: 100%;
    min-height: 100vh;
    font-family: sans-serif;
    background: linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
}

.page-container {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    overflow-x: clip;
}

/* 顶部 slogan 导航 - 固定 */
.nav {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.n_top {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
}

.n_top .bg {
    width: 100%;
    display: block;
}

/* PC 端固定导航宽度适配 */
@media (min-width: 751px) {
    .n_top {
        max-width: 430px;
    }
}

.nav .n_top {
    position: relative;
}

.nav .n_top .content {
    display: flex;
    position: absolute;
    right: 2.5%;
    top: 28%;
    transform: translateY(-28%);
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    gap: 20px;
}

.nav .n_top .content img {
    display: block;
    width: auto;
    height: 28px;
}

@media (min-width: 501px) {
    .nav .n_top .content img {
        height: 36px;
    }
}

@media (min-width: 751px) {
    .nav .n_top .content img {
        height: 28px;
    }
}
/* 顶部人物区域 */
.hero-section {
    width: 100%;
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    line-height: 0;
}

.hero-image {
    width: 100%;
    display: block;
    object-fit: contain;
}

.hero-decoration {
    position: absolute;
    pointer-events: none;
}

.sparkle {
    display: none;
}

/* 预约开启图片徽章 */
.title-badge {
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    pointer-events: auto;
}

.title-badge img {
    width: 220px;
    max-width: 60vw;
    height: auto;
    display: block;
}
.btn_register.auto-pulse {
    animation: autoPulse 1.1s infinite;
    will-change: transform;
}

@keyframes autoPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
}

/* 游戏特色轮播区域 */
.features-section {
    width: 100%;
    position: relative;
    padding: 35% 0 10px;
    background: #fff;
}

@media (max-width: 500px) {
    .features-section {
        padding: 38% 0 10px;
    }
}

.features-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 0;
}

.features-bg img {
    width: 100%;
    height: auto;
    display: block;
}

/* 轮播容器 */
.features-carousel {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
}

@media (max-width: 500px) {
    .features-carousel {
        padding: 0 15px;
    }
}

@media (min-width: 501px) and (max-width: 750px) {
    .features-carousel {
        padding: 0 40px;
    }
}

/* 左右箭头按钮 */
.nav-arrow {
    width: 50px;
    height: 80px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8BC34A;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    font-size: 60px;
    font-weight: bold;
    line-height: 1;
    font-family: sans-serif;
}

@media (max-width: 500px) {
    .nav-arrow {
        width: 35px;
        height: 60px;
        font-size: 45px;
    }
}

.nav-arrow:active {
    transform: scale(0.95);
}

/* 轮播视口 */
.carousel-viewport {
    flex: 1;
    overflow: hidden;
    touch-action: pan-y;
    max-width: 360px;
}

@media (max-width: 500px) {
    .carousel-viewport {
        max-width: 260px;
    }
}

@media (min-width: 501px) and (max-width: 750px) {
    .carousel-viewport {
        max-width: 340px;
    }
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 特色卡片 */
.feature-card {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    padding: 0;
}

.feature-card img {
    width: 100%;
    max-width: 340px;
    display: block;
    border-radius: 16px;
    border: 4px solid #8BC34A;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 500px) {
    .feature-card img {
        max-width: 240px;
    }
}

@media (min-width: 501px) and (max-width: 750px) {
    .feature-card img {
        max-width: 320px;
    }
}

/* 底部指示器 */
.carousel-indicators {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 30px;
    padding-bottom: 20px;
}

.indicator-dot {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.indicator-dot img {
    display: block;
    min-width: 18px;
    min-height: 18px;
}

.indicator-dot.active img {
    min-width: 30px;
    min-height: 30px;
}

.indicator-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.indicator-divider img {
    display: block;
    min-width: 12px;
    min-height: 12px;
}

/* 立即预约按钮 */
.title-badge button {
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

/* 底部装饰 */
.footer-decoration {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--primary) 20%,
        var(--secondary) 40%,
        var(--accent) 60%,
        var(--green) 80%,
        transparent 100%);
    opacity: 0.6;
    z-index: 100;
}

/* 页脚 */
.page-footer {
    width: 100%;
    position: relative;
    margin-top: -10px;
}

.footer-bg {
    width: 100%;
    display: block;
}

.footer-content {
    position: absolute;
    right: 4%;
    top: 75%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    width: 30%;
    justify-content: space-between;
}

.footer-link {
    color: #D4A55A;
    text-decoration: none;
    font-size: 12px;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.8;
}

@media (min-width: 501px) {
    .footer-link {
        font-size: 14px;
    }
}

@media (min-width: 751px) {
    .footer-link {
        font-size: 12px;
    }
}

/* 装饰元素 */
.floating-element {
    display: none;
}

/* 响应式调整 - 小屏幕适配 */
@media (max-width: 375px) {
    .title-badge {
        transform: translate(-50%, -45%);
    }
}

/* PC 端：居中显示，模拟手机竖版 */
@media (min-width: 751px) {
    html, body {
        background: #1a1a2e;
    }

    .page-container {
        max-width: 430px;
        margin: 40px auto;
        border-radius: 20px;
        overflow: visible;
        box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
        background: linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    }

    .footer-decoration {
        max-width: 430px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 0 0 20px 20px;
    }

    .carousel-viewport {
        max-width: 280px;
    }

    .feature-card img {
        max-width: 260px;
    }
}
