/* Subscription pass page */
.subscription-page {
  padding: 28px 0 72px;
}

.subscription-shell {
  width: min(94vw, 2080px);
  margin-inline: auto;
}

.subscription-hero,
.pass-tabs,
.subscription-card,
.pass-guide {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 77, 221, 0.16), transparent 34%),
    radial-gradient(circle at 14% 80%, rgba(56, 231, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(20, 6, 34, 0.94), rgba(7, 2, 12, 0.96));
  border: 1px solid rgba(205, 116, 255, 0.26);
  box-shadow: 0 0 42px rgba(150, 52, 255, 0.18), inset 0 0 0 1px rgba(255,255,255,0.03);
}

.subscription-hero,
.subscription-card,
.pass-guide {
  padding: clamp(26px, 2.6vw, 56px);
}

.subscription-hero::before,
.subscription-card::before,
.pass-guide::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 113, 232, 0.13);
  border-radius: 26px;
  pointer-events: none;
}

.subscription-hero {
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(380px, .54fr);
  gap: clamp(22px, 2.4vw, 56px);
  align-items: end;
}

.subscription-hero > *,
.subscription-card > *,
.pass-guide > * {
  position: relative;
  z-index: 2;
}

.subscription-kicker {
  margin: 0 0 8px;
  color: #ff74e9;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .24em;
}

.subscription-hero h1 {
  margin: 0;
  font-size: clamp(54px, 5vw, 108px);
  line-height: .96;
  text-shadow: 0 0 32px rgba(165, 72, 255, .72), 7px 0 0 rgba(56, 231, 255, .20);
}

.subscription-hero-copy p {
  max-width: 880px;
  margin: 22px 0 0;
  color: #d2bee8;
  font-size: 18px;
  line-height: 1.8;
}

.pass-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.pass-hero-actions a,
.pass-claim-all,
.subscription-cart-btn,
.calendar-help-btn {
  display: inline-grid;
  place-items: center;
  min-height: 54px;
  padding: 0 18px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  background: linear-gradient(135deg, #7920e9, #ff4ddd);
  box-shadow: 0 0 30px rgba(255, 77, 221, .28);
}

.pass-hero-actions a + a,
.calendar-help-btn {
  background: rgba(31, 10, 50, .88);
  border: 1px solid rgba(255, 130, 237, .28);
  box-shadow: none;
}

.pass-hero-panel {
  min-height: 280px;
  display: grid;
  align-content: center;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 213, 143, .16), transparent 34%),
    rgba(13, 5, 22, .84);
  border: 1px solid rgba(255, 130, 237, .28);
}

.pass-hero-panel span,
.pass-tab span,
.calendar-head span,
.subscription-price-grid span {
  display: block;
  color: #8ff5ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
}

.pass-hero-panel strong {
  display: block;
  margin-top: 12px;
  color: #fff0ad;
  font-size: clamp(30px, 2.3vw, 48px);
  line-height: 1.12;
  text-shadow: 0 0 20px rgba(255, 213, 143, .38);
}

.pass-hero-panel p {
  margin: 16px 0 0;
  color: #d2bee8;
  line-height: 1.7;
}

.pass-claim-all {
  margin-top: 22px;
}

.pass-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
  padding: 14px;
  background: rgba(12, 5, 22, .82);
}

.pass-tab {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(18, 7, 30, .84);
  border: 1px solid rgba(205, 116, 255, .18);
}

.pass-tab.is-active,
.pass-tab:hover {
  border-color: rgba(255, 130, 237, .46);
  box-shadow: 0 0 24px rgba(255, 77, 221, .14);
}

.pass-tab strong,
.pass-tab small,
.pass-tab em {
  display: block;
}

.pass-tab strong {
  color: #fff;
  font-size: 18px;
}

.pass-tab-price {
  color: #fff0ad;
  font-size: 16px;
  font-weight: 900;
}

.pass-tab em {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: #bfa8d8;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.pass-tab del {
  color: #89739d;
  text-decoration-color: rgba(255, 130, 237, .92);
  text-decoration-thickness: 2px;
}

.pass-tab b {
  padding: 3px 7px;
  border-radius: 999px;
  color: #121018;
  font-size: 11px;
  background: linear-gradient(135deg, #fff0ad, #ff74e9);
}

.subscription-list {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}

.subscription-card {
  display: none;
}

.subscription-card.is-active {
  display: block;
}

.pass-card-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 26px;
}

.pass-card-head h2 {
  margin: 0;
  font-size: clamp(34px, 2.4vw, 58px);
  line-height: 1;
}

.pass-card-head p:not(.subscription-kicker),
.pass-guide-copy p {
  max-width: 860px;
  margin: 14px 0 0;
  color: #cdb9e6;
  line-height: 1.7;
}

.subscription-badge {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  background: rgba(255, 77, 221, .18);
  border: 1px solid rgba(255, 130, 237, .34);
}

.pass-main-layout {
  display: grid;
  grid-template-columns: minmax(320px, .45fr) minmax(620px, 1fr);
  gap: clamp(20px, 2vw, 34px);
}

.pass-product-panel,
.subscription-calendar,
.streak-reward-panel {
  padding: clamp(18px, 1.6vw, 26px);
  border-radius: 28px;
  background: rgba(12, 5, 22, .78);
  border: 1px solid rgba(205, 116, 255, .18);
}

.subscription-box-visual {
  display: grid;
  place-items: center;
  min-height: 260px;
}

.subscription-price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 16px;
}

.subscription-price-grid div {
  padding: 17px;
  border-radius: 20px;
  background: rgba(7, 2, 15, .78);
  border: 1px solid rgba(205, 116, 255, .22);
}

.subscription-price-grid small {
  display: block;
  color: #bfa8d8;
  font-size: 12px;
  font-weight: 800;
}

.subscription-price-grid strong {
  display: block;
  margin: 8px 0 5px;
  color: #fff;
  font-size: clamp(24px, 1.7vw, 36px);
}

.subscription-cart-btn {
  width: 100%;
  margin-top: 16px;
}

.calendar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.calendar-head b {
  display: block;
  margin-top: 4px;
  color: #fff0ad;
  font-size: 22px;
}

.calendar-help-btn {
  min-height: 42px;
  white-space: nowrap;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 8px;
}

.calendar-day {
  min-height: 94px;
  padding: 9px 7px;
  border-radius: 15px;
  border: 1px solid rgba(205, 116, 255, .18);
  background: rgba(17, 7, 29, .86);
  color: #d8c6ea;
  cursor: pointer;
}

.calendar-day span,
.calendar-day em,
.calendar-day strong {
  display: block;
}

.calendar-day span {
  font-size: 11px;
  font-weight: 900;
}

.calendar-day em {
  margin-top: 6px;
  color: #bfa8d8;
  font-size: 10px;
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calendar-day strong {
  margin-top: 7px;
  font-size: 11px;
}

.calendar-day.is-claimed {
  color: #caffff;
  background: rgba(56, 231, 255, .12);
  border-color: rgba(56, 231, 255, .32);
}

.calendar-day.is-missed {
  color: #fff0ad;
  background: rgba(255, 197, 109, .12);
  border-color: rgba(255, 197, 109, .38);
}

.streak-reward-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.streak-reward-panel div {
  padding: 18px;
  border-radius: 20px;
  background: rgba(7, 2, 15, .68);
  border: 1px solid rgba(255, 197, 109, .18);
}

.streak-reward-panel span {
  display: block;
  color: #fff0ad;
  font-size: 12px;
  font-weight: 900;
}

.streak-reward-panel strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 20px;
}

.pass-guide {
  display: grid;
  grid-template-columns: minmax(360px, .55fr) minmax(620px, 1fr);
  gap: clamp(22px, 2.4vw, 42px);
  margin-top: 28px;
}

.pass-guide-copy h2 {
  margin: 0;
  font-size: clamp(38px, 3vw, 70px);
}

.pass-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pass-guide-grid article {
  min-height: 180px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(12, 5, 22, .78);
  border: 1px solid rgba(205, 116, 255, .18);
}

.pass-guide-grid span {
  color: #8ff5ff;
  font-weight: 900;
}

.pass-guide-grid h3 {
  margin: 10px 0 8px;
  color: #fff;
  font-size: 22px;
}

.pass-guide-grid p {
  margin: 0;
  color: #cdb9e6;
  line-height: 1.65;
}

.subscription-toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 100;
  min-width: 280px;
  max-width: min(90vw, 540px);
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(12, 5, 20, .94);
  border: 1px solid rgba(255, 130, 237, .36);
  box-shadow: 0 0 34px rgba(255, 77, 221, .26);
  color: #fff;
  font-weight: 900;
  text-align: center;
  transform: translate(-50%, 24px);
  opacity: 0;
  pointer-events: none;
  transition: .28s ease;
}

.subscription-toast.is-show {
  transform: translate(-50%, 0);
  opacity: 1;
}

@media (max-width: 1480px) {
  .pass-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pass-main-layout,
  .pass-guide {
    grid-template-columns: 1fr;
  }

  .calendar-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .subscription-hero,
  .pass-tabs,
  .pass-guide-grid,
  .streak-reward-panel {
    grid-template-columns: 1fr;
  }

  .pass-card-head,
  .calendar-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .calendar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
