/* ===============================================
   Legal Pages Stylesheet
   Privacy Policy, Terms of Service, Code of Conduct
   =============================================== */

.legal-page {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: var(--bg-primary);
}

.legal-header {
    text-align: center;
    margin-bottom: 60px;
}

.legal-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: rgba(0, 255, 136, 0.1);
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-icon [data-lucide] {
    width: 45px;
    height: 45px;
    color: var(--neon-green);
}

.legal-icon.coc {
    background: rgba(255, 0, 136, 0.1);
    border-color: rgba(255, 0, 136, 0.3);
}

.legal-icon.coc [data-lucide] {
    color: var(--neon-pink);
}

.legal-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px 35px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.legal-section:hover {
    border-color: rgba(0, 255, 136, 0.2);
}

.legal-section h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--neon-green);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-section h2 [data-lucide] {
    width: 24px;
    height: 24px;
    min-width: 24px;
}

.legal-section h3 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 25px 0 12px;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-section li {
    color: var(--text-secondary);
    padding: 10px 0 10px 30px;
    position: relative;
    line-height: 1.6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.legal-section li:last-child {
    border-bottom: none;
}

.legal-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 8px;
    height: 8px;
    background: var(--neon-green);
    border-radius: 50%;
}

.legal-section li strong {
    color: var(--text-primary);
}

.legal-section a {
    color: var(--neon-green);
    transition: all 0.3s ease;
}

.legal-section a:hover {
    color: var(--neon-cyan);
    text-decoration: underline;
}

.legal-section code {
    background: var(--bg-tertiary);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: var(--font-mono);
    color: var(--neon-pink);
    font-size: 0.9em;
}

/* Special Section Styles */
.highlight-box {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.05) 0%, rgba(0, 255, 255, 0.05) 100%);
    border-color: rgba(0, 255, 136, 0.2);
}

.warning-box {
    background: linear-gradient(135deg, rgba(255, 0, 136, 0.05) 0%, rgba(255, 136, 0, 0.05) 100%);
    border-color: rgba(255, 0, 136, 0.2);
}

.warning-box h2 {
    color: var(--neon-pink);
}

.warning-box li::before {
    background: var(--neon-pink);
}

.quote {
    font-style: italic;
    color: var(--neon-cyan);
    padding: 20px;
    background: rgba(0, 255, 255, 0.05);
    border-left: 3px solid var(--neon-cyan);
    border-radius: 0 8px 8px 0;
    margin-top: 20px;
}

/* Contact Info */
.contact-info {
    background: var(--bg-tertiary);
    padding: 20px 25px;
    border-radius: 12px;
    margin-top: 15px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info [data-lucide] {
    width: 18px;
    height: 18px;
    color: var(--neon-green);
    min-width: 18px;
}

/* Legal Footer */
.legal-footer {
    max-width: 900px;
    margin: 50px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.back-link:hover {
    color: var(--neon-green);
    border-color: var(--neon-green);
    transform: translateX(-5px);
}

.back-link [data-lucide] {
    width: 18px;
    height: 18px;
}

.other-policies {
    display: flex;
    gap: 15px;
}

.other-policies a {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 10px 15px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.other-policies a:hover {
    color: var(--neon-green);
    border-color: rgba(0, 255, 136, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .legal-page {
        padding: 100px 0 60px;
    }
    
    .legal-section {
        padding: 25px 20px;
    }
    
    .legal-section h2 {
        font-size: 1.2rem;
    }
    
    .legal-footer {
        flex-direction: column;
        text-align: center;
    }
    
    .other-policies {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .legal-icon {
        width: 80px;
        height: 80px;
    }
    
    .legal-icon [data-lucide] {
        width: 35px;
        height: 35px;
    }
    
    .legal-section li {
        padding-left: 25px;
    }
}
