/* Footer Legal Notice */
.footer-legal {
    background: #050614;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 20px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer-legal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(53, 67, 240, 0.3), transparent);
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.legal-notice-title {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.legal-notice-title::before,
.legal-notice-title::after {
    content: '';
    height: 1px;
    width: 50px;
    background: rgba(255, 255, 255, 0.2);
}

.legal-notice-text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    max-width: 800px;
    margin: 0 auto;
}

.legal-notice-text strong {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

/* Subtle highlight for important phrases */
.legal-highlight {
    color: #3543F0;
    font-weight: 600;
}

/* Optional: Collapsible version */
.footer-legal.collapsible {
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-legal.collapsible .legal-notice-text {
    max-height: 3em;
    overflow: hidden;
    position: relative;
}

.footer-legal.collapsible .legal-notice-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2em;
    background: linear-gradient(transparent, #050614);
}

.footer-legal.collapsible.expanded .legal-notice-text {
    max-height: none;
}

.footer-legal.collapsible.expanded .legal-notice-text::after {
    display: none;
}

.expand-indicator {
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 0.75rem;
    color: #3543F0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-legal {
        padding: 30px 15px;
        margin-top: 60px;
    }
    
    .legal-notice-text {
        font-size: 0.8125rem;
    }
    
    .legal-notice-title::before,
    .legal-notice-title::after {
        width: 30px;
    }
}

/* Alternative: Floating Notice Bar */
.legal-notice-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(5, 6, 20, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(53, 67, 240, 0.3);
    padding: 15px 20px;
    z-index: 100;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.legal-notice-bar.visible {
    transform: translateY(0);
}

.legal-notice-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.legal-notice-bar-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    flex: 1;
}

.legal-notice-bar-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 4px 12px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
}

.legal-notice-bar-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}