/* ══════════════════════════════════════════════════
   TERMS PAGE — Условия за ползване
   Визуален стил: тъмен индустриален, съобразен с Docklift дизайна
   ══════════════════════════════════════════════════ */

/* Hero */
.terms-hero {
    background: linear-gradient(145deg, #14171a 0%, #1e232a 100%);
    border: 1px solid rgba(242, 183, 5, .2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.terms-hero::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(242, 183, 5, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

/* Warning banner */
.terms-warning {
    background: linear-gradient(135deg, rgba(255, 93, 93, .08) 0%, rgba(255, 93, 93, .02) 100%);
    border: 1px solid rgba(255, 93, 93, .25);
    border-left: 4px solid #FF5D5D;
    border-radius: 12px;
    padding: 1.5rem;
}

.terms-warning-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 93, 93, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #FF5D5D;
}

/* Section cards */
.terms-section {
    background: var(--panel, #1F2733);
    border: 1px solid var(--border, #313C4A);
    border-radius: 12px;
    margin-bottom: 1.25rem;
    overflow: hidden;
    transition: border-color .25s ease;
}

.terms-section:hover {
    border-color: var(--signal-amber, #FFB020);
}

.terms-section.terms-section-danger {
    border-color: rgba(255, 93, 93, .35);
}

.terms-section.terms-section-danger:hover {
    border-color: #FF5D5D;
}

.terms-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, .02);
    border-bottom: 1px solid var(--border-soft, #263040);
}

.terms-section-header h3 {
    font-size: 1.05rem;
    letter-spacing: .01em;
    text-transform: none;
}

.terms-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--signal-amber, #FFB020);
    color: #14171a;
    font-family: var(--font-mono, monospace);
    font-weight: 700;
    font-size: .95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.terms-number.danger {
    background: #FF5D5D;
    color: #fff;
}

.terms-section-body {
    padding: 1.25rem 1.5rem;
}

.terms-section-body p {
    color: var(--text-dim, #93A2B4);
    font-size: .9rem;
    line-height: 1.7;
}

/* Lists */
.terms-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.terms-list li {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    padding: .5rem 0;
    color: var(--text-dim, #93A2B4);
    font-size: .88rem;
    line-height: 1.5;
    border-bottom: 1px solid rgba(255, 255, 255, .04);
}

.terms-list li:last-child {
    border-bottom: none;
}

.terms-list li i {
    margin-top: 2px;
    flex-shrink: 0;
}

/* Danger box */
.terms-danger-box {
    background: rgba(255, 93, 93, .06);
    border: 1px solid rgba(255, 93, 93, .2);
    border-radius: 10px;
    padding: 1.25rem;
}

.terms-danger-box .terms-list li {
    border-bottom-color: rgba(255, 93, 93, .08);
}

/* CTA section */
.terms-cta {
    padding: 2rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 176, 32, .06) 0%, rgba(255, 176, 32, .02) 100%);
    border: 1px solid rgba(255, 176, 32, .15);
}

/* Responsive */
@media (max-width: 768px) {
    .terms-section-header {
        padding: 1rem 1.15rem;
    }

    .terms-section-body {
        padding: 1rem 1.15rem;
    }

    .terms-warning {
        padding: 1.15rem;
    }

    .terms-number {
        width: 30px;
        height: 30px;
        font-size: .82rem;
    }
}
