* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    background: #f4f4f4;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-section img {
    height: 60px;
}

.brand-text h1 {
    color: white;
    font-size: 24px;
    margin: 0;
    font-weight: 600;
}

.brand-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    margin: 0;
}

.main-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background 0.3s;
    font-size: 16px;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.register-btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background: #28a745;
    text-decoration: none;
    border-radius: 25px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.4);
    white-space: nowrap;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.6);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
}

.mobile-register-btn {
    display: none;
}

.mobile-buttons-container {
    display: none;
}

.install-pwa-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.5);
    z-index: 1000;
    transition: all 0.3s ease;
    align-items: center;
    gap: 10px;
}

.install-pwa-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 25px rgba(102, 126, 234, 0.7);
}

.install-pwa-btn:active {
    transform: translateY(-1px);
}

/* Modal iOS */
.ios-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ios-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

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

.ios-modal-header {
    padding: 25px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ios-modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 22px;
}

.ios-modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.ios-modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.ios-modal-body {
    padding: 25px;
}

.ios-modal-body p {
    margin: 0 0 20px 0;
    color: #555;
    font-size: 16px;
}

.ios-instructions {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ios-instructions li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.2s;
}

.ios-instructions li:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.ios-step-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
}

.ios-instructions li div {
    flex: 1;
    line-height: 1.6;
    color: #333;
}

.ios-instructions li strong {
    color: #667eea;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 40px 30px;
}

.section {
    margin-bottom: 40px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
}

.section-title {
    color: #667eea;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
}

.evento-destacado {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.evento-destacado:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.evento-titulo {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.evento-fecha {
    color: #667eea;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 18px;
}

.evento-descripcion {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.evento-contacto {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.evento-contacto a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.2s, background 0.2s;
}

.evento-contacto a:hover {
    transform: scale(1.05);
    background: #5568d3;
}

.evento-contacto a.whatsapp {
    background: #25D366;
}

.evento-contacto a.whatsapp:hover {
    background: #20ba5a;
}

.evento-contacto a.mapa {
    background: #EA4335;
}

.evento-contacto a.mapa:hover {
    background: #d33426;
}

.evento-media {
    margin-top: 20px;
    text-align: center;
}

.evento-media img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.evento-media video {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.evento-media iframe {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Localizador de Células */
.localizador-celulas {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.buscador-container {
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.input-direccion {
    flex: 1;
    padding: 15px;
    border: 2px solid #667eea;
    border-radius: 10px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
}

.input-direccion:focus {
    border-color: #764ba2;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

.btn-buscar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-buscar:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-buscar:active {
    transform: translateY(0);
}

.resultados-container {
    margin-top: 25px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.celula-resultado {
    display: flex;
    gap: 20px;
    padding: 20px;
    margin-bottom: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 5px solid #667eea;
    transition: all 0.3s;
}

.celula-resultado:hover {
    background: #e8eaf6;
    transform: translateX(5px);
}

.celula-resultado-imagen {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.celula-resultado-info {
    flex: 1;
}

.celula-resultado-nombre {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.celula-resultado-distancia {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

.celula-resultado-direccion {
    color: #555;
    margin-bottom: 5px;
    font-size: 14px;
}

.celula-resultado-medalla {
    font-size: 24px;
    margin-right: 10px;
}

.loading-spinner {
    text-align: center;
    padding: 20px;
    color: #667eea;
    font-weight: bold;
}

.error-message {
    background: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.celulas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.celula-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.celula-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.celula-card img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

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

.celula-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
}

.celula-links a {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 15px;
    background: #e8eaf6;
    border-radius: 5px;
    transition: background 0.3s;
}

.celula-links a:hover {
    background: #667eea;
    color: white;
}

.no-evento {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 18px;
}

.eventos-hoy-section {
    background: #ffffff;
    border-left: 4px solid #667eea;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.eventos-hoy-titulo {
    color: #667eea;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.eventos-hoy-lista {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.evento-hoy-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
    transition: background 0.2s;
    gap: 10px;
    cursor: pointer;
}

.evento-hoy-item:hover {
    background: #e8eaf6;
}

.evento-hoy-info {
    flex: 1;
    min-width: 0;
}

.evento-hoy-nombre {
    font-weight: 600;
    color: #333;
    font-size: 15px;
    margin-bottom: 3px;
}

.evento-hoy-detalles {
    font-size: 13px;
    color: #555;
}

.evento-hoy-acciones {
    display: flex;
    align-items: center;
    gap: 8px;
}

.evento-hoy-hora {
    background: #667eea;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
}

.evento-hoy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.evento-hoy-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.evento-hoy-btn.whatsapp {
    background: #25D366;
    color: white;
}

.evento-hoy-btn.whatsapp svg {
    width: 20px;
    height: 20px;
}

.evento-hoy-btn.mapa {
    background: #EA4335;
    color: white;
}

.evento-hoy-btn.mapa svg {
    width: 20px;
    height: 20px;
}

.cumpleanos-section {
    background: linear-gradient(135deg, #667eea 0%, #4568dc 100%);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 3px 15px rgba(69, 104, 220, 0.3);
}

.cumpleanos-title {
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.cumpleanos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.cumpleanos-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cumpleanos-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cumpleanos-foto {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 10px;
    border: 3px solid #4568dc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cumpleanos-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4568dc 0%, #2563eb 100%);
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    color: white;
    border: 3px solid #4568dc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cumpleanos-nombre {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.cumpleanos-fecha {
    font-size: 13px;
    color: #555;
    margin-top: 3px;
}

.cumpleanos-mes-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.cumpleanos-mes-title {
    color: #667eea;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
}

.cumpleanos-mes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.cumpleanos-mes-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.cumpleanos-mes-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cumpleanos-mes-foto {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 10px;
    border: 3px solid #667eea;
}

.cumpleanos-mes-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    border: 3px solid #667eea;
}

.cumpleanos-mes-nombre {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 3px;
}

.cumpleanos-mes-dia {
    font-size: 13px;
    color: #667eea;
    font-weight: bold;
}

.no-cumpleanos {
    text-align: center;
    padding: 30px;
    color: white;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

/* Estilos para actividades semanales */
.actividades-semana-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.actividades-semana-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.3; }
    50% { transform: scale(1.1) rotate(180deg); opacity: 0.5; }
}

.actividades-semana-title {
    color: white;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.calendario-nav-btns {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.cal-nav-btn {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
}

.cal-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cal-nav-btn-destacado {
    background: rgba(255, 255, 255, 0.25);
    border-color: white;
}

.cal-nav-btn-destacado:hover {
    background: white;
    color: #667eea;
}

.calendario-semana {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.dia-columna {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.dia-columna:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.dia-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 8px;
    text-align: center;
    font-weight: bold;
    position: relative;
}

.dia-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
}

.dia-header.hoy {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 10px rgba(240, 147, 251, 0.5); }
    50% { box-shadow: 0 0 20px rgba(240, 147, 251, 0.8); }
}

.dia-nombre {
    font-size: 13px;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dia-numero {
    font-size: 22px;
    font-weight: bold;
}

.dia-eventos {
    padding: 12px 8px;
    min-height: 80px;
    max-height: 400px;
    overflow-y: auto;
}

.dia-eventos::-webkit-scrollbar {
    width: 4px;
}

.dia-eventos::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.dia-eventos::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}

.evento-item {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e7ff 100%);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 4px solid #667eea;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
}

a.evento-item:hover {
    transform: translateX(3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.evento-item:hover {
    transform: translateX(3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.evento-item.especial {
    border-left-color: #f093fb;
    background: linear-gradient(135deg, #fff0f5 0%, #ffe0e9 100%);
}

.evento-item.especial::before {
    content: '⭐';
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 14px;
    opacity: 0.6;
}

.evento-item.cumpleanos {
    border-left-color: #4568dc;
    background: linear-gradient(135deg, #e3f2fd 0%, #dbeafe 100%);
}

.evento-item.cumpleanos::before {
    content: '🎉';
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 14px;
    opacity: 0.7;
}

.cumpleanos-foto-mini {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #4568dc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.cumpleanos-placeholder-mini {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4568dc 0%, #2563eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
    border: 2px solid #4568dc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.evento-item.multi-dia {
    border-left-width: 5px;
    box-shadow: 0 3px 8px rgba(240, 147, 251, 0.2);
}

.evento-item.multi-dia .evento-hora {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.15) 0%, rgba(245, 87, 108, 0.15) 100%);
    color: #c2185b;
    font-weight: 700;
}

.evento-contenido {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.evento-thumbnail {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.evento-info {
    flex: 1;
    min-width: 0;
}

.evento-info .evento-titulo {
    font-weight: 700;
    color: #1976D2;
    margin-bottom: 4px;
    line-height: 1.3;
    font-size: 12px;
}

.evento-item.especial .evento-info .evento-titulo {
    color: #c2185b;
}

a.evento-item .evento-info .evento-titulo {
    color: #1976D2;
}

a.evento-item.especial .evento-info .evento-titulo {
    color: #c2185b;
}

.evento-hora {
    color: #555;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    background: rgba(102, 126, 234, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.sin-eventos {
    color: #999;
    font-style: italic;
    font-size: 12px;
    text-align: center;
    padding: 20px 10px;
    opacity: 0.6;
}

.facebook-section {
    margin-top: 40px;
    padding: 30px 0;
    text-align: center;
}

.facebook-header {
    background: linear-gradient(135deg, #4267B2 0%, #385898 100%);
    padding: 30px;
    border-radius: 15px 15px 0 0;
    margin: 0 30px;
}

.facebook-section h2 {
    color: white;
    font-size: 28px;
    margin-bottom: 15px;
}

.facebook-section p {
    color: #e8f0ff;
    font-size: 18px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.facebook-follow-btn {
    display: inline-block;
    padding: 15px 30px;
    background: white;
    color: #4267B2;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 0;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.facebook-follow-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.facebook-widget-container {
    background: white;
    padding: 20px;
    border-radius: 0 0 15px 15px;
    margin: 0 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    max-height: 700px;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

.facebook-widget-container::-webkit-scrollbar {
    width: 12px;
}

.facebook-widget-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.facebook-widget-container::-webkit-scrollbar-thumb {
    background: #4267B2;
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

.facebook-widget-container::-webkit-scrollbar-thumb:hover {
    background: #385898;
}

.scroll-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(66, 103, 178, 0.9);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    pointer-events: none;
    animation: bounce 2s infinite;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 10px 15px;
        flex-wrap: wrap;
    }

    .logo-section {
        gap: 10px;
    }

    .logo-section img {
        height: 45px;
    }

    .brand-text h1 {
        font-size: 16px;
    }

    .brand-text p {
        font-size: 10px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav .register-btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    .mobile-register-btn {
        display: none;
    }

    .mobile-buttons-container {
        display: flex;
        gap: 10px;
        width: 100%;
        order: 3;
        margin-top: 10px;
    }

    .mobile-action-btn {
        flex: 1;
        padding: 10px 15px;
        font-size: 14px;
        font-weight: bold;
        text-align: center;
        text-decoration: none;
        border-radius: 10px;
        transition: transform 0.2s;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    }

    .mobile-action-btn:active {
        transform: scale(0.95);
    }

    .mobile-register {
        background: #28a745;
        color: white;
    }

    .mobile-login {
        background: #2196F3;
        color: white;
    }

    .install-pwa-btn {
        bottom: 10px;
        right: 10px;
        left: 10px;
        width: auto;
        padding: 12px 20px;
        font-size: 14px;
    }

    .container {
        padding: 20px 15px;
    }

    .evento-media iframe {
        height: 250px;
    }

    .facebook-section {
        padding: 20px 0;
        margin: 0 -15px;
    }

    .facebook-header {
        border-radius: 0;
        margin: 0;
        padding: 20px 15px;
    }

    .facebook-section h2 {
        font-size: 22px;
    }

    .facebook-section p {
        font-size: 16px;
    }

    .facebook-follow-btn {
        font-size: 16px;
        padding: 12px 24px;
    }

    .facebook-widget-container {
        max-height: 500px;
        padding: 10px;
        border-radius: 0;
        margin: 0;
        box-shadow: none;
    }

    .facebook-widget-container::-webkit-scrollbar {
        width: 6px;
    }

    .scroll-indicator {
        font-size: 12px;
        padding: 6px 16px;
    }

    .fb-page {
        width: 100% !important;
    }

    .fb-page > span {
        width: 100% !important;
    }

    .fb-page iframe {
        width: 100% !important;
    }

    .eventos-hoy-section {
        margin-left: -15px;
        margin-right: -15px;
        border-radius: 0;
        padding: 12px 15px;
    }

    .eventos-hoy-titulo {
        font-size: 15px;
    }

    .evento-hoy-item {
        flex-wrap: nowrap;
        padding: 8px;
        gap: 6px;
    }

    .evento-hoy-info {
        flex: 1;
        min-width: 0;
    }

    .evento-hoy-nombre {
        font-size: 13px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .evento-hoy-detalles {
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .evento-hoy-acciones {
        gap: 6px;
    }

    .evento-hoy-btn {
        width: 30px;
        height: 30px;
    }

    .evento-hoy-btn.whatsapp svg {
        width: 16px;
        height: 16px;
    }

    .evento-hoy-btn.mapa svg {
        width: 16px;
        height: 16px;
    }

    .evento-hoy-hora {
        font-size: 12px;
        padding: 4px 8px;
    }

    .cumpleanos-section {
        padding: 15px;
        margin-left: -15px;
        margin-right: -15px;
        border-radius: 0;
    }

    .cumpleanos-title {
        font-size: 18px;
    }

    .cumpleanos-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 12px;
    }

    .cumpleanos-card {
        padding: 12px;
    }

    .cumpleanos-foto,
    .cumpleanos-placeholder {
        width: 85px;
        height: 85px;
    }

    .cumpleanos-placeholder {
        font-size: 38px;
    }

    .cumpleanos-nombre {
        font-size: 14px;
    }

    .cumpleanos-fecha {
        font-size: 12px;
    }

    .cumpleanos-mes-section {
        padding: 20px 15px;
    }

    .cumpleanos-mes-title {
        font-size: 20px;
    }

    .cumpleanos-mes-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }

    .cumpleanos-mes-card {
        padding: 12px;
    }

    .cumpleanos-mes-foto,
    .cumpleanos-mes-placeholder {
        width: 70px;
        height: 70px;
    }

    .cumpleanos-mes-placeholder {
        font-size: 28px;
    }

    .cumpleanos-mes-nombre {
        font-size: 14px;
    }

    .cumpleanos-mes-dia {
        font-size: 12px;
    }

    .actividades-semana-section {
        padding: 20px 15px;
        margin-left: -15px;
        margin-right: -15px;
        border-radius: 0;
    }

    .actividades-semana-title {
        font-size: 22px;
    }

    .calendario-semana {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .dia-columna {
        display: flex;
        border-radius: 10px;
    }

    .dia-header {
        flex: 0 0 90px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 12px 8px;
    }

    .dia-header::after {
        display: none;
    }

    .dia-nombre {
        font-size: 11px;
    }

    .dia-numero {
        font-size: 18px;
    }

    .dia-eventos {
        flex: 1;
        padding: 10px;
        max-height: none;
    }

    .evento-item {
        margin-bottom: 8px;
        padding: 8px;
    }

    .evento-contenido {
        gap: 8px;
    }

    .evento-thumbnail {
        width: 40px;
        height: 40px;
    }

    .evento-titulo {
        font-size: 11px;
    }

    .evento-hora {
        font-size: 10px;
        padding: 2px 5px;
    }

    .sin-eventos {
        font-size: 11px;
        padding: 15px 8px;
    }
}
