/* football/static/football/css/stats.css */

/* 统计卡片样式 */
.stat-card {
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4e54c8, #8f94fb);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover::before {
    opacity: 1;
}

/* 数字样式 */
.stat-number {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 标签样式 */
.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* 更新时间样式 */
.update-time {
    font-size: 0.85rem;
    color: #868e96;
    background: rgba(248, 249, 250, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
}

/* 图标样式 */
.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* 服务卡片悬停效果 */
.service-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.1);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
  border-color: rgba(var(--bs-primary-rgb), 0.3);
}


/* Excel风格表格样式 */
.excel-table {
    border-collapse: collapse;
    font-family: 'Segoe UI', Arial, sans-serif;
    width: 100%;
    font-size: 0.9rem;
}

.excel-table thead {
    background-color: #e9ecef;
}

/* 确保表头居中 */
.excel-header {
    border: 1px solid #dee2e6;
    padding: 8px 12px;
    font-weight: 600;
    text-align: center !important; /* 确保居中 */
    background-color: #e9ecef;
    vertical-align: middle; /* 垂直也居中 */
}

/* 确保数据单元格也居中 */
.excel-cell, .excel-cell-score {
    border: 1px solid #dee2e6;
    padding: 6px 12px;
    text-align: center !important; /* 确保居中 */
    vertical-align: middle;
}

/* 区块2：数据统计 */
#stats {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    padding: 5rem 0;
}

/* 区块4：订阅计划 */
#subscription {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
}

