
.share-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 9px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: white;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.share-facebook { background: #1877f2; }
.share-whatsapp { background: #25d366; }
.share-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.share-tiktok { background: #000000; }
.share-youtube { background: #FF0000; }

/* Modal de compartir */
.share-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.share-modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.share-modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 20px;
}

.share-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.share-modal-close:hover {
    background: #f0f0f0;
    color: #000;
}

.share-modal-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    max-height: 250px;
    object-fit: cover;
}

.share-modal-title {
    color: #333;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.4;
}

.share-modal-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-modal-btn {
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.share-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.share-modal-btn.facebook { background: #1877f2; }
.share-modal-btn.whatsapp { background: #25d366; }
.share-modal-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.share-modal-btn.tiktok { background: #000000; }
.share-modal-btn.youtube { background: #FF0000; }

/* Botón compartir en tarjetas */
.share-icon {
    background: none;
    border: none;
    font-size: 13px;
    cursor: pointer;
    transition: transform 0.2s;
}

.share-icon:hover {
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 640px) {
    .share-modal-content {
        padding: 20px;
    }
    
    .share-modal-buttons {
        flex-direction: column;
    }
    
    .share-modal-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Estilos para páginas legales - Agregar al final de style.css */

.legal-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.legal-page h1 {
    color: #00bcd4;
    font-size: 2.5em;
    margin-bottom: 10px;
    border-bottom: 3px solid #e91e63;
    padding-bottom: 15px;
}

.legal-page .last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 30px;
    font-size: 0.95em;
}

.legal-section {
    margin-bottom: 35px;
}

.legal-section h2 {
    color: #333;
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.legal-section h3 {
    color: #555;
    font-size: 1.3em;
    margin-top: 20px;
    margin-bottom: 12px;
}

.legal-section p {
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
    text-align: justify;
}

.legal-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.legal-section ul li {
    line-height: 1.8;
    color: #444;
    margin-bottom: 10px;
}

.legal-section ul li strong {
    color: #00bcd4;
}

.consent-notice {
    background: linear-gradient(135deg, #00bcd4, #9c27b0);
    color: white;
    padding: 25px;
    border-radius: 8px;
    margin-top: 40px;
    text-align: center;
}

.consent-notice p {
    margin: 0;
    font-size: 1.05em;
    line-height: 1.6;
}

/* Responsivo */
@media (max-width: 768px) {
    .legal-page {
        padding: 20px 15px;
    }
    
    .legal-page h1 {
        font-size: 1.8em;
    }
    
    .legal-section h2 {
        font-size: 1.4em;
    }
    
    .legal-section h3 {
        font-size: 1.15em;
    }
    
    .legal-section p,
    .legal-section ul li {
        text-align: left;
    }
}