/* ════════════════════════════════════════════════════════════
   LEGAL MODAL STYLES
   ════════════════════════════════════════════════════════════ */

.legal-modal {
    position: fixed;
    inset: 0;
    background: rgba(5, 10, 18, 0.95);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.legal-modal.active {
    display: flex;
}

.legal-modal-box {
    background: linear-gradient(145deg, #152939 0%, #0E2333 100%);
    border: 1px solid rgba(192, 192, 192, 0.15);
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease-out;
}

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

.legal-modal-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(192, 192, 192, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.legal-modal-header h2 {
    margin: 0;
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 300;
}

.legal-modal-close {
    background: transparent;
    border: 1px solid rgba(192, 192, 192, 0.2);
    color: #FFFFFF;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.legal-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(192, 192, 192, 0.4);
}

.legal-modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
    color: #B8B8B8;
    line-height: 1.7;
}

.legal-modal-body h3 {
    color: #FFFFFF;
    font-size: 1.1rem;
    margin: 1.5rem 0 0.75rem 0;
    font-weight: 500;
}

.legal-modal-body p {
    margin: 0.75rem 0;
}

.legal-modal-body ul {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}

.legal-modal-body li {
    margin: 0.5rem 0;
}

.legal-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(192, 192, 192, 0.1);
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}

.legal-modal-footer .btn-primary {
    background: linear-gradient(135deg, #B8B8B8 0%, #D4D4D4 100%);
    color: #0B1C2D;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.legal-modal-footer .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(184, 184, 184, 0.3);
}

/* Mobil */
@media (max-width: 768px) {
    .legal-modal-box {
        max-width: 100%;
        max-height: 95vh;
    }
    
    .legal-modal-header,
    .legal-modal-body,
    .legal-modal-footer {
        padding: 1.5rem;
    }
}
