/* ============================================
   CRAZYLIVE - Global Styles
   ============================================ */

:root {
    --brand-green: #00D166;
    --brand-green-dark: #00b859;
    --aurora-1: #FFD6FF;
    --aurora-2: #E7D6FF;
    --aurora-3: #D6EFFF;
    --aurora-4: #D6FFF9;
}

* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* 极光流体背景 */
body {
    background: linear-gradient(135deg, var(--aurora-1) 0%, var(--aurora-2) 25%, var(--aurora-3) 60%, var(--aurora-4) 100%);
    background-attachment: fixed;
    background-size: 200% 200%;
    animation: auroraFlow 20s ease infinite;
    overflow-x: hidden;
}

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

/* 玻璃拟态基础 */
.glass {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(25px) saturate(160%);
    -webkit-backdrop-filter: blur(25px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(25px) saturate(160%);
    -webkit-backdrop-filter: blur(25px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 悬浮效果 */
.hover-lift {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hover-lift:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

/* Fintech排版 */
.title-xl {
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.title-lg {
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

/* CTA按钮 */
.btn-primary {
    background: var(--brand-green);
    color: white;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 209, 102, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 209, 102, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* 跑马灯 */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-content {
    animation: marquee 50s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

/* 脉冲动画 */
@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.pulse-live {
    animation: pulse-dot 2s ease-in-out infinite;
}

/* 评论滚动 */
@keyframes scrollComments {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.comments-scroll {
    animation: scrollComments 20s linear infinite;
}

/* 导航栏滚动效果 */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

/* 顶部信息条隐藏 */
.top-header-hidden {
    transform: translateY(-100%);
    opacity: 0;
}

/* 页面内容区通用样式 */
.page-section {
    padding: 5rem 1rem;
}

@media (min-width: 768px) {
    .page-section {
        padding: 6rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .page-section {
        padding: 8rem 2rem;
    }
}

/* 页面标题样式 */
.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .page-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .page-title {
        font-size: 4rem;
    }
}
