.terms-section {
    margin-bottom: 2.5rem;
    scroll-margin-top: 100px;
}

.terms-section h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-light);
}

.terms-list {
    list-style: none;
    padding-left: 0;
}

.terms-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.terms-list li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0.5rem;
}

.permitted-list, .prohibited-list {
    border-radius: 8px;
    padding: 1.5rem;
}

.permitted-list {
    background: rgba(95, 211, 179, 0.1);
    border: 1px solid var(--success);
}

.prohibited-list {
    background: rgba(240, 53, 75, 0.1);
    border: 1px solid var(--danger);
}

.terms-highlight {
    background: linear-gradient(135deg, var(--gold), var(--warning));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Navigation Styles */
.terms-nav-link {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 0.25rem;
}

.terms-nav-link:hover,
.terms-nav-link.active {
    background: var(--bg-secondary);
    color: var(--primary);
    transform: translateX(5px);
}

.quick-jump-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quick-jump-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

@media (max-width: 576px) {
    .terms-section {
        margin-bottom: 1.75rem;
    }

    .permitted-list, .prohibited-list {
        padding: 1rem;
    }

    .terms-nav-link:hover,
    .terms-nav-link.active {
        transform: none;
    }
}

@media (max-width: 400px) {
    .terms-section h2 {
        font-size: 1.2rem;
    }

    .terms-list li {
        padding-left: 1.2rem;
    }

    .terms-nav-link {
        font-size: 0.92rem;
        padding: 0.45rem 0.7rem;
    }
}