/* ── KALSHI VS POLYMARKET INTERACTIVE TRENDS & GROWTH WIDGET STYLES ── */

/* ── Outer shell: exactly 855px wide, bg image fills it ── */
.kp-shell {
  position: relative;
  width: 855px;
  min-height: 632px;
  border-radius: 20px;
  overflow: visible;
  flex-shrink: 0;
  margin: 0 auto 30px auto;
}

/* Background image layer */
.kp-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Content layer sits above bg */
.kp-content {
  position: relative;
  z-index: 1;
  padding: 195px 52px 40px;
}

/* ── Section tabs ── */
.kp-tabs {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.kp-tab {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 7px 16px;
  border-radius: 100px;
  cursor: pointer;
  border: 1.5px solid rgba(80, 20, 160, 0.2);
  background: rgba(255, 255, 255, 0.65);
  color: #5014a0;
  transition: all 0.22s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  outline: none;
  white-space: nowrap;
}

.kp-tab:hover {
  background: rgba(80, 20, 160, 0.08);
  border-color: rgba(80, 20, 160, 0.45);
  transform: translateY(-1px);
}

.kp-tab.is-active {
  background: #5014a0;
  color: #fff;
  border-color: #5014a0;
  box-shadow: 0 4px 16px rgba(80, 20, 160, 0.35);
}

/* ── Card panel ── */
.kp-panel {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.kp-panel.is-active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ── Compare card ── */
.kp-compare {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(80, 20, 160, 0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(80, 20, 160, 0.08);
}

/* Top header bar of card */
.kp-compare-header {
  display: grid;
  grid-template-columns: 1fr 44px 1fr;
  align-items: center;
  padding: 16px 24px;
  background: linear-gradient(135deg, rgba(80, 20, 160, 0.06) 0%, rgba(80, 20, 160, 0.03) 100%);
  border-bottom: 1px solid rgba(80, 20, 160, 0.1);
  gap: 8px;
}

.kp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.kp-brand--right {
  flex-direction: row-reverse;
}

.kp-brand-dot {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.kp-brand-dot--kalshi {
  background: linear-gradient(135deg, #5014a0, #7c3dce);
}

.kp-brand-dot--poly {
  background: linear-gradient(135deg, #0047e1, #00b4d8);
}

.kp-brand-name {
  font-size: 14px;
  font-weight: 800;
  color: #1d212d;
}

.kp-brand-tag {
  font-size: 10px;
  font-weight: 600;
  color: #8890b8;
  margin-top: 1px;
}

.kp-vs-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #5014a0;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 3px 12px rgba(80, 20, 160, 0.4);
  flex-shrink: 0;
}

/* ── Compare rows ── */
.kp-compare-body {
  padding: 4px 0;
}

.kp-row {
  display: grid;
  grid-template-columns: 1fr 44px 1fr;
  gap: 0;
  border-bottom: 1px solid rgba(80, 20, 160, 0.06);
  transition: background 0.22s ease;
  cursor: default;
}

.kp-row:last-child {
  border-bottom: none;
}

.kp-row:hover {
  background: rgba(80, 20, 160, 0.03);
}

.kp-cell {
  padding: 16px 24px;
  font-size: 12.5px;
  color: #3a3d5c;
  line-height: 1.65;
  font-weight: 500;
}

.kp-cell--right {
  border-left: 1px solid rgba(80, 20, 160, 0.06);
}

.kp-cell--divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-left: 1px solid rgba(80, 20, 160, 0.06);
  border-right: 1px solid rgba(80, 20, 160, 0.06);
  background: rgba(80, 20, 160, 0.03);
}

.kp-divider-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(80, 20, 160, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.kp-cell-tag {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
  margin-bottom: 6px;
}

.kp-cell-tag--kalshi {
  background: rgba(80, 20, 160, 0.1);
  color: #5014a0;
}

.kp-cell-tag--poly {
  background: rgba(0, 71, 225, 0.1);
  color: #0047e1;
}

/* ── Overview panel ── */
.kp-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.kp-ov-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(80, 20, 160, 0.12);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 3px 16px rgba(80, 20, 160, 0.07);
  cursor: pointer;
  transition: transform 0.26s cubic-bezier(.34, 1.56, .64, 1), box-shadow 0.26s ease, border-color 0.22s ease;
}

.kp-ov-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(80, 20, 160, 0.15);
  border-color: rgba(80, 20, 160, 0.3);
}

.kp-ov-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(80, 20, 160, 0.12), rgba(80, 20, 160, 0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 18px;
}

.kp-ov-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5014a0;
  margin-bottom: 6px;
}

.kp-ov-title {
  font-size: 14px;
  font-weight: 700;
  color: #1d212d;
  margin-bottom: 12px;
  line-height: 1.3;
}

.kp-ov-text {
  font-size: 12px;
  color: #5a5d7a;
  line-height: 1.65;
  font-weight: 500;
}

/* ── Expand indicator on overview cards ── */
.kp-ov-expand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  color: #5014a0;
  opacity: 0.7;
  transition: opacity 0.2s ease, gap 0.2s ease;
}

.kp-ov-card:hover .kp-ov-expand {
  opacity: 1;
  gap: 8px;
}

/* ── Score bar (visual comparison) ── */
.kp-score-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.kp-score-label {
  font-size: 11px;
  font-weight: 700;
  color: #5a5d7a;
  width: 110px;
  flex-shrink: 0;
  text-align: right;
}

.kp-score-bar-wrap {
  flex: 1;
  display: flex;
  gap: 4px;
  align-items: center;
}

.kp-score-bar {
  height: 8px;
  border-radius: 4px;
  transition: width 0.8s cubic-bezier(.4, 0, .2, 1);
}

.kp-score-bar--kalshi {
  background: linear-gradient(90deg, #5014a0, #8b5cf6);
}

.kp-score-bar--poly {
  background: linear-gradient(90deg, #0047e1, #00b4d8);
}

.kp-score-val {
  font-size: 11px;
  font-weight: 700;
  width: 32px;
  flex-shrink: 0;
  text-align: left;
}

/* ── Modal overlay for overview card clicks ── */
.kp-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(29, 33, 45, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.kp-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: all;
}

.kp-modal {
  background: #fff;
  border-radius: 18px;
  padding: 32px 36px;
  max-width: 520px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(80, 20, 160, 0.25);
  transform: scale(0.95) translateY(12px);
  transition: transform 0.32s cubic-bezier(.34, 1.56, .64, 1);
  position: relative;
}

.kp-modal-backdrop.is-open .kp-modal {
  transform: scale(1) translateY(0);
}

.kp-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: #f3f0fa;
  color: #5014a0;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.kp-modal-close:hover {
  background: #e8e0f7;
}

.kp-modal-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(80, 20, 160, 0.12), rgba(80, 20, 160, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}

.kp-modal-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5014a0;
  margin-bottom: 6px;
}

.kp-modal-title {
  font-size: 18px;
  font-weight: 800;
  color: #1d212d;
  margin-bottom: 16px;
  line-height: 1.3;
}

.kp-modal-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.kp-modal-col h4 {
  font-size: 11.5px;
  font-weight: 800;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
}

.kp-modal-col--kalshi h4 {
  background: rgba(80, 20, 160, 0.1);
  color: #5014a0;
}

.kp-modal-col--poly h4 {
  background: rgba(0, 71, 225, 0.1);
  color: #0047e1;
}

.kp-modal-col p {
  font-size: 12.5px;
  color: #3a3d5c;
  line-height: 1.7;
  font-weight: 500;
}

/* ── Animated entrance ── */
.kp-shell {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.kp-shell.is-ready {
  opacity: 1;
  transform: translateY(0);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {

  .kp-shell,
  .kp-panel,
  .kp-ov-card,
  .kp-modal,
  .kp-tab {
    transition: none !important;
    animation: none !important;
  }

  .kp-shell {
    opacity: 1;
    transform: none;
  }
}

/* ── Responsive breakpoints ── */

/* Tablets and Landscape Viewports (< 900px) */
@media (max-width: 899.98px) {
  .kp-shell {
    width: 100%;
    max-width: 100%;
    min-height: auto;
    background: linear-gradient(135deg, #f7f5fc 0%, #edeaf5 100%);
    border: 1px solid rgba(80, 20, 160, 0.1);
    box-shadow: 0 8px 32px rgba(80, 20, 160, 0.05);
  }

  .kp-bg {
    display: none !important;
  }

  .kp-content {
    padding: 32px 24px 24px;
  }
}

/* Small Tablets and Mobile Viewports (< 768px) */
@media (max-width: 767.98px) {
  .kp-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    margin-bottom: 20px;
    scrollbar-width: none;
    /* Firefox */
  }

  .kp-tabs::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
  }

  .kp-tab {
    flex-shrink: 0;
    padding: 6px 14px;
    font-size: 11px;
  }

  /* Stack brand columns in header */
  .kp-compare-header {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
    padding: 20px;
  }

  .kp-brand {
    justify-content: center;
    width: 100%;
  }

  .kp-brand--right {
    flex-direction: row;
    /* Align icon left on stacked view */
  }

  .kp-brand--right div {
    text-align: left !important;
  }

  .kp-vs-badge {
    margin: 4px auto;
  }

  /* Stack rows in comparison body */
  .kp-row {
    grid-template-columns: 1fr;
    border-bottom: 1px solid rgba(80, 20, 160, 0.08);
  }

  .kp-row:last-child {
    border-bottom: none;
  }

  .kp-cell {
    padding: 16px 20px;
  }

  .kp-cell--right {
    border-left: none;
    border-top: 1px dashed rgba(80, 20, 160, 0.12);
  }

  .kp-cell--divider {
    display: none !important;
  }
}

/* Extra Small Viewports / Mobile Portrait (< 576px) */
@media (max-width: 575.98px) {
  .kp-content {
    padding: 24px 16px 20px;
  }

  /* Stack overview cards */
  .kp-overview-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .kp-ov-card {
    padding: 16px 18px;
  }

  .kp-ov-title {
    font-size: 13px;
    margin-bottom: 8px;
  }

  /* Modal scaling & split stacking */
  .kp-modal {
    padding: 24px 20px;
    width: 95%;
  }

  .kp-modal-title {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .kp-modal-split {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .kp-modal-col h4 {
    margin-bottom: 6px;
  }

  .kp-modal-col p {
    font-size: 12px;
  }
}

/* ── CTA WIDGET REUSED FROM PERP-DEX ── */
.kp-cta-wrap {
  font-family: 'DM Sans', sans-serif;
  padding: 2rem 0;
}

.kp-cta-card {
  background: #1e232f;
  border-radius: 20px;
  padding: 2.5rem 2.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid #1e2a45;
  margin-bottom: 20px;
}

.kp-cta-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(83, 74, 183, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.kp-cta-card::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 30px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 158, 117, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.kp-cta-card .kp-dex-icon {
  width: 48px;
  height: 48px;
  background: rgba(127, 119, 221, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.kp-cta-card .kp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(83, 74, 183, 0.2);
  border: 1px solid rgba(83, 74, 183, 0.4);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  color: #AFA9EC;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  width: fit-content;
  line-height: 1;
}

.kp-cta-card .kp-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7F77DD;
  animation: pulse 1.8s infinite;
  display: inline-block;
}

.kp-cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.kp-cta-card .kp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #534AB7 !important;
  color: #f0eeff !important;
  -webkit-text-fill-color: #f0eeff !important;
  background-clip: border-box !important;
  border: none;
  border-radius: 10px;
  padding: 13px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}

.kp-cta-card .kp-btn-primary:hover {
  background: #7F77DD;
  -webkit-text-fill-color: #f0eeff !important;
  transform: translateY(-1px);
}

.kp-cta-card .kp-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #AFA9EC !important;
  -webkit-text-fill-color: #AFA9EC !important;
  background-clip: border-box !important;
  border: 1px solid rgba(83, 74, 183, 0.4);
  border-radius: 10px;
  padding: 13px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
  text-decoration: none;
}

.kp-cta-card .kp-btn-secondary:hover {
  border-color: #7F77DD;
  color: #f0eeff !important;
  -webkit-text-fill-color: #f0eeff !important;
  transform: translateY(-1px);
}

.kp-cta-card .kp-cta-headline {
  font-family: 'DM Sans', sans-serif;
  font-size: 32px !important;
  font-weight: 800;
  background: #f0eeff !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  line-height: 1.15;
  border: none;
  padding: 0;
  margin-bottom: 1rem;
  text-transform: none;
}

.kp-cta-card .kp-cta-headline span {
  background: #7F77DD !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.kp-cta-card .kp-cta-sub {
  font-size: 16px;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

@media (max-width: 1199px) {
  .kp-cta-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 576px) {
  .kp-cta-card .kp-cta-headline {
    font-size: 26px !important;
  }

  .pf-pill {
    font-size: 11px !important;
  }
}

/* ── Polymarket Clone Script Features Overlay/Component Styles ── */
.pf-shell {
  position: relative;
  width: 100%;
  max-width: 855px;
  border-radius: 20px;
  overflow: hidden;
  margin: 1.5rem auto 2rem auto;
  box-shadow: 0 10px 30px rgba(80, 20, 160, 0.05);
  border: 1.5px solid transparent;
  transition: border-color 0.3s ease;
}

.pf-shell__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: top center;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  border-radius: 20px;
}

.pf-shell__inner {
  position: relative;
  z-index: 1;
  padding: 4.5rem 1.25rem 1.75rem;
}

@media (min-width: 576px) {
  .pf-shell__inner {
    padding: 7rem 2rem 2rem;
  }
}

@media (min-width: 855px) {
  .pf-shell {
    height: auto;
    min-height: 551px;
  }

  .pf-shell__inner {
    padding: 8rem 2.75rem 2.25rem;
    position: relative;
    z-index: 1;
  }
}

.pf-card {
  background: rgba(255, 255, 255, 0.68);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(80, 20, 160, 0.20);
  border-radius: 14px;
  padding: 1.125rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
  height: 100%;
  min-height: 158px;
  box-shadow: 0 3px 12px rgba(80, 20, 160, 0.08);
  transition:
    transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.24s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
  outline: none;
  text-align: left;
  width: 100%;
  background-clip: padding-box;
}

.pf-card:hover,
.pf-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(80, 20, 160, 0.16);
  border-color: rgba(80, 20, 160, 0.40);
}

.pf-card:active {
  transform: translateY(-1px);
}

.pf-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background: linear-gradient(135deg, #5014a0, #8b42d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.625rem;
  flex-shrink: 0;
  line-height: 1;
}

.pf-card__title {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #1d212d !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

/* ── RESPONSIVE OVERRIDES FOR PF-SHELL & PF-CARD ── */
@media (max-width: 1199px) {
  /* Fits the default grid structure nicely */
}

@media (max-width: 991px) {
  .pf-shell__bg {
    display: none !important;
  }

  .pf-shell {
    background: linear-gradient(135deg, #fbfaff 0%, #f6f3ff 100%) !important;
    border: 1.5px solid rgba(80, 20, 160, 0.15) !important;
    padding: 30px 24px !important;
    height: auto !important;
  }

  .pf-shell__inner {
    padding: 0 !important;
    position: static !important;
  }
}

@media (max-width: 767px) {
  .pf-shell {
    padding: 24px 20px !important;
  }

  .pf-card {
    min-height: 140px;
  }

  .pf-card__icon {
    width: 48px;
    height: 48px;
    font-size: 1.35rem;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .pf-shell {
    padding: 20px 16px !important;
  }

  .pf-card {
    min-height: auto;
    padding: 1rem;
  }

  .pf-card__title {
    font-size: 0.9rem !important;
    line-height: 1.2 !important;
  }
}

.pf-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(20, 10, 50, 0.38);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  z-index: 100;
  border-radius: 20px;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.pf-overlay.pf-overlay--open {
  display: flex;
}

.pf-modal {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: rgba(255, 255, 255, 0.97);
  border: 1.5px solid rgba(80, 20, 160, 0.18);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(30, 10, 80, 0.28);
}

.pf-modal__close {
  position: absolute;
  top: 0.8rem;
  right: 0.875rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(80, 20, 160, 0.08);
  color: #5014a0;
  font-size: 0.875rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.18s ease;
  z-index: 2;
  line-height: 1;
  padding: 0;
}

.pf-modal__close:hover,
.pf-modal__close:focus-visible {
  background: rgba(80, 20, 160, 0.18);
  outline: none;
}

.pf-modal__header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.25rem 3.25rem 1rem 1.375rem;
  background: linear-gradient(135deg, rgba(80, 20, 160, 0.07), rgba(80, 20, 160, 0.03));
  border-bottom: 1px solid rgba(80, 20, 160, 0.09);
}

.pf-modal__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #5014a0, #8b42d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  line-height: 1;
}

.pf-modal__title {
  font-size: 0.9375rem !important;
  font-weight: 800 !important;
  color: #1a1c2e !important;
  background: none !important;
  -webkit-text-fill-color: #1a1c2e !important;
  line-height: 1.3 !important;
  margin: 0;
  padding: 0 !important;
}

.pf-modal__body {
  padding: 1rem 1.375rem 1.375rem;
}

.pf-modal__desc {
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  background: none !important;
  -webkit-text-fill-color: #3e4268 !important;
  line-height: 1.4 !important;
  margin-bottom: 0.875rem;
}

.pf-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4375rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pf-pill {
  font-size: 0.65625rem;
  font-weight: 600;
  padding: 0.3125rem 0.875rem;
  border-radius: 100px;
  background: rgba(80, 20, 160, 0.08);
  color: #5014a0;
  border: 1px solid rgba(80, 20, 160, 0.17);
  white-space: nowrap;
}


/* ── TELEGRAM LINK BUTTON UI UPDATE ── */
.blog-single-wrap .tele-link {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.blog-single-wrap .tele-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #534AB7;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background-clip: border-box !important;
  border-radius: 100px;
  padding: 13px 36px;
  font-family: "Exo 2", sans-serif;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(36, 129, 204, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
  width: fit-content;
}

.blog-single-wrap .tele-link a:hover {
  background: #534AB7;
  box-shadow: 0 6px 20px rgba(36, 129, 204, 0.4);
  transform: translateY(-2px);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* ── PREMIUM LIGHT THEME TABLE OVERRIDES ── */
.bx-table-wrap {
  background: #ffffff !important;
  border: 1px solid rgba(80, 20, 160, 0.12) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(80, 20, 160, 0.05), 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

.bx-table-wrap::before {
  background: linear-gradient(90deg, #F5D255 0%, #36E7C4 50%, #4E1FA3 100%) !important;
  height: 3px !important;
}

.bx-table {
  background: transparent !important;
}

/* Header */
.bx-table thead tr {
  background: #4E1FA3 !important;
  border-bottom: 1px solid rgba(161, 131, 224, 0.2) !important;
}

.bx-table thead th {
  color: #e8e4f5 !important;
  font-family: "Exo 2", sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 20px 24px !important;
}

.bx-table thead th:first-child,
.bx-table thead th:nth-child(2),
.bx-table thead th:nth-child(3) {
  color: #e8e4f5 !important;
}

/* Body Rows */
.bx-table tbody tr {
  border-bottom: 1px solid rgba(80, 20, 160, 0.08) !important;
  transition: background 0.2s ease !important;
}

.bx-table tbody tr:nth-child(odd) {
  background: #F6F5FA !important;
}

.bx-table tbody tr:nth-child(even) {
  background: #e8e8e8 !important;
}

.bx-table tbody tr:hover {
  background: #e0d5f7 !important;
}

.bx-table tbody td {
  padding: 20px 24px !important;
  color: #000 !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  border: none !important;
}

/* Feature Name (First Column) */
.bx-table tbody td:first-child {
  font-family: "Exo 2", sans-serif !important;
  font-weight: 700 !important;
  color: #211c38 !important;
  font-size: 15px !important;
  border-right: none !important;
  vertical-align: middle !important;
}

.bx-table tbody td:nth-child(2) {
  border-right: none !important;
}

/* Icons */
.bx-icon {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

/* Teal Icons (Table 1) */
.bx-icon--cyan {
  background: rgba(0, 150, 136, 0.06) !important;
  border: 1.5px solid rgba(0, 150, 136, 0.2) !important;
  color: #00897b !important;
}

.bx-table tbody tr:hover .bx-icon--cyan {
  background: rgba(0, 150, 136, 0.12) !important;
  border-color: rgba(0, 150, 136, 0.4) !important;
  color: #00695c !important;
}

/* Purple Icons (Table 2) */
.bx-icon--purple {
  background: rgba(78, 31, 163, 0.06) !important;
  border: 1.5px solid rgba(78, 31, 163, 0.2) !important;
  color: #4e1fa3 !important;
}

.bx-table tbody tr:hover .bx-icon--purple {
  background: rgba(78, 31, 163, 0.12) !important;
  border-color: rgba(78, 31, 163, 0.4) !important;
  color: #37127a !important;
}

/* Responsive Table Overrides */
@media (max-width: 1199px) {
  .bx-table thead th {
    padding: 16px 20px !important;
  }

  .bx-table tbody td {
    padding: 16px 20px !important;
  }
}

@media (max-width: 991px) {
  .bx-table thead th {
    padding: 15px 18px !important;
    font-size: 13px !important;
  }

  .bx-table tbody td {
    padding: 15px 18px !important;
    font-size: 13.5px !important;
  }
}

@media (max-width: 767px) {
  .bx-table thead th {
    padding: 14px 16px !important;
    font-size: 11px !important;
  }

  .bx-table tbody td {
    padding: 14px 16px !important;
    font-size: 12px !important;
  }

  .bx-table tbody td:first-child {
    font-size: 12.5px !important;
  }

  .bx-icon {
    width: 30px !important;
    height: 30px !important;
  }
}

@media (max-width: 480px) {
  .bx-table thead th {
    padding: 10px 12px !important;
    font-size: 10px !important;
  }

  .bx-table tbody td {
    padding: 10px 12px !important;
    font-size: 11px !important;
  }

  .bx-table tbody td:first-child {
    font-size: 11.5px !important;
  }

  .bx-icon {
    width: 26px !important;
    height: 26px !important;
  }

  .pf-modal__title {
    font-size: 0.7rem !important;
  }
}