/* 全局样式 */
body {
    font-family: 'Inter', sans-serif;
    color: #191c1d;
    background-color: #f8f9fa;
}

h1, h2, h3, h4, h5, h6, .font-headline {
    font-family: 'Manrope', sans-serif;
}

/* 滚动条样式 */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* 玻璃面板样式 */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

/* 文本阴影 */
.text-shadow-sm {
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 按钮样式 */
.btn-primary {
    background-color: #000666;
    color: #ffffff;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #1a237e;
    color: #8690ee;
}

.btn-secondary {
    background-color: #b51a1b;
    color: #ffffff;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #d93630;
    color: #fffbff;
}

/* 卡片样式 */
.convention-card {
    transition: all 0.3s ease;
}

.convention-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* 筛选栏样式 */
.filter-bar {
    position: sticky;
    top: 68px;
    z-index: 40;
    background-color: #f8f9fa;
    border-top: 1px solid rgba(198, 197, 212, 0.1);
    border-bottom: 1px solid rgba(198, 197, 212, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 24px;
        padding-bottom: 12px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .convention-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-bar .filter-item {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .convention-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #000666;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 实时动态样式 */
.activity-item {
    animation: fadeIn 0.5s ease-in-out;
}

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

/* 倒计时样式 */
.countdown {
    font-variant-numeric: tabular-nums;
}

/* 评分条样式 */
.rating-bar {
    height: 8px;
    background-color: #edeeef;
    border-radius: 4px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background-color: #000666;
    transition: width 0.5s ease;
}

/* 移动端菜单 */
.mobile-menu {
    transition: all 0.3s ease;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 无障碍访问 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
