:root {
    --tiktok-bg: #ebe5e0;
    --tiktok-surface: #ffffff;
    --tiktok-text: #1d1d1d;
    --tiktok-muted: #535353;
    --tiktok-radius: 500px
}

.hero-section {
    position: relative;
    overflow: hidden;
    background: var(--tiktok-bg)
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0
}

.tiktok-hero-content {
    position: relative;
    z-index: 1;
    min-height: 75vh;
    padding: 40px 0 52px;
    text-align: center;
    gap: 0
}

.tiktok-hero-title {
    margin: 0;
    color: var(--tiktok-text);
    font-size: clamp(3rem, 6vw, 5.8rem);
    line-height: 0.95;
    font-weight: 600
}

.tiktok-hero-description {
    max-width: 520px;
    margin: 18px 0 0;
    color: var(--tiktok-muted);
    text-align: center;
    font-family: var(--font-main);
    font-size: var(--text-md);
    font-weight: var(--font-weight-regular)
}

.tiktok-search-form {
    width: min(100%, 620px);
    margin: 42px auto 0
}

.tiktok-search-group {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 531px;
    max-width: 100%;
    height: 40px;
    padding: 12px 4px 12px 12px;
    border-radius: var(--tiktok-radius);
    border: 1px solid #ebe5e0;
    background: var(--tiktok-surface);
    box-shadow: 0 0 8px rgba(174, 174, 174, 0.5);
    transition: box-shadow 0.2s
}

.tiktok-search-group:focus-within {
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18)
}

.tiktok-search-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0
}

.tiktok-search-input-wrap i {
    color: #9a9a9a;
    font-size: 0.95rem;
    flex: 0 0 auto
}

.tiktok-search-input {
    width: 100%;
    min-width: 0;
    height: 28px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--tiktok-text);
    font-size: 0.92rem
}

.tiktok-search-input::placeholder {
    color: #9b9b9b
}

.tiktok-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 145px;
    height: 40px;
    padding: 12px 12px 10px;
    border: 0;
    border-radius: var(--tiktok-radius);
    background: var(--tiktok-text);
    color: #fff;
    font-family: var(--font-code);
    font-size: var(--text-md);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase
}

.tiktok-download-btn:hover {
    background: #000
}

.tiktok-hero-note {
    max-width: 760px;
    margin: 18px auto 0;
    color: var(--tiktok-muted);
    text-align: center;
    font-family: var(--font-main);
    font-size: var(--text-md);
    font-weight: var(--font-weight-regular)
}

.tiktok-hero-note a {
    color: var(--tiktok-text);
    text-decoration: underline;
    text-underline-offset: 3px
}

.tiktok-content-section {
    background: #fff
}

.tiktok-intro-text,
.tiktok-body-text,
.tiktok-feature-list,
.tiktok-step-title {
    color: #111;
    font-family: var(--font-main)
}

.tiktok-intro-text,
.tiktok-body-text {
    color: #000;
    font-family: var(--font-main);
    font-size: var(--text-md);
    font-weight: var(--font-weight-regular);
    line-height: 130%
}

.tiktok-section-title {
    margin: 0 0 16px;
    color: #111;
    font-size: clamp(1.5rem, 2vw, 2.1rem);
    line-height: 1.2;
    font-weight: 700
}

ul.tiktok-feature-list.mb-5 {
    color: #000;
    font-family: var(--font-main);
    font-size: var(--text-md);
    font-weight: var(--font-weight-regular);
    line-height: 130%
}

.tiktok-feature-list {
    padding-left: 1.25rem;
    margin-bottom: 0;
    line-height: 1.7
}

.tiktok-feature-list li+li {
    margin-top: 6px
}

.tiktok-step-title {
    margin: 0 0 8px;
    font-size: 1.05rem;
    line-height: 1.35;
    font-weight: 700
}

.tiktok-media-placeholder {
    width: 100%;
    height: 260px;
    border-radius: 16px;
    background: #d9d9d9
}

@media (min-width:767.98px) {
    .hero-content {
        max-width: 1020px;
        width: 100%
    }

    .hero-description {
        width: 528px
    }
}

@media (max-width:767.98px) {
    .hero-content {
        width: auto
    }

    .hero-description {
        width: auto
    }

    .tiktok-hero-content {
        min-height: 78vh;
        padding: 36px 0 44px
    }

    .tiktok-search-form {
        flex-direction: column
    }

    .tiktok-search-group {
        width: 100%;
        border-radius: 22px;
        flex-direction: column;
        align-items: stretch;
        height: auto;
        padding: 10px
    }

    .tiktok-search-input-wrap {
        padding: 0 10px
    }

    .tiktok-search-input {
        height: 48px
    }

    .tiktok-download-btn {
        width: 100%;
        min-width: 0;
        margin: 0;
        height: 46px
    }

    .tiktok-media-placeholder {
        height: 200px
    }
}

.tiktok-paste-btn {
    border: none;
    border-radius: 500px;
    padding: 5px 12px
}

.tiktok-result-container {
    width: min(100%, 620px);
    margin: 32px auto 0;
    border-radius: 20px;
    overflow: hidden;
    animation: tiktokFadeIn 0.4s ease
}

@keyframes tiktokFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.tiktok-result-loading {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.06)
}

.tiktok-loading-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px 24px
}

.tiktok-loading-inner p {
    margin: 0;
    color: var(--tiktok-muted, #535353);
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: var(--font-weight-regular)
}

.tiktok-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(0, 0, 0, 0.08);
    border-top-color: var(--tiktok-text, #1d1d1d);
    border-radius: 50%;
    animation: tiktokSpin 0.7s linear infinite
}

@keyframes tiktokSpin {
    to {
        transform: rotate(360deg)
    }
}

.tiktok-result-error {
    background: #fff5f5;
    border: 1px solid #fecaca
}

.tiktok-result-error .tiktok-result-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 28px
}

.tiktok-result-error .tiktok-result-inner i {
    flex: 0 0 auto;
    font-size: 22px;
    color: #ef4444
}

.tiktok-result-error .tiktok-result-inner p {
    margin: 0;
    color: #991b1b;
    font-family: var(--font-main);
    font-size: var(--text-base);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-body)
}

.tiktok-result-success {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04)
}

.tiktok-result-success .tiktok-result-inner {
    padding: 28px
}

.tiktok-video-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0ebe6
}

.tiktok-thumb {
    width: 120px;
    height: 160px;
    flex: 0 0 120px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1)
}

.tiktok-video-title {
    margin: 0;
    color: var(--tiktok-text, #1d1d1d);
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-body);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.tiktok-dl-links {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.tiktok-dl-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: var(--text-base);
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    transition: all 0.25s ease
}

.tiktok-dl-link i,
.tiktok-dl-link svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    font-size: 16px
}

.tiktok-dl-link span {
    flex: 1
}

.tiktok-dl-link .dl-arrow {
    font-size: 14px;
    opacity: 0.5;
    transition: transform 0.2s ease, opacity 0.2s ease;
    margin-left: auto
}

.tiktok-dl-link:hover .dl-arrow {
    transform: translateY(2px);
    opacity: 1
}

.tiktok-dl-link.btn-hd {
    background: #1d1d1d;
    color: #ffffff
}

.tiktok-dl-link.btn-hd:hover {
    background: #000000;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2)
}

.tiktok-dl-link.btn-nowm {
    background: #f5f0ea;
    color: #1d1d1d
}

.tiktok-dl-link.btn-nowm:hover {
    background: #ebe5e0;
    color: #1d1d1d;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08)
}

.tiktok-dl-link.btn-wm {
    background: transparent;
    color: #1d1d1d;
    border: 1px solid #e0dbd5
}

.tiktok-dl-link.btn-wm:hover {
    background: #faf8f5;
    color: #1d1d1d;
    transform: translateY(-1px)
}

.tiktok-dl-link.btn-audio {
    background: linear-gradient(135deg, #ff6b35 0%, #003cff 100%);
    color: #ffffff
}

.tiktok-dl-link.btn-audio:hover {
    background: linear-gradient(135deg, #ff5722 0%, #002ecc 100%);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 60, 255, 0.3)
}

.tiktok-dl-link.btn-other {
    background: #f5f0ea;
    color: #1d1d1d
}

.tiktok-dl-link.btn-other:hover {
    background: #ebe5e0;
    color: #1d1d1d;
    transform: translateY(-1px)
}

@media (max-width:767.98px) {
    .tiktok-result-container {
        margin-top: 24px;
        border-radius: 16px
    }

    .tiktok-result-success .tiktok-result-inner {
        padding: 20px
    }

    .tiktok-video-info {
        flex-direction: column;
        text-align: center;
        gap: 14px
    }

    .tiktok-thumb {
        width: 100px;
        height: 134px;
        flex: 0 0 auto
    }

    .tiktok-dl-link {
        padding: 12px 16px;
        font-size: 13px
    }

    .tiktok-result-error .tiktok-result-inner {
        flex-direction: column;
        text-align: center;
        padding: 20px
    }
}

.tiktok-problem-grid {
    --bs-gutter-x: 24px;
    --bs-gutter-y: 24px;
    align-items: flex-start;
    margin-top: 40px
}

.tiktok-problem-card {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 50% !important;
    border: 1px solid #FF4A00 !important;
    background: transparent !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10% !important
}

.tiktok-problem-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0
}

.tiktok-problem-title {
    color: #1F1F1F;
    font-family: var(--font-main);
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
    margin-bottom: 12px
}

.tiktok-problem-text {
    color: #535353;
    font-family: var(--font-main);
    font-size: clamp(0.9rem, 1vw, 0.95rem);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-body);
    margin: 0
}

.tiktok-problem-offset {
    margin-top: 18%
}

@media (min-width:991.98px) {

    .ms-lg-auto,
    .tiktok-problem-offset {
        transform: scale(1.1)
    }
}

@media (max-width:991.98px) {
    .tiktok-problem-card {
        min-height: 300px
    }

    .tiktok-problem-offset {
        margin-top: 0
    }
}

.tiktok-services-section {
    background: #fff
}

.tiktok-services-label {
    color: #003cff;
    font-family: var(--font-code);
    font-size: var(--text-xl);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-tight);
    text-transform: uppercase;
    margin-bottom: 10px
}

.tiktok-services-title {
    color: var(--02, #1F1F1F);
    font-family: var(--font-main);
    font-size: 60px;
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-tight)
}

.tiktok-services-list {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.tiktok-service-item {
    background: #f2f2f2;
    overflow: hidden;
    padding: 24px;
    border-radius: 24px
}

.tiktok-service-item--dark {
    background: #1f1f1f
}

.tiktok-service-thumb {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: #d9d9d9;
    position: relative
}

.tiktok-service-item--dark .tiktok-service-thumb {
    background: #333
}

.tiktok-service-thumb-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    color: #aaa;
    border-radius: 14px
}

.tiktok-service-body {
    padding: 32px 36px
}

.tiktok-service-title {
    margin-bottom: 20px;
    color: #000;
    font-family: var(--font-main);
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-medium);
    line-height: normal;
    letter-spacing: -0.36px
}

.tiktok-service-item--dark .tiktok-service-title {
    color: #fff
}

.tiktok-service-list {
    list-style: none;
    padding: 0;
    margin: 0
}

.tiktok-service-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: #454545;
    font-family: var(--font-main);
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-regular);
    line-height: 160%
}

.tiktok-service-list li:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.1)
}

.tiktok-service-item--dark .tiktok-service-list li {
    color: #e0e0e0;
    border-bottom-color: rgba(255, 255, 255, 0.12)
}

.tiktok-service-item--dark .tiktok-service-list li:first-child {
    border-top-color: rgba(255, 255, 255, 0.12)
}

@media (max-width:767.98px) {
    .tiktok-service-body {
        padding: 12px 0 0
    }

    .tiktok-service-thumb {
        min-height: 200px
    }
}

h2.tiktok-title-problem {
    color: var(--02, #1F1F1F);
    font-family: var(--font-main);
    font-size: var(--text-5xl);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-tight)
}