@import url('http://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;600;700&display=swap');

* {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
}

/* 优雅渐变 */
.elegant-gradient {
    background: linear-gradient(135deg, #f59e0b 0%, #ec4899 25%, #8b5cf6 50%, #06b6d4 75%, #10b981 100%);
    background-size: 400% 400%;
    animation: elegantShift 10s ease-in-out infinite;
}

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

/* 英雄区域背景 */
.elegant-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #fef3c7 0%, #fce7f3 25%, #f3e8ff 50%, #e0f2fe 75%, #ecfdf5 100%);
    position: relative;
}

/* 浮动元素动画 */
.floating-gem {
    animation: floatGems 8s ease-in-out infinite;
    font-size: 1.5rem;
}

@keyframes floatGems {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); opacity: 0.7; }
    33% { transform: translateY(-30px) rotate(15deg) scale(1.2); opacity: 1; }
    66% { transform: translateY(-40px) rotate(-15deg) scale(0.8); opacity: 0.6; }
}

/* 优雅按钮 */
.elegant-button {
    background: linear-gradient(135deg, #f59e0b, #ec4899);
    animation: elegantGlow 3s ease-in-out infinite alternate;
    position: relative;
    overflow: hidden;
}

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

.elegant-button:hover::before {
    left: 100%;
}

@keyframes elegantGlow {
    from { box-shadow: 0 0 25px rgba(245, 158, 11, 0.4); }
    to { box-shadow: 0 0 35px rgba(245, 158, 11, 0.8); }
}

/* 导航链接 */
.nav-link {
    position: relative;
    color: #6b7280;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f59e0b, #ec4899);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ec4899;
}

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

/* 特色标签 */
.feature-tag {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* 优雅展示卡片 */
.elegant-showcase {
    position: relative;
    transition: all 0.5s ease;
}

.elegant-showcase:hover {
    transform: translateY(-10px) scale(1.02);
}

/* 统计卡片 */
.elegant-stat-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(245, 158, 11, 0.1);
}

.elegant-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.15);
}

/* 优雅卡片 */
.elegant-card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(245, 158, 11, 0.1);
    position: relative;
    overflow: hidden;
}

.elegant-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.elegant-card:hover::after {
    opacity: 1;
}

.elegant-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.3);
}

/* 直播状态 */
.live-status {
    background: #ef4444;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    position: relative;
}

.live-status::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ef4444, #f87171, #ef4444);
    border-radius: 9999px;
    animation: elegantPulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes elegantPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* 观看人数 */
.viewer-count {
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
}

/* 分类标签 */
.category-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

/* 分类展示 */
.category-showcase {
    padding: 2.5rem;
    border-radius: 2rem;
    text-white text-center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.category-showcase::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;
}

.category-showcase:hover::before {
    left: 100%;
}

.category-showcase:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 35px 70px rgba(0,0,0,0.25);
}

.category-icon {
    width: 4rem;
    height: 4rem;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    backdrop-filter: blur(10px);
}

.category-stats {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.9);
}

/* 评价展示 */
.review-showcase {
    background: white;
    padding: 2.5rem;
    border-radius: 2rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(245, 158, 11, 0.1);
    position: relative;
    backdrop-filter: blur(10px);
}

.review-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #ec4899, #f59e0b);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 2rem 2rem 0 0;
}

.review-showcase:hover::before {
    transform: scaleX(1);
}

.review-showcase:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(245, 158, 11, 0.2);
}

/* 数字计数器 */
.number-counter {
    font-variant-numeric: tabular-nums;
    font-family: 'Inter', sans-serif;
}

/* 交互按钮 */
.interaction-btn {
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #9ca3af;
}

.interaction-btn:hover {
    background-color: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.interaction-btn.active {
    background: linear-gradient(45deg, #f59e0b, #ec4899);
    color: white;
}

/* 优雅装饰 */
.elegant-border {
    position: relative;
}

.elegant-border::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #f59e0b, #ec4899, #8b5cf6, #06b6d4);
    animation: elegantFlow 8s linear infinite;
}

@keyframes elegantFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* 滚动动画 */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 优雅分割线 */
.elegant-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #f59e0b, transparent);
    margin: 3rem 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .elegant-hero {
        padding: 2rem 0;
    }
    
    .floating-gem {
        display: none;
    }
    
    .category-showcase {
        padding: 2rem;
    }
    
    .elegant-card {
        margin-bottom: 2rem;
    }
    
    .review-showcase {
        padding: 2rem;
    }
}

/* 动画性能优化 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    .elegant-card {
        background: #1f2937;
        color: #f9fafb;
    }
    
    .review-showcase {
        background: #1f2937;
        color: #f9fafb;
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    .elegant-gradient {
        background: #f59e0b;
    }
    
    .live-status {
        background: #dc2626;
    }
}

/* 打印样式 */
@media print {
    .floating-gem,
    .live-status,
    nav,
    footer {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}