.legal-page {
    padding: 40px 24px 60px;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
    animation: fadeUp 0.6s ease-out forwards;
}

.legal-header {
    text-align: center;
    margin-bottom: 48px;
}

.legal-header h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.legal-header .last-updated {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 400;
}

.legal-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.legal-section {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-top: 1px solid var(--border-accent);
    border-radius: 12px;
    padding: 28px 32px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.legal-section:hover {
    border-color: rgba(255, 140, 50, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.legal-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}

.legal-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-orange-light);
    margin-top: 18px;
    margin-bottom: 10px;
}

.legal-section p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 4px 0;
}

.legal-section ul li {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    padding: 4px 0 4px 24px;
    position: relative;
}

.legal-section ul li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: 700;
}

.legal-section a {
    color: var(--accent-orange-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-section a:hover {
    color: var(--accent-orange);
    text-decoration: underline;
}

.legal-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 20px 16px 40px;
    }

    .legal-header h1 {
        font-size: 28px;
    }

    .legal-section {
        padding: 20px 18px;
    }

    .legal-section h2 {
        font-size: 18px;
    }

    .legal-section h3 {
        font-size: 15px;
    }

    .legal-section p,
    .legal-section ul li {
        font-size: 14px;
    }

    .legal-section ul li {
        padding-left: 20px;
    }
}

@media (max-width: 480px) {
    .legal-section {
        padding: 16px 14px;
        border-radius: 8px;
    }

    .legal-section h2 {
        font-size: 16px;
    }

    .legal-section p,
    .legal-section ul li {
        font-size: 13px;
    }
}