/* ========== 专家详情页样式 ========== */

/* 页面头部 */
.expert-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 50%, #1e3a5f 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.expert-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.expert-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.expert-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 30px;
}

.expert-breadcrumb a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

.expert-breadcrumb a:hover {
    color: #00d4aa;
}

/* 专家信息卡片 */
.expert-profile-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
    display: grid;
    grid-template-columns: 280px 1fr;
}

/* 左侧专家信息 */
.expert-info-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-right: 1px solid #e2e8f0;
}

.expert-avatar-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    box-shadow: 0 6px 20px rgba(0, 212, 170, 0.4);
    overflow: hidden;
}

.expert-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-name-main {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.expert-badge-vip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.expert-badge-vip svg {
    width: 16px;
    height: 16px;
    fill: #f59e0b;
}

/* 右侧统计信息 */
.expert-stats-section {
    padding: 40px;
}

.stats-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stats-title svg {
    width: 24px;
    height: 24px;
    stroke: #00d4aa;
}

/* 战绩统计 */
.stats-period-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stats-period-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.stats-period-card:hover {
    border-color: #00d4aa;
    transform: translateY(-2px);
}

.stats-period-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.stats-period-title {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
}

.stats-period-total {
    font-size: 12px;
    color: #94a3b8;
}

.stats-period-result {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.result-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.result-value {
    font-size: 20px;
    font-weight: 700;
}

.result-value.win {
    color: #00d4aa;
}

.result-value.draw {
    color: #f59e0b;
}

.result-value.lose {
    color: #e56c69;
}

.result-label {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 2px;
}

/* 胜率圆环 */
.win-rate-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.circle-chart {
    position: relative;
    width: 80px;
    height: 80px;
}

.circle-chart svg {
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: #e2e8f0;
    stroke-width: 8;
}

.circle-progress {
    fill: none;
    stroke: url(#gradient);
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease;
}

.circle-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    font-weight: 700;
    color: #1e3a5f;
}

/* 推荐列表区域 */
.recommendations-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title svg {
    width: 28px;
    height: 28px;
    stroke: #00d4aa;
}

.filter-tabs {
    display: flex;
    gap: 10px;
}

.filter-tab {
    padding: 8px 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 14px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
}

.filter-tab:hover,
.filter-tab.active {
    background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
    color: #fff;
    border-color: transparent;
}

/* 推荐列表 */
.recommendation-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recommendation-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 30px;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.recommendation-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.recommendation-card.new {
    border-left: 4px solid #00d4aa;
}

/* 赛事信息 */
.match-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.match-league {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    width: fit-content;
}

.match-teams {
    display: flex;
    align-items: center;
    gap: 20px;
}

.team-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-logo {
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #1e3a5f;
    overflow: hidden;
}

.team-logo img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.team-name {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.vs-badge {
    min-width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e56c69 0%, #d63031 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.match-time {
    font-size: 13px;
    color: #64748b;
}

/* 盘口信息 */
.handicap-info {
    text-align: center;
}

.handicap-value {
    font-size: 20px;
    font-weight: 700;
    color: #1e3a5f;
}

.handicap-label {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}

/* 订阅价格 */
.price-info {
    text-align: center;
}

.price-value {
    font-size: 24px;
    font-weight: 700;
    color: #e56c69;
}

.price-value span {
    font-size: 14px;
    color: #94a3b8;
}

/* 操作按钮 */
.action-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
    color: #fff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.4);
}

.result-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.result-badge.win {
    background: #fee2e2;
    color: #991b1b;
}

.result-badge.lose {
    background: #f3f4f6;
    color: #6b7280;
}

.result-badge.draw {
    background: #d1fae5;
    color: #065f46;
}

.result-badge.pending {
    background: #e0e7ff;
    color: #3730a3;
}

/* 大卡片样式 - 待开奖赛事 */
.recommendation-card.featured {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 35px;
    background: linear-gradient(135deg, #fff 0%, #f0f9ff 100%);
    border: 2px solid #00d4aa;
    position: relative;
    overflow: hidden;
}

.recommendation-card.featured::before {
    content: '最新推荐';
    position: absolute;
    top: 15px;
    right: -35px;
    background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
    color: #fff;
    padding: 5px 40px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(0, 212, 170, 0.3);
}

.recommendation-card.featured .match-info {
    position: relative;
    padding-top: 10px;
}

.recommendation-card.featured .match-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.recommendation-card.featured .match-league {
    font-size: 14px;
    padding: 6px 16px;
    margin: 0;
}

.recommendation-card.featured .match-time-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.recommendation-card.featured .match-teams-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-bottom: 20px;
}

.recommendation-card.featured .match-teams {
    gap: 40px;
}

.recommendation-card.featured .team-logo {
    width: 108px;
    height: 108px;
    font-size: 24px;
}

.recommendation-card.featured .team-logo img {
    width: 108px;
    height: 108px;
}

.recommendation-card.featured .team-name {
    font-size: 28px;
}

.recommendation-card.featured .vs-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.recommendation-card.featured .vs-badge {
    min-width: 70px;
    height: 70px;
    font-size: 18px;
}

/* 倒计时样式 */
.countdown-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid #f59e0b;
    min-width: 120px;
}

.countdown-box .countdown-label {
    font-size: 12px;
    color: #92400e;
    font-weight: 500;
}

.countdown-box .countdown-time {
    font-size: 16px;
    font-weight: 700;
    color: #b45309;
    font-family: 'Courier New', monospace;
}

.countdown-box.started {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-color: #10b981;
}

.countdown-box.started .countdown-label {
    color: #065f46;
}

.countdown-box.started .countdown-time {
    color: #047857;
}

.recommendation-card.featured .featured-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 25px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.recommendation-card.featured .handicap-info,
.recommendation-card.featured .price-info,
.recommendation-card.featured .action-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.recommendation-card.featured .handicap-value {
    font-size: 28px;
}

.recommendation-card.featured .handicap-label {
    font-size: 14px;
}

.recommendation-card.featured .price-value {
    font-size: 32px;
}

.recommendation-card.featured .view-btn {
    padding: 14px 32px;
    font-size: 16px;
}

.recommendation-card.featured .result-badge {
    padding: 8px 20px;
    font-size: 15px;
}

/* 胜率趋势图 */
.win-rate-trend {
    margin-top: 30px;
    padding: 25px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.trend-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trend-title svg {
    width: 20px;
    height: 20px;
    stroke: #00d4aa;
}

.trend-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.trend-tag {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.trend-tag.tag-3d {
    background: #dbeafe;
    color: #2563eb;
}

.trend-tag.tag-7d {
    background: #d1fae5;
    color: #059669;
}

.trend-tag.tag-15d {
    background: #fef3c7;
    color: #d97706;
}

.trend-tag.tag-30d {
    background: #f3e8ff;
    color: #7c3aed;
}

.trend-tag.tag-60d {
    background: #fee2e2;
    color: #dc2626;
}

.trend-tag.tag-90d {
    background: #f3f4f6;
    color: #4b5563;
}

.trend-chart-container {
    height: 200px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 15px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    padding: 20px;
}

.page-btn {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-btn:hover,
.page-btn.active {
    background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
    color: #fff;
    border-color: transparent;
}

.page-btn.disabled {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
}

.page-info {
    font-size: 14px;
    color: #64748b;
    margin: 0 15px;
}

/* 返回按钮 */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 30px;
}

.back-btn:hover {
    background: rgba(255,255,255,0.2);
}

/* 响应式 */
@media (max-width: 968px) {
    .expert-profile-card {
        grid-template-columns: 1fr;
    }
    
    .expert-info-section {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .stats-period-grid {
        grid-template-columns: 1fr;
    }
    
    .recommendation-card {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .action-section {
        align-items: flex-start;
    }
}
