/* Global Styles */
:root {
    --primary-color: #d4a373;
    --secondary-color: #b3724f;
    --accent-color: #ffe78b;
    --button-color: #2c3e50;
    --text-color: #2c3e50;
    --light-bg: #f9f9f9;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

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

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.logo-icon {
    width: 50px;
    height: 50px;
    border-radius: 10%;
    vertical-align: middle;
    margin-right: 10px;
    display: inline-block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.download-btn {
    background: #2c3e50;
    color: #ffd35a !important;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease !important;
    border: 2px solid #2c3e50;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.download-btn:hover {
    transform: scale(1.05);
    background: #1a252f;
    border-color: #1a252f;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(120deg, #ffe78b 0%, #fff6d1 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    left: 10vw;
    top: 12vh;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255,211,90,0.25) 60%, transparent 100%);
    border-radius: 50%;
    z-index: 0;
    box-shadow: 300px 200px 0 0 rgba(255,199,82,0.18), 600px 80px 0 0 rgba(255,211,90,0.12), 900px 300px 0 0 rgba(255,199,82,0.10);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.2)"/></svg>') repeat;
    opacity: 0.2;
}

@keyframes backgroundMove {
    0% {
        background-position: 0% 0%, 0% 0%;
    }
    100% {
        background-position: 100% 100%, 100% 100%;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #1a1a1a;
    max-width: 800px;
    padding: 0 20px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #1a1a1a;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #2c3e50;
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    background: #2c3e50;
    color: #ffd35a;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #2c3e50;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: scale(1.05);
    background: #1a252f;
    border-color: #1a252f;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Hero Banner 居中优化 */
.hero-banner {
    display: block;
    margin: 0 auto 24px auto;
    max-width: 420px;
    width: 90%;
    height: auto;
    box-shadow: 0 6px 32px rgba(44,62,80,0.10);
    border-radius: 18px;
    background: #fff;
}
.hero-subtitle {
    text-align: center;
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 0;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--light-bg);
}

.about h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.features-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fffbe8;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(212,163,115,0.08);
    padding: 18px 20px;
    font-size: 17px;
}

.emoji {
    font-size: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-title {
    font-weight: bold;
    color: var(--secondary-color);
    margin-right: 6px;
}

.feature-desc {
    color: var(--text-color);
    font-size: 15px;
    display: block;
    margin-top: 2px;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Screenshots Section */
.screenshots {
    padding: 100px 0;
}

.screenshots h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-color);
}

.screenshot-slider {
    padding: 20px;
}

.swiper-slide img {
    width: 300px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Screenshots Section 横向排列与动态效果 */
.screenshots-row {
    display: flex;
    gap: 32px;
    justify-content: center;
    align-items: flex-start;
    margin-top: 32px;
    flex-wrap: wrap;
}
.screenshot-img {
    width: 260px;
    height: 420px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(44,62,80,0.13);
    background: #f9f9f9;
    transition: transform 0.5s cubic-bezier(.22,1.61,.36,1), box-shadow 0.3s;
    cursor: pointer;
    display: block;
}
.screenshot-img:hover {
    transform: scale(1.12);
    box-shadow: 0 16px 48px rgba(44,62,80,0.18);
    z-index: 2;
}
@media (max-width: 900px) {
    .screenshot-img {
        width: 180px;
        height: 260px;
    }
}
@media (max-width: 600px) {
    .screenshots-row {
        flex-direction: column;
        gap: 18px;
        align-items: center;
    }
    .screenshot-img {
        width: 95vw;
        max-width: 320px;
        height: 160px;
    }
}

/* Download Section */
.download {
    padding: 100px 0;
    background: var(--light-bg);
    text-align: center;
}

.download h2 {
    margin-bottom: 50px;
    color: var(--secondary-color);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #2c3e50;
    color: #ffd35a;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #2c3e50;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.store-button:hover {
    transform: scale(1.05);
    background: #1a252f;
    border-color: #1a252f;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.store-button i {
    font-size: 24px;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: white;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    display: inline-block;
}

.footer-contact p {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: white;
    font-size: 20px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* About Features List 优化 */
.features-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fffbe8;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(212,163,115,0.08);
    padding: 18px 20px;
    font-size: 17px;
}

.emoji {
    font-size: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-title {
    font-weight: bold;
    color: var(--secondary-color);
    margin-right: 6px;
}

.feature-desc {
    color: var(--text-color);
    font-size: 15px;
    display: block;
    margin-top: 2px;
}

/* About区域轮播优化，图片完整展示 */
.about-image .screenshot-slider {
    width: 340px;
    max-width: 100%;
    height: 600px;
    box-shadow: 0 8px 32px rgba(44,62,80,0.10);
    border-radius: 18px;
    background: #fff;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-image .swiper-slide img {
    width: 100%;
    height: 520px;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(44,62,80,0.08);
    margin: 0 auto;
    background: #f9f9f9;
}

@media (max-width: 1024px) {
    .about-image .screenshot-slider {
        width: 100%;
        height: 340px;
    }
    .about-image .swiper-slide img {
        height: 260px;
    }
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        flex-direction: column;
        display: flex;
        gap: 30px;
    }
    .about-image .screenshot-slider {
        width: 100%;
        height: 180px;
    }
    .about-image .swiper-slide img {
        height: 120px;
    }
    .features-list li {
        font-size: 15px;
        padding: 12px 10px;
    }
    .emoji {
        font-size: 22px;
    }
    .hero-banner {
        max-width: 95vw;
        margin-bottom: 16px;
    }
}

/* About区域并列截图样式 */
.about-screenshots {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
}
.about-screenshots img {
    width: 200px;
    max-width: 45vw;
    height: 340px;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(44,62,80,0.08);
    background: #f9f9f9;
}
@media (max-width: 1024px) {
    .about-screenshots img {
        width: 140px;
        height: 180px;
    }
}
@media (max-width: 768px) {
    .about-screenshots {
        flex-direction: column;
        gap: 14px;
        align-items: center;
    }
    .about-screenshots img {
        width: 90vw;
        max-width: 320px;
        height: 120px;
    }
}

/* About Features 美化交错布局 */
.about-features-list {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-top: 48px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 40px;
    background: #fffbe8;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(212,163,115,0.13);
    padding: 36px 48px;
    position: relative;
    overflow: hidden;
    min-height: 160px;
    transition: box-shadow 0.3s;
}
.feature-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: 0;
    height: 1px;
    background: linear-gradient(to right, #ffe78b, #fffbe8, #ffe78b);
    opacity: 0.5;
}
.feature-item:nth-child(even) {
    flex-direction: row-reverse;
    background: #fff6e0;
}
.feature-text {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    justify-content: center;
}
.feature-img {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-img img {
    width: 220px;
    height: 340px;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(44,62,80,0.13);
    background: #f9f9f9;
    border: 3px solid #ffe78b;
    transition: transform 0.3s, box-shadow 0.3s;
}
.feature-img img:hover {
    transform: scale(1.06);
    box-shadow: 0 16px 48px rgba(44,62,80,0.18);
}
.emoji {
    font-size: 32px;
    margin-bottom: 4px;
}
.feature-title {
    font-weight: bold;
    color: var(--secondary-color);
    font-size: 20px;
    margin-bottom: 2px;
}
.feature-desc {
    color: var(--text-color);
    font-size: 16px;
    margin-top: 2px;
    line-height: 1.7;
}
.second-row .feature-item{
    height: 300px;
}
@media (max-width: 1024px) {
    .feature-item {
        flex-direction: column !important;
        align-items: center;
        gap: 18px;
        padding: 18px 10px;
        min-height: unset;
    }
    .feature-img img {
        width: 100%;
        max-width: 320px;
        height: 180px;
    }
}
@media (max-width: 768px) {
    .about-features-list {
        gap: 18px;
        margin-top: 24px;
    }
    .feature-item {
        flex-direction: column !important;
        align-items: center;
        gap: 10px;
        padding: 12px 2px;
    }
    .feature-img {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .feature-img img {
        width: 95vw;
        max-width: 320px;
        height: 200px;
        object-fit: contain;
        border-radius: 12px;
        display: block;
        margin: 0 auto;
        background: #fff6d1;
    }
    .feature-text {
        align-items: center;
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }
    .emoji {
        font-size: 22px;
    }
    .feature-title {
        font-size: 16px;
    }
    .feature-desc {
        font-size: 14px;
    }
}

/* About Features 两行横向排列美化 */
.about-features-rows {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 48px;
}
.about-features-row {
    display: flex;
    flex-direction: row;
    gap: 32px;
    justify-content: center;
}
.about-features-row:first-child .feature-item {
    flex: 1 1 0;
    min-width: 320px;
    max-width: 500px;
}
.about-features-row:last-child .feature-item {
    flex: 1 1 0;
    min-width: 260px;
    max-width: 500px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #fffbe8;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(212,163,115,0.13);
    padding: 24px 20px;
    position: relative;
    overflow: hidden;
    min-height: 160px;
    transition: box-shadow 0.3s;
}
.feature-text {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    justify-content: center;
}
.feature-img {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-img img {
    height: 180px;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(44,62,80,0.08);
    background: #f9f9f9;
    border: 2px solid #ffe78b;
    transition: transform 0.3s, box-shadow 0.3s;
}
.feature-img img:hover {
    transform: scale(1.06);
    box-shadow: 0 16px 48px rgba(44,62,80,0.18);
}
.emoji {
    font-size: 26px;
    margin-bottom: 2px;
}
.feature-title {
    font-weight: bold;
    color: var(--secondary-color);
    font-size: 16px;
    margin-bottom: 2px;
}
.feature-desc {
    color: var(--text-color);
    font-size: 14px;
    margin-top: 2px;
    line-height: 1.6;
}
@media (max-width: 1024px) {
    .about-features-row {
        flex-direction: column;
        gap: 18px;
        align-items: center;
    }
    .about-features-row .feature-item {
        max-width: 95vw;
        min-width: unset;
    }
    .feature-img img {
        width: 90vw;
        max-width: 320px;
        height: 120px;
    }
}
@media (max-width: 768px) {
    .about-features-rows {
        gap: 18px;
        margin-top: 24px;
    }
    .feature-item {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 12px 2px;
    }
    .feature-text {
        align-items: center;
        text-align: center;
    }
    .feature-img img {
        width: 100%;
        max-width: 320px;
        height: 120px;
        object-fit: cover;
        border-radius: 12px;
    }
    .emoji {
        font-size: 20px;
    }
    .feature-title {
        font-size: 15px;
    }
    .feature-desc {
        font-size: 13px;
    }
}

/* Game Features 区域：更浅背景、图片左文案右、高度与图片一致 */
.about-features-row .feature-item {
    background: #fff6d1 !important;
}
.feature-item {
    background: #fff6d1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(212,163,115,0.10);
    padding: 0 32px;
    min-height: 300px;
    height: 340px;
    margin: 0;
}
.feature-img {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.feature-img img {
    height: 340px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(44,62,80,0.13);
    background: #fff6d1;
    border: 2px solid #e6b17a;
    margin: 0;
    display: block;
}
.feature-text {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    justify-content: center;
    font-size: 1.15rem;
    padding-left: 10px;
}
.feature-title {
    font-size: 1.25rem;
}
.feature-desc {
    font-size: 1.08rem;
}
@media (max-width: 1024px) {
    .feature-item {
        height: 180px;
        gap: 18px;
        padding: 0 8px;
    }
    .feature-img img {
        width: 120px;
        height: 180px;
    }
}
@media (max-width: 768px) {
    .about-features-row {
        flex-direction: column;
        gap: 18px;
        align-items: center;
    }
    .feature-item {
        flex-direction: column;
        align-items: center;
        height: auto;
        gap: 10px;
        padding: 12px 2px;
    }
    .feature-img img {
        width: 100%;
        max-width: 320px;
        height: 120px;
        object-fit: cover;
        border-radius: 12px;
    }
    .feature-text {
        align-items: center;
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }
}

/* Game Features 区域加宽优化 */
.about-features-row {
    justify-content: center;
    gap: 48px;
}
.about-features-row .feature-item {
    max-width: 620px;
    width: 100%;
}
.feature-item {
    height: 420px;
    padding: 0 20px;
}
.feature-img img {
    height: 420px;
}
.feature-text {
    min-width: 220px;
    padding-left: 24px;
    padding-right: 8px;
    font-size: 1.18rem;
}
@media (max-width: 1200px) {
    .about-features-row .feature-item {
        max-width: 95vw;
    }
    .feature-item {
        height: 320px;
        padding: 0 12px;
        gap: 24px;
    }
    .feature-img img {
        width: 180px;
        height: 320px;
    }
}
@media (max-width: 1024px) {
    .feature-item {
        height: 180px;
        gap: 18px;
        padding: 0 8px;
    }
    .feature-img img {
        width: 120px;
        height: 180px;
    }
    .feature-text {
        min-width: 0;
        padding-left: 8px;
        padding-right: 0;
    }
}
@media (max-width: 768px) {
    .about-features-row {
        flex-direction: column;
        gap: 18px;
        align-items: center;
    }
    .feature-item {
        flex-direction: column;
        align-items: center;
        height: auto;
        gap: 10px;
        padding: 12px 2px;
    }
    .feature-img img {
        width: 100%;
        max-width: 320px;
        height: 120px;
        object-fit: cover;
        border-radius: 12px;
    }
    .feature-text {
        align-items: center;
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }
}

.no-hover:hover {
    transform: none !important;
    box-shadow: 0 8px 32px rgba(44,62,80,0.13) !important;
    cursor: default !important;
} 