.megogo-page {
  --tv-bg: #0d0f10;
  --tv-surface: #141718;
  --tv-surface-soft: #1a1e1f;
  --tv-line: rgba(255, 255, 255, 0.1);
  --tv-muted: #aeb7b7;
  --tv-accent: #20d7c2;
  --tv-accent-dark: #0ba996;
  --tv-lime: #bddd38;
  background: var(--tv-bg);
  color: #f8fafa;
  font-family: Montserat, Arial, sans-serif;
  max-width: 100vw;
  overflow: hidden;
  width: 100%;
}

.megogo-page,
.megogo-page * {
  box-sizing: border-box;
}

.megogo-page h1,
.megogo-page h2,
.megogo-page h3,
.megogo-page h4,
.megogo-page p,
.megogo-page ul {
  color: inherit;
  margin: 0;
}

.megogo-page img {
  display: block;
  max-width: 100%;
}

html:has(.megogo-page),
body:has(.megogo-page) {
  max-width: 100%;
  overflow-x: hidden;
}

.tv-content {
  margin: 0 auto;
  max-width: 1240px;
  padding: 0 28px;
  position: relative;
  width: 100%;
}

.tv-comparison {
  background:
    radial-gradient(circle at 80% 0%, rgba(32, 215, 194, 0.09), transparent 34%),
    #0b0d0e;
  padding: 22px 0 54px;
}

.tv-bundle-note {
  align-items: center;
  background: #167181;
  display: flex;
  font-size: 13px;
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  letter-spacing: 0.01em;
  min-height: 34px;
  padding: 6px 18px;
  text-align: center;
}

.tv-bundle-note span {
  align-items: center;
  background: var(--tv-accent);
  border-radius: 50%;
  color: #062a27;
  display: inline-flex;
  font-size: 14px;
  height: 25px;
  justify-content: center;
  width: 25px;
}

.tv-comparison-heading {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 34px 0 22px;
}

.tv-eyebrow {
  color: var(--tv-accent) !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 10px !important;
  text-transform: uppercase;
}

.tv-comparison-heading h1 {
  font-family: Montserat-extraBold, Montserat, Arial, sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.04;
  max-width: 760px;
}

.tv-comparison-heading > p {
  color: var(--tv-muted);
  font-size: 14px;
  line-height: 1.55;
  max-width: 310px;
}

.tv-comparison-heading > div,
.tv-comparison-heading h1 {
  max-width: 100%;
  min-width: 0;
}

.tv-table-scroll {
  background: #111314;
  border: 1px solid var(--tv-line);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  overflow-x: auto;
  scrollbar-color: var(--tv-accent-dark) #202425;
}

.tv-plan-table {
  border-collapse: separate;
  border-spacing: 0;
  color: #f7f8f8;
  min-width: 1120px;
  table-layout: fixed;
  width: 100%;
}

.tv-plan-table th,
.tv-plan-table td {
  border-bottom: 1px solid var(--tv-line);
  border-right: 1px solid rgba(255, 255, 255, 0.035);
  font-size: 12px;
  height: 52px;
  padding: 9px 12px;
  text-align: center;
  transition: background-color 0.18s ease, border-color 0.18s ease;
  vertical-align: middle;
}

.tv-plan-table th:first-child,
.tv-plan-table td:first-child {
  padding-left: 18px;
  text-align: left;
  width: 31%;
}

.tv-plan-table thead th {
  background: #111314;
  height: 144px;
  padding: 18px 10px;
}

.tv-plan-table thead th:first-child {
  font-family: Montserat-extraBold, Montserat, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.25;
  padding-right: 34px;
}

.tv-plan-name {
  display: block;
  font-family: Montserat-semiBold, Montserat, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.15;
  margin-bottom: 13px;
  min-height: 32px;
}

.tv-connect-button {
  align-items: center;
  background: var(--tv-accent);
  border: 1px solid var(--tv-accent);
  border-radius: 999px;
  color: #042b27 !important;
  display: inline-flex;
  font-family: Montserat-semiBold, Montserat, Arial, sans-serif;
  font-size: 11px;
  justify-content: center;
  min-height: 32px;
  padding: 7px 15px;
  text-decoration: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.tv-connect-button:hover,
.tv-connect-button:focus-visible {
  background: #65f1e1;
  box-shadow: 0 8px 24px rgba(32, 215, 194, 0.27);
  color: #021c19 !important;
  transform: translateY(-2px);
}

.tv-plan-table:has(tr > :nth-child(2):hover) tr > :nth-child(2),
.tv-plan-table:has(tr > :nth-child(3):hover) tr > :nth-child(3),
.tv-plan-table:has(tr > :nth-child(4):hover) tr > :nth-child(4),
.tv-plan-table:has(tr > :nth-child(5):hover) tr > :nth-child(5),
.tv-plan-table:has(tr > :nth-child(6):hover) tr > :nth-child(6) {
  background-color: rgba(32, 215, 194, 0.11);
  border-right-color: rgba(32, 215, 194, 0.26);
}

.tv-group-row th {
  background: #0f1112;
  color: var(--tv-accent);
  font-size: 11px;
  font-weight: 800;
  height: 42px;
  letter-spacing: 0.12em;
  padding: 13px 18px;
  text-transform: uppercase;
}

.tv-check {
  align-items: center;
  background: #f5f7f7;
  border-radius: 50%;
  color: #101313;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  height: 21px;
  justify-content: center;
  width: 21px;
}

.tv-dash {
  color: #7b8484;
  font-size: 16px;
}

.tv-mobile-hint {
  color: var(--tv-muted);
  display: none;
  font-size: 11px;
  padding-top: 11px;
  text-align: right;
}

.tv-hero {
  align-items: center;
  display: flex;
  isolation: isolate;
  min-height: 650px;
  overflow: hidden;
  padding: 86px 0;
  position: relative;
}

.tv-hero-background {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  width: 100%;
  z-index: -3;
}

.tv-hero::before {
  background:
    linear-gradient(90deg, rgba(6, 8, 9, 0.98) 0%, rgba(6, 8, 9, 0.82) 40%, rgba(6, 8, 9, 0.23) 78%),
    linear-gradient(0deg, var(--tv-bg) 0%, transparent 30%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: -2;
}

.tv-hero-copy {
  max-width: 590px;
}

.tv-brand-logo {
  margin-bottom: 26px;
  width: 190px;
}

.tv-hero h2 {
  font-family: Montserat-extraBold, Montserat, Arial, sans-serif;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 0.98;
  margin-bottom: 24px;
}

.tv-hero-description {
  color: #d5dada !important;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.65;
  max-width: 550px;
}

.tv-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.tv-primary-link,
.tv-secondary-link {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-family: Montserat-semiBold, Montserat, Arial, sans-serif;
  font-size: 14px;
  justify-content: center;
  min-height: 46px;
  padding: 10px 24px;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.tv-primary-link {
  background: var(--tv-accent);
  color: #042b27 !important;
}

.tv-secondary-link {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff !important;
}

.tv-primary-link:hover,
.tv-secondary-link:hover {
  transform: translateY(-2px);
}

.tv-secondary-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}

.tv-benefits,
.tv-channels,
.tv-subscriptions,
.tv-cinema,
.tv-family,
.tv-features {
  content-visibility: auto;
}

.tv-benefits {
  background: var(--tv-bg);
  padding: 22px 0 92px;
}

.tv-benefits h2,
.tv-section-heading h2,
.tv-cinema-copy h2,
.tv-family-copy h2,
.tv-features-copy h2 {
  font-family: Montserat-extraBold, Montserat, Arial, sans-serif;
  font-size: clamp(28px, 4.4vw, 50px);
  line-height: 1.06;
}

.tv-benefit-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 38px;
}

.tv-benefit-card {
  background: linear-gradient(145deg, #171a1b, #111314);
  border: 1px solid var(--tv-line);
  border-radius: 20px;
  min-height: 230px;
  padding: 30px;
}

.tv-benefit-card img {
  height: 54px;
  margin-bottom: 28px;
  object-fit: contain;
  object-position: left center;
  width: 54px;
}

.tv-benefit-card h3 {
  font-family: Montserat-semiBold, Montserat, Arial, sans-serif;
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 12px;
}

.tv-benefit-card p {
  color: var(--tv-muted);
  font-size: 14px;
  line-height: 1.65;
}

.tv-channels {
  background: #f0f3f2;
  color: #151818;
  padding: 82px 0;
}

.tv-section-heading {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.tv-section-heading p {
  color: #596160;
  line-height: 1.6;
  max-width: 430px;
}

.tv-channel-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 42px;
}

.tv-channel-logo {
  align-items: center;
  background: #fff;
  border: 1px solid #dfe4e2;
  border-radius: 14px;
  display: flex;
  height: 104px;
  justify-content: center;
  padding: 18px;
}

.tv-channel-logo img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.tv-subscriptions {
  background:
    radial-gradient(circle at 0% 20%, rgba(32, 215, 194, 0.08), transparent 30%),
    #0d0f10;
  padding: 94px 0;
}

.tv-subscriptions .tv-section-heading p {
  color: var(--tv-muted);
}

.tv-subscription-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

.tv-subscription-card {
  background: var(--tv-surface);
  border: 1px solid var(--tv-line);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.tv-subscription-card:hover {
  border-color: rgba(32, 215, 194, 0.48);
  transform: translateY(-5px);
}

.tv-subscription-visual {
  aspect-ratio: 16 / 9;
  background: #090b0c;
  overflow: hidden;
}

.tv-subscription-visual img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  width: 100%;
}

.tv-subscription-card:hover .tv-subscription-visual img {
  transform: scale(1.035);
}

.tv-subscription-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.tv-subscription-body h3 {
  font-family: Montserat-extraBold, Montserat, Arial, sans-serif;
  font-size: 24px;
  line-height: 1.1;
  margin-bottom: 14px;
}

.tv-subscription-body > p {
  color: var(--tv-muted);
  font-size: 14px;
  line-height: 1.6;
}

.tv-subscription-body ul {
  list-style: none;
  margin: 20px 0 26px;
  padding: 0;
}

.tv-subscription-body li {
  color: #dce1e0;
  font-size: 13px;
  line-height: 1.45;
  margin-top: 10px;
  padding-left: 20px;
  position: relative;
}

.tv-subscription-body li::before {
  color: var(--tv-accent);
  content: "✓";
  font-weight: 900;
  left: 0;
  position: absolute;
}

.tv-subscription-body .tv-connect-button {
  align-self: flex-start;
  font-size: 13px;
  margin-top: auto;
  min-height: 40px;
  padding: 9px 20px;
}

.tv-cinema {
  background: #17100c;
  min-height: 680px;
  overflow: hidden;
  padding: 100px 0;
  position: relative;
}

.tv-cinema::before {
  background: linear-gradient(90deg, rgba(23, 16, 12, 0.98) 5%, rgba(23, 16, 12, 0.84) 48%, rgba(23, 16, 12, 0.14));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.tv-cinema-background {
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0.82;
  position: absolute;
  width: 100%;
}

.tv-cinema .tv-content {
  position: relative;
  z-index: 2;
}

.tv-cinema-copy {
  max-width: 530px;
}

.tv-cinema-copy > p,
.tv-family-copy > p,
.tv-features-copy > p {
  color: #d1d7d5;
  font-size: 16px;
  line-height: 1.7;
  margin-top: 22px;
}

.tv-poster-rail {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(7, minmax(130px, 1fr));
  margin-top: 50px;
}

.tv-poster-rail img {
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.4);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.tv-family {
  background:
    radial-gradient(circle at 15% 15%, rgba(220, 50, 147, 0.18), transparent 34%),
    #eceff0;
  color: #111515;
  padding: 96px 0;
}

.tv-family-layout {
  align-items: center;
  display: grid;
  gap: 70px;
  grid-template-columns: 0.82fr 1.18fr;
}

.tv-family-copy > p {
  color: #596160;
}

.tv-family-mosaic {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr);
}

.tv-family-mosaic img {
  aspect-ratio: 2 / 3;
  border-radius: 14px;
  box-shadow: 0 18px 36px rgba(22, 31, 30, 0.17);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.tv-family-mosaic img:nth-child(even) {
  transform: translateY(28px);
}

.tv-features {
  background: #090b0c;
  min-height: 640px;
  overflow: hidden;
  padding: 100px 0;
  position: relative;
}

.tv-features-background {
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0.42;
  position: absolute;
  width: 100%;
}

.tv-features::after {
  background: linear-gradient(90deg, #090b0c 0%, rgba(9, 11, 12, 0.94) 42%, rgba(9, 11, 12, 0.24) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.tv-features .tv-content {
  position: relative;
  z-index: 1;
}

.tv-features-copy {
  max-width: 620px;
}

.tv-feature-list {
  display: grid;
  gap: 12px 22px;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  margin: 32px 0 !important;
  padding: 0;
}

.tv-feature-list li {
  color: #dfe4e3;
  font-size: 14px;
  line-height: 1.45;
  padding-left: 25px;
  position: relative;
}

.tv-feature-list li::before {
  align-items: center;
  background: var(--tv-accent);
  border-radius: 50%;
  color: #06312c;
  content: "✓";
  display: inline-flex;
  font-size: 10px;
  font-weight: 900;
  height: 17px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 2px;
  width: 17px;
}

.tv-legal {
  color: #7d8786 !important;
  font-size: 10px !important;
  line-height: 1.5 !important;
  margin-top: 26px !important;
}

@media (max-width: 991.98px) {
  .tv-comparison-heading,
  .tv-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .tv-mobile-hint {
    display: block;
  }

  .tv-benefit-grid {
    grid-template-columns: 1fr;
  }

  .tv-benefit-card {
    min-height: 0;
  }

  .tv-channel-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .tv-subscription-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tv-family-layout {
    gap: 44px;
    grid-template-columns: 1fr;
  }

  .tv-poster-rail {
    grid-template-columns: repeat(7, 150px);
    overflow-x: auto;
    padding-bottom: 16px;
  }

  .tv-family-mosaic {
    order: -1;
  }
}

@media (max-width: 767.98px) {
  .tv-content {
    padding: 0 18px;
  }

  .tv-comparison {
    padding-bottom: 38px;
  }

  .tv-comparison-heading {
    padding-top: 28px;
    width: calc(100vw - 36px);
  }

  .tv-comparison-heading h1 {
    font-size: clamp(26px, 8vw, 32px);
    max-width: calc(100vw - 36px);
    overflow-wrap: anywhere;
  }

  .tv-plan-table {
    min-width: 980px;
  }

  .tv-plan-table th:first-child,
  .tv-plan-table td:first-child {
    background: #111314;
    left: 0;
    position: sticky;
    width: 230px;
    z-index: 2;
  }

  .tv-group-row th:first-child {
    background: #0f1112;
  }

  .tv-plan-table thead th:first-child {
    z-index: 3;
  }

  .tv-hero {
    min-height: 590px;
    padding: 70px 0;
  }

  .tv-hero::before {
    background:
      linear-gradient(90deg, rgba(6, 8, 9, 0.95), rgba(6, 8, 9, 0.52)),
      linear-gradient(0deg, var(--tv-bg) 0%, transparent 45%);
  }

  .tv-benefits,
  .tv-channels,
  .tv-subscriptions,
  .tv-family,
  .tv-features {
    padding: 72px 0;
  }

  .tv-channel-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tv-channel-logo {
    height: 88px;
    padding: 14px;
  }

  .tv-subscription-grid {
    grid-template-columns: 1fr;
  }

  .tv-cinema {
    min-height: 620px;
    padding: 78px 0;
  }

  .tv-feature-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 479.98px) {
  .tv-bundle-note {
    font-size: 11px;
  }

  .tv-comparison-heading > p {
    font-size: 13px;
  }

  .tv-comparison-heading h1 {
    font-size: 26px;
    max-width: 320px;
  }

  .tv-table-scroll {
    border-radius: 10px;
  }

  .tv-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .tv-primary-link,
  .tv-secondary-link {
    width: 100%;
  }

  .tv-channel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tv-family-mosaic {
    gap: 8px;
  }

  .tv-family-mosaic img {
    border-radius: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .megogo-page *,
  .megogo-page *::before,
  .megogo-page *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
