/* Legal Pages Styles */

.legal-section {
    padding: 120px 0 80px;
}

.legal-title {
    font-size: 42px;
    color: var(--primary);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 10px var(--primary-glow);
}

.legal-content {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--corner-radius);
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.legal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.legal-date {
    font-size: 14px;
    color: rgba(224, 247, 250, 0.7);
    margin-bottom: 30px;
    text-align: right;
}

.legal-block {
    margin-bottom: 30px;
}

.legal-content h2 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 15px;
}

.legal-content h3 {
    font-size: 20px;
    color: var(--text-light);
    margin: 20px 0 10px;
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.legal-content ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.legal-content ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.legal-navigation {
    display: flex;
    justify-content: center;
}

.back-button {
    position: relative;
    padding: 12px 30px;
    background: var(--bg-card);
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    font-size: 16px;
    border: 2px solid var(--primary);
    border-radius: var(--corner-radius);
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease, background 0.3s ease;
}

.back-button:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.footer-links a.active {
    color: var(--primary);
    position: relative;
}

.footer-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

/* Responsive styles */
@media (max-width: 767px) {
    .legal-section {
        padding: 100px 0 60px;
    }
    
    .legal-title {
        font-size: 32px;
    }
    
    .legal-content {
        padding: 25px;
    }
    
    .legal-content h2 {
        font-size: 22px;
    }
    
    .legal-content h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .legal-title {
        font-size: 28px;
    }
    
    .legal-content {
        padding: 20px;
    }
    
    .legal-content h2 {
        font-size: 20px;
    }
}