/* 开场页样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: #0a0a0f;
    color: #ffffff;
}

/* 流体画布 */
#fluidCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* 渐变遮罩 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(10, 10, 15, 0.4) 70%, rgba(10, 10, 15, 0.9) 100%);
    z-index: 1;
    pointer-events: none;
}

/* 主内容 */
.splash-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    text-align: center;
    z-index: 10;
    width: 100%;
    padding: 0 2rem;
    box-sizing: border-box;
}

/* Logo 图片 */
.splash-logo {
    max-width: 80vw;
    max-height: 25vh;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease both;
}

/* 标题 */
.title {
    font-size: clamp(4rem, 20vw, 10rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #e879f9 0%, #a855f7 25%, #6366f1 50%, #22d3ee 75%, #4ade80 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
    text-shadow: 0 0 80px rgba(168, 85, 247, 0.5);
    margin-bottom: 1.5rem;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
        filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.4));
    }
    25% {
        background-position: 50% 25%;
        filter: drop-shadow(0 0 40px rgba(99, 102, 241, 0.5));
    }
    50% {
        background-position: 100% 50%;
        filter: drop-shadow(0 0 35px rgba(34, 211, 238, 0.4));
    }
    75% {
        background-position: 50% 75%;
        filter: drop-shadow(0 0 45px rgba(74, 222, 128, 0.5));
    }
}

/* 副标题 */
.subtitle {
    font-size: clamp(0.8rem, 3vw, 1.2rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.5s both;
}

/* 开始按钮 */
.start-btn {
    position: relative;
    padding: 1rem 3rem;
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ffffff;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: fadeInUp 1s ease 0.8s both;
}

.start-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.start-btn:hover {
    border-color: rgba(168, 85, 247, 0.8);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.4), inset 0 0 20px rgba(168, 85, 247, 0.1);
    transform: scale(1.05);
}

.start-btn:hover::before {
    left: 100%;
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
    transition: all 0.4s;
    pointer-events: none;
}

.start-btn:active .btn-glow {
    width: 300px;
    height: 300px;
}

.btn-text {
    position: relative;
    z-index: 1;
}

/* 下滑指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    margin-left: -50px;
    width: 100px;
    text-align: center;
    z-index: 10;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    animation: fadeInUp 1s ease 1.2s both, bounce 2s ease-in-out 2s infinite;
}

.arrow-down {
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.arrow-down svg {
    width: 24px;
    height: 24px;
}

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

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

/* 淡出效果 */
body.fade-out {
    animation: fadeOut 0.8s ease forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: scale(1.05);
    }
}

/* 响应式优化 */
@media (max-width: 768px) {
    .splash-content {
        transform: translate(-50%, -55%);
    }
    
    .title {
        margin-bottom: 1rem;
    }
    
    .subtitle {
        margin-bottom: 2.5rem;
        letter-spacing: 0.2em;
    }
    
    .start-btn {
        padding: 0.875rem 2.5rem;
    }
    
    .scroll-indicator {
        bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .subtitle {
        font-size: 0.7rem;
        letter-spacing: 0.15em;
    }
}

/* 触摸反馈 */
@media (hover: none) {
    .start-btn:hover {
        border-color: rgba(255, 255, 255, 0.3);
        box-shadow: none;
        transform: scale(1);
    }
    
    .start-btn:active {
        border-color: rgba(168, 85, 247, 0.8);
        box-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
        transform: scale(0.98);
    }
}

/* 主站内容容器 */
.main-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.main-wrapper::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.main-wrapper.fade-in-up {
    opacity: 1;
    pointer-events: auto;
}

/* 头像图片 */
.bio-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* 合作伙伴 Logo 图片 */
.partner-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* 合作伙伴链接 */
.partner-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* 淡出效果 */
body.fade-out {
    opacity: 0;
    transition: opacity 0.8s ease;
}

/* 导航栏 Logo 图片 */
.navbar-logo-img {
    height: 32px;
    width: auto;
    border-radius: 6px;
    object-fit: cover;
}

/* 合作伙伴 Logo 样式增强 */
.partner-card {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.partner-logo {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: var(--bg-secondary);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    overflow: hidden;
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
