.playmeta-matches-page-container {
    width: 100%;
    max-width: 1000px;
    margin: 40px auto;
    font-family: 'Inter', sans-serif;
    color: #fff;
    background: #111;
    border: 1px solid #333;
    border-radius: 6px;
    overflow: hidden;
}

.matches-page-header {
    background: #1a1a1a;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #333;
}

.matches-page-header h2 {
    font-size: 18px;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
    font-family: 'Russo One', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

.matches-toggle {
    display: flex;
    gap: 5px;
    background: #000;
    padding: 4px;
    border-radius: 4px;
    border: 1px solid #333;
}

.toggle-btn {
    background: transparent;
    border: none;
    color: #888;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 3px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.toggle-btn:hover {
    color: #fff;
}

.toggle-btn.active {
    background: #ff0000;
    color: #fff;
}

.toggle-btn.active[data-tab="past"] {
    background: #444;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    display: inline-block;
}

.toggle-btn.active[data-tab="current"] .live-dot {
    animation: pulse-small 1.5s infinite;
}

@keyframes pulse-small {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { box-shadow: 0 0 0 4px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.matches-page-content {
    background: #111;
}

.matches-tab-content {
    display: none;
}

.matches-tab-content.active {
    display: block;
}

.matches-loading {
    padding: 40px;
    text-align: center;
    color: #888;
}

/* Match Row Styling (Cyberscore-like) */
.match-row {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #151515;
    transition: background 0.2s;
    position: relative;
}

.match-row:hover {
    background: #1a1a1a;
}

.match-time-col {
    width: 120px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.match-status-badge {
    font-size: 12px;
    font-weight: bold;
    color: #ff3333;
}

.match-status-badge.past {
    color: #888;
}

.match-time {
    font-size: 13px;
    color: #aaa;
    margin-top: 4px;
}

.match-format-col {
    width: 60px;
    flex-shrink: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.match-format {
    font-size: 12px;
    color: #e5b300;
    font-weight: bold;
}

.match-series-score {
    font-size: 13px;
    background: #222;
    padding: 2px 6px;
    border-radius: 3px;
    margin-top: 4px;
    color: #fff;
    font-weight: bold;
}

.match-series-score.live-score {
    background: #ff3333;
    color: #fff;
}

.match-teams-col {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.team-side {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 40%;
}

.team-side.right {
    flex-direction: row-reverse;
    text-align: right;
}

.team-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.team-name {
    font-size: 15px;
    font-weight: 500;
    color: #eee;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.match-center-info {
    width: 20%;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #888;
}

.match-center-score {
    font-size: 20px;
    color: #fff;
}

.match-league-row {
    width: 100%;
    font-size: 11px;
    color: #666;
    text-align: right;
    padding: 0 20px 10px 0;
    background: #151515;
    border-bottom: 1px solid #222;
    box-sizing: border-box;
}
