.match-detail-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
}

.match-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 15px;
    margin-bottom: 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.expert-avatar-sm {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.3);
    overflow: hidden;
}

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

.expert-info-sm {
    color: #fff;
}

.expert-name-sm {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 3px;
}

.expert-hit-rate {
    font-size: 13px;
    opacity: 0.9;
}

.follow-btn {
    padding: 10px 24px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.follow-btn:hover {
    background: rgba(255,255,255,0.3);
}

.match-league-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.match-league-badge {
    padding: 8px 20px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
}

.match-status-tag {
    padding: 8px 20px;
    background: #f3f4f6;
    color: #6e7681;
    font-size: 14px;
    font-weight: 500;
    border-radius: 20px;
}

.match-status-tag.live {
    background: #fee2e2;
    color: #ef4444;
    animation: pulse 1.5s infinite;
}

.price-badge {
    padding: 8px 20px;
    background: #fef3c7;
    color: #d97706;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
}

.price-badge.free {
    background: #d1fae5;
    color: #065f46;
}

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

.match-detail-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #1d2129 0%, #374151 100%);
    padding: 45px 30px;
    border-radius: 20px;
    margin-bottom: 25px;
}

.team-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.team-logo-lg {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border: 3px solid rgba(255,255,255,0.2);
}

.team-logo-lg img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.team-logo-placeholder-lg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.team-logo-placeholder-lg.home {
    background: #3b82f6;
}

.team-logo-placeholder-lg.away {
    background: #ef4444;
}

.team-name-lg {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.score-box {
    flex: 0 0 120px;
    text-align: center;
}

.vs-text-lg {
    font-size: 32px;
    font-weight: 600;
    color: #9ca3af;
}

.final-score-lg, .live-score-lg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.score-num {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
}

.live-score-lg .score-num {
    color: #fbbf24;
}

.score-sep {
    font-size: 28px;
    color: #9ca3af;
}

.match-timer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.match-date-box {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #4b5563;
}

.match-time-lg {
    font-weight: 600;
    color: #1e40af;
    margin-left: 5px;
}

.countdown-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.countdown-label {
    font-size: 13px;
    color: #6e7681;
}

.countdown-timer {
    display: flex;
    gap: 10px;
}

.timer-item {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 16px;
    font-weight: 600;
    color: #1e40af;
}

.timer-item span:first-child {
    font-size: 20px;
    min-width: 30px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #1d2129;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

.prediction-section {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 30px;
}

.play-types-row {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.play-type-badge {
    padding: 8px 18px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
}

.prediction-main-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.prediction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f9fafb;
    border-radius: 10px;
}

.prediction-label {
    font-size: 14px;
    color: #6e7681;
    font-weight: 500;
}

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

.prediction-value.score {
    color: #3b82f6;
}

.confidence-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #f9fafb;
    border-radius: 10px;
    margin-bottom: 25px;
}

.confidence-label {
    font-size: 14px;
    color: #6e7681;
    font-weight: 500;
    white-space: nowrap;
}

.confidence-bar {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.confidence-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s;
}

.confidence-text {
    font-size: 14px;
    font-weight: 600;
    min-width: 40px;
    text-align: right;
}

.analysis-section {
    padding: 20px;
    background: #f9fafb;
    border-radius: 10px;
    margin-bottom: 25px;
}

.analysis-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1d2129;
    margin: 0 0 15px 0;
}

.analysis-section p {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.8;
    margin: 0;
}

.hit-result-row {
    display: flex;
    justify-content: center;
    padding: 15px;
    background: #f0fdf4;
    border-radius: 10px;
}

.hit-badge {
    padding: 10px 24px;
    background: #10b981;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 20px;
}

.hit-badge.result {
    background: #3b82f6;
}

.hit-badge.exact {
    background: #8b5cf6;
}

.miss-badge {
    padding: 10px 24px;
    background: #ef4444;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 20px;
}

.locked-section {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.locked-overlay {
    text-align: center;
}

.lock-icon {
    margin-bottom: 20px;
    opacity: 0.5;
}

.locked-title {
    font-size: 24px;
    font-weight: 600;
    color: #1d2129;
    margin: 0 0 10px 0;
}

.locked-desc {
    font-size: 16px;
    color: #6e7681;
    margin: 0 0 35px 0;
}

.purchase-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.coins-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.coins-label {
    color: #6e7681;
}

.coins-num {
    font-size: 28px;
    font-weight: 700;
    color: #f59e0b;
}

.purchase-btn {
    padding: 16px 50px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s;
}

.purchase-btn:hover {
    opacity: 0.9;
}

.related-section {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-card {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    background: #f9fafb;
    border-radius: 10px;
    gap: 15px;
    transition: all 0.2s;
}

.related-card:hover {
    background: #f3f4f6;
    transform: translateX(5px);
}

.related-teams {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: #1d2129;
}

.related-info {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #6e7681;
}

.related-prediction {
    color: #3b82f6;
    font-weight: 500;
}

.related-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.related-price {
    font-size: 15px;
    font-weight: 600;
    color: #f59e0b;
}

.related-arrow {
    font-size: 18px;
    color: #9ca3af;
    text-decoration: none;
}

.no-related {
    text-align: center;
    font-size: 16px;
    color: #6e7681;
    padding: 30px;
}

@media (max-width: 768px) {
    .match-detail-container {
        padding: 20px 15px;
    }
    
    .match-detail-header {
        padding: 15px 20px;
    }
    
    .expert-avatar-sm {
        width: 40px;
        height: 40px;
    }
    
    .follow-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .match-detail-teams {
        padding: 30px 15px;
    }
    
    .team-logo-lg {
        width: 65px;
        height: 65px;
    }
    
    .team-name-lg {
        font-size: 16px;
    }
    
    .score-box {
        flex: 0 0 80px;
    }
    
    .score-num {
        font-size: 32px;
    }
    
    .match-timer-row {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .countdown-box {
        align-items: center;
    }
    
    .prediction-main-card {
        grid-template-columns: 1fr;
    }
    
    .prediction-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .related-card {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .related-right {
        width: 100%;
        justify-content: space-between;
    }
}
