/* ===== TEAMSPEAK HERO ===== */
.ts-hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 60px;
}

.ts-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.ts-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(12, 14, 19, 0.55) 0%,
        rgba(12, 14, 19, 0.78) 60%,
        var(--bg) 100%
    );
}

.ts-hero-content {
    position: relative;
    max-width: 760px;
    padding: 4rem 1.5rem 3rem;
    text-align: center;
}

.ts-hero-content h1 {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    color: var(--white);
    margin-bottom: 1.5rem;
}

.ts-hero-content p {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.85rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.ts-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.ts-address {
    font-size: 0.88rem;
    color: var(--text-dim);
    letter-spacing: 0.04em;
    opacity: 0.7;
    margin-bottom: 0;
}

/* ===== STATUS CARD ===== */
.ts-status-card {
    display: inline-flex;
    gap: 0.7rem;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    margin: 0.75rem auto 0;
    padding: 0.45rem 0.8rem;
    background: rgba(15, 19, 26, 0.78);
    border-radius: 999px;
    border: 1px solid rgba(123, 170, 200, 0.16);
    backdrop-filter: blur(6px);
    max-width: 100%;
}

.ts-stat {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    white-space: nowrap;
}

.ts-stat + .ts-stat {
    padding-left: 0.75rem;
    border-left: 1px solid rgba(123, 170, 200, 0.18);
}

.ts-stat-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    letter-spacing: 0.02em;
}

.ts-status-online {
    background: rgba(90, 143, 60, 0.15);
    color: #7bc45a;
}

.ts-status-offline {
    background: rgba(180, 60, 60, 0.15);
    color: #c45a5a;
}

.ts-status-loading {
    background: rgba(123, 170, 200, 0.08);
    color: var(--text-dim);
}

.ts-status-unavailable {
    background: rgba(123, 170, 200, 0.06);
    color: var(--text-dim);
}

.ts-stat-value {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.ts-stat-dim {
    color: var(--text-dim);
}

.ts-stat-label {
    font-size: 0.68rem;
    color: var(--text-dim);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ===== INSTALL STEPS ===== */
.ts-install-section .section-inner {
    display: flex;
    justify-content: center;
}

.ts-install-card {
    width: min(100%, 760px);
    padding: 2.5rem;
    background:
        linear-gradient(180deg, rgba(123, 170, 200, 0.08), rgba(22, 26, 36, 0.96)),
        var(--bg-card);
    border: 1px solid rgba(123, 170, 200, 0.14);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
    text-align: center;
}

.ts-install-card .section-lead {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.ts-steps {
    list-style: none;
    counter-reset: ts-step;
    margin: 0 auto 2rem;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    text-align: left;
}

.ts-steps li {
    counter-increment: ts-step;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.ts-steps li::before {
    content: counter(ts-step);
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(123, 170, 200, 0.08);
    border: 1px solid rgba(123, 170, 200, 0.2);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.1rem;
}

.ts-install-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ===== NAV ACTIVE ===== */
.nav-links a.active {
    color: var(--white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .ts-hero {
        min-height: 85vh;
    }
    .ts-install-card {
        padding: 1.75rem 1.25rem;
        border-radius: 16px;
    }
    .ts-status-card {
        flex-wrap: wrap;
        gap: 0.55rem;
        border-radius: 18px;
        padding: 0.55rem 0.75rem;
    }
    .ts-stat + .ts-stat {
        padding-left: 0.55rem;
    }
    .ts-install-links {
        flex-direction: column;
    }
    .ts-install-links .btn {
        text-align: center;
    }
}

@media (max-width: 520px) {
    .ts-stat + .ts-stat {
        border-left: 0;
        padding-left: 0;
    }
}
