/* 重置样式和基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    min-height: 100vh;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 22px;
    color: #e91e63;
}

.nav-logo img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #e91e63;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e91e63;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 主要内容区域 */
main {
    margin-top: 70px;
}

/* 首页横幅 */
.hero-section {
    background: linear-gradient(135deg, #ff6b9d 0%, #c86dd7 50%, #3023ae 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #fff, #f0f8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { text-shadow: 0 0 20px rgba(255, 255, 255, 0.5); }
    to { text-shadow: 0 0 30px rgba(255, 255, 255, 0.8); }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.8;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary,
.btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(45deg, #e91e63, #f06292);
    color: white;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* 通用区域样式 */
.features-section,
.gameplay-section,
.download-section {
    padding: 100px 0;
    background: white;
}

.features-section {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, #e91e63, #f06292);
    border-radius: 2px;
}

/* 游戏特色区域 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #e91e63, #f06292);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(45deg, #e91e63, #f06292);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(233, 30, 99, 0.3);
}

.feature-icon-symbol {
    font-size: 2.5rem;
    line-height: 1;
    font-style: normal;
    color: white;
    display: block;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* 游戏玩法区域 */
.gameplay-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.gameplay-video {
    text-align: center;
}

.gameplay-video video {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.gameplay-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #e91e63, #f06292);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* 游戏截图幻灯片区域 */
.gallery-section {
    background: linear-gradient(135deg, #fff0f3 0%, #fce7f3 100%);
    padding: 100px 0;
}

.gallery-description {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 50px;
    color: #666;
}

/* 幻灯片容器 */
.slider-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto 80px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: white;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s ease-in-out;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-image {
    width: 50%;
    height: 100%;
    object-fit: contain;
    background: #f8f9fa;
    padding: 20px;
}

.slide.active img {
    border-radius: 20px;
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

.slide-content {
    width: 50%;
    padding: 40px;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
    background: linear-gradient(45deg, #e91e63, #f06292);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* 导航按钮 */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #e91e63;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* 指示器 */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
    background: white;
    transform: scale(1.2);
}

/* 视频展示区域 */
.video-showcase {
    text-align: center;
    margin-top: 60px;
}

.video-showcase h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #333;
}

.video-container {
    max-width: 600px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.demo-video {
    width: 100%;
    height: auto;
    display: block;
}

/* 用户评价区域 */
.reviews-section {
    background: white;
    padding: 100px 0;
}

.reviews-description {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 50px;
    color: #666;
}

.reviews-scroll-container {
    height: 600px;
    max-height: 600px;
    overflow-y: hidden;
    overflow-x: hidden;
    border-radius: 15px;
    background: linear-gradient(135deg, #fff0f3 0%, #fce7f3 100%);
    padding: 20px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

/* 隐藏所有滚动条 */
.reviews-scroll-container::-webkit-scrollbar {
    display: none;
}

.reviews-scroll-container {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* 自动滚动控制按钮 */
.scroll-controls {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.scroll-control-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #e91e63;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.scroll-control-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.scroll-control-btn.active {
    background: linear-gradient(45deg, #e91e63, #f06292);
    color: white;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    min-height: 100%;
    padding-bottom: 20px;
}

.review-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #e91e63;
    transition: all 0.3s ease;
    position: relative;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #e91e63, #f06292);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 15px;
}

.reviewer-info h4 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.reviewer-date {
    color: #888;
    font-size: 0.9rem;
}

.review-rating {
    display: flex;
    gap: 3px;
    margin-bottom: 15px;
}

.star {
    color: #ffc107;
    font-size: 1.1rem;
}

.review-content {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

.review-game-tag {
    display: inline-block;
    background: linear-gradient(45deg, #e91e63, #f06292);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 10px;
}



/* 移动端浮动下载按钮 */
.mobile-download-buttons {
    display: none;
}

.mobile-download-top,
.mobile-download-bottom {
    position: fixed;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 12px 15px;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-download-top {
    top: 0;
    border-bottom: 1px solid rgba(233, 30, 99, 0.1);
}

.mobile-download-bottom {
    bottom: 0;
    border-top: 1px solid rgba(233, 30, 99, 0.1);
    transform: translateY(100%);
}

.mobile-download-top.show {
    transform: translateY(0);
}

.mobile-download-bottom.show {
    transform: translateY(0);
}

.mobile-download-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
}

.app-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.app-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.app-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.app-details p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.mobile-download-btn {
    background: linear-gradient(45deg, #ff6b9d, #f06292, #e91e63);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.3);
}

.mobile-download-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
    background: linear-gradient(45deg, #f06292, #e91e63, #c2185b);
}

.mobile-download-btn:active {
    transform: translateY(0);
}

/* 下载体验区域 */
.download-section {
    background: linear-gradient(135deg, #ff6b9d 0%, #c86dd7 50%, #3023ae 100%);
    color: white;
}

.download-section .section-title {
    color: white;
}

.download-description {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 50px;
    opacity: 0.9;
}

.qr-code-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.qr-code {
    text-align: center;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background: white;
    border-radius: 15px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    color: #e91e63;
    font-weight: 600;
}

.download-info h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.platform-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.platform {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.platform-icon {
    font-size: 1.5rem;
}

.platform-icon img {
    width: 40px;
    height: 40px;
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.3rem;
}

.footer-logo img {
    width: 35px;
    height: 35px;
    border-radius: 10px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* 显示移动端浮动下载按钮 */
    .mobile-download-buttons {
        display: block;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .gameplay-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .qr-code-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .slider-container {
        margin: 0 10px 60px;
    }
    
    .slider-wrapper {
        height: auto;
    }
    
    .slide {
        flex-direction: column;
        position: relative;
        opacity: 1;
        transform: none;
        display: none;
    }
    
    .slide.active {
        display: flex;
    }
    
    .slide-image {
        width: 100%;
        height: 300px;
        object-fit: contain;
        background: #f8f9fa;
        padding: 15px;
    }
    
    .slide-image img {
        border-radius: 15px;
    }
    
    .slide-content {
        width: 100%;
        padding: 20px;
    }
    
    .slide-content h3 {
        font-size: 1.4rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
    
    .video-container {
        max-width: 100%;
    }
    
    .reviews-scroll-container {
        height: 500px;
        max-height: 500px;
        padding: 15px;
    }
    
    .scroll-controls {
        top: 10px;
        right: 10px;
    }
    
    .scroll-control-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
}

/* 滚动动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.step,
.platform,
.slider-container,
.review-card {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.4s;
}

.step:nth-child(2) {
    animation-delay: 0.2s;
}

.step:nth-child(3) {
    animation-delay: 0.4s;
}

.step:nth-child(4) {
    animation-delay: 0.6s;
} 


.d-tip {
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: #000;
	background-color: rgba(0,0,0,.9);
	top: 0;
	left: 0;
	z-index: 1000;
}

.d-tip .i {
	display: inline-block;
	background: url(tipbg2.png) no-repeat;
	background-size: 100px 200px
}

.d-tip .i-arrow {
	width: 85px;
	height: 88px;
	position: fixed;
	top: 22px;
	right: 30px
}

.d-tip .i-iphone {
	width: 60px;
	height: 60px;
	background-position: 0 -90px;
	margin: 0 16px
}

.d-tip .i-android {
	width: 22px;
	height: 22px;
	margin: 0 16px 3px 0
}

.d-tip .t {
	position: absolute;
	top: 122px;
	right: 59px;
	font-size: 1.7rem;
	color: #fff
}

.d-tip .btn {
	display: inline-block;
	line-height: 47px;
	padding: 0 39px 0 16px;
	font-size: 1.7rem;
	color: #fff;
	background-color: #22292c;
	margin: 0 0 0 10px;
	text-shadow: 0 0 5px #222
}