/* Professional Volleyball Matches Styles - Enhanced Card Design */

* {
    box-sizing: border-box;
}

/* Archive & Single Wrapper */
.vbm-archive-wrapper,
.vbm-single-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: #f8f9fa;
    padding: 40px 0;
}

.vbm-archive-container,
.vbm-single-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Archive Header */
.vbm-archive-header {
    text-align: center;
    margin-bottom: 50px;
}

.vbm-archive-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #1a1a1a;
}

.vbm-archive-header p {
    font-size: 18px;
    color: #6c757d;
    margin: 0;
}

/* Filters */
.vbm-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.vbm-filter-btn {
    padding: 12px 28px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.vbm-filter-btn:hover {
    background: #f8f9fa;
    border-color: #4f46e5;
    color: #4f46e5;
    transform: translateY(-2px);
}

.vbm-filter-btn.active {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-color: #4f46e5;
    color: #fff;
}

/* Grid - Enhanced 3 column layout */
.vbm-matches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Match Card - ENHANCED DESIGN */
.vbm-match-card {
    background: linear-gradient(to bottom, #ffffff 0%, #fafbfc 100%);
    border-radius: 20px;
    padding: 0;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.07),
        0 1px 3px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(0, 0, 0, 0.04);
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.vbm-match-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.vbm-match-card:hover::before {
    opacity: 1;
}

.vbm-match-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(79, 70, 229, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(79, 70, 229, 0.1);
}

/* Card Header with Gradient Background */
.vbm-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.vbm-category,
.vbm-status {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.vbm-category {
    background: rgba(255, 255, 255, 0.95);
    color: #4f46e5;
}

.vbm-status.upcoming {
    background: rgba(254, 243, 199, 0.95);
    color: #78350f;
}

.vbm-status.live {
    background: rgba(209, 250, 229, 0.95);
    color: #065f46;
    animation: pulse-badge 2s infinite;
}

.vbm-status.completed {
    background: rgba(219, 234, 254, 0.95);
    color: #1e40af;
}

@keyframes pulse-badge {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Card Body */
.vbm-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 32px 24px;
    border-top: none;
    border-bottom: none;
    background: #fff;
}

.vbm-team {
    flex: 1;
    text-align: center;
}

.vbm-team-name {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
    line-height: 1.3;
}

.vbm-score {
    font-size: 52px;
    font-weight: 900;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.vbm-vs {
    padding: 0 20px;
    font-weight: 800;
    font-size: 14px;
    color: #9ca3af;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 8px 16px;
}

/* Meta Information */
.vbm-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 20px 24px;
    font-size: 14px;
    color: #6c757d;
    background: #fafbfc;
    border-top: 1px solid #f0f0f0;
}

.vbm-meta>div {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Button - Enhanced */
.vbm-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #fff !important;
    text-decoration: none;
    border-radius: 0 0 20px 20px;
    font-weight: 700;
    font-size: 15px;
    margin-top: 0;
    transition: all 0.3s;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.3px;
}

.vbm-btn:hover {
    background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Live indicator pulse animation */
.vbm-live-pulse {
    display: inline-block;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #fff;
    color: #495057 !important;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.vbm-back:hover {
    background: #f8f9fa;
    transform: translateX(-4px);
}

.vbm-detail-header {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    margin-bottom: 40px;
    border: 1px solid #f0f0f0;
}

.vbm-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.vbm-badge-cat,
.vbm-badge-status {
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.vbm-badge-cat {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
}

.vbm-badge-status.upcoming {
    background: #fef3c7;
    color: #78350f;
}

.vbm-badge-status.live {
    background: #d1fae5;
    color: #065f46;
}

.vbm-badge-status.completed {
    background: #dbeafe;
    color: #1e40af;
}

.vbm-matchup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
}

.vbm-matchup h2 {
    gap: 30px;
    margin: 30px 0;
    font-size: 15px;
}

.vbm-winner-big {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    font-size: 16px;
    color: #78350f;
    margin-top: 30px;
}

.vbm-section-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 30px 0;
    color: #1a1a1a;
}

.vbm-set {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f3f5;
}

.vbm-set-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 24px;
    border-bottom: 2px solid #f1f3f5;
}

.vbm-set-header h4 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.vbm-set-winner {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

.vbm-scores {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}

.vbm-score-box {
    flex: 1;
    text-align: center;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 12px;
}

.vbm-score-box.winner {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.vbm-score-box .label {
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 12px;
}

.vbm-score-box.winner .label {
    color: #1e40af;
}

.vbm-score-box .value {
    font-size: 56px;
    font-weight: 800;
    color: #1a1a1a;
}

.vbm-score-box.winner .value {
    color: #4f46e5;
}

.vbm-score-divider {
    font-size: 32px;
    font-weight: 700;
    color: #d1d5db;
}

.vbm-grid-wrapper {
    overflow-x: auto;
    margin-top: 30px;
}

.vbm-points {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.vbm-points thead th {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    padding: 12px 8px;
    text-align: center;
    border: 1px solid #4338ca;
}

.vbm-points tbody td {
    padding: 10px 8px;
    text-align: center;
    border: 1px solid #e5e7eb;
    color: #9ca3af;
}

.vbm-points tbody td:first-child {
    background: #f8f9fa;
    font-weight: 700;
    text-align: left;
    padding-left: 16px;
    color: #1a1a1a;
}

.vbm-points tbody td.scored {
    background: #fef3c7;
    color: #78350f;
    font-weight: 700;
}

.vbm-points tbody td.total {
    background: #dbeafe;
    color: #1e40af;
    font-weight: 800;
    font-size: 16px;
}

.vbm-points tbody tr.winner {
    background: #f0f9ff;
}

.vbm-points tbody tr.winner td:first-child {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .vbm-matches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .vbm-matches-grid {
        grid-template-columns: 1fr;
    }

    .vbm-archive-header h1 {
        font-size: 32px;
    }

    .vbm-matchup {
        flex-direction: column;
        gap: 20px;
    }

    .vbm-matchup h2 {
        font-size: 24px;
    }

    .vbm-info {
        flex-direction: column;
        gap: 10px;
    }

    .vbm-detail-header {
        padding: 24px;
    }

    .vbm-score-box .value {
        font-size: 42px;
    }
}