:root {
    --primary: #0066ff;
    --secondary: #00d4ff;
    --accent: #ff3366;
    --dark: #0a0a0a;
    --dark-light: #1a1a1a;
    --gray: #666666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #0066ff, #00d4ff);
    --gradient-2: linear-gradient(135deg, #ff3366, #ff6b9d);
    --gradient-3: linear-gradient(135deg, #00d4ff, #0066ff);
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 30px 60px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans GB', sans-serif;
    /* 苹果平方字体已设置为首选，如果系统中没有此字体，可从苹果官网下载安装 */
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

/* 移动端导航优化 */
@media (max-width: 768px) {
    .nav-container {
        padding: 0.8rem 1.5rem;
    }
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 80%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: 0.3s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        gap: 1.5rem;
    }
    .nav-menu.active {
        right: 0;
    }
    .hamburger {
        display: block;
        cursor: pointer;
    }
}

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

.nav-brand {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.brand-logo {
    height: 32px;
    width: auto;
    border-radius: 4px;
}

.brand-text {
    color: var(--primary);
}

.brand-accent {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* 主页 - APP风格开场 */
/* 清空默认hero样式，将所有样式放入媒体查询中 */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    background: linear-gradient(135deg, rgba(245, 247, 250, 0.8), rgba(228, 234, 245, 0.9));
}

/* 交互式背景元素 */
.interactive-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* 背景光点 */
.light-dot {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transition: transform 0.5s ease-out, opacity 0.5s ease-out, background 0.5s ease-out;
    z-index: 1;
}

/* 鼠标感应区域 */
.mouse-sensor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    cursor: default;
}

/* 二维码样式 */
.qr-code-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
}

.qr-container {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qr-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.qr-code {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.qr-container p {
    color: var(--dark);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* 二维码样式 */
.qr-code-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
}

.qr-container {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qr-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.qr-code {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.qr-container p {
    color: var(--dark);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* 移动端样式 - 768px以下 */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding: 80px 0 2rem 0;
        display: flex;
        align-items: stretch;
        background: linear-gradient(135deg, #f5f7fa 0%, #e4eaf5 100%);
    }
    
    .hero-content {
        width: 100%;
        padding: 2rem 1.5rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: calc(100vh - 120px);
        position: relative;
        z-index: 2;
        text-align: center;
    }
    
    .hero-badge {
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .hero-title {
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .title-main {
        font-size: 2.5rem;
        line-height: 1.1;
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .title-sub {
        font-size: 1.2rem;
        display: block;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
        margin: 1.5rem 0;
        flex-grow: 1;
        text-align: center;
    }
    
    .hero-actions {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: auto;
        position: static;
        bottom: auto;
        left: auto;
        align-items: center;
    }
    
    .primary-btn, .secondary-btn {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
        border-radius: 50px;
        max-width: 280px;
    }
    
    .scroll-indicator {
        display: none;
    }
}

.primary-btn {
    background: var(--gradient-1);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    box-shadow: var(--shadow);
    width: 100%;
}

.primary-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.primary-btn:hover .btn-arrow {
    transform: translateX(5px);
}

.secondary-btn {
    background: transparent;
    color: var(--dark);
    border: 1px solid var(--gray);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.secondary-btn:hover {
    background: var(--dark);
    color: white;
    border-color: var(--dark);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    animation: fadeIn 1.5s ease-out 1.2s both;
}

/* 移动端样式已整合到上方基础样式中 - 此部分已删除 */

/* 针对395px左右的小屏幕优化 */
@media (max-width: 400px) {
    .hero {
        padding-top: 50px;
        padding-bottom: 30px;
    }
    .hero-content {
        padding: 0 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    .title-main {
        font-size: 2rem;
        margin-left: -0.2rem;
        margin-right: -0.2rem;
    }
    .hero-description {
        padding: 0 0.5rem;
    }
    .hero-actions {
        padding: 0 0.5rem;
    }
}

/* 针对395px左右的小屏幕优化 */
@media (max-width: 400px) {
    .hero {
        padding-top: 50px;
        padding-bottom: 30px;
    }
    .hero-content {
        padding: 0 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    .title-main {
        font-size: 2rem;
        margin-left: -0.2rem;
        margin-right: -0.2rem;
    }
    .hero-description {
        padding: 0 0.5rem;
    }
    .hero-actions {
        padding: 0 0.5rem;
    }
}

/* 针对570px左右的屏幕优化 */
@media (max-width: 576px) {
    .hero {
        padding-top: 60px;
        padding-bottom: 40px;
    }
    .title-main {
        font-size: 2.2rem;
        margin-left: -0.3rem;
        margin-right: -0.3rem;
    }
    .title-sub {
        font-size: 1.1rem;
    }
    .hero-description {
        font-size: 0.95rem;
        padding: 0 0.75rem;
    }
    .hero-actions {
        padding: 0 0.75rem;
    }
    .primary-btn, .secondary-btn {
        padding: 0.75rem 1.5rem;
    }
}

/* 桌面端样式 - 769px以上 */
@media (min-width: 769px) {
    .hero {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
        background: var(--light-gray);
        padding: 0 2rem;
    }
    
    .hero-content {
        position: relative;
        z-index: 2;
        max-width: 1000px;
        width: 90%;
        height: 100vh;
        animation: fadeInUp 0.8s ease-out forwards;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        text-align: left;
        margin: 0 auto 0 calc(10% - 2rem);
    }
    
    .hero-badge {
        text-align: left;
        margin-bottom: 1.5rem;
        padding: 0.5rem 1.2rem;
        background: rgba(0, 102, 255, 0.1);
        border-radius: 50px;
        font-weight: 500;
        font-size: 1rem;
        color: var(--primary);
    }
    
    .hero-title {
        text-align: left;
        margin-bottom: 1.5rem;
    }
    
    .title-main {
        font-size: 4.5rem;
        line-height: 1.1;
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 800;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
    
    .title-sub {
        font-size: 2rem;
        display: block;
        color: var(--dark-light);
    }
    
    .hero-description {
        font-size: 1.25rem;
        line-height: 1.8;
        margin: 2.5rem 0;
        max-width: 650px;
        text-align: left;
        color: var(--gray);
    }
    
    .hero-actions {
        display: flex;
        gap: 1.5rem;
        flex-wrap: nowrap;
        animation: slideInUp 0.6s ease-out 1s both;
        position: relative;
        bottom: auto;
        left: auto;
        width: auto;
        margin-top: 1.5rem;
    }
    
    .primary-btn {
        width: auto;
        min-width: 200px;
        padding: 1.25rem 3rem;
        font-size: 1.1rem;
        border-radius: 50px;
        background: var(--gradient-1);
        color: white;
        border: none;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        justify-content: center;
        box-shadow: 0 15px 30px rgba(0, 102, 255, 0.2);
    }
    
    .primary-btn:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0, 102, 255, 0.3);
    }
    
    .secondary-btn {
        width: auto;
        min-width: 180px;
        padding: 1.25rem 3rem;
        font-size: 1.1rem;
        border-radius: 50px;
        background: white;
        color: var(--dark);
        border: 1px solid rgba(0, 0, 0, 0.1);
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }
    
    .secondary-btn:hover {
        background: var(--dark);
        color: white;
        border-color: var(--dark);
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }
    
    .scroll-indicator {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        margin-top: 4rem;
        animation: fadeIn 1.5s ease-out 1.2s both;
    }
    
    .scroll-text {
        font-size: 0.9rem;
        color: var(--gray);
        margin-bottom: 0.5rem;
    }
    
    .scroll-icon {
        width: 24px;
        height: 40px;
        border: 2px solid var(--gray);
        border-radius: 12px;
        display: flex;
        justify-content: center;
        padding-top: 8px;
    }
    
    .scroll-dot {
        width: 6px;
        height: 6px;
        background: var(--gray);
        border-radius: 50%;
        animation: scrollPulse 2s infinite;
    }
    
    @keyframes scrollPulse {
        0% {
            transform: translateY(0);
            opacity: 0.5;
        }
        50% {
            transform: translateY(10px);
            opacity: 1;
        }
        100% {
            transform: translateY(0);
            opacity: 0.5;
        }
    }
}

/* 通用部分样式 */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
}

/* 关于我们 */
.about {
    padding: 6rem 0;
    background: var(--light-gray);
}

.about-story {
    margin-bottom: 4rem;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 1.5rem;
    text-align: justify;
    text-justify: inter-ideograph;
}

.story-text strong {
    color: var(--primary);
    font-weight: 600;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.about-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* 我们的活动 */
.works {
    padding: 6rem 0;
}

.members {
    padding: 6rem 0;
    background-color: var(--light-bg);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.member-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-image {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    overflow: hidden;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.member-info {
    padding: 1rem 0;
}

.member-name {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.member-role {
    color: var(--gray);
    font-size: 0.9rem;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.work-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* 加入我们部分样式 */
.join-benefits {
    margin: 2rem 0;
    padding: 2rem;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.benefits-list li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.1rem;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.join-steps {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.join-benefits {
    /* 字体颜色 */
    color: #5d5d5d;
    padding-bottom: 1rem;
}

.step-content {
    padding-bottom: 1rem;
}

.step-card {
    display: flex;
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    flex: 1;
    min-width: 250px;
}

.step-number {
    background: linear-gradient(135deg, #0070FF 0%, #00CDFF 100%);
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.step-content {
    padding: 1.5rem;
}

.step-content h4 {
    margin: 0 0 0.8rem 0;
    color: var(--dark);
    font-size: 1.2rem;
}

.step-content p {
    margin: 0;
    color: var(--gray);
    font-size: 1rem;
}

.method-desc {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 0.5rem;
}

.work-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.work-image .activity-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.work-card:hover .activity-image {
    transform: scale(1.08);
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(33, 150, 243, 0.3);
    opacity: 0;
    transition: all 0.3s ease;
}

.work-card:hover .work-overlay {
    opacity: 1;
    background: rgba(33, 150, 243, 0.5);
}

.work-content {
    padding: 2rem;
}

.work-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.work-content p {
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.work-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.activity-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.activity-image:hover {
    transform: scale(1.03);
}

.tag {
    background: var(--light-gray);
    color: var(--gray);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

/* 活动卡片样式 */
.activity-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.activity-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.activity-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* 加入我们 */
.contact {
    padding: 6rem 0;
    background: var(--gradient-1);
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.method-icon {
    font-size: 2rem;
}

.method-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.method-content p {
    opacity: 0.8;
    margin: 0;
}

/* 二维码部分 */
.qr-code-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qr-code-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: white;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
}

.qr-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.qr-placeholder p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.qr-placeholder span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* 页脚 */
.footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-brand {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-motto {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-copyright {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        max-width: 100%;
        margin: 0;
        padding: 1rem 1.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* APP开场动画关键帧 */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* 手机端适配 */
@media (max-width: 768px) {
    .interactive-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(6, 1fr);
    }
    
    .float-card {
        padding: 1rem;
        font-size: 0.8rem;
    }
    
    .title-main {
        font-size: 3rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .primary-btn, .secondary-btn {
        width: 100%;
        max-width: 280px;
    }
}

/* 色块动画 */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

/* 波纹效果 */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-effect 0.6s linear;
    pointer-events: none;
    z-index: 5;
}

@keyframes ripple-effect {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* 色块样式 */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 1;
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.9), rgba(78, 205, 196, 0.6));
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(168, 237, 234, 0.9), rgba(254, 214, 227, 0.6));
    top: 50%;
    right: 10%;
    animation-delay: 2s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 236, 210, 0.9), rgba(252, 182, 159, 0.6));
    bottom: 15%;
    left: 50%;
    animation-delay: 4s;
}

.orb-4 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(168, 237, 234, 0.9), rgba(254, 214, 227, 0.6));
    top: 30%;
    left: 70%;
    animation-delay: 1s;
}

.orb-5 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 154, 158, 0.9), rgba(254, 207, 239, 0.6));
    bottom: 40%;
    right: 30%;
    animation-delay: 3s;
}





