/* ==========================================================================
   TIKTOK USER PAGE — first slide only (user data)
   Video feed below keeps the existing fab.css / videos.css design.
   ========================================================================== */

/* full-screen hero slide */
.tu-hero-slide {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

/* blurred, darkened cover behind everything */
.tu-hero-slide > .post_thumbnail__932uO {
    position: absolute !important;
    inset: 0;
    z-index: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    filter: blur(26px) brightness(0.42) saturate(1.15) !important;
    -webkit-filter: blur(26px) brightness(0.42) saturate(1.15) !important;
    transform: scale(1.14);
    opacity: 1 !important;
}

.tu-hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(65% 55% at 50% 50%, rgba(8, 8, 12, 0.35) 0%, rgba(8, 8, 12, 0) 100%),
        linear-gradient(180deg, rgba(8, 8, 12, 0.30) 0%, rgba(8, 8, 12, 0.10) 40%, rgba(8, 8, 12, 0.75) 100%),
        radial-gradient(80% 60% at 50% 105%, rgba(var(--hp-color-accent-rgb), 0.22) 0%, rgba(var(--hp-color-accent-rgb), 0) 60%);
    pointer-events: none;
}

/* share */
.tu-hero__share {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border: 1px solid rgba(var(--hp-color-white-rgb), 0.18);
    border-radius: 999px;
    background: rgba(10, 10, 12, 0.45);
    color: var(--hp-color-white);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: background 0.18s ease, border-color 0.18s ease;
}

.tu-hero__share .hp-icon {
    width: 15px !important;
    height: 15px !important;
}

.tu-hero__share:hover {
    border-color: rgba(var(--hp-color-accent-rgb), 0.55);
    background: rgba(var(--hp-color-accent-rgb), 0.22);
}

/* centered content */
.tu-hero {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 90px 24px 116px;
}

/* glass card that keeps the text readable */
.tu-hero__card {
    display: flex;
    align-items: flex-start;
    gap: 26px;
    width: 100%;
    max-width: 1000px;
    padding: 26px 28px;
    border: 1px solid rgba(var(--hp-color-white-rgb), 0.11);
    border-radius: 24px;
    background: rgba(12, 12, 16, 0.55);
    -webkit-backdrop-filter: blur(26px) saturate(130%);
    backdrop-filter: blur(26px) saturate(130%);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
}

.tu-hero__avatar {
    flex: 0 0 auto;
    width: 148px;
    height: 148px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(var(--hp-color-white-rgb), 0.14);
    box-shadow: 0 0 0 3px rgba(var(--hp-color-accent-rgb), 0.55), 0 18px 40px rgba(0, 0, 0, 0.5);
    background: #141418;
}

.tu-hero__info {
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 4px;
}

.tu-hero__name {
    margin: 0;
    color: #fff;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.tu-hero__handle {
    margin: 6px 0 0;
    color: var(--hp-color-text-muted);
    font-size: 13.5px;
    font-weight: 600;
}

/* stats */
.tu-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.tu-stat {
    padding: 8px 14px;
    border: 1px solid rgba(var(--hp-color-white-rgb), 0.10);
    border-radius: 12px;
    background: rgba(var(--hp-color-white-rgb), 0.05);
}

.tu-stat b {
    display: block;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
}

.tu-stat span {
    display: block;
    margin-top: 3px;
    color: var(--hp-color-text-muted);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.tu-hero__bio {
    margin: 14px 0 0;
    max-width: 560px;
    color: var(--hp-color-text-soft);
    font-size: 13px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* links column */
.tu-hero__side {
    flex: 0 0 238px;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding-left: 24px;
    border-left: 1px solid rgba(var(--hp-color-white-rgb), 0.10);
}

.tu-hero__side-label {
    color: var(--hp-color-text-muted);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.tu-hero__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.tu-hero__links a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    padding: 7px 9px;
    border: 1px solid rgba(var(--hp-color-white-rgb), 0.10);
    border-radius: 9px;
    background: rgba(var(--hp-color-white-rgb), 0.04);
    color: var(--hp-color-text-soft);
    font-size: 10.5px;
    font-weight: 600;
    text-decoration: none;
    text-transform: capitalize;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.tu-hero__links a .hp-icon {
    width: 13px !important;
    height: 13px !important;
    flex-shrink: 0;
    opacity: 0.85;
}

.tu-hero__links a span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tu-hero__links a:hover {
    border-color: rgba(var(--hp-color-accent-rgb), 0.5);
    background: rgba(var(--hp-color-accent-rgb), 0.16);
    color: #fff;
}

/* ---------------- mobile ---------------- */
@media screen and (max-width: 991px) {
    .tu-hero__card {
        flex-wrap: wrap;
    }

    .tu-hero__side {
        flex: 1 1 100%;
        padding-left: 0;
        padding-top: 16px;
        border-left: 0;
        border-top: 1px solid rgba(var(--hp-color-white-rgb), 0.10);
    }

    .tu-hero__links {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media screen and (max-width: 767px) {
    .tu-hero__share {
        top: 12px;
        right: 12px;
        padding: 7px 11px;
        font-size: 11px;
    }

    .tu-hero {
        padding: 78px 12px 104px;
    }

    .tu-hero__card {
        gap: 14px;
        padding: 16px;
        border-radius: 18px;
    }

    .tu-hero__avatar {
        width: 84px;
        height: 84px;
    }

    .tu-hero__info {
        flex: 1 1 150px;
        padding-top: 2px;
    }

    .tu-hero__name {
        font-size: 22px;
    }

    .tu-hero__bio {
        -webkit-line-clamp: 3;
        font-size: 12px;
        margin-top: 12px;
    }

    .tu-hero__links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
