body.buy-dark-page {
  min-height: 100vh;
  color: #f8fbff;
  background-color: #050911 !important;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(255, 156, 16, 0.12), transparent 28%),
    radial-gradient(circle at 14% 68%, rgba(0, 190, 255, 0.1), transparent 24%),
    linear-gradient(180deg, #050911 0%, #09111d 46%, #03070d 100%) !important;
}

body.buy-dark-page::before,
body.buy-dark-page::after {
  display: none;
}

body.buy-dark-page .appHeader {
  background: rgba(10, 17, 28, 0.94);
  border: 1px solid rgba(154, 165, 188, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 44px rgba(0, 0, 0, 0.34);
}

body.buy-dark-page .app-header-copy small {
  color: rgba(214, 221, 235, 0.62);
}

body.buy-dark-page .app-header-copy span,
body.buy-dark-page .header-btn {
  color: #f8fbff;
}

.plan-page {
  width: min(100% - 24px, 430px);
  max-width: 430px;
  margin: 0 auto;
  color: #f8fbff;
  padding: 104px 0 150px;
  position: relative;
  z-index: 1;
}

.plan-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 156, 16, 0.12), transparent 28%),
    radial-gradient(circle at 14% 68%, rgba(0, 190, 255, 0.1), transparent 24%),
    linear-gradient(180deg, #050911 0%, #09111d 46%, #03070d 100%);
}

.plan-hero {
  margin-bottom: 16px;
  padding: 20px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 156, 16, 0.16), transparent 28%),
    linear-gradient(145deg, rgba(16, 26, 40, 0.94), rgba(8, 14, 24, 0.96));
  border: 1px solid rgba(154, 165, 188, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 38px rgba(0, 0, 0, 0.24);
}

.plan-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(255, 156, 16, 0.14);
  border: 1px solid rgba(255, 156, 16, 0.2);
  color: #ffb237;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(255, 156, 16, 0.14);
}

.plan-title {
  margin: 14px 0 8px;
  text-align: left;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  color: #ffffff;
}

.plan-subtitle {
  margin: 0;
  color: rgba(214, 221, 235, 0.72);
  font-size: 14px;
  line-height: 1.55;
}

.plan-card {
  width: 100%;
  margin-bottom: 14px;
  padding: 18px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 156, 16, 0.14), transparent 24%),
    linear-gradient(145deg, rgba(16, 26, 40, 0.94), rgba(8, 14, 24, 0.96));
  border: 1px solid rgba(154, 165, 188, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 38px rgba(0, 0, 0, 0.24);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  overflow: hidden;
  position: relative;
}

.plan-card:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 22px 42px rgba(0, 0, 0, 0.3);
}

.plan-card::before {
  content: "";
  position: absolute;
  width: 104px;
  height: 104px;
  right: -34px;
  top: -34px;
  border-radius: 32px;
  transform: rotate(22deg);
  background: rgba(255, 156, 16, 0.08);
}

.plan-top,
.feature {
  display: flex;
  align-items: center;
}

.plan-top {
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.badge1 {
  max-width: 68%;
  overflow-wrap: anywhere;
  background: rgba(255, 156, 16, 0.14);
  border: 1px solid rgba(255, 156, 16, 0.2);
  color: #ffb237;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-name {
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(18, 27, 42, 0.78);
  border: 1px solid rgba(154, 165, 188, 0.12);
  font-size: 10px;
  font-weight: 800;
  color: rgba(214, 221, 235, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.plan-price {
  margin: 16px 0 14px;
  padding: 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 255, 255, 0.18), transparent 22%),
    linear-gradient(100deg, #ffb400 0%, #ff8618 48%, #ff5a00 100%);
  color: #fff;
  box-shadow:
    0 0 26px rgba(255, 122, 0, 0.24),
    0 14px 26px rgba(255, 107, 0, 0.2);
  position: relative;
  z-index: 1;
}

.plan-price small {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  opacity: 0.88;
}

.plan-price strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
}

.plan-features {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  position: relative;
  z-index: 1;
}

.feature {
  min-width: 0;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(18, 27, 42, 0.78);
  border: 1px solid rgba(154, 165, 188, 0.12);
  color: rgba(214, 221, 235, 0.78);
  font-size: 12px;
  min-height: 84px;
}

.feature i {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ff9c10;
  background: rgba(255, 156, 16, 0.14);
  margin-right: 0;
  flex: 0 0 34px;
}

.feature div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feature span {
  display: block;
  font-size: 11px;
  color: rgba(214, 221, 235, 0.62);
}

.feature strong {
  display: block;
  font-size: 13px;
  line-height: 1.3;
  color: #fff;
  overflow-wrap: anywhere;
}

.plan-btn {
  display: block;
  margin-top: 16px;
  text-align: center;
  padding: 15px;
  border-radius: 16px;
  text-decoration: none;
  background: linear-gradient(100deg, #ffb400 0%, #ff8618 48%, #ff5a00 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
  box-shadow:
    0 0 24px rgba(255, 122, 0, 0.28),
    0 14px 26px rgba(255, 107, 0, 0.22);
  position: relative;
  z-index: 1;
}

.plan-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow:
    0 0 30px rgba(255, 122, 0, 0.34),
    0 18px 32px rgba(255, 107, 0, 0.26);
}

.plan-btn.btn-loading {
  pointer-events: none;
  opacity: 0.76;
}

.plan-btn.btn-loading span {
  visibility: hidden;
}

.plan-btn.btn-loading::after {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-top-color: transparent;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spin 0.65s linear infinite;
}

body.buy-dark-page .appNavBar {
  height: 74px;
  padding: 8px 16px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 12% 50%, rgba(255, 145, 18, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(20, 30, 43, 0.96), rgba(8, 14, 24, 0.96));
  border: 1px solid rgba(154, 165, 188, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 44px rgba(0, 0, 0, 0.36);
}

body.buy-dark-page .navLink {
  min-width: 0;
  color: rgba(150, 162, 181, 0.9);
  font-weight: 600;
}

body.buy-dark-page .navLink.center,
body.buy-dark-page .navLink.center.active {
  top: -24px;
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffb400 0%, #ff7a00 52%, #ff5200 100%);
  color: #fff;
  box-shadow:
    0 0 0 8px rgba(255, 122, 0, 0.08),
    0 0 28px rgba(255, 122, 0, 0.65),
    0 14px 26px rgba(255, 82, 0, 0.34);
}

body.buy-dark-page .navLink.center i {
  margin: 0;
  font-size: 25px;
  color: #fff;
}

body.buy-dark-page .navLink i {
  font-size: 19px;
  margin-bottom: 4px;
}

body.buy-dark-page .navLink p {
  font-size: 10px;
  line-height: 1;
}

@media (min-width: 560px) {
  .plan-page {
    max-width: 860px;
  }

  .plan-page {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .plan-hero {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .plan-page {
    width: calc(100% - 20px);
    max-width: none;
    padding: 96px 0 148px;
  }

  .plan-hero,
  .plan-card {
    border-radius: 24px;
  }

  .plan-title {
    font-size: 25px;
  }

  .plan-price strong {
    font-size: 28px;
  }
}

@media (max-width: 380px) {
  .plan-features {
    grid-template-columns: 1fr;
  }

  .feature {
    min-height: 72px;
  }
}
