body.buy-dark-page {
  min-height: 100vh;
  color: #f8fbff;
  background-color: #030303 !important;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(255, 191, 0, 0.14), transparent 28%),
    radial-gradient(circle at 14% 68%, rgba(255, 184, 0, 0.08), transparent 24%),
    linear-gradient(180deg, #030303 0%, #090806 46%, #020202 100%) !important;
}

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

body.buy-dark-page .appHeader {
  background: rgba(8, 8, 8, 0.94);
  border: 1px solid rgba(255, 191, 0, 0.18);
  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, 191, 0, 0.14), transparent 28%),
    radial-gradient(circle at 14% 68%, rgba(255, 184, 0, 0.08), transparent 24%),
    linear-gradient(180deg, #030303 0%, #090806 46%, #020202 100%);
}

.plan-hero {
  margin-bottom: 16px;
  padding: 20px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 191, 0, 0.16), transparent 28%),
    linear-gradient(145deg, rgba(16, 15, 12, 0.96), rgba(6, 6, 6, 0.98));
  border: 1px solid rgba(255, 191, 0, 0.24);
  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;
}

.category-stage,
.plans-stage {
  position: relative;
  z-index: 1;
}

.category-stage {
  display: grid;
  gap: 14px;
}

.category-card {
  width: 100%;
  min-height: 246px;
  padding: 0;
  border: 1px solid rgba(255, 156, 16, 0.18);
  border-radius: 22px;
  color: #f8fbff;
  background:
    radial-gradient(circle at 86% 14%, rgba(255, 191, 0, 0.14), transparent 28%),
    linear-gradient(145deg, rgba(14, 13, 10, 0.98), rgba(4, 4, 4, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 38px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  text-align: left;
}

.category-media {
  display: block;
  height: 246px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 191, 0, 0.14), transparent 46%),
    #030303;
}

.category-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px 8px 54px;
  transform: scale(1);
  transition: transform 0.28s ease;
}

.category-card:hover .category-media img {
  transform: scale(1.03);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 48%, rgba(255, 191, 0, 0.08) 62%, rgba(4, 4, 4, 0.96) 100%);
  pointer-events: none;
}

.category-copy {
  position: absolute;
  left: 16px;
  right: 64px;
  bottom: 16px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.category-copy span {
  color: #ffb237;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-copy strong {
  color: #fff;
  font-size: 24px;
  line-height: 1.05;
  font-weight: 900;
}

.category-copy small {
  color: rgba(214, 221, 235, 0.74);
  font-size: 12px;
}

.category-card > i {
  position: absolute;
  right: 16px;
  bottom: 18px;
  z-index: 1;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(145deg, #ffb400, #ff5a00);
  box-shadow: 0 10px 22px rgba(255, 107, 0, 0.28);
}

.plans-stage-head {
  margin-bottom: 14px;
  padding: 15px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(8, 8, 8, 0.76);
  border: 1px solid rgba(255, 156, 16, 0.14);
}

.plans-back {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 191, 0, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}

.plans-stage-head span {
  color: #ffb237;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plans-stage-head h2 {
  margin: 2px 0 0;
  color: #fff;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 900;
}

.is-hidden {
  display: none !important;
}

.plan-card {
  width: 100%;
  margin-bottom: 14px;
  padding: 0;
  border-radius: 20px;
  background:
    radial-gradient(circle at 88% 8%, rgba(35, 183, 127, 0.08), transparent 26%),
    linear-gradient(145deg, rgba(14, 13, 10, 0.98), rgba(4, 4, 4, 0.98));
  border: 1px solid rgba(255, 156, 16, 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: 132px;
  height: 132px;
  right: -44px;
  top: -42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  z-index: 1;
}

.plan-card::after {
  content: "";
  position: absolute;
  width: 82px;
  height: 82px;
  right: -18px;
  top: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

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

.plan-top {
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  z-index: 2;
  min-height: 116px;
  padding: 22px 18px 18px;
  background:
    radial-gradient(circle at 88% 22%, rgba(255, 255, 255, 0.16), transparent 25%),
    linear-gradient(115deg, #ffb400 0%, #ff8618 52%, #22b77f 100%);
}

.badge1 {
  max-width: 100%;
  overflow-wrap: anywhere;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.82);
  padding: 0;
  border-radius: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-name {
  min-height: 0;
  margin-top: 16px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  font-size: 24px;
  line-height: 1.05;
  font-weight: 900;
  color: #ffffff;
  text-transform: none;
  letter-spacing: 0;
}

.plan-meta {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  line-height: 1.35;
}

.plan-meta i {
  margin-right: 5px;
}

.daily-pill {
  flex: 0 0 auto;
  max-width: 132px;
  min-height: 34px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.plan-price {
  margin: 18px 18px 10px;
  padding: 16px 14px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 84% 10%, rgba(255, 156, 16, 0.12), transparent 24%),
    rgba(8, 8, 8, 0.92);
  color: #f8fbff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 22px rgba(0, 0, 0, 0.16);
  position: relative;
  z-index: 1;
  text-align: center;
}

.plan-price small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 6px;
  font-size: 11px;
  color: rgba(214, 221, 235, 0.7);
}

.plan-price strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
  color: #ffb237;
}

.plan-value {
  margin: 0 18px 14px;
  padding: 16px 14px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 88% 18%, rgba(35, 183, 127, 0.16), transparent 28%),
    rgba(4, 34, 34, 0.82);
  border: 1px solid rgba(35, 183, 127, 0.1);
  text-align: center;
  position: relative;
  z-index: 1;
}

.plan-value small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 7px;
  color: rgba(214, 221, 235, 0.76);
  font-size: 11px;
}

.plan-value strong {
  display: block;
  color: #21e39a;
  font-size: 18px;
  font-weight: 900;
}

.plan-features {
  margin: 0 18px;
  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: 13px;
  background: rgba(8, 8, 8, 0.72);
  border: 1px solid rgba(255, 191, 0, 0.08);
  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;
}

.feature-qty {
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 218, 105, 0.16), transparent 30%),
    rgba(22, 35, 44, 0.86);
  border-color: rgba(255, 190, 65, 0.22);
}

.feature-qty i {
  color: #ffd36a;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.26), transparent 28%),
    linear-gradient(145deg, rgba(255, 211, 106, 0.22), rgba(255, 156, 16, 0.14));
}

.feature-qty strong {
  color: #ffd36a;
}

.plan-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 16px 18px 18px;
  text-align: center;
  padding: 15px;
  border-radius: 11px;
  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,
.plan-btn.btn-loading i {
  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;
}

.plan-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.plan-modal.active {
  display: flex;
}

.plan-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.plan-modal-card {
  width: min(100%, 420px);
  max-height: calc(100vh - 28px);
  overflow-y: auto;
  position: relative;
  z-index: 1;
  padding: 22px 20px 24px;
  border-radius: 22px;
  color: #f8fbff;
  background:
    radial-gradient(circle at 88% 0%, rgba(255, 156, 16, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(10, 10, 9, 0.98), rgba(4, 4, 4, 0.98));
  border: 1px solid rgba(255, 156, 16, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 30px 70px rgba(0, 0, 0, 0.48);
}

.plan-modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(226, 232, 240, 0.78);
  cursor: pointer;
}

.modal-plan-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 40px;
}

.modal-plan-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(145deg, #ffb400, #22b77f);
  box-shadow: 0 12px 24px rgba(255, 156, 16, 0.22);
}

.modal-plan-head h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 900;
}

.modal-plan-head p {
  margin: 4px 0 0;
  color: rgba(214, 221, 235, 0.72);
  font-size: 13px;
}

.modal-value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.modal-value-grid > div {
  min-height: 72px;
  padding: 13px;
  border-radius: 13px;
  background: rgba(8, 8, 8, 0.78);
  text-align: center;
}

.modal-value-grid > div:nth-child(2) {
  background: rgba(4, 34, 34, 0.78);
}

.modal-value-grid span {
  display: block;
  color: rgba(214, 221, 235, 0.68);
  font-size: 11px;
}

.modal-value-grid strong {
  display: block;
  margin-top: 9px;
  color: #ffb237;
  font-size: 16px;
}

.modal-value-grid > div:nth-child(2) strong,
.modal-summary div:nth-child(n + 2) strong {
  color: #21e39a;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 20px;
}

.modal-tags span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 156, 16, 0.14);
  border: 1px solid rgba(255, 156, 16, 0.18);
  font-size: 11px;
}

.modal-tags span:first-child {
  background: rgba(33, 227, 154, 0.15);
  border-color: rgba(33, 227, 154, 0.18);
}

.qty-label {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.qty-input {
  width: 100%;
  height: 52px;
  padding: 0 13px;
  border-radius: 10px;
  border: 1px solid rgba(255, 156, 16, 0.22);
  color: #fff;
  background: rgba(4, 10, 19, 0.78);
  outline: 0;
}

.qty-help {
  margin-top: 8px;
  color: rgba(214, 221, 235, 0.62);
  font-size: 12px;
}

.modal-summary {
  margin-top: 14px;
  padding: 15px 14px;
  border-radius: 14px;
  background: rgba(8, 8, 8, 0.78);
  border: 1px solid rgba(255, 191, 0, 0.1);
}

.modal-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 28px;
  color: rgba(214, 221, 235, 0.72);
  font-size: 13px;
}

.modal-summary strong {
  color: #fff;
  font-size: 14px;
}

.modal-error {
  min-height: 0;
  margin-top: 10px;
  color: #ffb4b4;
  font-size: 12px;
}

.modal-error:not(:empty) {
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(255, 79, 79, 0.12);
  border: 1px solid rgba(255, 79, 79, 0.18);
}

.modal-actions {
  display: grid;
  grid-template-columns: 0.85fr 1.6fr;
  gap: 12px;
  margin-top: 14px;
}

.modal-cancel,
.modal-invest {
  min-height: 48px;
  border-radius: 11px;
  border: 1px solid rgba(255, 191, 0, 0.18);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.modal-cancel {
  background: rgba(8, 8, 8, 0.72);
}

.modal-invest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  background: linear-gradient(100deg, #ffb400 0%, #ff8618 48%, #ff5a00 100%);
  box-shadow: 0 14px 26px rgba(255, 107, 0, 0.22);
  position: relative;
}

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

.modal-invest.btn-loading span,
.modal-invest.btn-loading i {
  visibility: hidden;
}

.modal-invest.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;
  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(10, 10, 10, 0.96), rgba(6, 6, 6, 0.98));
  border: 1px solid rgba(255, 191, 0, 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;
  }

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

  .plans-stage.is-hidden,
  .category-stage.is-hidden {
    display: none !important;
  }

  .plans-stage-head {
    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: 20px;
  }

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

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

  .plan-top {
    min-height: 108px;
    padding: 20px 17px 16px;
  }

  .plan-name {
    font-size: 22px;
  }

  .daily-pill {
    max-width: 118px;
    padding: 8px 10px;
    font-size: 10px;
  }

  .plan-modal {
    padding: 10px;
  }

  .plan-modal-card {
    padding: 20px 16px 18px;
    border-radius: 20px;
  }
}

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

  .feature {
    min-height: 72px;
  }

  .modal-value-grid,
  .modal-actions {
    grid-template-columns: 1fr;
  }
}

/* Buy page plan-list redesign: keeps the category stage behavior intact. */
body.buy-dark-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 194, 45, 0.13), transparent 32%),
    radial-gradient(circle at 15% 25%, rgba(255, 194, 45, 0.08), transparent 26%),
    #030303 !important;
  color: #fff;
}

body.buy-dark-page::before {
  opacity: 0.35;
  background:
    linear-gradient(rgba(255, 191, 0, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 191, 0, 0.035) 1px, transparent 1px) !important;
  background-size: 44px 44px !important;
}

body.buy-dark-page::after {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 199, 50, 0.18), transparent 24%),
    radial-gradient(circle at 16% 78%, rgba(255, 184, 0, 0.11), transparent 30%) !important;
}

body.buy-dark-page .plan-page {
  max-width: 460px;
  padding-top: 104px;
}

body.buy-dark-page .appHeader {
  top: 12px;
  max-width: 430px;
}

body.buy-dark-page .plan-hero {
  margin-top: 0;
}

body.buy-dark-page .plans-stage {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.buy-dark-page .plans-stage.is-hidden {
  display: none !important;
}

body.buy-dark-page .plans-stage-head {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 0 2px 12px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.buy-dark-page .plans-back,
body.buy-dark-page .back-btn {
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  box-shadow: none;
}

body.buy-dark-page .plans-stage-title {
  text-align: center;
}

body.buy-dark-page .plans-stage-title span {
  display: block;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.15;
}

body.buy-dark-page .plans-stage-title h2 {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
}

body.buy-dark-page .plan-card {
  overflow: hidden;
  padding: 14px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 191, 0, 0.09), transparent 32%),
    linear-gradient(145deg, rgba(18, 18, 18, 0.98), rgba(3, 3, 3, 0.98)) !important;
  border: 1px solid rgba(255, 191, 0, 0.78) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 15px 28px rgba(0, 0, 0, 0.42) !important;
}

body.buy-dark-page .plan-card::before,
body.buy-dark-page .plan-card::after {
  display: none !important;
}

body.buy-dark-page .investment-plan-layout {
  display: grid;
  grid-template-columns: 134px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

body.buy-dark-page .investment-plan-media {
  display: grid;
  gap: 10px;
  justify-items: center;
}

body.buy-dark-page .investment-plan-media img {
  width: 100%;
  aspect-ratio: 1 / 0.9;
  object-fit: cover;
  border-radius: 11px;
  background: #050505;
  border: 1px solid rgba(255, 191, 0, 0.12);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.34);
}

body.buy-dark-page .investment-plan-media span {
  min-width: 92px;
  padding: 9px 13px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ff4747, #c80909);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  box-shadow: 0 10px 18px rgba(210, 15, 15, 0.28);
}

body.buy-dark-page .investment-plan-body {
  min-width: 0;
}

body.buy-dark-page .plan-name {
  margin: 0 0 11px;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.15;
}

body.buy-dark-page .investment-plan-points {
  display: grid;
  gap: 8px;
  margin: 0 0 15px;
  padding: 0;
  list-style: none;
}

body.buy-dark-page .investment-plan-points li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

body.buy-dark-page .investment-plan-points i {
  flex: 0 0 auto;
  margin-top: 1px;
  color: #ffc400;
  font-size: 12px;
}

body.buy-dark-page .plan-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(180deg, #ffd65a 0%, #e5a000 100%);
  color: #050505;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 10px 22px rgba(255, 184, 0, 0.2);
}

body.buy-dark-page .plan-btn.btn-loading {
  pointer-events: none;
  color: transparent;
  opacity: 0.82;
}

body.buy-dark-page .plan-btn.btn-loading span {
  visibility: hidden;
}

body.buy-dark-page .plan-btn.btn-loading::after {
  border-color: rgba(0, 0, 0, 0.75);
  border-top-color: transparent;
}

body.buy-dark-page .plan-modal-card {
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 191, 0, 0.12), transparent 28%),
    #070707 !important;
  border-color: rgba(255, 191, 0, 0.68) !important;
}

body.buy-dark-page .modal-value-grid div,
body.buy-dark-page .modal-tags span,
body.buy-dark-page .modal-summary,
body.buy-dark-page .qty-input {
  background: rgba(9, 9, 9, 0.92) !important;
  border-color: rgba(255, 191, 0, 0.18) !important;
}

body.buy-dark-page .plan-modal .modal-value-grid,
body.buy-dark-page .plan-modal .modal-tags {
  display: none !important;
}

body.buy-dark-page .appNavBar {
  border-radius: 0 !important;
  background: rgba(3, 3, 3, 0.96) !important;
  border: 0 !important;
  border-top: 1px solid rgba(255, 191, 0, 0.14) !important;
  box-shadow: 0 -12px 28px rgba(0, 0, 0, 0.48) !important;
}

body.buy-dark-page .navLink.active,
body.buy-dark-page .navLink.active i,
body.buy-dark-page .navLink.active p {
  color: #ffc400 !important;
}

@media (min-width: 560px) {
  body.buy-dark-page .plans-stage {
    display: flex;
    max-width: 460px;
    margin: 0 auto;
  }
}

@media (max-width: 430px) {
  body.buy-dark-page .plan-page {
    width: calc(100% - 22px);
    padding-top: 104px;
    padding-bottom: 102px;
  }

  body.buy-dark-page .plan-card {
    padding: 12px;
  }

  body.buy-dark-page .investment-plan-layout {
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 12px;
  }

  body.buy-dark-page .plan-name {
    font-size: 18px;
  }

  body.buy-dark-page .investment-plan-points li {
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  body.buy-dark-page .investment-plan-layout {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  body.buy-dark-page .investment-plan-media span {
    min-width: 82px;
    font-size: 14px;
  }

  body.buy-dark-page .plan-btn {
    min-height: 38px;
    font-size: 14px;
  }
}
