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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
    width: 100%;
    overflow-x: hidden;
    font-size: 0.95rem;
}

/* Main container to limit width */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
}

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

/* Hero Section */
.hero {
    background-color: #4f46e5;
    color: white;
    padding: 20px 20px 60px;
    position: relative;
    width: 100%;
}

.logo-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 0 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    height: 34px;
    margin-right: 10px;
}

.logo-text {
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    letter-spacing: 0.5px;
}

.logo-text span {
    margin-right: 2px;
}

.logo-text sup {
    font-size: 0.4rem;
    vertical-align: super;
    line-height: 0;
    position: relative;
    top: -1px;
}

.hero-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 50%;
}

.games-showcase {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    transform: scale(1);
    margin-top: 15px;
    transition: transform 0.5s ease;
}

.hero-content {
    flex: 1;
    text-align: left;
    margin-right: 20px;
}

.hero h1 {
    font-size: 2.3rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* 下载按钮的光影动画 */
@keyframes btn-shine {
    0% {
        background-position: 150% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

.download-btn {
    background-color: #4f46e5;
    background-image: 
        linear-gradient(90deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0.1) 100%),
        linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.7) 25%, transparent 30%);
    background-size: 100% 100%, 150% 100%;
    background-repeat: no-repeat;
    animation: btn-shine 2s infinite linear;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.download-btn:hover {
    background-color: #4338ca;
    transform: translateY(-2px);
    animation-duration: 1.5s;
}

.download-btn.main-download {
    margin-bottom: 15px;
    position: relative;
    background-color: #f59e0b;
    border-radius: 50px;
}

.download-btn.main-download:hover {
    background-color: #d97706;
    box-shadow: 0 6px 15px rgba(245, 158, 11, 0.5);
}

.download-btn.main-download i {
    margin-right: 5px;
    font-size: 1.1rem;
}

.download-btn.online-game-btn {
    background-color: #10b981;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.download-btn.online-game-btn:hover {
    background-color: #059669;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(16, 185, 129, 0.5);
}

.download-btn.online-game-btn i {
    margin-right: 5px;
    font-size: 1.1rem;
}

.download-app {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.main-free-tag {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    background-color: #ff0040;
    color: white;
    padding: 3px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    animation: blink-glow 1.5s infinite;
    z-index: 10;
}

@keyframes blink-glow {
    0% {
        box-shadow: 0 0 5px rgba(228, 0, 70, 0.5);
    }
    50% {
        box-shadow: 0 0 10px rgba(228, 0, 70, 0.8);
    }
    100% {
        box-shadow: 0 0 5px rgba(228, 0, 70, 0.5);
    }
}

.download-app p {
    font-size: 0.85rem;
    opacity: 0.9;
    position: relative;
    display: inline-block;
}

/* App Showcase */
.app-showcase {
    padding: 10px 20px 5px;
    background-color: white;
    width: 100%;
}

.app-showcase > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.download-container {
    margin-bottom: 30px;
}

.download-btn.android,
.download-btn.section-download,
.download-btn.footer-android,
.download-btn.footer-download {
    background-color: #4f46e5;
}

.download-btn.android {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    padding-right: 50px;
}

.download-progress {
    position: absolute;
    bottom: -20px;
    font-size: 0.75rem;
    color: #666;
}

.banner {
    margin: 15px auto 0;
    position: relative;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.banner-content {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.banner-text {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #000;
}

.banner-right-text {
    font-weight: 700;
    font-size: 1.3rem;
    color: #4f46e5;
    padding-left: 15px;
    white-space: nowrap;
}

.banner img {
    width: 15%;
    max-width: 100%;
    height: auto;
    display: block;
}

.app-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
    padding: 0 20px;
}

.social {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.social i {
    color: #1877f2;
    font-size: 1.5rem;
}

.rating {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-weight: 600;
}

.payment-methods {
    margin-top: 15px;
}

.payment-methods h3,
.payment-methods h4 {
    margin-bottom: 20px;
}

.payment-options {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.payment-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.payment-option img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* Features Section */
.features {
    padding: 15px 20px 40px;
    background-color: #fff;
    width: 100%;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title h2 {
    font-size: 1.75rem;
    color: #6366f1;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.feature-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 460px;
    margin: 0 auto;
}

.feature {
    background-color: white;
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.feature-content {
    padding-left: 0;
}

.feature ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.feature h3 {
    margin-bottom: 18px;
    color: #000000;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.security-inline-icon {
    width: 22px;
    height: 22px;
    vertical-align: middle;
    margin-right: 10px;
    display: inline-block;
    flex-shrink: 0;
}

.feature li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.4;
    text-align: left;
}

.feature li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
    font-size: 1rem;
}

/* Games Section */
.games {
    padding: 20px 10px 30px;
    background-color: white;
    width: 100%;
    border-top: 1px solid #e5e7eb;
    margin-top: 10px;
}

.games h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: #000000;
}

/* 游戏网格基本样式 */
.game-grid {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

/* 移除金字塔行样式，使其采用普通网格布局 */
.pyramid-row {
    display: contents;
}

/* 游戏卡片样式 */
.game-card {
    text-align: center;
    transition: transform 0.3s ease;
    padding: 5px;
}

.game-card:hover {
    transform: translateY(-3px);
}

.game-card img {
    width: 320px;
    height: 320px;
    object-fit: contain;
    margin-bottom: 8px;
    border-radius: 8px;
}

.game-card h3 {
    font-size: 0.85rem;
    font-weight: normal;
    margin: 0;
    padding: 0 5px;
}

/* Experience Section */
.experience {
    padding: 40px 20px;
    background-color: #f3f4f6;
    width: 100%;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.experience-content {
    text-align: center;
    padding: 0 20px;
}

.experience-content h2 {
    margin-bottom: 25px;
    color: #4f46e5;
    font-size: 1.5rem;
    text-align: center;
}

.experience-content ul {
    margin-bottom: 0;
    padding-left: 5px;
}

.experience-content li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    font-size: 1.05rem;
}

.experience-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.1rem;
}

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

.experience-image img {
    border-radius: 0;
    box-shadow: none;
    max-width: 100%;
    width: 450px;
    background: transparent;
}

/* Testimonial Section */
.testimonial {
    padding: 50px 20px;
    background-color: #f3f4f6;
    width: 100%;
}

.testimonial-header {
    text-align: center;
    margin-bottom: 40px;
}

.testimonial-header h2 {
    font-size: 1.8rem;
    color: #4f46e5;
    margin-bottom: 10px;
}

.ratings {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    background-color: #fff;
    border-radius: 12px;
    padding: 20px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.rating-overall {
    text-align: center;
    padding-right: 20px;
    border-right: 1px solid #e5e7eb;
    margin-right: 20px;
}

.rating-overall h3 {
    margin-bottom: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4b5563;
}

.rating-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 5px;
    line-height: 1;
}

.rating-stars {
    color: #67e8f9;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.rating-overall p {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
}

.rating-bars {
    flex: 1;
    max-width: 350px;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 7px;
}

.rating-bar span {
    width: 10px;
    margin-right: 15px;
    text-align: right;
    font-size: 0.8rem;
    color: #4b5563;
}

.progress {
    flex: 1;
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #65e495;
}

.progress-fill.five {
    background-color: #65e495;
    width: 75%;
}

.progress-fill.four {
    background-color: #67e8f9;
    width: 15%;
}

.progress-fill.three {
    background-color: #ffcd5a;
    width: 7%;
}

.progress-fill.two {
    background-color: #ff9f59;
    width: 2%;
}

.progress-fill.one {
    background-color: #ff5757;
    width: 1%;
}

.testimonial-slider {
    max-width: 900px;
    margin: 0 auto 30px;
    overflow: hidden;
}

.testimonial-slide {
    padding: 0 10px;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

.user-details h4 {
    margin-bottom: 5px;
}

.user-rating {
    color: #f59e0b;
    margin-top: 5px;
}

.testimonial-text {
    color: #666;
    font-style: italic;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.prev-btn, .next-btn {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background-color: #4f46e5;
    color: white;
}

/* Download Section */
.download {
    padding: 50px 20px;
    background-color: white;
    width: 100%;
}

.download h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.8rem;
    color: #4f46e5;
}

.download-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.slogan h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: #4f46e5;
}

.game-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.game-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
}

.game-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.download-action {
    text-align: center;
}

.download-action p {
    margin-bottom: 15px;
}

/* Game Details */
.game-details {
    padding: 50px 20px;
    background-color: #f3f4f6;
    width: 100%;
}

.game-details h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.8rem;
    color: #4f46e5;
}

/* Game Cards */
.game-cards {
    padding: 50px 20px;
    background-color: white;
    width: 100%;
    margin-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.game-card-large {
    display: flex;
    max-width: 900px;
    margin: 0 auto 30px;
    background-color: #f3f4f6;
    border-radius: 10px;
    overflow: hidden;
}

.game-card-large img {
    width: 150px;
    height: auto;
    object-fit: cover;
}

.game-card-content {
    padding: 20px;
}

.game-card-content h3 {
    margin-bottom: 10px;
    color: #4f46e5;
}

.game-card-content p {
    margin-bottom: 20px;
    color: #666;
}

.read-more-btn {
    background-color: transparent;
    color: #4f46e5;
    padding: 8px 20px;
    border: 2px solid #4f46e5;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background-color: #4f46e5;
    color: white;
}

/* Footer */
footer {
    background-color: #1f2937;
    color: white;
    padding: 50px 20px;
    width: 100%;
}

.footer-logo {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo .logo {
    height: 50px;
}

.footer-logo .logo-text {
    color: white;
    font-size: 1.1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 30px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #f9fafb;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #d1d5db;
    transition: color 0.3s ease;
}

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

footer .payment-methods {
    max-width: 1200px;
    margin: 0 auto 40px;
}

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.payment-icons img {
    height: 30px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.payment-icons img:hover {
    opacity: 1;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 15px;
}

.badge img {
    width: 40px;
    height: 40px;
}

.badge h4 {
    color: #f9fafb;
    margin-bottom: 5px;
}

.badge p {
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-description {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
    color: #d1d5db;
    line-height: 1.8;
}

.footer-download, .footer-download-alt {
    text-align: center;
    margin-bottom: 30px;
}

.footer-contact {
    text-align: center;
}

.contact-btn {
    background-color: #f59e0b;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: #d97706;
}

.footer-contact ul {
    display: flex;
    justify-content: center;
    gap: 30px;
}

/* Mobile Preview Button */
.mobile-preview-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #4f46e5;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.mobile-preview-btn:hover {
    transform: scale(1.1);
    background-color: #6d28d9;
}

.mobile-preview-btn a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
}

/* Hero Section的媒体查询 */
@media screen and (max-width: 992px) {
    /* 修改布局方向为垂直排列 */
    .hero-content-wrapper {
        flex-direction: column-reverse;
    }
    
    /* 调整图片宽度和边距 */
    .hero-image {
        margin-bottom: 30px;
        max-width: 100%;
        justify-content: center;
    }
    
    .games-showcase {
        max-width: 440px;
        margin: 10px auto 30px;
        transform: scale(1.2);
    }

    /* 居中标题和文字 */
    .hero-content {
        text-align: center;
        margin-right: 0;
        width: 100%;
    }
    
    /* 居中下载按钮 */
    .download-app {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-left: auto;
        margin-right: auto;
    }
}

/* 在移动设备上隐藏手机预览按钮 */
@media screen and (max-width: 768px) {
    .mobile-preview-btn {
        display: none;
    }
}

@media screen and (max-width: 576px) {
    .hero {
        padding: 30px 20px 40px;
    }
    
    .hero h1 {
        font-size: 1.7rem;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .logo {
        height: 30px;
        margin-right: 8px;
    }
    
    .logo-text {
        font-size: 0.75rem;
    }
    
    .logo-text sup {
        font-size: 0.35rem;
        top: -1px;
    }
    
    .download-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .download-btn.main-download i {
        margin-right: 4px;
        font-size: 0.95rem;
    }
    
    .download-btn.main-download:not(.online-game-btn)::after {
        font-size: 0.55rem;
        padding: 2px 6px;
        top: -10px;
        right: -30px;
        letter-spacing: -0.3px;
        min-width: 75px;
    }
    
    .games-showcase {
        max-width: 350px !important;
        transform: scale(1.15);
        margin-top: 90px;
    }
    
    .app-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .feature {
        padding: 20px;
    }
    
    .feature h3 {
        font-size: 1.05rem;
    }
    
    /* 游戏网格改为普通网格布局 */
    .game-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        max-width: 320px;
        padding: 0;
        margin: 0 auto;
    }
    
    /* 统一游戏卡片样式 */
    .game-card {
        width: auto;
        margin: 0;
        padding: 5px;
    }
    
    .game-card img {
        width: 240px;
        height: 240px;
    }
    
    .game-card h3 {
        font-size: 0.8rem;
        margin-top: 5px;
    }
    
    /* 移除金字塔相关样式 */
    .pyramid-row {
        display: contents;
    }
    
    .earn-grid {
        grid-template-columns: 1fr;
    }
    
    .earn-card {
        padding: 20px;
    }
    
    .trust-badges {
        gap: 30px;
    }
    
    .badge {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .badge img {
        margin: 0 auto;
    }
    
    .footer-contact ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .user-info {
        flex-direction: column;
        text-align: center;
    }
    
    .user-avatar {
        margin: 0 auto 10px;
    }
    
    .floating-download-container {
        flex-direction: row;
        top: -5px;
        padding: 0 10px;
        gap: 5px;
    }
    
    .floating-download-btn .download-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
        min-width: 130px;
        text-align: center;
        margin: 8px 3px;
    }
    
    .floating-download-btn .download-btn:not(.online-game-btn) {
        margin-top: 15px;
    }
    
    .floating-download-btn .download-btn:not(.online-game-btn)::before {
        font-size: 0.6rem;
        padding: 2px 6px;
        top: -8px;
        right: 5px;
        white-space: nowrap;
    }

    .floating-download-btn .online-game-btn i,
    .floating-download-btn .download-btn i {
        margin-right: 4px;
        font-size: 1rem;
    }
    
    .floating-download-container p {
        order: 3;
        width: 100%;
        margin: 6px 0 5px 0;
        text-align: center;
        font-size: 0.8rem;
    }
    
    .footer-logo .logo {
        height: 42px;
    }
    
    .footer-logo .logo-text {
        font-size: 0.9rem;
    }
    
    .banner-text {
        font-size: 1rem;
        white-space: nowrap;
    }
    
    /* 添加手机端banner相关样式 */
    .banner {
        max-width: 85%;
    }
    
    .banner-content {
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    
    .banner img {
        width: 8%;
    }
    
    .banner-right-text {
        font-size: 1.1rem;
        padding-left: 10px;
    }
    
    .experience-image img {
        width: 350px;
        margin: 0 auto;
        display: block;
    }
    
    .experience-content h2 {
        font-size: 1.3rem;
    }
    
    .experience-content ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 20px;
        padding-left: 0;
    }
    
    .experience-content li {
        position: relative;
        padding-left: 25px;
        font-size: 0.95rem;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    .experience-content li::before {
        position: absolute;
        left: 0;
        top: 0;
        font-size: 1rem;
    }
    
    .earn {
        padding: 20px;
    }
    
    .earn h2 {
        font-size: 1.3rem;
    }

    .download-btn.main-download:not(.online-game-btn) {
        padding-top: 12px;
    }
    
    .download-btn.main-download:not(.online-game-btn)::before {
        font-size: 0.6rem;
        padding: 2px 6px;
        top: -5px;
        right: 5px;
    }

    .floating-download-btn .download-btn:not(.online-game-btn) {
        margin-top: 8px;
    }
    
    .floating-download-btn .download-btn:not(.online-game-btn)::before {
        font-size: 0.6rem;
        padding: 2px 6px;
        top: -8px;
        right: 5px;
        white-space: nowrap;
    }

    .download-btn-wrapper {
        margin-bottom: 10px;
    }
    
    .download-btn-wrapper .free-tag {
        font-size: 10px;
        padding: 2px 6px;
        top: -8px;
    }
    
    .download-btn.main-download {
        margin-bottom: 10px;
    }

    .main-free-tag {
        font-size: 11px;
        padding: 2px 10px;
        margin-bottom: 12px;
    }
}

/* Small phones */
@media screen and (max-width: 400px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .download-btn.main-download i {
        margin-right: 3px;
        font-size: 0.9rem;
    }
    
    .device-selector {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .game-grid {
        max-width: 280px;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .game-card img {
        width: 260px;
        height: 260px;
    }
    
    .games-showcase {
        max-width: 310px !important;
        transform: scale(1.1);
        margin-top: 80px;
    }
    
    .feature-container {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .payment-icons {
        gap: 10px;
    }
    
    .payment-icons img {
        height: 25px;
    }
    
    .testimonial-header h2 {
        font-size: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
    
    .download-btn.android {
        padding-right: 25px;
    }
    
    .download-progress {
        font-size: 0.7rem;
    }

    .main-free-tag {
        font-size: 10px;
        padding: 2px 8px;
        margin-bottom: 10px;
    }
}

/* Feature container and other containers */
.feature-container,
.game-grid,
.experience-grid,
.earn-grid,
.testimonial-header,
.ratings,
.testimonial-slider,
.download-content,
.game-card-large,
.footer-links,
.footer-description,
.trust-badges,
footer .payment-methods {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile preview button positioning */
.mobile-preview-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

/* 悬浮下载按钮 - 仅在移动设备上显示 */
.floating-download-btn {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background-color: #0d1636;
    padding: 6px 15px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.4);
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(100%);
    height: auto;
}

.floating-download-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    height: auto;
}

/* 为了在一行上放置两个按钮并保持相同宽度 */
.floating-download-wrapper,
.floating-download-btn .online-game-btn {
    flex: 1;
    max-width: 48%;
    height: 44px; /* 设置固定高度确保两个按钮一致 */
}

.floating-download-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -7px; /* 进一步向上移动Download App按钮 */
}

.free-tag {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff0040;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    z-index: 10;
    animation: blink-glow 1.5s infinite;
}

.floating-download-btn .download-btn {
    width: 100%;
    height: 100%; /* 使按钮充满整个容器高度 */
    padding: 0 10px; /* 调整内边距使用高度控制而不是padding */
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

/* 添加按钮正确的背景色 */
.floating-download-btn .online-game-btn {
    background: linear-gradient(135deg, #10b981, #059669);
}

.floating-download-btn .download-btn:not(.online-game-btn) {
    background: linear-gradient(135deg, #ff9f43, #ff7730);
}

.floating-download-container p {
    color: #ffcf4a;
    font-size: 0.85rem;
    margin: 8px 0 0 0;
    text-align: center;
    flex: 0 0 100%;
    order: 3;
}

/* 移动设备优化 */
@media screen and (max-width: 576px) {
    .floating-download-container {
        gap: 10px;
    }
    
    .floating-download-btn .download-btn,
    .floating-download-btn .online-game-btn {
        padding: 0 8px;
        font-size: 0.85rem;
    }
    
    .floating-download-btn .download-btn i,
    .floating-download-btn .online-game-btn i {
        margin-right: 5px;
        font-size: 0.9rem;
    }
    
    .floating-download-wrapper,
    .floating-download-btn .online-game-btn {
        height: 36px; /* 降低高度 */
    }
    
    .floating-download-wrapper {
        margin-top: -7px;
    }
    
    .free-tag {
        top: -16px;
    }
    
    .floating-download-container p {
        margin: 5px 0 0 0;
        font-size: 0.8rem;
    }
}

/* 超小屏幕设备优化 */
@media screen and (max-width: 360px) {
    .floating-download-btn .download-btn,
    .floating-download-btn .online-game-btn {
        padding: 0 5px;
        font-size: 0.8rem;
    }
    
    .floating-download-btn .download-btn i,
    .floating-download-btn .online-game-btn i {
        margin-right: 3px;
        font-size: 0.8rem;
    }
    
    .floating-download-wrapper,
    .floating-download-btn .online-game-btn {
        max-width: 48%;
        height: 32px; /* 更小的高度 */
    }
    
    .floating-download-wrapper {
        margin-top: -7px;
    }
    
    .free-tag {
        font-size: 9px;
        padding: 1px 6px;
        top: -14px; /* 在小屏幕上适当调整标签位置 */
    }
}

/* 确保在桌面设备上隐藏悬浮下载按钮 */
@media screen and (min-width: 993px) {
    .floating-download-btn {
        display: none;
    }
}

/* 确保在移动端横屏模式下也有正确的样式 */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .floating-download-container {
        padding-top: 3px;
        padding-bottom: 3px;
    }
    
    .free-tag {
        font-size: 9px;
        padding: 1px 4px;
        top: -13px; /* 横屏模式下调整标签位置 */
    }
    
    .floating-download-btn .download-btn,
    .floating-download-btn .online-game-btn {
        padding: 0 8px;
    }
    
    .floating-download-wrapper,
    .floating-download-btn .online-game-btn {
        height: 32px; /* 横屏模式下更扁平 */
    }
    
    .floating-download-wrapper {
        margin-top: -7px; /* 横屏模式上移调整 */
    }
}

/* 3D轮播样式优化 */
.carousel-3d-container {
    position: relative;
    perspective: 1000px;
    width: 100%;
    height: 360px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-3d {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: translateZ(-200px);
    transition: transform 0.5s ease;
}

.carousel-item {
    position: absolute;
    width: 580px;  /* 增加横屏宽度从480px到580px */
    height: 280px; /* 保持高度不变 */
    left: 50%;
    top: 50%;
    margin-left: -290px; /* 调整居中位置 */
    margin-top: -140px;
    transition: all 0.5s ease;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    transform-origin: 50% 50% -200px;
    cursor: pointer;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.carousel-item.active {
    z-index: 10;
}

.carousel-item::after {
    content: attr(alt);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    text-transform: capitalize;
}

.carousel-controls {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

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

.dot.active {
    background-color: #fff;
}

/* 移动设备样式优化 */
@media screen and (max-width: 768px) {
    .carousel-3d-container {
        height: 300px;
    }
    
    .carousel-item {
        width: 480px; /* 调整为原来的宽度 */
        height: 240px;
        margin-left: -240px;
        margin-top: -120px;
    }
}

@media screen and (max-width: 576px) {
    .carousel-3d-container {
        height: 260px;
    }
    
    .carousel-item {
        width: 360px; /* 按比例增加宽度 */
        height: 180px;
        margin-left: -180px;
        margin-top: -90px;
    }
    
    .carousel-item::after {
        padding: 8px;
        font-size: 12px;
    }
    
    .experience-content ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 20px;
        padding-left: 0;
        text-align: left;
    }
    
    .experience-content li {
        text-transform: capitalize;
        position: relative;
        padding-left: 25px;
        font-size: 0.95rem;
        margin-bottom: 10px;
        line-height: 1.3;
    }
}

@media screen and (max-width: 400px) {
    .carousel-3d-container {
        height: 220px;
    }
    
    .carousel-item {
        width: 320px; /* 从280px增加到320px，按比例调整 */
        height: 160px;
        margin-left: -160px; /* 调整居中位置 */
        margin-top: -80px;
    }
}

/* App Description Section */
.app-description {
    padding: 40px 20px;
    background-color: white;
    width: 100%;
    text-align: center;
    border-top: 1px solid #e5e7eb;
}

.description-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.description-content h3 {
    color: #4f46e5;
    font-size: 1.6rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.description-content h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #10b981;
}

.description-content p {
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 15px 0 0;
}

@media screen and (max-width: 576px) {
    .app-description {
        padding: 30px 15px;
    }
    
    .description-content {
        padding: 20px 15px;
    }
    
    .description-content h3 {
        font-size: 1.3rem;
    }
    
    .description-content p {
        font-size: 0.95rem;
    }
}

.app-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.app-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    min-width: 120px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.app-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.app-feature-item i {
    font-size: 24px;
    color: #10b981;
    margin-bottom: 8px;
}

.app-feature-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4b5563;
}

.description-content h3 i {
    font-size: 1.1rem;
    color: #f59e0b;
    margin: 0 8px;
}

@media screen and (max-width: 576px) {
    .app-features {
        gap: 15px;
    }
    
    .app-feature-item {
        padding: 12px;
        min-width: 100px;
    }
    
    .app-feature-item i {
        font-size: 20px;
    }
    
    .app-feature-item span {
        font-size: 0.8rem;
    }
    
    .description-content h3 i {
        font-size: 0.9rem;
        margin: 0 5px;
    }
}

.download-btn-wrapper {
    position: relative;
    display: inline-block;
    margin-top: 15px;
    margin-bottom: 10px;
}

.download-btn-wrapper .free-tag,
.main-free-tag {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff0040;
    color: white;
    padding: 3px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    animation: blink-glow 1.5s infinite;
    z-index: 5;
}

/* 确保free-tag在download-btn-wrapper内部 */
.download-btn-wrapper .free-tag {
    position: absolute;
    top: -15px;
    z-index: 10;
}

/* 强调FREE标签的特殊效果 */
.download-btn-wrapper .free-tag,
.free-tag,
.main-free-tag {
    font-weight: bold;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 媒体查询中同样确保清晰可见 */
@media screen and (max-width: 576px) {
    .download-btn-wrapper {
        position: relative;
        margin-top: 20px;
    }
    
    .download-btn-wrapper .free-tag {
        top: -15px;
        font-size: 10px;
        padding: 2px 8px;
    }
}

.games-showcase {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    transform: scale(1);
    margin-top: 15px;
    transition: transform 0.5s ease;
}

@media screen and (max-width: 400px) {
    .games-showcase {
        max-width: 310px !important;
        transform: scale(1.1);
        margin-top: 80px;
    }
} 