/* ═══════════════════════════════════════════════════════════════
   Text-Trick — style.css
   ═══════════════════════════════════════════════════════════════ */

/* ── Fonts ── */

/* ── Reset / base ── */
body,
p {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #343c6a;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

/* ── Sizes ── */
.h1,
h1 {
  font-size: calc(1.25rem + 1.2vw) !important;
}

.h2,
h2 {
  font-size: calc(1.2rem + 0.7vw) !important;
}

.h3,
h3 {
  font-size: calc(1.15rem + 0.4vw) !important;
}

.h4,
h4 {
  font-size: calc(1.1rem + 0.2vw) !important;
}

@media (min-width: 1200px) {

  .h1,
  h1 {
    font-size: 2.2rem !important;
  }

  .h2,
  h2 {
    font-size: 1.8rem !important;
  }

  .h3,
  h3 {
    font-size: 1.6rem !important;
  }

  .h4,
  h4 {
    font-size: 1.35rem !important;
  }
}

.h5,
h5 {
  font-size: 1.1rem !important;
}

.h6,
h6 {
  font-size: 0.9rem !important;
}

/* ── Color themes ── */
.themeBackground,
#btn-back-to-top {
  background-color: #14b28f !important;
}

.themeColor,
a,
.darkThemeColor {
  color: #14b28f;
}

.text-theme {
  color: #14b28f !important;
}

.text-theme:hover {
  color: #0d8a6f !important;
}

.bodyMain,
.lightBackground {
  background-color: #f1f3f4 !important;
}

.darkBackground,
.navbar-dark {
  background: #18222c !important;
}

.blackColor {
  color: #18222c !important;
}

.categoryName,
.darkColor,
body,
p {
  color: #343c6a;
}

/* ── Navbar ── */
.navbar {
  box-shadow: 0 2px 4px rgb(0 0 0 / .05);
}

.navbar-brand {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.2rem;
  margin-left: 0.6rem !important;
  letter-spacing: -.01em;
}

.nav-link {
  padding: .5rem 1rem !important;
}

.nav-link:hover {
  color: #14b28f !important;
}

/* ── Input area ── */
.form-outline .form-control {
  min-height: 48px;
}

.inputTextArea {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

/* ── Outlined floating label ── */
.input-outline-wrap {
  position: relative;
  border: 1.5px solid #ced4da;
  border-radius: 6px;
  background: #fff;
  transition: border-color .2s ease;
}

.input-outline-wrap:focus-within {
  border-color: #14b28f;
}

.outline-input {
  display: block;
  width: 100%;
  height: 54px;
  padding: 0 48px 0 14px;
  border: none;
  outline: none;
  background: transparent;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  color: #343c6a;
}

.outline-label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  padding: 0 4px;
  color: #9aa0a6;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  pointer-events: none;
  transition: top .15s ease, transform .15s ease, font-size .15s ease, color .15s ease;
  white-space: nowrap;
}

.input-outline-wrap:focus-within .outline-label,
.outline-input:not(:placeholder-shown)~.outline-label {
  top: 0;
  transform: translateY(-50%);
  font-size: 0.78rem;
  color: #14b28f;
}

.outline-clear {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  font-size: 16px;
  cursor: pointer;
  z-index: 5;
  line-height: 1;
}

/* ── Range slider ── */
.form-range,
.form-range:focus {
  -webkit-tap-highlight-color: transparent;
  color: #14b28f;
  outline: 0;
  user-select: none;
}

.form-range::-webkit-slider-thumb {
  background-color: #14b28f;
}

.form-range::-moz-range-thumb {
  background-color: #14b28f;
}

/* ── styleBox (each font row) ── */
.styleBox {
  margin-top: 4px;
  background-color: #fff !important;
  border-style: hidden;
  height: auto;
  padding: 12px;
  resize: none;
  font-size: 18px;
  color: #718ebf;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-break: break-all;
  transition: opacity 0.3s ease-in-out;
  cursor: pointer;
  text-align: center;
}

.styleBox:hover {
  border: 1px solid #14b28f !important;
  color: #14b28f !important;
}

.styleBox:hover .preview {
  color: #14b28f !important;
}

.styleBox.lazy-load-pending {
  opacity: 0;
  will-change: opacity;
}

.styleBox.lazy-loaded {
  opacity: 1;
}

/* ── Style name badge ── */
.styleName {
  margin-bottom: 2px;
  margin-top: -9px;
  margin-left: -8px;
  font-size: 11px;
  color: #6c757d;
  background-color: #f1f3f4;
  padding: 2px 4px;
  border-radius: 4px;
  display: inline-block;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  width: fit-content;
}

/* ── Preview text ── */
.preview {
  margin: 0;
  font-size: var(--preview-font-size, 18px);
  transition: font-size 0.2s;
}

.max-width-95 {
  max-width: 95%;
}

/* ── Category heading ── */
.categoryName {
  color: #343c6a;
}

/* ── Action buttons (copy + heart) ── */
.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: .25rem;
  border-radius: 4px;
  transition: 0.2s;
  width: 28px;
  height: 28px;
  cursor: pointer;
}

.action-btn:hover {
  background-color: rgb(0 0 0 / .05);
  transform: translateY(-1px);
}

.action-btn:active {
  transform: scale(.95);
}

.action-btn svg {
  width: 16px;
  height: 16px;
}

.action-btn.is-fav {
  color: #e53935;
}

/* ── Compare Feature ── */
.compare-active {
  color: #14b28f !important;
}

#compareTray {
  position: fixed;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1090;
  background: #1e293b;
  color: #fff;
  border-radius: 16px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
  transition: bottom .3s cubic-bezier(.4, 0, .2, 1);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: .88rem;
}

#compareTray.show {
  bottom: 24px;
}

#compareTray .compare-tray-count {
  background: #14b28f;
  color: #fff;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .82rem;
}

#compareTray button {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: .82rem;
  border-radius: 8px;
  padding: 6px 16px;
  font-weight: 600;
}

.compare-tray-btn {
  background: #14b28f;
  color: #fff;
}

.compare-tray-btn:hover {
  background: #0f9a7a;
}

.compare-tray-clear {
  background: transparent;
  color: #94a3b8;
}

.compare-tray-clear:hover {
  color: #fff;
}

#compareModal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(15, 23, 42, .7);
  backdrop-filter: blur(8px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 40px 16px;
}

#compareModal.show {
  display: flex;
}

.compare-modal-inner {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 700px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
  padding: 28px;
}

.compare-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.compare-modal-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #1e293b;
}

.compare-modal-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: #94a3b8;
  line-height: 1;
}

.compare-modal-close:hover {
  color: #1e293b;
}

#compareInput {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: .95rem;
  margin-bottom: 16px;
  outline: none;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #1e293b;
  transition: border-color .2s;
}

#compareInput:focus {
  border-color: #14b28f;
}

.compare-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 8px;
  border: 1px solid #f1f5f9;
}

.compare-row-name {
  min-width: 120px;
  font-size: .78rem;
  color: #64748b;
  font-weight: 600;
  flex-shrink: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.compare-row-preview {
  flex: 1;
  font-size: 1rem;
  color: #1e293b;
  word-break: break-word;
  overflow: hidden;
}

.compare-row-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

/* ── Toast "Successfully Copied" ── */
.toast-copied {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: #14b28f;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s, transform .22s;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgb(0 0 0 / .15);
  display: flex;
  align-items: center;
  gap: 6px;
}

.toast-copied.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Back to top ── */
#btn-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 8px;
  display: none;
  z-index: 9999;
  width: 2.1rem !important;
  height: 2.1rem !important;
  color: #41486d;
}

/* ── Sticky input card ── */
.textBox {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: #fff;
}

/* ── Favorites reserved space ── */
.favorites-reserved-space {
  min-height: 150px !important;
  transition: min-height 0.3s;
}

.favorites-reserved-space.hidden {
  min-height: 0 !important;
}

#favorites-category {
  min-height: 200px !important;
}

/* ── Category scroll pills ── */
.cat-pills-wrap {
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cat-pills-wrap::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 20px;
  border: 1.5px solid #dee2e6;
  background: #fff;
  color: #343c6a;
  font-size: 13px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s;
  text-decoration: none;
  margin-right: 6px;
}

.cat-pill:hover,
.cat-pill.active {
  border-color: #14b28f;
  color: #14b28f;
  background: #edfaf6;
}

/* ── Decorator pills ── */
.deco-label {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #9aa0a6;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.deco-pills-wrap {
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
}

.deco-pills-wrap::-webkit-scrollbar {
  display: none;
}

.deco-pill {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 16px;
  border: 1.5px solid #e8e8ee;
  background: #fff;
  color: #5a6071;
  font-size: 13px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s;
  text-decoration: none;
  margin-right: 4px;
}

.deco-pill:hover {
  border-color: #5c67f2;
  color: #5c67f2;
  background: #f0f0ff;
}

.deco-pill.active {
  border-color: #5c67f2;
  color: #fff;
  background: #5c67f2;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .customText {
    font-size: smaller;
  }

  .styleBox {
    margin-top: 2px;
    padding: 10px;
    font-size: 15px;
  }

  .styleName {
    font-size: 11px;
  }

  .preview {
    font-size: var(--preview-font-size, 15px);
  }
}

/* ── Load More button ── */
.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 36px;
  background: #14b28f;
  color: #fff;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 18px rgba(20, 178, 143, .28);
}

.btn-load-more:hover {
  background: #0d9a7c;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(20, 178, 143, .38);
}

.btn-load-more:active {
  transform: scale(.97);
}

.btn-load-more svg {
  transition: transform .4s ease;
}

.btn-load-more:hover svg {
  transform: rotate(180deg);
}

.load-more-wrap {
  padding-top: 8px;
}

/* ═══ Features Grid Section ════════════════════════════════════════ */
.features-section {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.feature-card {
  background: #fff;
  border: 1px solid #f0f0f4;
  border-radius: 14px;
  padding: 28px 22px 22px;
  height: 100%;
  text-align: center;
  transition: box-shadow .22s ease, transform .22s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .10);
}

/* ── Icon circles ── */
.feature-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feature-icon-wrap svg {
  width: 26px;
  height: 26px;
}

.fc-teal {
  background: #e6faf5;
  color: #14b28f;
}

.fc-rose {
  background: #fff0f3;
  color: #e8617a;
}

.fc-indigo {
  background: #eff0ff;
  color: #5c67f2;
}

.fc-amber {
  background: #fff8e6;
  color: #f0a500;
}

/* ── Description ── */
.feature-desc {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.875rem;
  color: #6c757d;
  line-height: 1.65;
  margin: 0;
}

/* ── 4 distinct heading styles ── */
.feature-heading {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 10px;
}

/* 1 — gradient text (card 1) */
.fh-gradient {
  background: linear-gradient(90deg, #14b28f, #2dd4bf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* 2 — thick underline accent (card 2) */
.fh-underline {
  font-weight: 700;
  color: #343c6a;
  display: inline-block;
  border-bottom: 3px solid #e8617a;
  padding-bottom: 2px;
}

/* 3 — small pill badge style (card 3) */
.fh-badge {
  font-weight: 700;
  color: #5c67f2;
  letter-spacing: -0.01em;
  position: relative;
}

.fh-badge::after {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: #5c67f2;
  border-radius: 2px;
  margin: 4px auto 0;
}

/* 4 — subtle dotted bottom border (card 4) */
.fh-dotted {
  font-weight: 700;
  color: #343c6a;
  border-bottom: 2px dotted #f0a500;
  display: inline-block;
  padding-bottom: 2px;
}

/* ═══ Content / About Section ══════════════════════════════════════ */
.content-box {
  background: #fff;
  border: 1px solid #f0f0f4;
  border-radius: 14px;
  padding: 36px 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
}

.content-eyebrow {
  display: inline-block;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #14b28f;
  background: #e6faf5;
  border-radius: 50px;
  padding: 3px 12px;
  margin-bottom: 10px;
}

.content-title {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: #1c2a5a;
  line-height: 1.3;
  margin-bottom: 14px;
}

.content-body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  color: #5a6071;
  line-height: 1.75;
  margin-bottom: 12px;
}

/* Tag pills */
.content-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.ctag {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: #343c6a;
  background: #f0f2ff;
  border: 1px solid #d9dcf7;
  border-radius: 50px;
  padding: 4px 13px;
  transition: background .18s;
}

.ctag:hover {
  background: #e0e3ff;
}

/* Stats 2×2 grid */
.content-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cstat-card {
  background: #f8f9ff;
  border: 1px solid #eaecfc;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  transition: box-shadow .2s;
}

.cstat-card:hover {
  box-shadow: 0 4px 16px rgba(92, 103, 242, .1);
}

.cstat-num {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #14b28f;
  line-height: 1;
  margin-bottom: 4px;
}

.cstat-num span {
  font-size: 1.2rem;
  color: #5c67f2;
}

.cstat-label {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.78rem;
  color: #9aa0a6;
  font-weight: 500;
}

/* ═══ FAQ Section ═══════════════════════════════════════════════════ */
.faq-title {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: #1c2a5a;
  margin-top: 6px;
  margin-bottom: 0;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: #fff;
  border: 1px solid #eef0f7;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .04);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  padding: 18px 22px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  color: #1c2a5a;
  text-align: left;
  cursor: pointer;
  transition: color .18s;
}

.faq-question:not(.collapsed) {
  color: #14b28f;
}

.faq-chevron {
  flex-shrink: 0;
  color: #c0c6d4;
  transition: transform .25s ease, color .18s;
}

.faq-question:not(.collapsed) .faq-chevron {
  transform: rotate(180deg);
  color: #14b28f;
}

.faq-answer {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.88rem;
  color: #5a6071;
  line-height: 1.75;
  padding: 0 22px 18px;
  border-top: 1px solid #f3f4f9;
}

/* ── Step Cards (How It Works) ── */
.step-card {
  background: #f8fafc;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  border: 1px solid #e8ecf1;
  height: 100%;
  transition: transform .2s, box-shadow .2s;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(20, 178, 143, .1);
}

.step-number {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #14b28f, #0ea5e9);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.step-title {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.step-desc {
  font-size: .85rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* ── Content Subtitle (H3) ── */
.content-subtitle {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin: 24px 0 12px;
  padding-left: 14px;
  border-left: 3px solid #14b28f;
}

/* ── Content List Grid ── */
.content-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.content-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #f8fafc;
  border-radius: 12px;
  padding: 16px 18px;
  border: 1px solid #e8ecf1;
  transition: transform .2s;
}

.content-list-item:hover {
  transform: translateY(-2px);
}

.cli-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.content-list-item strong {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: .92rem;
  color: #1e293b;
  display: block;
  margin-bottom: 4px;
}

.content-list-item p {
  font-size: .82rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* ── Trending Fonts Section ── */
.trending-section {
  background: #fff;
  border-radius: 14px;
  padding: 20px 22px;
  border: 1px solid #e8ecf1;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
}

.trending-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.trending-fire {
  font-size: 1.3rem;
}

.trending-title {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.trending-sub {
  font-size: .78rem;
  color: #94a3b8;
  margin-left: auto;
}

.trending-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trending-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #f8fafc;
  border: 1px solid #e8ecf1;
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s;
  min-width: 0;
}

.trending-chip:hover {
  background: #f0fdf9;
  border-color: #14b28f;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 178, 143, .1);
}

.trending-rank {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #14b28f, #0ea5e9);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.trending-chip:nth-child(1) .trending-rank {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.trending-chip:nth-child(2) .trending-rank {
  background: linear-gradient(135deg, #a855f7, #ec4899);
}

.trending-chip:nth-child(3) .trending-rank {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.trending-name {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: .82rem;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trending-count {
  font-size: .7rem;
  color: #94a3b8;
  white-space: nowrap;
  font-weight: 500;
}

.trending-loading {
  font-size: .82rem;
  color: #94a3b8;
  padding: 8px 0;
}

/* Flash highlight animation */
@keyframes flashHighlight {
  0% {
    background-color: rgba(20, 178, 143, .15);
  }

  100% {
    background-color: transparent;
  }
}

.flash-highlight {
  animation: flashHighlight 1.5s ease-out;
  border-radius: 8px;
}

.like-h2 {
  font-weight: 700;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #343c6a;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 0.5rem;
  display: block;
}