/* Terms of Service page – matches BidBuraq dark theme and Privacy layout */

.terms-main {
    padding-top: 90px;
    padding-bottom: 3rem;
    min-height: 100vh;
}

.terms-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.terms-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--card-border, rgba(0, 229, 255, 0.2));
}

.terms-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--text-primary, #eef2ff);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.terms-updated {
    font-size: 0.9rem;
    color: var(--muted, rgba(255, 255, 255, 0.6));
}

.terms-toc {
    margin-bottom: 2.5rem;
    padding: 1.25rem 1.5rem;
    background: rgba(0, 229, 255, 0.06);
    border: 1px solid var(--card-border, rgba(0, 229, 255, 0.2));
    border-radius: 12px;
}

.terms-toc h2 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--accent, #00e5ff);
    margin-bottom: 1rem;
}

.terms-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.terms-toc li {
    margin-bottom: 0.5rem;
}

.terms-toc a {
    color: var(--text-secondary, rgba(255, 255, 255, 0.8));
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.terms-toc a:hover {
    color: var(--accent, #00e5ff);
}

.terms-section {
    margin-bottom: 2.5rem;
}

.terms-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--accent, #00e5ff);
    margin-bottom: 1rem;
    padding-bottom: 0.25rem;
    scroll-margin-top: 100px;
}

.terms-section p {
    color: var(--text-secondary, rgba(255, 255, 255, 0.8));
    line-height: 1.7;
    margin-bottom: 1rem;
}

.terms-section ul {
    margin: 0.75rem 0 1rem 1.25rem;
    color: var(--text-secondary, rgba(255, 255, 255, 0.8));
    line-height: 1.8;
}

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

.terms-section a {
    color: var(--accent, #00e5ff);
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.terms-section a:hover {
    color: #33ebff;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

.terms-intro {
    font-size: 1.05rem;
}

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

.terms-contact .contact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.terms-contact .contact-list i {
    color: var(--accent, #00e5ff);
    width: 1.25rem;
    text-align: center;
}

.terms-back {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border, rgba(0, 229, 255, 0.2));
}

.terms-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent, #00e5ff);
    font-weight: 600;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--accent, #00e5ff);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.terms-back-link:hover {
    background: var(--accent, #00e5ff);
    color: var(--bg, #0a0f1f);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

@media (max-width: 768px) {
    .terms-main {
        padding-top: 80px;
        padding-bottom: 2rem;
    }

    .terms-container {
        padding: 0 1.25rem;
    }

    .terms-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .terms-section {
        margin-bottom: 2rem;
    }

    .terms-toc {
        padding: 1rem 1.25rem;
    }
}
