/* Contenedor principal de video cards */
.video-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Video Card Layout */
.video-card {
    display: flex;
    flex-direction: row;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.video-card-left,
.video-card-right {
    padding: 15px;
    width: 100%;
}

@media (min-width: 768px) {
    .video-card-left {
        width: 40%;
        position: relative;
    }

    .video-card-right {
        width: 60%;
    }
}

/* Miniatura del video */
.thumbnail-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 6px;
}

.thumbnail-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.thumbnail-wrapper:hover img {
    transform: scale(1.05);
}

.play-video-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background-color 0.3s;
}

.play-video-btn:hover {
    background-color: #0073aa;
}

.play-video-btn svg {
    fill: white;
    width: 30px;
    height: 30px;
}

/* Información del evento */
.event-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.league-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.event-title {
    font-size: 16px;
    margin: 0;
    font-weight: bold;
}

/* Equipos y resultado */
.teams-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.team {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: center;
    flex: 1;
    justify-content: center;
}

.team img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.score-total {
    font-size: 18px;
    font-weight: bold;
    min-width: 50px;
    text-align: center;
}

/* Tabla de goles por tiempo */
.scores-table-container {
    margin-top: 10px;
}

.scores-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.scores-table td {
    padding: 6px 10px;
    border-bottom: 1px solid #eee;
}

.scores-table tr:last-child td {
    border-bottom: none;
}

.scores-table td:first-child {
    font-weight: bold;
    color: #555;
    width: 40%;
}

.scores-table td:last-child {
    text-align: right;
    color: #0073aa;
}

/* Paginación */
.pagination-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.pagination-container nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

.pagination-container a,
.pagination-container span {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.pagination-container a:hover,
.pagination-container a:focus {
    background-color: #f5f5f5;
}

.pagination-container .current {
    background-color: #0073aa;
    color: white;
    border-color: #0073aa;
}

/* Estilo del modal */
.video-modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.video-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 700px;
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.video-modal-header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 10px;
    padding: 10px 0;
    text-align: center;
}

.modal-site-title {
    font-size: 28px;
    color: #333;
    font-weight: bold;
    z-index: 1;
}

.video-modal-close {
    position: absolute;
    right: 0;
    top: 10px;
    font-size: 30px;
    font-weight: bold;
    color: #aaa;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
}

.video-modal-body h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
}

.video-responsive-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-responsive-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


