.jvf-matches-container,
.jvf-stream-container,
.jvf-stats-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 20px 0;
}

.jvf-loading {
    padding: 20px;
    text-align: center;
    color: #666;
    background: #f5f5f5;
    border-radius: 8px;
}

.jvf-error {
    padding: 15px;
    color: #dc3545;
    background: #f8d7da;
    border-radius: 6px;
    border: 1px solid #f5c6cb;
}

.jvf-no-matches,
.jvf-no-stream,
.jvf-no-stats {
    padding: 20px;
    text-align: center;
    color: #666;
    background: #f9f9f9;
    border-radius: 8px;
}

.jvf-matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.jvf-match-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.jvf-match-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.jvf-match-status {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.jvf-match-status.jvf-live {
    background: #dc3545;
    color: #fff;
    animation: pulse 2s infinite;
}

.jvf-match-status.jvf-finished {
    background: #6c757d;
    color: #fff;
}

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

.jvf-match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
}

.jvf-team {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    font-weight: 600;
    font-size: 14px;
}

.jvf-team.jvf-home {
    justify-content: flex-start;
}

.jvf-team.jvf-away {
    justify-content: flex-end;
}

.jvf-team img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.jvf-score {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
}

.jvf-match-time {
    text-align: center;
    margin-top: 12px;
    font-size: 12px;
    color: #888;
}

.jvf-match-id {
    text-align: center;
    margin-top: 8px;
    font-size: 10px;
    color: #aaa;
    font-family: monospace;
    cursor: pointer;
}

.jvf-match-id:hover {
    color: #666;
}

.jvf-stream-badge {
    display: block;
    text-align: center;
    margin-top: 10px;
    padding: 6px 12px;
    background: #28a745;
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Match Detail & Stream */
.jvf-match-detail {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.jvf-detail-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 24px;
    text-align: center;
}

.jvf-detail-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.jvf-detail-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.jvf-detail-team img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.jvf-detail-team span {
    font-weight: 600;
    font-size: 16px;
}

.jvf-detail-score {
    font-size: 36px;
    font-weight: 700;
}

.jvf-detail-meta {
    margin-top: 12px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.jvf-stream-wrapper {
    background: #000;
    min-height: 300px;
}

.jvf-stream-wrapper iframe {
    display: block;
}

.jvf-stream-option {
    padding: 10px;
    border-bottom: 1px solid #333;
}

.jvf-stream-option:last-child {
    border-bottom: none;
}

/* Stats Grid */
.jvf-stats-grid {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.jvf-stats-header,
.jvf-stats-header-info {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    padding: 16px;
    background: #f8f9fa;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.jvf-stats-header-info {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
}

.jvf-stat-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
    font-size: 15px;
}

.jvf-stat-row:last-child {
    border-bottom: none;
}

.jvf-stat-label {
    color: #666;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 480px) {
    .jvf-matches-grid {
        grid-template-columns: 1fr;
    }
    
    .jvf-match-teams {
        flex-direction: column;
        gap: 8px;
    }
    
    .jvf-team {
        justify-content: center !important;
    }
    
    .jvf-detail-teams {
        flex-direction: column;
        gap: 16px;
    }
    
    .jvf-detail-score {
        font-size: 28px;
    }
}
