/* 兼职平台统一样式表 - 合并所有CSS */
/*@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');*/
/*@import url('https://fonts.loli.net/css2?family=Inter:wght@300;400;500;600&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');*/
/*@import url('https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.4.0/css/all.min.css');*/
/* 全局基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/*@font-face {*/
/*    font-family: 'Inter';*/
/*    font-style: normal;*/
/*    font-weight: 300 600;*/
/*    src: url('/fa-regular-400.woff2') format('woff2-variations');*/
/*}*/
body {
    font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #F5F5F0;
    color: #292524;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    max-width: 28rem;
    margin: 0 auto;
}

/* 通用卡片样式 */
.card {
    background: #FFFFFF;
    border: 1px solid #E7E5E4;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    border-radius: 12px;
}

/* 按钮交互效果 */
.press-effect:active {
    transform: scale(0.98);
    opacity: 0.9;
    transition: all 0.15s ease;
}

/* 安全区域适配 */
.safe-bottom {
    padding-bottom: env(safe-area-inset-bottom, 20px);
}

/* 滚动条隐藏 */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* 分割线样式 */
.divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #E7E5E4;
}

/* 动画效果 */
.live-dot {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

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

@keyframes pulse-soft {
    0%, 100% { opacity: 1; }
    50% { opacity: .7; }
}

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

/* 浮动动画 */
.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* 柔和脉冲 */
.pulse-soft {
    animation: pulse-soft 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* 滑入动画 */
.slide-up {
    animation: slideUp 0.4s ease-out;
}

/* 闪光效果 */
.progress-shine {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    background-size: 200% 100%;
    animation: shine 2s infinite;
}

/* 玻璃态效果 */
.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* 头像样式 */
.avatar-ring {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    padding: 3px;
    border-radius: 50%;
}

/* VIP徽章 */
.vip-badge {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* 积分区域样式 */
.points-badge {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border: 1px solid #F59E0B;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15), inset 0 1px 0 rgba(255,255,255,0.6);
}

/* 排名样式 */
.rank-1 {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border: 2px solid #F59E0B;
}

.rank-2 {
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
    border: 2px solid #9CA3AF;
}

.rank-3 {
    background: linear-gradient(135deg, #FEF3CD 0%, #FDE6B8 100%);
    border: 2px solid #D97706;
}

/* 标签样式 */
.tag-hot {
    background: #FFF1F2;
    color: #E11D48;
    border: 1px solid #FECDD3;
}

.tag-new {
    background: #F0F9FF;
    color: #0369A1;
    border: 1px solid #BAE6FD;
}

.tag-done {
    background: #F5F5F4;
    color: #78716C;
    border: 1px solid #E7E5E4;
}

/* 状态指示器 */
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-active {
    background: #10B981;
    box-shadow: 0 0 0 2px #D1FAE5;
}

.status-hot {
    background: #F59E0B;
    box-shadow: 0 0 0 2px #FEF3C7;
}

.status-ending {
    background: #EF4444;
    box-shadow: 0 0 0 2px #FEE2E2;
}

.status-ended {
    background: #A8A29E; }

/* 标签页样式 */
.tab-active {
    color: #292524;
    border-bottom: 2px solid #292524;
    font-weight: 700;
}

.tab-inactive {
    color: #A8A29E;
    border-bottom: 2px solid transparent;
}

/* 过渡效果 */
.menu-item {
    transition: all 0.2s ease;
}

.podium-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.podium-card:hover {
    transform: translateY(-4px);
}

.status-badge {
    transition: all 0.3s ease;
}

.order-item {
    transition: background-color 0.2s ease;
}

.order-item:hover {
    background-color: #FAFAF9;
}

.lead-item {
    transition: all 0.2s ease;
}

.lead-item:hover {
    transform: translateX(2px);
}

.pipeline-bar {
    transition: all 0.3s ease;
}

.pipeline-segment:hover {
    filter: brightness(1.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .card {
        margin: 0 8px;
    }
}

/* 特殊元素样式 */
.text-gradient {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-soft {
    box-shadow: 0 2px 12px -2px rgba(0, 0, 0, 0.08);
}

.shadow-glow {
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

/* 加载状态 */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

/* 工具类 */
.text-stone-600 { color: #57534E; }
.text-stone-400 { color: #A8A29E; }
.bg-cream { background-color: #F5F5F0; }
.text-warm-black { color: #292524; }
.bg-warm-gray { background-color: #E7E5E4; }
.text-v3-blue { color: #3B82F6; }
.bg-v3-blue { background-color: #3B82F6; }

/* Toast提示样式 */
.toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.toast.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Modal弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin: 16px;
    max-width: 320px;
    width: 100%;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

/* 按钮样式增强 */
.btn-press:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

/* 动画效果 */
.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* 状态提示样式 */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-success {
    background-color: #dcfce7;
    color: #166534;
}

.status-error {
    background-color: #fee2e2;
    color: #991b1b;
}

.status-warning {
    background-color: #fef3c7;
    color: #92400e;
}

.status-info {
    background-color: #dbeafe;
    color: #1e40af;
}
