@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');

.ytv-thumbviewer,
.ytv-thumbviewer * {
  box-sizing: border-box;
}

.ytv-thumbviewer {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden;
  background: #ffffff;
  color: #17212b;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.ytv-thumbviewer .ytv-thumbviewer-section {
  width: 100% !important;
  overflow: hidden;
}

.ytv-thumbviewer .ytv-thumbviewer-section-one,
.ytv-thumbviewer .ytv-thumbviewer-section-three {
  background: #ffffff;
}

.ytv-thumbviewer .ytv-thumbviewer-section-two {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 0, 0, 0.08), transparent 34%),
    linear-gradient(180deg, #fff7f5 0%, #fffdfb 100%);
}

.ytv-thumbviewer .ytv-thumbviewer-container {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  min-width: 0;
}

.ytv-thumbviewer .ytv-thumbviewer-heading {
  margin: 0 auto;
  color: #111827;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
  text-align: center;
  text-wrap: balance;
}

.ytv-thumbviewer .ytv-thumbviewer-intro {
  margin: 0 auto;
  max-width: 760px;
  color: #52616f;
  font-weight: 450;
  line-height: 1.65;
  text-align: center;
}

.ytv-thumbviewer .ytv-thumbviewer-grid {
  display: grid !important;
  align-items: stretch !important;
  width: 100%;
  min-width: 0;
}

.ytv-thumbviewer .ytv-thumbviewer-card {
  position: relative;
  z-index: 1;
  height: 100% !important;
  min-width: 0;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.94)),
    linear-gradient(135deg, rgba(255, 0, 0, 0.08), rgba(15, 23, 42, 0.02));
  border: 1px solid rgba(229, 61, 55, 0.16);
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(109, 25, 20, 0.09);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease, background 260ms ease;
}

.ytv-thumbviewer .ytv-thumbviewer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.11), rgba(255, 184, 77, 0.12), rgba(255, 255, 255, 0));
  transition: opacity 260ms ease;
}

.ytv-thumbviewer .ytv-thumbviewer-card:hover {
  transform: translateY(-8px) scale(1.012);
  border-color: rgba(255, 0, 0, 0.34);
  box-shadow: 0 26px 62px rgba(109, 25, 20, 0.16);
}

.ytv-thumbviewer .ytv-thumbviewer-card:hover::before {
  opacity: 1;
}

.ytv-thumbviewer .ytv-thumbviewer-icon {
  display: grid;
  place-items: center;
  margin: 0 auto;
  color: #ffffff;
  background:
    linear-gradient(135deg, #ff0000 0%, #d71920 48%, #ffb84d 100%);
  box-shadow: 0 14px 28px rgba(255, 0, 0, 0.22);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.ytv-thumbviewer .ytv-thumbviewer-card:hover .ytv-thumbviewer-icon {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(255, 0, 0, 0.28);
}

.ytv-thumbviewer .ytv-thumbviewer-i {
  display: block;
  line-height: 1;
  text-align: center;
}

.ytv-thumbviewer .ytv-thumbviewer-card h3 {
  margin: 0;
  color: #17212b;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: center;
}

.ytv-thumbviewer .ytv-thumbviewer-card p {
  margin: 0 auto;
  color: #5d6a75;
  font-weight: 450;
  line-height: 1.58;
  text-align: center;
}

.ytv-thumbviewer .ytv-thumbviewer-card.ytv-thumbviewer-reveal {
  opacity: 0;
  transform: translateY(18px);
}

.ytv-thumbviewer .ytv-thumbviewer-card.ytv-thumbviewer-reveal.ytv-thumbviewer-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1024px) {
  .ytv-thumbviewer .ytv-thumbviewer-section {
    padding: 92px 24px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-heading {
    font-size: 42px;
    max-width: 980px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-intro {
    margin-top: 18px;
    font-size: 17px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 46px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-card {
    min-height: 300px;
    padding: 34px 28px 32px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    margin-bottom: 24px;
    font-size: 28px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-card h3 {
    font-size: 21px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-card p {
    margin-top: 13px;
    font-size: 15px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .ytv-thumbviewer .ytv-thumbviewer-section {
    padding: 74px 22px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-heading {
    font-size: 34px;
    max-width: 760px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-intro {
    margin-top: 15px;
    font-size: 16px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 38px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-card {
    min-height: 270px;
    padding: 30px 24px 28px;
    border-radius: 20px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    margin-bottom: 21px;
    font-size: 25px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-card h3 {
    font-size: 19px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-card p {
    margin-top: 11px;
    font-size: 14.5px;
  }
}

@media (min-width: 430px) and (max-width: 767px) {
  .ytv-thumbviewer .ytv-thumbviewer-section {
    padding: 56px 16px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-heading {
    font-size: 28px;
    max-width: 420px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-intro {
    margin-top: 12px;
    font-size: 14.5px;
    line-height: 1.55;
  }

  .ytv-thumbviewer .ytv-thumbviewer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-card {
    min-height: 235px;
    padding: 22px 14px 20px;
    border-radius: 16px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-icon {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    margin-bottom: 16px;
    font-size: 21px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-card h3 {
    font-size: 16.5px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-card p {
    margin-top: 9px;
    font-size: 13px;
    line-height: 1.48;
  }
}

@media (min-width: 375px) and (max-width: 429px) {
  .ytv-thumbviewer .ytv-thumbviewer-section {
    padding: 50px 14px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-heading {
    font-size: 25px;
    max-width: 350px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-intro {
    margin-top: 11px;
    font-size: 13.8px;
    line-height: 1.5;
  }

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

  .ytv-thumbviewer .ytv-thumbviewer-card {
    min-height: 224px;
    padding: 19px 12px 18px;
    border-radius: 15px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    margin-bottom: 14px;
    font-size: 19px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-card h3 {
    font-size: 15.5px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-card p {
    margin-top: 8px;
    font-size: 12.4px;
    line-height: 1.44;
  }
}

@media (min-width: 320px) and (max-width: 374px) {
  .ytv-thumbviewer .ytv-thumbviewer-section {
    padding: 44px 10px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-heading {
    font-size: 22px;
    max-width: 300px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-intro {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.48;
  }

  .ytv-thumbviewer .ytv-thumbviewer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-card {
    min-height: 216px;
    padding: 17px 9px 16px;
    border-radius: 14px;
  }

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

  .ytv-thumbviewer .ytv-thumbviewer-card h3 {
    font-size: 14px;
    line-height: 1.2;
  }

  .ytv-thumbviewer .ytv-thumbviewer-card p {
    margin-top: 7px;
    font-size: 11.8px;
    line-height: 1.38;
  }
}

@media (max-width: 319px) {
  .ytv-thumbviewer .ytv-thumbviewer-section {
    padding: 38px 10px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 22px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-heading {
    font-size: 21px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-intro {
    margin-top: 10px;
    font-size: 13px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-card {
    min-height: 210px;
    padding: 18px 12px;
  }

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

  .ytv-thumbviewer .ytv-thumbviewer-card h3 {
    font-size: 15px;
  }

  .ytv-thumbviewer .ytv-thumbviewer-card p {
    margin-top: 7px;
    font-size: 12px;
  }
}