/*
 * Viral Now landing refresh
 * Scoped to the viral page so the legacy result cards, player and site shell
 * keep their existing behaviour.
 */
.vn-hero.vn-hero--compact {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: 14px 0 24px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 16%, rgba(244, 114, 182, .36), transparent 32%),
    radial-gradient(circle at 82% 70%, rgba(96, 165, 250, .28), transparent 30%),
    linear-gradient(135deg, #2b174d 0%, #60246e 46%, #a52f76 100%);
  isolation: isolate;
}

.vn-hero.vn-hero--compact::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent);
  content: "";
}

.viral-hero-symbols {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.viral-hero-symbols span {
  position: absolute;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 11px;
  color: rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  font-size: 13px;
  animation: viralSymbolDrift 15s ease-in-out infinite alternate;
  will-change: transform;
}

.viral-hero-symbols span:nth-child(1) {
  top: 17%;
  left: 4%;
  animation-duration: 13s;
}

.viral-hero-symbols span:nth-child(2) {
  right: 34%;
  bottom: 8%;
  width: 28px;
  height: 28px;
  animation-delay: -5s;
  animation-duration: 17s;
}

.viral-hero-symbols span:nth-child(3) {
  top: 8%;
  right: 5%;
  animation-delay: -9s;
  animation-duration: 19s;
}

.viral-hero-symbols span:nth-child(4) {
  bottom: 7%;
  left: 29%;
  width: 25px;
  height: 25px;
  animation-delay: -3s;
  animation-duration: 16s;
  font-size: 9px;
}

.viral-hero-symbols span:nth-child(5) {
  top: 12%;
  left: 47%;
  width: 27px;
  height: 27px;
  animation-delay: -11s;
  animation-duration: 18s;
  font-size: 10px;
}

.vn-hero.vn-hero--compact .vn-hero-in {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1160px, calc(100% - 32px));
  min-height: 0;
  grid-template-columns: minmax(0, 1.45fr) 240px;
  align-items: center;
  gap: 26px;
  margin: 0 auto;
  padding: 0;
}

.vn-hero.vn-hero--compact .vn-hero-copy {
  min-width: 0;
  padding: 0;
  font-family: "Segoe UI Variable", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left;
}

.vn-hero.vn-hero--compact .vn-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: #ffd5eb;
  background: rgba(255, 255, 255, .11);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.vn-hero.vn-hero--compact h1 {
  max-width: 650px;
  margin: 8px 0 6px;
  color: #fff;
  font-family: "Segoe UI Variable Display", "SF Pro Display", "Avenir Next", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 820;
  line-height: 1.01;
  letter-spacing: -.045em;
  text-shadow: 0 8px 30px rgba(28, 12, 43, .2);
  text-wrap: balance;
}

.vn-hero.vn-hero--compact h1 span {
  color: #ffe0f0;
  background: linear-gradient(90deg, #ffd2e9 0%, #fff 44%, #b9f3ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vn-hero.vn-hero--compact .vn-lede {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 12.5px;
  font-weight: 450;
  letter-spacing: -.005em;
  line-height: 1.45;
}

.vn-hero.vn-hero--compact .vn-chips {
  display: flex;
  overflow: visible;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
  padding: 0;
}

.vn-hero.vn-hero--compact .vn-hchip {
  display: inline-flex;
  min-height: 0;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  color: rgba(255, 255, 255, .88);
  background: rgba(255, 255, 255, .09);
  font-size: 9.5px;
  font-weight: 700;
  white-space: nowrap;
}

.vn-hero.vn-hero--compact .viral-hero-visual {
  position: relative;
  z-index: 0;
  isolation: isolate;
  width: 240px;
  justify-self: end;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 15px;
  background: rgba(255, 255, 255, .1);
  box-shadow:
    0 18px 48px rgba(20, 9, 37, .22),
    0 0 20px rgba(94, 234, 255, .08);
  transform: none;
  backdrop-filter: blur(16px);
}

.vn-hero.vn-hero--compact .viral-hero-visual::before {
  position: absolute;
  z-index: -2;
  inset: -7px;
  border-radius: 20px;
  background: conic-gradient(
    from 20deg,
    rgba(255, 87, 174, .08),
    rgba(255, 87, 174, .62),
    rgba(103, 232, 249, .5),
    rgba(124, 102, 255, .48),
    rgba(255, 87, 174, .08)
  );
  filter: blur(10px);
  opacity: .44;
  content: "";
  animation: viralNeonOrbit 10s linear infinite;
  will-change: transform;
}

.vn-hero.vn-hero--compact .viral-hero-visual::after {
  position: absolute;
  z-index: 3;
  inset: -2px;
  border: 1px solid rgba(255, 157, 210, .5);
  border-radius: 17px;
  box-shadow:
    0 0 9px rgba(255, 80, 174, .2),
    0 0 16px rgba(103, 232, 249, .12),
    inset 0 0 8px rgba(255, 255, 255, .06);
  content: "";
  pointer-events: none;
  animation: viralNeonBreathe 3.8s ease-in-out infinite;
}

.vn-hero.vn-hero--compact .viral-hero-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  object-fit: cover;
}

.vn-hero.vn-hero--compact .viral-hero-visual__badge {
  position: absolute;
  z-index: 4;
  right: 13px;
  bottom: 13px;
  left: 13px;
  display: flex;
  width: auto;
  min-height: 32px;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 10px;
  color: #fff;
  background: rgba(35, 20, 42, .78);
  box-shadow: 0 10px 26px rgba(27, 13, 39, .22);
  backdrop-filter: blur(10px);
}

@keyframes viralSymbolDrift {
  0% {
    opacity: .4;
    transform: translate3d(0, 0, 0) rotate(-6deg);
  }
  55% {
    opacity: .8;
  }
  100% {
    opacity: .5;
    transform: translate3d(13px, -10px, 0) rotate(7deg);
  }
}

@keyframes viralNeonOrbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes viralNeonBreathe {
  0%,
  100% {
    border-color: rgba(255, 157, 210, .32);
    box-shadow:
      0 0 7px rgba(255, 80, 174, .14),
      0 0 13px rgba(103, 232, 249, .08),
      inset 0 0 7px rgba(255, 255, 255, .04);
  }
  50% {
    border-color: rgba(156, 238, 255, .68);
    box-shadow:
      0 0 11px rgba(255, 80, 174, .25),
      0 0 22px rgba(103, 232, 249, .2),
      inset 0 0 9px rgba(255, 255, 255, .08);
  }
}

.vn-hero.vn-hero--compact .viral-hero-visual__badge span,
.vn-hero.vn-hero--compact .viral-hero-visual__badge strong {
  margin: 0;
  color: inherit;
  font-size: 9px;
}

.vn-hero.vn-hero--compact .viral-hero-visual__badge span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.vn-hero.vn-hero--compact .vn-hero-adwrap:not(:has(.ad-slot--filled)) {
  display: none !important;
}

.vn-hero.vn-hero--compact .vn-hero-adwrap:has(.ad-slot--filled) {
  grid-column: 1 / -1;
}

.main:has(.viral-entry) {
  padding-top: 12px;
}

.viral-entry {
  display: grid;
  width: min(1180px, calc(100% - 32px));
  max-width: none;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: start;
  gap: 20px;
  margin: 0 auto;
  padding: 0 0 66px;
}

.viral-entry__rail {
  position: sticky;
  z-index: 4;
  top: clamp(16px, 2.5vh, 28px);
  overflow: hidden;
  align-self: start;
  border-radius: 24px;
  background: #fff;
  box-shadow:
    0 18px 48px rgba(31, 19, 39, .12),
    0 0 0 1px rgba(56, 189, 248, .48),
    0 0 18px rgba(37, 99, 235, .18),
    0 0 34px rgba(113, 56, 212, .12);
}

.viral-entry__panel {
  padding: 22px;
  border: 1px solid transparent;
  border-radius: 24px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #67e8f9 0%, #3b82f6 52%, #7c3aed 100%) border-box;
  box-shadow: inset 0 0 18px rgba(96, 165, 250, .055);
}

.viral-entry__head {
  margin-bottom: 17px;
}

.viral-entry__head > span,
.viral-entry__guide-head > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #b4296c;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.viral-entry__head h2 {
  margin: 7px 0 5px;
  color: #2f2435;
  font-size: 22px;
  line-height: 1.17;
  letter-spacing: -.03em;
}

.viral-entry__head p,
.viral-entry__guide-head p {
  margin: 0;
  color: #706675;
  font-size: 12.5px;
  line-height: 1.55;
}

.viral-journey {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.viral-journey li {
  display: grid;
  min-width: 0;
  min-height: 68px;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  padding: 8px 6px;
  border: 1px solid #e8e1ea;
  border-radius: 13px;
  color: #625568;
  background: #faf8fb;
}

.viral-journey li.is-current {
  border-color: #4c2f59;
  color: #fff;
  background: linear-gradient(145deg, #2c2033, #56324f);
}

.viral-journey i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: #ad286a;
  background: #fff0f7;
  font-size: 12px;
}

.viral-journey .is-current i {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

.viral-journey strong,
.viral-journey small {
  display: block;
}

.viral-journey strong {
  overflow: hidden;
  font-size: 10.5px;
  line-height: 1.22;
  text-overflow: ellipsis;
}

.viral-journey small {
  margin-top: 2px;
  color: #948899;
  font-size: 8.5px;
}

.viral-journey .is-current small {
  color: rgba(255, 255, 255, .64);
}

.viral-entry__panel .vn-cta-panel {
  width: 100%;
  padding: 14px;
  border: 1px solid #e7dfea;
  border-radius: 16px;
  background: #faf8fb;
  box-shadow: none;
}

.viral-entry__panel .vn-cta-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 10px;
}

.viral-entry__panel .vn-pill {
  display: flex;
  min-width: 0;
  justify-content: center;
  padding: 8px;
  border: 1px solid #e4dce7;
  border-radius: 10px;
  color: #5d5063;
  background: #fff;
  font-size: 10.5px;
}

.viral-entry__panel .vn-pill.balance {
  border-color: #f0d99d;
  color: #9a5b08;
  background: #fff9e8;
}

.viral-entry__panel .country-go-btn.vn-primary {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #7138d4, #d72f7d);
  box-shadow: 0 12px 28px rgba(190, 39, 117, .2);
  font-size: 12px;
}

.viral-entry__panel .country-go-btn.vn-primary:not(:disabled):hover {
  box-shadow: 0 16px 34px rgba(190, 39, 117, .28);
  transform: translateY(-1px);
}

.viral-entry__panel .country-go-btn.vn-primary:disabled {
  cursor: not-allowed;
  filter: grayscale(.15);
  opacity: .56;
}

.viral-entry__panel .viral-btn-cost {
  margin-left: auto;
}

.viral-entry__panel .country-hint {
  margin: 10px 2px 0;
  color: #776b7c;
  font-size: 10.5px;
  line-height: 1.45;
}

.viral-entry__panel .viral-gate-card {
  width: 100%;
  margin: 13px 0 0;
  padding: 12px;
  border: 1px solid #ead99f;
  border-radius: 14px;
  color: #66572e;
  background: #fff9e9;
  box-shadow: none;
}

.viral-entry__panel .viral-gate-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.viral-entry__panel .viral-gate-btn {
  width: auto;
  min-height: 38px;
  justify-content: center;
}

.viral-assurance {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 11px;
  border: 1px solid #e8e0ea;
  border-radius: 14px;
  background: #faf8fb;
}

.viral-assurance > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  color: #087457;
  background: #e9fbf4;
}

.viral-assurance p,
.viral-guide-footer p {
  margin: 0;
}

.viral-assurance strong,
.viral-assurance small,
.viral-guide-footer strong,
.viral-guide-footer small {
  display: block;
}

.viral-assurance strong {
  color: #382d3e;
  font-size: 12px;
}

.viral-assurance small {
  margin-top: 2px;
  color: #756a79;
  font-size: 10.5px;
  line-height: 1.4;
}

.viral-entry__flow {
  display: grid;
  min-width: 0;
  gap: 18px;
}

.viral-entry__guide {
  min-width: 0;
  overflow: hidden;
  padding: 25px;
  border: 1px solid #e8e1ea;
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0, rgba(220, 51, 132, .1), transparent 35%),
    linear-gradient(145deg, #fff, #faf8fb);
  box-shadow: 0 18px 48px rgba(31, 19, 39, .08);
}

.viral-entry__guide-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .72fr);
  align-items: end;
  gap: 9px 28px;
  margin-bottom: 18px;
}

.viral-entry__guide-head > span {
  grid-column: 1 / -1;
}

.viral-entry__guide-head h2 {
  margin: 0;
  color: #281e2e;
  font-size: clamp(27px, 2.6vw, 34px);
  line-height: 1.04;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.viral-guide-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.viral-guide-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid #e6dfe8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(45, 27, 54, .08);
}

.viral-guide-card:nth-child(even) .viral-guide-card__media {
  order: 0;
}

.viral-guide-card__media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 185px;
  aspect-ratio: auto;
  overflow: hidden;
  background: #f5edf2;
}

.viral-guide-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(31, 18, 36, .24));
  content: "";
  pointer-events: none;
}

.viral-guide-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.viral-guide-card__copy {
  min-width: 0;
  padding: 20px;
}

.viral-guide-card__copy span {
  display: inline-flex;
  align-items: center;
  color: #b4296c;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.viral-guide-card__copy h3 {
  margin: 9px 0 7px;
  color: #2f2435;
  font-size: clamp(19px, 1.8vw, 23px);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.viral-guide-card__copy p {
  margin: 0;
  color: #706575;
  font-size: 11.5px;
  line-height: 1.55;
}

.viral-guide-ad {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
}

.viral-guide-ad.ad-slot--filled {
  width: 100%;
  min-height: 60px;
  margin: 0;
  border: 0;
  background: transparent;
}

.viral-guide-ad.ad-slot--filled > * {
  max-width: 100%;
}

@media (min-width: 961px) {
  .viral-guide-ad--mobile,
  .viral-guide-ad--mobile.ad-slot--filled {
    display: none !important;
  }
}

@media (max-width: 960px) {
  .viral-guide-ad--desktop,
  .viral-guide-ad--desktop.ad-slot--filled {
    display: none !important;
  }
}

.viral-guide-footer {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 15px;
  border: 1px solid #e5dce7;
  border-radius: 18px;
  background: linear-gradient(145deg, #2a1e31, #53304b);
  box-shadow: 0 14px 32px rgba(38, 22, 46, .11);
}

.viral-guide-footer > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  color: #ff9fd0;
  background: rgba(255, 255, 255, .1);
}

.viral-guide-footer strong {
  color: #fff;
  font-size: 12.5px;
}

.viral-guide-footer small {
  margin-top: 2px;
  color: rgba(255, 255, 255, .66);
  font-size: 10.5px;
  line-height: 1.4;
}

.viral-entry__flow > .section {
  width: 100%;
  margin: 0;
  padding: 25px;
}

.viral-entry__flow > .ad-slot:not(.ad-slot--filled) {
  display: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

@media (max-width: 960px) {
  .vn-hero.vn-hero--compact {
    padding: 14px 0 24px;
  }

  .vn-hero.vn-hero--compact .vn-hero-in {
    grid-template-columns: 1fr;
  }

  .vn-hero.vn-hero--compact .viral-hero-visual {
    display: none;
  }

  .viral-entry {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .viral-entry__rail {
    position: static;
  }

  .viral-entry__guide-head {
    grid-template-columns: 1fr;
  }

  .viral-entry__guide-head > span {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .vn-hero.vn-hero--compact {
    padding: 13px 0 22px;
  }

  .vn-hero.vn-hero--compact .vn-hero-in {
    width: min(100% - 24px, 720px);
  }

  .vn-hero.vn-hero--compact h1 {
    font-size: 29px;
  }

  .vn-hero.vn-hero--compact .vn-lede {
    font-size: 12.5px;
    line-height: 1.45;
  }

  .vn-hero.vn-hero--compact .vn-chips {
    overflow-x: auto;
    flex-wrap: nowrap;
    margin-right: -12px;
    padding-right: 12px;
    scrollbar-width: none;
  }

  .vn-hero.vn-hero--compact .vn-chips::-webkit-scrollbar {
    display: none;
  }

  .viral-hero-symbols span:nth-child(n+4) {
    display: none;
  }

  .viral-entry {
    width: min(100% - 24px, 720px);
    gap: 14px;
    padding-bottom: 48px;
  }

  .viral-entry__panel {
    padding: 17px 15px;
  }

  .viral-entry__guide {
    padding: 17px 14px;
    border-radius: 20px;
  }

  .viral-entry__guide-head h2 {
    font-size: 26px;
  }

  .viral-guide-list {
    gap: 10px;
  }

  .viral-guide-card {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .viral-guide-card__media {
    height: 100%;
    min-height: 170px;
    aspect-ratio: auto;
  }

  .viral-guide-card__copy {
    padding: 15px;
  }

  .viral-guide-card__copy h3 {
    margin: 7px 0 6px;
    font-size: 18px;
  }

  .viral-guide-card__copy p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }
}

@media (max-width: 390px) {
  .viral-entry__panel {
    padding-inline: 12px;
  }

  .viral-journey {
    gap: 4px;
  }

  .viral-journey li {
    display: flex;
    min-height: 62px;
    flex-direction: column;
    justify-content: center;
    padding: 5px 3px;
    text-align: center;
  }

  .viral-journey small {
    display: none;
  }

  .viral-entry__panel .vn-cta-meta,
  .viral-entry__panel .viral-gate-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .viral-hero-symbols span,
  .vn-hero.vn-hero--compact .viral-hero-visual::before,
  .vn-hero.vn-hero--compact .viral-hero-visual::after {
    animation: none;
  }

  .viral-hero-symbols span {
    will-change: auto;
  }

  .viral-entry__panel .country-go-btn.vn-primary {
    transition: none;
  }
}
