/* ==============================================
   ESTILOS PARA DIRECTORIO, LIGAS Y CLUBES
   Adaptados a las paletas de colores del sitio
   ============================================== */

/* ESTILOS PARA DIRECTORIO */
.member-card {
    transition: transform 0.3s ease;
    background: var(--color-background, #ffffff);
    color: var(--color-text, #333);
    border-radius: 20px;
    border: 1px solid var(--color-border, #dee2e6);
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.profile-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 15px;
}

.profile-image-container {
    position: relative;
    width: 180px;
    height: 180px;
}

.profile-image,
.profile-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.profile-image {
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.profile-placeholder {
    background: var(--color-light, #f8f9fa);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--color-secondary, #6c757d);
    border: 2px solid var(--color-border, #dee2e6);
}

.profile-decoration {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid var(--color-primary, #007bff);
    border-radius: 35px;
    z-index: 1;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.profile-image-container::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
    background: repeating-linear-gradient(
        45deg,
        var(--color-primary)15,
        var(--color-primary)15 5px,
        transparent 5px,
        transparent 10px
    );
    border-radius: 30px;
    z-index: 0;
}

.member-card:hover .profile-image,
.member-card:hover .profile-placeholder {
    transform: translate(-5px, -5px);
}

.member-card:hover .profile-decoration {
    opacity: 0.6;
    transform: translate(5px, 5px);
}

.member-card .badge {
    font-weight: 500;
    letter-spacing: 0.5px;
    background-color: var(--color-primary, #007bff) !important;
    color: white !important;
}

.contact-info {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.member-card:hover .contact-info {
    opacity: 1;
}

.contact-info .text-muted {
    color: var(--color-secondary, #6c757d) !important;
}

/* ESTILOS PARA LIGAS */
.hover-shadow {
    transition: all 0.3s ease;
    background: var(--color-background, #ffffff);
    color: var(--color-text, #333);
    border: 1px solid var(--color-border, #dee2e6);
}

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

.card-image-wrapper {
    position: relative;
    padding-top: 60%; /* 3:5 aspect ratio */
    overflow: hidden;
}

.card-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-image-wrapper:hover img {
    transform: scale(1.05);
}

.card-img-top {
    border-top-left-radius: calc(0.375rem - 1px);
    border-top-right-radius: calc(0.375rem - 1px);
}

.hover-shadow .card-title {
    color: var(--color-text, #333);
}

.hover-shadow .card-text {
    color: var(--color-secondary, #6c757d) !important;
}

/* ESTILOS ESPECÍFICOS PARA PALETAS */

/* Estilos específicos para paleta energía */
.paleta-energia .member-card {
    border-left: 4px solid var(--color-primary);
    background: linear-gradient(145deg, var(--color-background), rgba(42, 91, 140, 0.05));
}

.paleta-energia .profile-placeholder {
    background: linear-gradient(145deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-background);
}

.paleta-energia .profile-decoration {
    border-color: var(--color-primary);
}

.paleta-energia .hover-shadow {
    transition: all 0.3s ease;
}

.paleta-energia .hover-shadow:hover {
    box-shadow: 0 8px 25px rgba(42, 91, 140, 0.15);
}

/* Estilos específicos para paleta profesional */
.paleta-profesional .member-card {
    background: linear-gradient(145deg, var(--color-background), rgba(10, 36, 99, 0.02));
    border-left: 4px solid var(--color-primary);
    border-color: var(--color-secondary);
}

.paleta-profesional .profile-placeholder {
    background: linear-gradient(145deg, var(--color-secondary), var(--color-background));
    color: var(--color-text);
}

.paleta-profesional .profile-decoration {
    border-color: var(--color-primary);
}

.paleta-profesional .hover-shadow {
    transition: all 0.3s ease;
}

.paleta-profesional .hover-shadow:hover {
    box-shadow: 0 8px 25px rgba(10, 36, 99, 0.15);
}

.paleta-profesional .card-title {
    color: var(--color-text) !important;
}

.paleta-profesional .card-text {
    color: var(--color-text) !important;
}

.paleta-profesional .contact-info .text-muted {
    color: var(--color-secondary) !important;
}

/* Estilos específicos para paleta moderna */
.paleta-moderno .member-card {
    background: linear-gradient(145deg, var(--color-background), rgba(42, 157, 143, 0.02));
    border-left: 4px solid var(--color-primary);
    border-color: var(--color-secondary);
}

.paleta-moderno .profile-placeholder {
    background: linear-gradient(145deg, var(--color-secondary), var(--color-background));
    color: var(--color-text);
}

.paleta-moderno .profile-decoration {
    border-color: var(--color-primary);
}

.paleta-moderno .hover-shadow {
    transition: all 0.3s ease;
}

.paleta-moderno .hover-shadow:hover {
    box-shadow: 0 8px 25px rgba(42, 157, 143, 0.15);
}

.paleta-moderno .card-title {
    color: var(--color-text) !important;
}

.paleta-moderno .card-text {
    color: var(--color-text) !important;
}

.paleta-moderno .contact-info .text-muted {
    color: var(--color-secondary) !important;
}

/* ESTILOS PARA CLUBES */
.hover-effect {
    transition: transform 0.2s ease-in-out;
    background: var(--color-background, #ffffff);
    color: var(--color-text, #333);
    border: 1px solid var(--color-border, #dee2e6) !important;
}

.hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}

.hover-effect .card-title {
    color: var(--color-text, #333) !important;
}

.hover-effect .text-muted {
    color: var(--color-secondary, #6c757d) !important;
}

/* Estilos específicos para paletas en clubes */
.paleta-energia .hover-effect {
    background: var(--color-background);
    border-color: var(--color-border) !important;
}

.paleta-energia .hover-effect .card-title {
    color: var(--color-text) !important;
}

.paleta-profesional .hover-effect {
    background: var(--color-background);
    border-color: var(--color-border) !important;
    color: var(--color-text);
}

.paleta-profesional .hover-effect .card-title {
    color: var(--color-text) !important;
}

.paleta-profesional .hover-effect .text-muted {
    color: var(--color-secondary) !important;
}

.paleta-moderno .hover-effect {
    background: var(--color-background);
    border-color: var(--color-border) !important;
    color: var(--color-text);
}

.paleta-moderno .hover-effect .card-title {
    color: var(--color-text) !important;
}

.paleta-moderno .hover-effect .text-muted {
    color: var(--color-secondary) !important;
}

/* ESTILOS ESPECÍFICOS PARA PÁGINA DE CLUB */

/* Header del club */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--color-primary, #007bff) 0%, var(--color-secondary, #6c757d) 100%);
}

.club-logo-header img {
    transition: transform 0.3s ease;
}

.club-logo-header img:hover {
    transform: scale(1.05);
}

/* Breadcrumbs */
.breadcrumb-item a {
    color: var(--color-primary, #007bff);
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--color-secondary, #6c757d);
}

/* Tarjeta de información del club */
.club-info-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(var(--color-primary-rgb), 0.1);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    animation: fadeInScale 0.8s ease-out;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.club-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    border-color: rgba(var(--color-primary-rgb), 0.2);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.club-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    animation: slideInRight 1s ease-out 0.3s both;
}

@keyframes slideInRight {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

.club-logo-container {
    transition: transform 0.3s ease;
}

.club-logo-container:hover {
    transform: scale(1.02);
}

.club-main-logo {
    transition: all 0.3s ease;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.club-logo-decoration {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid var(--color-primary, #007bff);
    border-radius: 50%;
    opacity: 0.2;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.4;
    }
    100% {
        transform: scale(1);
        opacity: 0.2;
    }
}

.club-name {
    background: linear-gradient(135deg, var(--color-primary, #007bff), var(--color-secondary, #6c757d));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-item {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: var(--color-primary, #007bff);
    background: var(--color-background, #ffffff) !important;
}

.info-icon {
    transition: all 0.3s ease;
}

.info-item:hover .info-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Tarjetas de estadísticas */
.stat-card {
    background: linear-gradient(145deg, var(--color-background, #ffffff), rgba(0,123,255,0.02));
    border: 1px solid var(--color-border, #dee2e6);
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: var(--color-primary, #007bff);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    animation: pulse 2s ease-in-out infinite;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    50% {
        box-shadow: 0 5px 15px rgba(0,0,0,0.1), 0 0 20px rgba(0,123,255,0.3);
    }
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    animation: countUp 1s ease-out;
    animation-fill-mode: both;
    color: var(--color-primary);
}

.stat-card:hover .stat-number {
    transform: scale(1.05);
    color: var(--color-secondary);
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    color: var(--color-text-muted, #6c757d);
}

.stat-card:hover .stat-label {
    color: var(--color-primary);
}

/* Estilos específicos para directiva */
.directiva-principal {
    background: linear-gradient(145deg, var(--color-background, #ffffff), rgba(0,123,255,0.03));
    border: 2px solid var(--color-border, #dee2e6);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: slideInLeft 0.8s ease-out;
}

.directiva-principal::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
    animation: shimmer 3s ease-in-out infinite;
}

.directiva-principal:hover::before {
    left: 100%;
}

.directiva-principal:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    border-color: var(--color-primary, #007bff);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

.profile-image-container.presidente .profile-placeholder {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #8b4513;
}

.profile-image-container.vicepresidente .profile-placeholder {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
    color: #4a4a4a;
}

.cargo-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.cargo-badge.presidente {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #8b4513;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.cargo-badge.vicepresidente {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
    color: #4a4a4a;
    box-shadow: 0 2px 8px rgba(192, 192, 192, 0.3);
}

.cargo-badge.secretario {
    background: linear-gradient(135deg, #17a2b8, #20c997);
    color: white;
    box-shadow: 0 2px 8px rgba(23, 162, 184, 0.3);
}

.cargo-badge.tesorero {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: #212529;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.cargo-badge.director {
    background: linear-gradient(135deg, #6c757d, #adb5bd);
    color: white;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

.directiva-principal:hover .cargo-badge {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Estilos para sección de noticias */
.empty-state {
    padding: 4rem 2rem;
    background: linear-gradient(145deg, var(--color-background, #ffffff), rgba(0,123,255,0.02));
    border-radius: 20px;
    border: 2px dashed var(--color-border, #dee2e6);
}

.empty-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--color-primary, #007bff), var(--color-secondary, #6c757d));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    animation: pulse 2s infinite;
}

.noticias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.noticia-card {
    background: var(--color-background, #ffffff);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid var(--color-border, #dee2e6);
    animation: slideInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.noticia-card:nth-child(1) { animation-delay: 0.1s; }
.noticia-card:nth-child(2) { animation-delay: 0.2s; }
.noticia-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.noticia-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-color: var(--color-primary, #007bff);
}

.noticia-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.noticia-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.noticia-card:hover .noticia-image {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,123,255,0.8), rgba(108,117,125,0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 2rem;
}

.noticia-card:hover .image-overlay {
    opacity: 1;
}

.noticia-image-placeholder {
    height: 250px;
    background: linear-gradient(135deg, var(--color-primary, #007bff), var(--color-secondary, #6c757d));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.noticia-content {
    padding: 1.5rem;
}

.noticia-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.noticia-date {
    color: var(--color-text, #6c757d);
    font-size: 0.85rem;
    font-weight: 500;
}

.noticia-category {
    background: linear-gradient(135deg, var(--color-primary, #007bff), var(--color-secondary, #6c757d));
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.noticia-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text, #212529);
    line-height: 1.3;
    transition: color 0.3s ease;
}

.noticia-card:hover .noticia-title {
    color: var(--color-primary, #007bff);
}

.noticia-excerpt {
    color: var(--color-text, #6c757d);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.noticia-footer {
    display: flex;
    justify-content: flex-end;
}

.noticia-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--color-primary, #007bff), var(--color-secondary, #6c757d));
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 15px rgba(0,123,255,0.3);
    position: relative;
    overflow: hidden;
    border: none;
}

.noticia-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.noticia-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,123,255,0.4);
    color: white;
    text-decoration: none;
}

.noticia-btn:hover::before {
    left: 100%;
}

.noticia-btn:active {
    transform: translateY(-1px) scale(1.02);
    transition: all 0.1s ease;
}

.noticia-btn:focus {
    outline: 3px solid rgba(0, 123, 255, 0.3);
    outline-offset: 2px;
}

.noticia-btn i {
    transition: transform 0.3s ease;
}

.noticia-btn:hover i {
    transform: translateX(5px);
}

/* Paginación moderna */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-link.prev,
.page-link.next {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--color-background, #ffffff);
    border: 2px solid var(--color-border, #dee2e6);
    border-radius: 25px;
    color: var(--color-text, #212529);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-link.prev:hover,
.page-link.next:hover {
    background: var(--color-primary, #007bff);
    border-color: var(--color-primary, #007bff);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.3);
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
}

.page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--color-background, #ffffff);
    border: 2px solid var(--color-border, #dee2e6);
    color: var(--color-text, #212529);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-number:hover {
    background: var(--color-primary, #007bff);
    border-color: var(--color-primary, #007bff);
    color: white;
    transform: scale(1.1);
}

.page-number.active {
    background: linear-gradient(135deg, var(--color-primary, #007bff), var(--color-secondary, #6c757d));
    border-color: var(--color-primary, #007bff);
    color: white;
    box-shadow: 0 5px 15px rgba(0,123,255,0.3);
}

/* ==========================================
   REDES SOCIALES MEJORADAS PARA CLUB.PHP
   ========================================== */
.social-media-btn {
    transition: all 0.3s ease !important;
    border: none !important;
    position: relative;
    overflow: hidden;
}

.social-media-btn:hover {
    transform: translateY(-3px) scale(1.05);
    text-decoration: none !important;
}

.social-media-btn.facebook:hover {
    background: #166fe5 !important;
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4) !important;
}

.social-media-btn.instagram:hover {
    background: linear-gradient(45deg, #e6683c 0%, #dc2743 25%, #cc2366 50%, #bc1888 75%, #a91a7a 100%) !important;
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.4) !important;
}

.social-media-btn.youtube:hover {
    background: #e60000 !important;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4) !important;
}

.social-media-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.social-media-btn:hover::before {
    left: 100%;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .profile-image-container {
        width: 150px;
        height: 150px;
    }
    
    .profile-placeholder {
        font-size: 3rem;
    }
    
    .member-card {
        margin-bottom: 1rem;
    }
    
    .club-main-logo {
        width: 150px !important;
        height: 150px !important;
    }
    
    .club-name {
        font-size: 2rem !important;
    }
    
    .info-item {
        margin-bottom: 1rem !important;
        padding: 1rem !important;
    }
    
    .stat-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem !important;
    }
    
    .club-logo-header img {
        width: 60px !important;
        height: 60px !important;
    }
    
    /* Mejoras específicas para móvil */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .club-info-card {
        margin-bottom: 2rem;
        padding: 1.5rem !important;
    }
    
    .club-logo-container {
        margin-bottom: 1.5rem;
    }
    
    .info-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.2rem !important;
    }
    
    .stat-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.3rem !important;
    }
    
    .stat-number {
        font-size: 2rem !important;
    }
    
    .directiva-principal {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem;
    }
    
    .profile-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-wrapper .ms-4,
    .profile-wrapper .ms-3 {
        margin-left: 0 !important;
        margin-top: 1rem;
    }
    
    .cargo-badge {
        margin-bottom: 0.5rem !important;
    }
    
    /* Grid de noticias responsive */
    .noticias-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .noticia-card {
        margin-bottom: 1.5rem;
    }
    
    .noticia-image-wrapper,
    .noticia-image-placeholder {
        height: 200px;
    }
    
    .noticia-content {
        padding: 1rem;
    }
    
    .noticia-title {
        font-size: 1.1rem;
    }
    
    .noticia-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .noticia-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    /* Paginación móvil */
    .pagination-modern {
        flex-direction: column;
        gap: 1rem;
    }
    
    .page-numbers {
        order: 2;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .page-link.prev {
        order: 1;
    }
    
    .page-link.next {
        order: 3;
    }
    
    .page-number {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    /* Breadcrumbs móvil */
    .breadcrumb {
        font-size: 0.85rem;
        padding: 0.5rem 0;
    }
    
    /* Empty state móvil */
    .empty-state {
        padding: 2rem 1rem;
    }
    
    .empty-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

/* Tablet responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .noticias-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .club-info-card {
        padding: 2rem;
    }
    
    .stat-card {
        padding: 2rem;
    }
    
    .directiva-principal {
        padding: 2rem;
    }
}

/* Mejoras para pantallas muy pequeñas */
@media (max-width: 480px) {
    .club-name {
        font-size: 1.5rem !important;
    }
    
    .stat-number {
        font-size: 1.8rem !important;
    }
    
    .noticia-title {
        font-size: 1rem !important;
    }
    
    .club-info-card,
    .stat-card,
    .directiva-principal {
        padding: 1rem !important;
    }
    
    .info-item {
        padding: 0.75rem !important;
    }
    
    .page-link.prev,
    .page-link.next {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .page-link.prev span,
    .page-link.next span {
        display: none;
    }
}

/* ACCESIBILIDAD */
/* Mejores contrastes para texto */
.stat-label,
.noticia-meta,
.info-item small {
    color: #495057 !important;
    font-weight: 500;
}

/* Focus visible mejorado */
.noticia-card:focus,
.stat-card:focus,
.club-info-card:focus,
.directiva-principal:focus {
    outline: 3px solid #0056b3;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.2);
}

.page-number:focus,
.page-link:focus {
    outline: 2px solid #0056b3;
    outline-offset: 1px;
    background-color: #e3f2fd;
}

/* Mejora de contraste para enlaces */
a.noticia-btn {
    color: #ffffff !important;
    font-weight: 600;
}

a.noticia-btn:hover,
a.noticia-btn:focus {
    color: #ffffff !important;
}

/* Estados de hover más accesibles */
.noticia-card:hover,
.stat-card:hover,
.directiva-principal:hover {
    border-color: #0056b3;
}

/* Texto más legible en badges */
.cargo-badge {
    color: #ffffff !important;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Mejora de contraste para iconos */
.info-icon,
.stat-icon {
    color: #ffffff !important;
}

/* Reducir movimiento para usuarios con preferencias de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .stat-icon {
        animation: none !important;
    }
    
    .directiva-principal::before {
        animation: none !important;
    }
}

/* Mejora de legibilidad para texto pequeño */
.noticia-date,
.noticia-category {
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
}

/* Asegurar que los elementos interactivos tengan un tamaño mínimo */
.page-number,
.page-link {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.noticia-btn {
    min-height: 44px;
    padding: 0.75rem 1.5rem;
}

/* Mejora de contraste para estados activos */
.page-number.active {
    background-color: #0056b3 !important;
    color: #ffffff !important;
    border-color: #0056b3 !important;
}

/* Indicadores visuales para elementos interactivos */
.noticia-card,
.stat-card,
.directiva-principal {
    cursor: default;
}

.noticia-btn,
.page-link,
.page-number {
    cursor: pointer;
}

/* Mejora de espaciado para mejor legibilidad */
.noticia-title {
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.noticia-excerpt {
    line-height: 1.6;
    color: #495057;
}