/* 字体定义 */
@font-face {
    font-family: 'Comic Sans MS';
    src: url('./assets/fonts/Comic Sans MS.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #000;
    background: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-logo .logo-image {
    height: 32px;
    width: auto;
}











/* 主要内容区域 */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 2rem;
    text-align: center;
}

.hero-section {
    max-width: 800px;
    width: 100%;
}

.hero-content {
    color: #000;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.title-main {
    color: #000;
}

.hero-subtitle {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #000;
}

.context-text {
    font-family: 'Comic Sans MS', cursive;
    color: #2CE080;
    white-space: nowrap;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #000;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.store-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.image-button {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-button:hover {
    transform: translateY(-3px);
}

.store-image {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

.store-image:hover {
    opacity: 0.8;
}

.qr-code {
    position: absolute;
    top: -130px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: none;
    border-radius: 12px;
    padding: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
    z-index: 10;
}

.qr-code img {
    width: 100px;
    height: 100px;
    display: block;
}

.custom-button:hover .qr-code {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-10px);
}

/* 页脚样式 */
.footer {
    background: white;
    backdrop-filter: blur(10px);
    color: #000;
    padding: 2rem 0;
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.privacy-link, .terms-link {
    color: #000;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.privacy-link:hover, .terms-link:hover {
    color: #2CE080;
    text-decoration: underline;
}

.link-separator {
    color: #666;
    font-size: 0.85rem;
}

.footer-link {
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #333;
}

.footer-link svg {
    width: 18px;
    height: 18px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .main-content {
        padding: 5rem 1rem 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 1rem;
        max-width: 90%;
        margin-bottom: 2rem;
    }
    
    .store-buttons {
        gap: 1.5rem;
        flex-direction: column;
        align-items: center;
    }
    
    .store-image {
        height: 50px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 4rem 0.5rem 1rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.4;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
        line-height: 1.4;
    }
    
    .hero-description {
        font-size: 0.9rem;
        max-width: 95%;
        margin-bottom: 1.5rem;
    }
    
    .store-buttons {
        gap: 1rem;
    }
    
    .store-image {
        height: 45px;
    }
    
    .nav-container {
        padding: 0 0.5rem;
    }
    
    .nav-logo .logo-image {
        height: 28px;
    }
}

/* 超小屏幕优化 */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
        max-width: 98%;
    }
    
    .main-content {
        padding: 3.5rem 0.25rem 1rem;
    }
}

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

.hero-content > * {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-title {
    animation-delay: 0.1s;
}

.hero-subtitle {
    animation-delay: 0.2s;
}

.hero-description {
    animation-delay: 0.3s;
}

.store-buttons {
    animation-delay: 0.4s;
}

/* 滚动效果 */
html {
    scroll-behavior: smooth;
}

/* 图片按钮点击效果 */
.image-button:active {
    transform: translateY(-1px);
}

/* 悬浮效果 */
.hero-content {
    animation: float 6s ease-in-out infinite;
}

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