* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

/* HEADER */
header {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 20px;
    text-align: center;
    color: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-bottom: 2px solid rgba(255,255,255,0.2);
}

.header-content h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: #000;
}

.header-content h3 {
    font-size: 1.3em;
    opacity: 0.9;
    font-weight: 300;
}

.club-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
}

.club-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 3px solid rgba(255,255,255,0.8);
    transition: all 0.3s ease;
}

.club-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.club-info h1 {
    margin: 0;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: #000;
}

/* ===== NAVEGACIÓN - 10 ELEMENTOS ===== */
.navbar {
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 12px;
    flex-wrap: wrap;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 2px solid transparent;
    white-space: nowrap;
}

.nav-link:hover,
.nav-item.active .nav-link {
    background: rgba(255,255,255,0.9);
    color: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 2px solid white;
}

.nav-link i {
    font-size: 1.1em;
    min-width: 16px;
    text-align: center;
}

.nav-link span {
    font-weight: 600;
}

/* CONTENIDO PRINCIPAL */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-title {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.page-title h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-title p {
    font-size: 1.2em;
    opacity: 0.9;
}

/* SECCIONES GENERALES */
.contact-section,
.general-info,
.social-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.contact-section h3,
.general-info h3,
.social-section h3 {
    color: #2E7D32;
    font-size: 1.8em;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.contact-section h3 i,
.general-info h3 i,
.social-section h3 i {
    color: #4CAF50;
    font-size: 1.2em;
}

/* TARJETAS DE CONTACTO */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.contact-card {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: #4CAF50;
}

.contact-info h4 {
    color: #2E7D32;
    font-size: 1.4em;
    margin-bottom: 8px;
    font-weight: 700;
}

.cargo {
    color: #4CAF50;
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 15px;
    font-style: italic;
}

.contact-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 1em;
}

.contact-detail i {
    color: #4CAF50;
    width: 20px;
    text-align: center;
}

.contact-detail a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-detail a:hover {
    color: #4CAF50;
    text-decoration: underline;
}

/* ===== SECCIÓN DE REDES SOCIALES - HORIZONTAL Y LIMPIA ===== */
.social-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.instagram-highlight {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 450px;
    min-width: 350px;
}

.instagram-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.instagram-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #4CAF50;
    text-decoration: none;
    color: inherit;
}

/* ===== ICONOS DE INSTAGRAM - LIMPIOS SIN ROJOS ===== */
.instagram-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    padding: 3px;
}

.instagram-icon i {
    color: #4CAF50;
    font-size: 2em;
}

/* Logos específicos de las cuentas */
.account-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: none; /* Sin borde */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: transparent;
}

/* Ambas cuentas con el mismo estilo limpio */
.torneig-account,
.club-account {
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

/* Ocultar iconos cuando hay imagen */
.instagram-icon.club-account i,
.instagram-icon.torneig-account i {
    display: none;
}

.instagram-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.instagram-content h4 {
    color: #2E7D32;
    font-size: 1.3em;
    margin-bottom: 5px;
    font-weight: 700;
}

.instagram-handle {
    color: #4CAF50;
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 5px;
}

.follow-cta {
    color: #666;
    font-size: 0.9em;
    font-style: italic;
}

.instagram-arrow {
    color: #4CAF50;
    font-size: 1.2em;
    opacity: 0.7;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.instagram-card:hover .instagram-arrow {
    opacity: 1;
    transform: translateX(5px);
}

/* FOOTER */
footer {
    background: rgba(0,0,0,0.3);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    backdrop-filter: blur(10px);
}

/* ANIMACIONES */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Aplicar delay a las animaciones */
.contact-section { animation-delay: 0.1s; }
.general-info { animation-delay: 0.2s; }
.social-section { animation-delay: 0.3s; }

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.contact-card:nth-child(1) { animation-delay: 0.1s; }
.contact-card:nth-child(2) { animation-delay: 0.3s; }
.contact-card:nth-child(3) { animation-delay: 0.5s; }

/* ===== RESPONSIVE DESIGN ===== */

/* Tablets grandes (1024px - 1200px) */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 10px;
    }
    
    .nav-link {
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
    .header-content h1 {
        font-size: 2.5em;
    }
    
    .club-info h1 {
        font-size: 2em;
    }
    
    .club-logo {
        width: 70px;
        height: 70px;
    }
    
    .nav-menu {
        gap: 8px;
    }
    
    .nav-link {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .page-title h2 {
        font-size: 2em;
    }
    
    .contacts-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .social-grid {
        gap: 20px;
    }
    
    .instagram-highlight {
        min-width: 300px;
    }
    
    .instagram-card {
        padding: 20px 25px;
        gap: 15px;
    }
    
    .instagram-icon {
        width: 60px;
        height: 60px;
    }
    
    .instagram-icon i {
        font-size: 1.8em;
    }
}

/* Móviles y tablets pequeños (768px y menos) */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2em;
    }
    
    .header-content h3 {
        font-size: 1.1em;
    }

    .club-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .club-logo {
        width: 60px;
        height: 60px;
    }
    
    .club-info h1 {
        font-size: 1.8em;
    }

    /* NAVBAR RESPONSIVE - GRID PARA 10 ELEMENTOS */
    .nav-menu {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0 10px !important;
        justify-content: center;
        align-items: center;
    }
    
    .nav-link {
        padding: 12px 8px !important;
        font-size: 13px !important;
        justify-content: center !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        min-height: 65px !important;
        align-items: center !important;
    }
    
    .nav-link i {
        font-size: 1.2em !important;
        min-width: auto !important;
    }
    
    .nav-link span {
        font-size: 12px !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
    }
    
    .page-title h2 {
        font-size: 1.8em;
    }
    
    .page-title p {
        font-size: 1em;
    }
    
    .container {
        padding: 30px 15px;
    }
    
    .contact-section,
    .general-info,
    .social-section {
        padding: 20px;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Redes sociales en móvil - cambiar a vertical */
    .social-grid {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .instagram-highlight {
        min-width: auto;
        max-width: 100%;
    }
    
    .instagram-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 15px;
        max-width: 100%;
    }
    
    .instagram-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto;
    }
    
    .instagram-icon i {
        font-size: 1.5em;
    }
    
    .instagram-arrow {
        display: none;
    }
}

/* Móviles pequeños (480px y menos) */
@media (max-width: 480px) {
    .header-content h1 {
        font-size: 1.6em;
    }
    
    .header-content h3 {
        font-size: 1em;
    }
    
    .club-info h1 {
        font-size: 1.5em;
    }
    
    .club-logo {
        width: 50px;
        height: 50px;
    }
    
    .nav-container {
        padding: 0 8px;
    }
    
    .nav-menu {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 0 5px !important;
    }
    
    .nav-link {
        padding: 10px 6px !important;
        font-size: 12px !important;
        min-height: 60px !important;
    }
    
    .nav-link span {
        font-size: 11px !important;
    }
    
    .nav-link i {
        font-size: 1.1em !important;
    }
    
    .page-title h2 {
        font-size: 1.5em;
    }
    
    .contact-section h3,
    .general-info h3,
    .social-section h3 {
        font-size: 1.4em;
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .contact-info h4 {
        font-size: 1.2em;
    }
    
    .cargo {
        font-size: 1em;
    }
    
    .instagram-card {
        padding: 15px;
        gap: 10px;
    }
    
    .instagram-icon {
        width: 50px;
        height: 50px;
    }
    
    .instagram-icon i {
        font-size: 1.3em;
    }
    
    .instagram-content h4 {
        font-size: 1.1em;
    }
    
    .instagram-handle {
        font-size: 1em;
    }
    
    .follow-cta {
        font-size: 0.8em;
    }
}

/* Móviles muy pequeños (360px y menos) */
@media (max-width: 360px) {
    .header-content h1 {
        font-size: 1.4em;
    }
    
    .club-info h1 {
        font-size: 1.3em;
    }
    
    .club-logo {
        width: 45px;
        height: 45px;
    }
    
    .nav-menu {
        gap: 6px !important;
        padding: 0 3px !important;
    }
    
    .nav-link {
        padding: 8px 4px !important;
        font-size: 11px !important;
        min-height: 55px !important;
    }
    
    .nav-link span {
        font-size: 10px !important;
    }
    
    .nav-link i {
        font-size: 1em !important;
    }
}

/* Mejoras para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
    .club-logo:hover,
    .contact-card:hover,
    .instagram-card:hover {
        transform: none;
    }
    
    .nav-link:hover {
        transform: none;
    }
}

/* Efectos de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .club-logo,
    .contact-section,
    .general-info,
    .social-section,
    .contact-card {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}