/* =============================================
           TIKTOK PAGE — Custom Styles
           ============================================= */

/* ---- Hero ---- */
.tt-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    background: #0d0d0d;
    overflow: hidden;
}

.tt-hero__gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 60%, rgba(105, 201, 208, .18) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(238, 29, 82, .15) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 100%, rgba(254, 44, 85, .1) 0%, transparent 40%);
}

.tt-hero__dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px);
    background-size: 26px 26px;
}

.tt-hero__content {
    position: relative;
    z-index: 2;
    padding: 110px 0 85px;
}

.tt-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, .45);
    margin-bottom: 22px;
}

.tt-hero__breadcrumb a {
    color: rgba(105, 201, 208, .9);
    text-decoration: none;
    transition: color .2s;
}

.tt-hero__breadcrumb a:hover {
    color: #fff;
}

.tt-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .8);
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.tt-hero__title {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 16px;
}

.tt-hero__title span {
    background: linear-gradient(135deg, #69c9d0, #ee1d52);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tt-hero__desc {
    font-size: 16px;
    color: rgba(255, 255, 255, .6);
    line-height: 1.8;
    max-width: 500px;
    margin: 0;
}

.tt-hero__stats {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.tt-hero__stat strong {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.tt-hero__stat span {
    font-size: 12px;
    color: rgba(255, 255, 255, .45);
    margin-top: 3px;
    display: block;
}

/* ---- Search ---- */
.tt-search-wrap {
    position: relative;
    max-width: 520px;
    margin-top: 30px;
}

.tt-search-wrap form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, .07);
    border: 1.5px solid rgba(255, 255, 255, .12);
    border-radius: 50px;
    overflow: hidden;
    transition: border-color .25s, box-shadow .25s;
}

.tt-search-wrap form:focus-within {
    border-color: rgba(105, 201, 208, .5);
    box-shadow: 0 0 0 4px rgba(105, 201, 208, .08);
}

.tt-search-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 13px 20px;
    font-size: 14px;
    color: #fff;
    outline: none;
    font-family: inherit;
}

.tt-search-wrap input::placeholder {
    color: rgba(255, 255, 255, .35);
}

.tt-search-wrap button {
    border: none;
    background: linear-gradient(135deg, #ee1d52, #ff3e6c);
    padding: 10px 22px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    margin: 5px;
    border-radius: 50px;
    transition: opacity .2s;
    font-family: inherit;
}

.tt-search-wrap button:hover {
    opacity: .85;
}

/* ---- Main ---- */
.tt-section {
    padding: 60px 0 90px;
    background: #f8f9fc;
}

.tt-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 36px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eef0f5;
}

.tt-toolbar__title {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a2e;
}

.tt-toolbar__count {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 500;
}

.tt-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(238, 29, 82, .08);
    border: 1px solid rgba(238, 29, 82, .25);
    color: #ee1d52;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
}

.tt-filter-chip:hover {
    background: rgba(238, 29, 82, .15);
    color: #ee1d52;
}

/* ---- Grid ---- */
.tt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width:991px) {
    .tt-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:575px) {
    .tt-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- Card ---- */
.tt-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #eef0f5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
    transition: all .35s ease;
    display: flex;
    flex-direction: column;
}

.tt-card:hover {
    box-shadow: 0 20px 55px rgba(0, 0, 0, .12);
    transform: translateY(-5px);
    border-color: rgba(238, 29, 82, .2);
}

.tt-card__embed-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    background: #111;
    overflow: hidden;
}

.tt-card__embed-wrap blockquote.tiktok-embed {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    border: none !important;
    background: transparent !important;
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
}

.tt-card__embed-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.tt-card__embed-wrap video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tt-card__play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .25);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}

.tt-card:hover .tt-card__play-overlay {
    opacity: 1;
}

.tt-card__play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(238, 29, 82, .9);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(238, 29, 82, .4);
}

.tt-card__play-btn i {
    color: #fff;
    font-size: 20px;
    margin-left: 3px;
}

.tt-card__no-video {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #111;
    color: rgba(255, 255, 255, .3);
}

.tt-card__no-video i {
    font-size: 40px;
}

.tt-card__no-video span {
    font-size: 13px;
}

.tt-card__footer {
    padding: 16px 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    background: #fff;
}

.tt-card__info {
    flex: 1;
    min-width: 0;
}

.tt-card__title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.4;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tt-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tt-card__date,
.tt-card__views {
    font-size: 11px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 4px;
}

.tt-card__date i,
.tt-card__views i {
    font-size: 10px;
}

.tt-card__ext {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: #0d0d0d;
    color: #fff;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    flex-shrink: 0;
    transition: background .2s;
    white-space: nowrap;
}

.tt-card__ext:hover {
    background: #ee1d52;
    color: #fff;
}

/* ---- Pagination ---- */
.tt-pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.tt-pagination ul {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.tt-pagination li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    color: #555;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all .25s;
}

.tt-pagination li.active a,
.tt-pagination li a:hover {
    background: linear-gradient(135deg, #ee1d52, #ff3e6c);
    border-color: #ee1d52;
    color: #fff;
}

/* ---- Empty ---- */
.tt-empty {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 16px;
    border: 1px dashed #e5e7eb;
}

.tt-empty__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #fff0f3, #ffe4ea);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tt-empty__icon svg {
    fill: #ee1d52;
    opacity: .5;
}

.tt-empty h3 {
    font-size: 20px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 8px;
}

.tt-empty p {
    color: #9ca3af;
    margin-bottom: 24px;
    font-size: 15px;
}

@media (max-width: 767px) {
    .tt-hero__content {
        padding: 80px 0 65px;
    }
}