@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.0.0/css/all.min.css');

.tprv-reddit-viewer,
.tprv-reddit-viewer * {
  box-sizing: border-box;
}

.tprv-reddit-viewer {
  width: 100% !important;
  overflow: hidden;
  background: #ffffff;
  color: #202126;
  font-family: inherit;
}

.tprv-reddit-viewer .tprv-section {
  width: 100% !important;
  position: relative;
}

.tprv-reddit-viewer .tprv-section-one,
.tprv-reddit-viewer .tprv-section-three {
  background: #ffffff;
}

.tprv-reddit-viewer .tprv-section-two {
  background: linear-gradient(180deg, #fff7f3 0%, #f8faf9 100%);
}

.tprv-reddit-viewer .tprv-container {
  max-width: 1200px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding-left: 24px;
  padding-right: 24px;
  min-width: 0;
}

.tprv-reddit-viewer h2,
.tprv-reddit-viewer h3,
.tprv-reddit-viewer p {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}

.tprv-reddit-viewer h2 {
  color: #202126;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
  margin-top: 0;
}

.tprv-reddit-viewer .tprv-intro {
  color: #5c6068;
  line-height: 1.7;
  margin-top: 14px;
  margin-bottom: 0;
  max-width: 780px;
}

.tprv-reddit-viewer .tprv-grid {
  display: grid !important;
  align-items: stretch !important;
  width: 100%;
  min-width: 0;
}

.tprv-reddit-viewer .tprv-card {
  height: 100% !important;
  min-width: 0;
  border: 1px solid #efe1db;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 69, 0, 0.08), rgba(255, 255, 255, 0) 42%),
    #ffffff;
  box-shadow: 0 18px 44px rgba(92, 45, 24, 0.09);
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease, background-position 360ms ease;
}

.tprv-reddit-viewer .tprv-card::after {
  content: "";
  position: absolute;
  inset: auto 24px 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, #ff4500, #ff8a3d, #36b6a4);
  transform: scaleX(0.38);
  transform-origin: center;
  opacity: 0.72;
  transition: transform 260ms ease, opacity 260ms ease;
}

.tprv-reddit-viewer .tprv-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 69, 0, 0.32);
  box-shadow: 0 24px 62px rgba(92, 45, 24, 0.15);
}

.tprv-reddit-viewer .tprv-card:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.tprv-reddit-viewer .tprv-icon {
  display: grid;
  place-items: center;
  margin-left: auto;
  margin-right: auto;
  border-radius: 18px;
  background: linear-gradient(135deg, #ff4500 0%, #ff8a3d 58%, #36b6a4 100%);
  box-shadow: 0 14px 28px rgba(255, 69, 0, 0.22);
  color: #ffffff;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.tprv-reddit-viewer .tprv-card:hover .tprv-icon {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 18px 34px rgba(255, 69, 0, 0.28);
}

.tprv-reddit-viewer .tprv-i {
  line-height: 1;
  text-align: center;
}

.tprv-reddit-viewer h3 {
  color: #232429;
  font-weight: 760;
  line-height: 1.25;
  letter-spacing: 0;
  margin-bottom: 0;
}

.tprv-reddit-viewer .tprv-card p {
  color: #646872;
  line-height: 1.62;
  margin-bottom: 0;
}

.tprv-reddit-viewer.tprv-ready .tprv-card {
  opacity: 0;
  transform: translateY(16px);
}

.tprv-reddit-viewer.tprv-ready .tprv-card.tprv-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1024px) {
  .tprv-reddit-viewer .tprv-section {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .tprv-reddit-viewer h2 {
    font-size: 42px;
    max-width: 980px;
    white-space: nowrap;
  }

  .tprv-reddit-viewer .tprv-intro {
    font-size: 18px;
  }

  .tprv-reddit-viewer .tprv-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin-top: 48px;
  }

  .tprv-reddit-viewer .tprv-card {
    min-height: 292px;
    padding: 34px 28px;
  }

  .tprv-reddit-viewer .tprv-icon {
    width: 68px;
    height: 68px;
    font-size: 28px;
    margin-bottom: 24px;
  }

  .tprv-reddit-viewer h3 {
    font-size: 21px;
  }

  .tprv-reddit-viewer .tprv-card p {
    font-size: 15.5px;
    margin-top: 13px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .tprv-reddit-viewer .tprv-section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .tprv-reddit-viewer .tprv-container {
    padding-left: 22px;
    padding-right: 22px;
  }

  .tprv-reddit-viewer h2 {
    font-size: 34px;
    max-width: 760px;
  }

  .tprv-reddit-viewer .tprv-intro {
    font-size: 16.5px;
  }

  .tprv-reddit-viewer .tprv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 40px;
  }

  .tprv-reddit-viewer .tprv-card {
    min-height: 268px;
    padding: 30px 24px;
    border-radius: 20px;
  }

  .tprv-reddit-viewer .tprv-icon {
    width: 62px;
    height: 62px;
    font-size: 25px;
    margin-bottom: 22px;
  }

  .tprv-reddit-viewer h3 {
    font-size: 19px;
  }

  .tprv-reddit-viewer .tprv-card p {
    font-size: 15px;
    margin-top: 12px;
  }
}

@media (min-width: 430px) and (max-width: 767px) {
  .tprv-reddit-viewer .tprv-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .tprv-reddit-viewer .tprv-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .tprv-reddit-viewer h2 {
    font-size: 28px;
    max-width: 390px;
  }

  .tprv-reddit-viewer .tprv-intro {
    font-size: 14.8px;
    max-width: 520px;
  }

  .tprv-reddit-viewer .tprv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
  }

  .tprv-reddit-viewer .tprv-card {
    min-height: 230px;
    padding: 22px 15px;
    border-radius: 17px;
  }

  .tprv-reddit-viewer .tprv-icon {
    width: 52px;
    height: 52px;
    font-size: 21px;
    margin-bottom: 16px;
    border-radius: 15px;
  }

  .tprv-reddit-viewer h3 {
    font-size: 16.5px;
  }

  .tprv-reddit-viewer .tprv-card p {
    font-size: 13.2px;
    line-height: 1.5;
    margin-top: 9px;
  }
}

@media (min-width: 375px) and (max-width: 429px) {
  .tprv-reddit-viewer .tprv-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .tprv-reddit-viewer .tprv-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .tprv-reddit-viewer h2 {
    font-size: 24px;
    max-width: 330px;
  }

  .tprv-reddit-viewer .tprv-intro {
    font-size: 13.8px;
    line-height: 1.6;
  }

  .tprv-reddit-viewer .tprv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
  }

  .tprv-reddit-viewer .tprv-card {
    min-height: 222px;
    padding: 18px 11px;
    border-radius: 15px;
  }

  .tprv-reddit-viewer .tprv-icon {
    width: 48px;
    height: 48px;
    font-size: 19px;
    margin-bottom: 14px;
    border-radius: 14px;
  }

  .tprv-reddit-viewer h3 {
    font-size: 15.5px;
  }

  .tprv-reddit-viewer .tprv-card p {
    font-size: 12.5px;
    line-height: 1.48;
    margin-top: 8px;
  }
}

@media (min-width: 320px) and (max-width: 374px) {
  .tprv-reddit-viewer .tprv-section {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .tprv-reddit-viewer .tprv-container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .tprv-reddit-viewer h2 {
    font-size: 21px;
    max-width: 292px;
  }

  .tprv-reddit-viewer .tprv-intro {
    font-size: 12.8px;
    line-height: 1.55;
  }

  .tprv-reddit-viewer .tprv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
  }

  .tprv-reddit-viewer .tprv-card {
    min-height: 214px;
    padding: 16px 9px;
    border-radius: 14px;
  }

  .tprv-reddit-viewer .tprv-icon {
    width: 44px;
    height: 44px;
    font-size: 17px;
    margin-bottom: 12px;
    border-radius: 13px;
  }

  .tprv-reddit-viewer h3 {
    font-size: 14.2px;
  }

  .tprv-reddit-viewer .tprv-card p {
    font-size: 11.8px;
    line-height: 1.44;
    margin-top: 7px;
  }
}

@media (max-width: 319px) {
  .tprv-reddit-viewer .tprv-grid {
    grid-template-columns: 1fr;
  }
}