@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

.tiktok-comments-viewer-premium,
.tiktok-comments-viewer-premium * {
  box-sizing: border-box;
}

.tiktok-comments-viewer-premium {
  --tcv-ink: #172033;
  --tcv-muted: #667085;
  --tcv-line: rgba(23, 32, 51, 0.1);
  --tcv-soft: #fff7f6;
  --tcv-accent: #ff3b74;
  --tcv-accent-2: #23d5c7;
  --tcv-accent-3: #8b5cf6;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--tcv-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tiktok-comments-viewer-premium .tcv-section {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  padding: 88px 22px;
}

.tiktok-comments-viewer-premium .tcv-section-white {
  background: #fff;
}

.tiktok-comments-viewer-premium .tcv-section-warm {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 59, 116, 0.12), transparent 30%),
    radial-gradient(circle at 88% 16%, rgba(35, 213, 199, 0.14), transparent 28%),
    linear-gradient(180deg, #fff8f6 0%, #fffdfb 56%, #f7fffd 100%);
}

.tiktok-comments-viewer-premium .tcv-container {
  width: min(1240px, 100%);
  max-width: 100%;
  margin: 0 auto;
}

.tiktok-comments-viewer-premium .tcv-heading-wrap {
  width: min(760px, 100%);
  max-width: 100%;
  margin: 0 auto 38px;
  text-align: center;
}

.tiktok-comments-viewer-premium .tcv-heading-wrap h2 {
  margin: 0;
  font-size: clamp(1.2rem, 4vw, 2.2rem) !important;
  line-height: 1.14;
  letter-spacing: 0;
  color: var(--tcv-ink);
  font-weight: 820;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tiktok-comments-viewer-premium .tcv-heading-wrap h2 span {
  background: linear-gradient(90deg, #ff2f70 0%, #8b5cf6 48%, #13bfb4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tiktok-comments-viewer-premium .tcv-heading-wrap p {
  margin: 14px auto 0;
  color: var(--tcv-muted);
  font-size: 1rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tiktok-comments-viewer-premium .tcv-grid {
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.tiktok-comments-viewer-premium .tcv-card {
  --fg-mx: 50%;
  --fg-my: 50%;
  --fg-tilt-x: 0deg;
  --fg-tilt-y: 0deg;
  --tcv-card-a: #ff3b74;
  --tcv-card-b: #23d5c7;
  --tcv-card-bg: #ffffff;
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 245px;
  padding: 26px;
  border: 1px solid rgba(23, 32, 51, 0.09);
  border-radius: 18px;
  background:
    radial-gradient(circle at var(--fg-mx) var(--fg-my), color-mix(in srgb, var(--tcv-card-a) 18%, transparent), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), color-mix(in srgb, var(--tcv-card-b) 7%, #fff));
  box-shadow: 0 16px 42px rgba(23, 32, 51, 0.08);
  transform: translateY(22px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y));
  opacity: 0;
  transition:
    opacity 0.7s ease,
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
  overflow: hidden;
  isolation: isolate;
}

.tiktok-comments-viewer-premium .tcv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--tcv-card-a) 12%, transparent), transparent 46%);
  opacity: 0.58;
  pointer-events: none;
  z-index: -1;
}

.tiktok-comments-viewer-premium .tcv-card.is-visible {
  opacity: 1;
  transform: translateY(0) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y));
}

.tiktok-comments-viewer-premium .tcv-card:hover {
  border-color: color-mix(in srgb, var(--tcv-card-a) 42%, rgba(23, 32, 51, 0.12));
  box-shadow: 0 24px 60px rgba(23, 32, 51, 0.14);
  transform: translateY(-6px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y));
}

.tiktok-comments-viewer-premium .tcv-icon {
  width: 50px;
  height: 50px;
  max-width: 100%;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--tcv-card-a);
  background: color-mix(in srgb, var(--tcv-card-a) 10%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tcv-card-a) 16%, transparent);
  transition: transform 0.28s ease, color 0.28s ease, background 0.28s ease;
}

.tiktok-comments-viewer-premium .tcv-icon i {
  font-size: 1.15rem;
  line-height: 1;
}

.tiktok-comments-viewer-premium .tcv-card:hover .tcv-icon {
  color: #fff;
  background: linear-gradient(135deg, var(--tcv-card-a), var(--tcv-card-b));
  transform: translateY(-3px) scale(1.05);
}

.tiktok-comments-viewer-premium .tcv-card h3 {
  position: relative;
  margin: 22px 0 12px;
  color: var(--tcv-ink);
  font-size: 1.08rem;
  line-height: 1.3;
  letter-spacing: 0;
  font-weight: 780;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tiktok-comments-viewer-premium .tcv-card h3::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--tcv-card-a), var(--tcv-card-b));
  transition: width 0.28s ease;
}

.tiktok-comments-viewer-premium .tcv-card:hover h3::after {
  width: 74px;
}

.tiktok-comments-viewer-premium .tcv-card p {
  margin: 0;
  color: var(--tcv-muted);
  font-size: 0.94rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tiktok-comments-viewer-premium .tcv-cta {
  display: inline-block;
  max-width: 100%;
  margin-top: 18px;
  color: var(--tcv-card-a);
  font-size: 0.88rem;
  font-weight: 760;
  line-height: 1.35;
  opacity: 0.38;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tiktok-comments-viewer-premium .tcv-card:hover .tcv-cta {
  opacity: 1;
  transform: translateY(0);
}

.tiktok-comments-viewer-premium .tcv-tilt-card {
  transform-style: preserve-3d;
}

.tiktok-comments-viewer-premium .tcv-tilt-card .tcv-icon,
.tiktok-comments-viewer-premium .tcv-tilt-card h3,
.tiktok-comments-viewer-premium .tcv-tilt-card p {
  transform: translateZ(0);
}

.tiktok-comments-viewer-premium .tcv-process-card {
  min-height: 260px;
}

.tiktok-comments-viewer-premium .tcv-step {
  position: absolute;
  right: 18px;
  top: 12px;
  color: color-mix(in srgb, var(--tcv-card-a) 16%, transparent);
  font-size: 4rem;
  line-height: 1;
  font-weight: 880;
  letter-spacing: 0;
  pointer-events: none;
  transition: transform 0.28s ease, color 0.28s ease;
}

.tiktok-comments-viewer-premium .tcv-process-card:hover .tcv-step {
  color: color-mix(in srgb, var(--tcv-card-a) 26%, transparent);
  transform: translateY(-4px) scale(1.04);
}

.tiktok-comments-viewer-premium .tcv-card:nth-child(1) { --tcv-card-a: #ff3b74; --tcv-card-b: #23d5c7; }
.tiktok-comments-viewer-premium .tcv-card:nth-child(2) { --tcv-card-a: #8b5cf6; --tcv-card-b: #ff7a45; }
.tiktok-comments-viewer-premium .tcv-card:nth-child(3) { --tcv-card-a: #13bfb4; --tcv-card-b: #ff3b74; }
.tiktok-comments-viewer-premium .tcv-card:nth-child(4) { --tcv-card-a: #f59e0b; --tcv-card-b: #8b5cf6; }
.tiktok-comments-viewer-premium .tcv-card:nth-child(5) { --tcv-card-a: #ef4444; --tcv-card-b: #14b8a6; }
.tiktok-comments-viewer-premium .tcv-card:nth-child(6) { --tcv-card-a: #0ea5e9; --tcv-card-b: #ff3b74; }
.tiktok-comments-viewer-premium .tcv-card:nth-child(7) { --tcv-card-a: #a855f7; --tcv-card-b: #22c55e; }
.tiktok-comments-viewer-premium .tcv-card:nth-child(8) { --tcv-card-a: #fb7185; --tcv-card-b: #06b6d4; }

@media (min-width: 1200px) {
  .tiktok-comments-viewer-premium .tcv-section {
    padding: 96px 28px;
  }

  .tiktok-comments-viewer-premium .tcv-container {
    width: min(1240px, 100%);
  }

  .tiktok-comments-viewer-premium .tcv-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .tiktok-comments-viewer-premium .tcv-section {
    padding: 82px 24px;
  }

  .tiktok-comments-viewer-premium .tcv-container {
    width: min(1080px, 100%);
  }

  .tiktok-comments-viewer-premium .tcv-heading-wrap p {
    font-size: 0.96rem;
  }

  .tiktok-comments-viewer-premium .tcv-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .tiktok-comments-viewer-premium .tcv-card {
    padding: 24px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .tiktok-comments-viewer-premium .tcv-section {
    padding: 68px 20px;
  }

  .tiktok-comments-viewer-premium .tcv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .tiktok-comments-viewer-premium .tcv-card {
    padding: 22px;
  }

  .tiktok-comments-viewer-premium .tcv-card h3 {
    font-size: 1.02rem;
  }

  .tiktok-comments-viewer-premium .tcv-card p {
    font-size: 0.92rem;
  }
}

@media (min-width: 430px) and (max-width: 767px) {
  .tiktok-comments-viewer-premium .tcv-section {
    padding: 54px 16px;
  }

  .tiktok-comments-viewer-premium .tcv-heading-wrap {
    margin-bottom: 28px;
  }

  .tiktok-comments-viewer-premium .tcv-heading-wrap p {
    font-size: 0.92rem;
  }

  .tiktok-comments-viewer-premium .tcv-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .tiktok-comments-viewer-premium .tcv-card {
    padding: 21px;
    min-height: auto;
  }
}

@media (min-width: 375px) and (max-width: 429px) {
  .tiktok-comments-viewer-premium .tcv-section {
    padding: 46px 14px;
  }

  .tiktok-comments-viewer-premium .tcv-heading-wrap {
    margin-bottom: 24px;
  }

  .tiktok-comments-viewer-premium .tcv-heading-wrap p {
    font-size: 0.9rem;
    line-height: 1.62;
  }

  .tiktok-comments-viewer-premium .tcv-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .tiktok-comments-viewer-premium .tcv-card {
    padding: 19px;
    border-radius: 16px;
    min-height: auto;
  }

  .tiktok-comments-viewer-premium .tcv-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .tiktok-comments-viewer-premium .tcv-step {
    font-size: 3.2rem;
  }
}

@media (min-width: 320px) and (max-width: 374px) {
  .tiktok-comments-viewer-premium .tcv-section {
    padding: 40px 12px;
  }

  .tiktok-comments-viewer-premium .tcv-heading-wrap {
    margin-bottom: 22px;
  }

  .tiktok-comments-viewer-premium .tcv-heading-wrap p {
    font-size: 0.86rem;
    line-height: 1.58;
  }

  .tiktok-comments-viewer-premium .tcv-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .tiktok-comments-viewer-premium .tcv-card {
    padding: 17px;
    min-height: auto;
    border-radius: 15px;
  }

  .tiktok-comments-viewer-premium .tcv-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .tiktok-comments-viewer-premium .tcv-icon i {
    font-size: 1rem;
  }

  .tiktok-comments-viewer-premium .tcv-card h3 {
    font-size: 0.96rem;
  }

  .tiktok-comments-viewer-premium .tcv-card p,
  .tiktok-comments-viewer-premium .tcv-cta {
    font-size: 0.84rem;
  }

  .tiktok-comments-viewer-premium .tcv-step {
    right: 14px;
    top: 12px;
    font-size: 2.8rem;
  }
}

@media (max-width: 319px) {
  .tiktok-comments-viewer-premium .tcv-section {
    padding: 36px 10px;
  }

  .tiktok-comments-viewer-premium .tcv-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .tiktok-comments-viewer-premium .tcv-card {
    padding: 15px;
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tiktok-comments-viewer-premium .tcv-card,
  .tiktok-comments-viewer-premium .tcv-icon,
  .tiktok-comments-viewer-premium .tcv-cta,
  .tiktok-comments-viewer-premium .tcv-step,
  .tiktok-comments-viewer-premium .tcv-card h3::after {
    transition: none !important;
    animation: none !important;
  }

  .tiktok-comments-viewer-premium .tcv-card,
  .tiktok-comments-viewer-premium .tcv-card.is-visible,
  .tiktok-comments-viewer-premium .tcv-card:hover {
    transform: none !important;
  }
}