/* legal.css - Styles for legal pages */

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: var(--bg-secondary);
    box-shadow: 0 0 0.4rem 0.2rem var(--accent-hover);
    border-radius: 0.4rem;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--accent-secondary);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-primary);
    font-family: 'Bebas Neue';
    letter-spacing: 0.08rem;
}

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
}

.agreement-notice {
    color: var(--accent-primary);
    font-weight: 500;
    background: var(--bg-tertiary);
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid var(--accent-primary);
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--accent-secondary);
}

.legal-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
    letter-spacing: 0.09rem;
    padding-bottom: 0.5rem;
    font-family: 'Bebas Neue';
    border-bottom: 2px solid var(--accent-secondary);
}

.legal-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #555;
}

.legal-section ul {
    margin: 1rem 0 1rem 2rem;
    padding: 0;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    color: #555;
}

/* Dark theme support */
body.dark-theme .page-header h1 {
    color: #fff;
}

body.dark-theme .legal-section h2 {
    color: #3498db;
}

body.dark-theme .legal-section p,
body.dark-theme .legal-section li {
    color: #ccc;
}

body.dark-theme .page-header,
body.dark-theme .legal-section {
    border-color: #444;
}

body.dark-theme .agreement-notice {
    background: #442222;
    border-left-color: #ff5252;
    color: #ffcccc;
}

/* Responsive design */
@media (max-width: 768px) {
    .legal-content {
        padding: 1rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
    
    .legal-section ul {
        margin-left: 1rem;
    }
}