.pricing-page {
  min-height: 100vh;
  color: #fff0d7;
  background: #0c1929 url('/pricing/fantasy-backdrop.webp') center top / cover no-repeat;
}
.pricing-page header { background: #0c1421ec; }
.pricing-page .nav a[aria-current="page"] { color: #ff8c7e; }
.pricing-main { width: min(1120px, calc(100% - 48px)); padding-block: clamp(35px, 5vw, 62px) 44px; }
.pricing-main h1 {
  margin: 0 0 25px;
  text-align: center;
  font-size: clamp(33px, 5.1vw, 60px);
  letter-spacing: -.045em;
  line-height: 1.1;
}
.pricing-access {
  max-width: 720px;
  margin: 0 auto clamp(30px, 4vw, 48px);
  padding: clamp(18px, 3vw, 29px) 16px;
  border: 1px solid #d9ffec;
  border-radius: 20px;
  background: linear-gradient(125deg, #e5fff4, #b8f0d9);
  color: #10242d;
  box-shadow: 0 12px 28px #050d1b65;
  text-align: center;
}
.pricing-access p { margin: 0; }
.pricing-access .pricing-access-title {
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -.035em;
}
.pricing-access .btn {
  margin-top: 18px;
  min-height: 56px;
  padding: 12px clamp(22px, 4vw, 38px);
  font-size: 17px;
  background: #10242d;
  color: #fff;
  border-color: #10242d;
}
.pricing-access .btn:hover { background: #214553; }
.pricing-access .btn:focus-visible { outline: 2px solid #10242d; outline-offset: 3px; }
.plan-status {
  width: fit-content;
  margin: 14px 0 0;
  padding: 5px 10px;
  border: 1px solid #92a9bd;
  border-radius: 6px;
  background: #0e1c2c;
  color: #f1e7d6;
  font-size: 12px;
  font-weight: 700;
}
.pack-card .plan-status { margin-inline: auto; }
.pricing-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 430px;
  margin: 0 auto 27px;
  border: 1px solid #8197af;
  border-radius: 999px;
  background: #0e1c2ce8;
}
.pricing-options a {
  display: grid;
  min-height: 47px;
  place-items: center;
  padding: 8px 13px;
  border-radius: inherit;
  color: #a2f0d5;
  font-weight: 700;
  text-align: center;
}
.pricing-options a[aria-current="location"] { background: #f16b5c; color: #161827; }
.pricing-options a:focus-visible { outline: 2px solid #fff0d7; outline-offset: 3px; }
.pricing-main section { scroll-margin-top: 85px; }
.pricing-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 24px;
  font-size: clamp(19px, 2.5vw, 26px);
  text-align: center;
}
.pricing-section-title::before, .pricing-section-title::after {
  content: '';
  width: min(15%, 150px);
  height: 1px;
  background: #a4b2ca7a;
}
.pricing-grid { display: grid; gap: 15px; }
.packs-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pricing-card {
  position: relative;
  min-width: 0;
  border: 1px solid #7597b3;
  border-radius: 19px;
  background: linear-gradient(155deg, #172e43f5, #112639ed);
  box-shadow: 0 13px 28px #050d1b48;
}
.pack-card { padding: 30px 14px 22px; text-align: center; }
.pricing-card h3 { margin: 0; color: #a2f0d5; font-size: clamp(19px, 2.6vw, 29px); line-height: 1.15; letter-spacing: -.025em; }
.pack-price { margin: 14px 0 18px; font-size: clamp(29px, 3.9vw, 47px); line-height: 1; font-weight: 800; letter-spacing: -.05em; }
.pack-payment { border-top: 1px solid #9cb6cb45; padding-top: 14px; margin: 0 8px; font-size: 14px; }
.best-value { border: 2px solid #fa796e; background: linear-gradient(155deg, #2b263df5, #222033f5); }
.value-badge {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  padding: 5px 12px;
  background: #a2f0d5;
  color: #101d24;
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
}
#monthly-plans { margin-top: 36px; }
.monthly-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 970px; margin-inline: auto; }
.monthly-card { padding: 19px 24px; }
.monthly-price { margin: 8px 0; font-size: clamp(22px, 2.7vw, 31px); font-weight: 800; letter-spacing: -.035em; }
.monthly-price span { font-size: .66em; font-weight: 500; letter-spacing: 0; white-space: nowrap; }
.monthly-credits { margin: 0; color: #a2f0d5; font-size: 17px; }
.pricing-note { text-align: center; margin: 30px 0 0; color: #e9dfd1; font-size: 13px; }
@media (max-width: 850px) {
  .packs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 14px; }
  .pricing-page { background-position: center; }
}
@media (max-width: 600px) {
  .pricing-main { width: calc(100% - 28px); }
  .monthly-grid { grid-template-columns: 1fr; }
  .monthly-card { padding: 16px 20px; }
  .pack-card { padding: 26px 6px 16px; }
  .pack-payment { font-size: 12px; }
}
