.t2k-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border-color, #d9dce7);
    padding: 0.85rem 1.25rem;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.t2k-header-content {
    max-width: 1560px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.t2k-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.65rem;
    color: var(--accent-secondary, #6c5ce7);
}

.t2k-logo-img {
    height: 46px;
    width: 46px;
    display: block;
    flex-shrink: 0;
}

.t2k-logo-copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.t2k-logo-text {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--accent-secondary, #6c5ce7);
    letter-spacing: -0.02em;
    line-height: 1;
}

.t2k-logo-subtext {
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted, #8a90a3);
    line-height: 1;
}

.t2k-nav-tabs {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0.12rem;
    background: var(--bg-tertiary, #eceff6);
    padding: 4px;
    border-radius: 12px;
    overflow-x: auto;
    min-width: 0;
}

.t2k-nav-tabs::-webkit-scrollbar {
    display: none;
}

.t2k-nav-tab,
.t2k-nav-tab.nav-tab {
    flex: 0 0 auto;
    padding: 0.48rem 0.68rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary, #4b5160);
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    background: none;
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
    font-family: inherit;
}

.t2k-nav-tab:hover {
    color: var(--text-primary, #101216);
    background: var(--bg-hover, #e2e6f1);
    text-decoration: none;
}

.t2k-nav-tab.active {
    background: var(--gradient-accent, linear-gradient(135deg, #00b894 0%, #6c5ce7 100%));
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 184, 148, 0.18);
}

.t2k-header-right {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex: 0 0 auto;
}

.t2k-header-right .auth-buttons {
    gap: 0.35rem;
}

.t2k-header-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.54rem 0.72rem;
    border: 1px solid var(--border-color, #d9dce7);
    border-radius: 10px;
    background: var(--bg-primary, #ffffff);
    color: var(--text-primary, #101216);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.t2k-header-right .btn {
    padding: 0.54rem 0.72rem;
    font-size: 0.78rem;
    line-height: 1.1;
    white-space: nowrap;
}

.t2k-header-right .btn-text {
    padding-inline: 0.42rem;
}

.t2k-header-link.primary {
    background: var(--gradient-accent, linear-gradient(135deg, #00b894 0%, #6c5ce7 100%));
    color: #ffffff;
    border: none;
}

@media (min-width: 1500px) {
    .t2k-nav-tabs {
        gap: 0.2rem;
    }

    .t2k-nav-tab,
    .t2k-nav-tab.nav-tab {
        padding: 0.5rem 0.9rem;
        font-size: 0.84rem;
    }
}

@media (max-width: 1100px) {
    .t2k-header-content {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .t2k-nav-tabs {
        order: 3;
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .t2k-header {
        padding: 0.85rem 1rem;
    }

    .t2k-logo-img {
        height: 42px;
        width: 42px;
    }

    .t2k-logo-subtext {
        display: none;
    }

    .t2k-header-right {
        display: none;
    }

    .t2k-nav-tab,
    .t2k-nav-tab.nav-tab {
        padding: 0.5rem 0.85rem;
    }
}
