/* 全局样式 */
:root {
    --primary-color: #f16436;
    --primary-dark: #d14e26;
    --primary-light: #ff7a52;
    --secondary-color: #3a4f66;
    --text-color: #333333;
    --light-text: #6e7c87;
    --bg-color: #ffffff;
    --light-bg: #f7f9fc;
    --dark-bg: #1a202c;
    --border-color: #e2e8f0;
    --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    --section-spacing: 80px;
    --container-width: 1200px;
    --border-radius: 6px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1rem;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: var(--section-spacing) 0;
}

section:nth-child(2n) {
    background-color: var(--light-bg);
}

/* 非官方声明提示条 */
.disclaimer-bar {
    background-color: var(--secondary-color);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}

.disclaimer-bar p {
    margin: 0;
    text-align: center;
}

.disclaimer-bar a {
    color: white;
    text-decoration: underline;
    font-weight: 500;
}

.disclaimer-bar a:hover {
    color: var(--primary-light);
}

.disclaimer-bar i {
    margin-right: 5px;
}

/* Logo文字样式 */
.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: color 0.2s;
    letter-spacing: -0.5px;
}

.logo-text:hover {
    color: var(--primary-dark);
}

.logo-subtitle {
    display: block;
    font-size: 0.85rem;
    color: var(--light-text);
    margin-top: -5px;
}

.footer-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    display: inline-block;
}

/* 淡入动画元素 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #2e3e52;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 0.8rem 1.6rem;
    font-size: 1.05rem;
}

/* 导航栏 */
.header {
    position: sticky;
    top: 0;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo img {
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
}

.nav-link:hover {
    color: var(--primary-color);
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* 英雄区域 */
.hero {
    padding: 60px 0;
    background: linear-gradient(140deg, #f9fafb 0%, #eff6ff 100%);
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-size: 3rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 1.5rem;
}

.platform-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    font-size: 0.95rem;
}

.platform-icons span {
    display: flex;
    align-items: center;
    color: var(--light-text);
}

.platform-icons span i {
    margin-right: 6px;
}

.platform-link {
    display: flex;
    align-items: center;
    color: var(--light-text);
    padding: 8px 15px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.platform-link i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.platform-link:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

/* 特色游戏区域 */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 2rem;
}

.game-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s;
    text-align: center;
}

.game-card img {
    height: 70px;
    margin-bottom: 1rem;
}

.game-card p {
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

.view-all {
    text-align: center;
    margin-top: 2rem;
}

.link-arrow {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.link-arrow:hover {
    color: var(--primary-dark);
}

/* 最新内容区域 */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 2rem;
}

.content-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.content-image {
    position: relative;
    height: 200px;
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.content-info {
    padding: 20px;
}

.content-meta {
    display: block;
    font-size: 0.85rem;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.content-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.content-info p {
    color: var(--light-text);
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

/* 特性区域 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--border-radius);
    background-color: white;
    box-shadow: var(--card-shadow);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #f0f5ff;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 0.8rem;
}

.feature-card p {
    color: var(--light-text);
}

/* 应用展示区域 */
.app-showcase .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.showcase-content {
    flex: 1;
}

.showcase-content h2 {
    text-align: left;
}

.app-features {
    margin: 2rem 0;
}

.app-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-features i {
    color: var(--primary-color);
}

.showcase-image {
    flex: 1;
}

.showcase-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

/* FAQ区域 */
.faq {
    background-color: var(--light-bg);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 30px;
    margin-bottom: 2rem;
}

.faq-item {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 12px;
}

.faq-item h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-light);
    border-radius: 3px;
}

.faq-item p {
    color: var(--light-text);
    line-height: 1.7;
    font-size: 1rem;
}

/* 创作者区域 */
.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--light-text);
    margin: -1rem 0 3rem;
}

.creators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 3rem;
}

.creator-card {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.creator-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #fff1f0;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.creator-card h3 {
    margin-bottom: 0.8rem;
}

.creator-card p {
    color: var(--light-text);
}

.creator-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* 统计数据区域 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--light-text);
    font-size: 1.1rem;
}

/* 用户评价区域 */
.testimonial-slider {
    display: flex;
    overflow: hidden;
    margin-bottom: 2rem;
}

.testimonial {
    flex: 0 0 100%;
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    margin: 0 10px;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--secondary-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.2rem;
}

.author-info p {
    color: var(--light-text);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.control-prev, .control-next {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.control-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d4d4d4;
    cursor: pointer;
}

.dot.active {
    background-color: var(--primary-color);
}

/* 行动召唤区域 */
.cta {
    text-align: center;
    background: linear-gradient(140deg, #3a4f66 0%, #2a3a4d 100%);
    color: white;
}

.cta h2 {
    color: white;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.cta .btn-outline {
    border-color: white;
    color: white;
}

.cta .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 页脚 */
.footer {
    background-color: var(--dark-bg);
    color: #e2e8f0;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr) 1.5fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-about {
    max-width: 300px;
}

.footer-logo {
    height: 30px;
    margin-bottom: 1rem;
    filter: brightness(10);
}

.footer-about p {
    margin-bottom: 1.5rem;
    color: #a0aec0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

.footer-links h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: #a0aec0;
}

.footer-links ul li a:hover {
    color: white;
}

.footer-newsletter h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-newsletter p {
    color: #a0aec0;
    margin-bottom: 1.2rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 0.6rem 1rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    outline: none;
}

.disclaimer {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0aec0;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #a0aec0;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

/* 响应式设计 */
@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-about {
        grid-column: span 3;
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
    .footer-newsletter {
        grid-column: span 3;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero .container,
    .app-showcase .container {
        flex-direction: column;
    }
    
    .hero-content,
    .showcase-content {
        order: 1;
        text-align: center;
    }
    
    .hero-image,
    .showcase-image {
        order: 0;
        margin-bottom: 2rem;
    }
    
    .hero-buttons,
    .platform-icons {
        justify-content: center;
    }
    
    .app-features li {
        justify-content: center;
    }
    
    .showcase-content h2 {
        text-align: center;
    }
    
    .content-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 60px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .features-grid,
    .creators-grid,
    .stats-grid,
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-about,
    .footer-newsletter {
        grid-column: 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .auth-buttons {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
} 