/* Legal Pages Styles */

.legal-page {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.legal-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-date {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 3rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
    color: var(--text-primary);
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul,
.legal-section ol {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.legal-section li strong {
    color: var(--text-primary);
}

.legal-nav {
    max-width: 900px;
    margin: 2rem auto 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Risk Warning Box */
.risk-warning {
    max-width: 900px;
    margin: 0 auto 2rem;
    background: rgba(251, 191, 36, 0.1);
    border: 2px solid var(--warning);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.warning-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.warning-text strong {
    display: block;
    font-size: 1.25rem;
    color: var(--warning);
    margin-bottom: 0.5rem;
}

.warning-text p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Risk Items */
.risk-item {
    background: var(--bg-dark);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.risk-item.high {
    border-left-color: #f87171;
    background: rgba(248, 113, 113, 0.05);
}

.risk-item.medium {
    border-left-color: #fbbf24;
    background: rgba(251, 191, 36, 0.05);
}

.risk-item.low {
    border-left-color: #4ade80;
    background: rgba(74, 222, 128, 0.05);
}

.risk-item h3 {
    margin: 0 0 0.75rem 0 !important;
    font-size: 1.125rem;
}

.risk-item p {
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-content {
        padding: 1.5rem;
        border-radius: 1rem;
    }
    
    .risk-warning {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .legal-nav {
        flex-direction: column;
        align-items: stretch;
    }
    
    .legal-nav .btn {
        text-align: center;
    }
}

