/* Estilos Generales */
body {
    background-color: var(--color-background, #f8f9fa);
}

/* Estilos para el header */
header {
    background-color: var(--color-dark, #212529);
    padding: 15px 0;
    color: white;
    text-align: center;
}

/* Estilos para la tabla de posiciones */
.table th, .table td {
    text-align: center;
}

/* Estilos para las tarjetas de noticias */
.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.card:hover {
    transform: scale(1.05);
}

/* Estilos mejorados para tarjetas de partidos */
.card-partido {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    overflow: hidden;
}

.card-partido:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-partido .card-header {
    background: linear-gradient(135deg, var(--color-primary, #007bff) 0%, var(--color-secondary, #6c757d) 100%);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    font-weight: 600;
    border-radius: 12px 12px 0 0;
}

.card-partido .card-body {
    padding: 1.25rem;
}

.card-partido .team-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.card-partido .team-logo:hover {
    transform: scale(1.1);
}

.card-partido .team-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 0.5rem;
    line-height: 1.2;
}

.card-partido .score-badge {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-partido .venue-info {
    background: rgba(108, 117, 125, 0.1);
    border-radius: 8px;
    padding: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: #495057;
    font-weight: 500;
}

.card-partido .status-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.container {
    flex: 1; /* Hace que el contenido ocupe el espacio disponible */
}

.fixed-footer {
    position: relative;
    bottom: 0;
    width: 100%;
    background-color: var(--color-dark, #343a40);
    color: white;
    text-align: center;
    padding: 10px 0;
}
.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.club-info {
    font-size: 0.9rem;
}

/* Safari iOS fixes for rounded corners */
.swiper-container {
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    border-radius: 15px;
    overflow: hidden;
    /* Ensure hardware acceleration */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.swiper-container img {
    border-radius: 15px;
    -webkit-border-radius: 15px;
}

/* Fix for Safari iOS image rendering */
.swiper-slide {
    -webkit-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -webkit-perspective: 1000;
}