/* ========== FOOTER LEGAL ========== */
.footer-legal {
    background: #0a0a0a;
    border-top: 1px solid #1a1a1a;
    padding: 20px;
    text-align: center;
    margin-top: 40px;
}

.footer-legal-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.footer-legal-links a {
    color: #888;
    font-size: 0.75rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-copyright {
    color: #555;
    font-size: 0.7rem;
}

/* ========== MODAL LEGAL ========== */
.modal-legal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-legal-content {
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
}

.modal-legal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #2a2a2a;
    background: #0a0a0a;
}

.modal-legal-header h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    margin: 0;
}

.modal-legal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #aaa;
    transition: color 0.2s;
}

.modal-legal-close:hover {
    color: #fff;
}

.modal-legal-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.legal-text {
    color: #ccc;
    font-size: 0.85rem;
    line-height: 1.5;
}

.legal-text h4 {
    color: #fff;
    margin-bottom: 15px;
}

.legal-text p {
    margin-bottom: 10px;
}

.legal-text ul {
    margin: 10px 0;
    padding-left: 20px;
}

.legal-text li {
    margin-bottom: 5px;
}

.modal-legal-footer {
    padding: 12px 20px;
    border-top: 1px solid #2a2a2a;
    text-align: center;
}

.btn-cerrar-legal {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 8px 24px;
    border-radius: 30px;
    cursor: pointer;
    color: #fff;
    font-size: 0.75rem;
    transition: all 0.2s;
}

.btn-cerrar-legal:hover {
    background: #2a2a2a;
}