/* CSS adicional para páginas de jogos individuais */

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--green);
}

.breadcrumb span {
    margin: 0 0.5rem;
}

/* Jogo Header Section */
.jogo-header-section {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-main) 100%);
    padding: 2rem 0 3rem;
    border-bottom: 1px solid var(--border);
}

.jogo-info-header {
    margin-top: 2rem;
}

.league-badge {
    display: inline-block;
    background-color: var(--green);
    color: var(--bg-main);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.team-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.team-logo-large {
    width: 120px;
    height: 120px;
    object-fit: contain;
    background-color: var(--bg-card);
    padding: 15px;
    border-radius: 16px;
    border: 2px solid var(--border);
}

.team-info h2 {
    font-size: 1.5rem;
    color: var(--text);
    text-align: center;
}

.vs-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.vs-large span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-muted);
}

.match-time {
    text-align: center;
}

.match-time .date {
    color: var(--text);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.match-time .time {
    color: var(--green);
    font-size: 1.2rem;
    font-weight: 700;
}

/* Player Section */
.player-section {
    padding: 3rem 0;
}

.player-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.player-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.player-header h3 {
    font-size: 1.3rem;
    color: var(--text);
}

.player-options {
    display: flex;
    gap: 0.5rem;
}

.player-option {
    background-color: var(--bg-main);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.player-option:hover {
    border-color: var(--green);
    color: var(--green);
}

.player-option.active {
    background-color: var(--green);
    color: var(--bg-main);
    border-color: var(--green);
}

.player-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Aspect ratio 16:9 */
    background-color: #000;
}

.player-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Match Details */
.match-details {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
}

.match-details h3 {
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.detail-value {
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .match-teams {
        flex-direction: column;
        gap: 1.5rem;
    }

    .vs-large {
        order: 2;
    }

    .team-logo-large {
        width: 100px;
        height: 100px;
    }

    .team-info h2 {
        font-size: 1.2rem;
    }

    .vs-large span {
        font-size: 1.5rem;
    }

    .player-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .player-options {
        width: 100%;
        flex-wrap: wrap;
    }

    .player-option {
        flex: 1;
        min-width: 120px;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }
}
