.aristocracy-page {
  --ar-primary: #00847b;
  --ar-knight: #96a8c8;
  --ar-prince: #2c7bff;
  --ar-sheikh: #d6a847;
  background: #f6f7fa;
}

.aristocracy-header {
  background: #fff;
  border-color: #e8ebef;
  color: #1e272e;
}

.aristocracy-header .brand small,
.aristocracy-header .header-note,
.aristocracy-header nav a { color: #70767d; }
.aristocracy-header nav a.nav-active { color: var(--ar-primary); }

.aristocracy-hero {
  overflow: hidden;
  color: #212a31;
  background:
    radial-gradient(circle at 78% 38%, #dce7ff 0, transparent 29%),
    radial-gradient(circle at 63% 65%, #f0ddff 0, transparent 28%),
    linear-gradient(180deg, #f1f4fa, #fff 86%);
  border-bottom: 1px solid #e5e9ef;
}

.aristocracy-hero-inner {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, .9fr);
  align-items: center;
  gap: 42px;
}

.aristocracy-hero .eyebrow { color: var(--ar-primary); font-weight: 800; }
.aristocracy-hero h1 { font-size: 52px; line-height: 1.35; margin: 10px 0 16px; }
.aristocracy-hero h1 span { color: var(--ar-primary); }
.aristocracy-hero p:not(.eyebrow) { line-height: 2; color: #68717a; max-width: 610px; }
.aristocracy-hero .hero-link { color: var(--ar-primary); border-color: #9dd1cc; font-weight: 800; }

.aristocracy-badge-showcase {
  direction: rtl;
  height: 310px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.aristocracy-badge-showcase::before {
  content: '';
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 25%, #e6ebf8 48%, transparent 70%);
  z-index: -1;
}

.hero-tier {
  width: 180px;
  margin: 0 -34px;
  text-align: center;
  transform: translateY(14px) scale(.82);
  filter: saturate(.85) drop-shadow(0 15px 18px #2a36502e);
}
.hero-tier.prince { transform: translateY(-5px) scale(.96); z-index: 2; filter: drop-shadow(0 18px 23px #5a2f8b35); }
.hero-tier.sheikh { z-index: 3; transform: translateY(3px) scale(1.08); }
.hero-tier img { width: 180px; height: 180px; object-fit: contain; }
.hero-tier figcaption {
  display: inline-block;
  min-width: 72px;
  margin-top: -6px;
  padding: 5px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e1e6ed;
  box-shadow: 0 6px 16px #24334a18;
  font-weight: 900;
  font-size: 13px;
}

.duration-note {
  border: 1px solid #dce2e9;
  border-radius: 30px;
  padding: 10px 18px;
  color: #68727a;
  font-size: 12px;
  background: #fff;
}

.aristocracy-page .wallet-tabs { background: #f2f4f7; }
.aristocracy-page .wallet-tab.selected { color: var(--ar-primary); border-color: #dce5e5; }

.aristocracy-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  padding: 5px;
  border: 1px solid #e2e6eb;
  border-radius: 22px;
  background: #f2f4f7;
}
.aristocracy-plan { position: relative; cursor: pointer; min-width: 0; }
.aristocracy-plan input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.aristocracy-plan-body {
  --tier-accent: var(--ar-knight);
  min-height: 156px;
  padding: 10px 5px 9px;
  border: 1px solid transparent;
  border-radius: 17px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: transparent;
  transition: .2s ease;
}
.aristocracy-plan.prince .aristocracy-plan-body { --tier-accent: var(--ar-prince); }
.aristocracy-plan.sheikh .aristocracy-plan-body { --tier-accent: var(--ar-sheikh); }
.aristocracy-plan-body:hover { background: #ffffffa8; }
.aristocracy-plan input:checked + .aristocracy-plan-body {
  border-color: color-mix(in srgb, var(--tier-accent) 58%, white);
  background: #fff;
  box-shadow: 0 5px 16px color-mix(in srgb, var(--tier-accent) 15%, transparent);
}
.aristocracy-plan input:focus-visible + .aristocracy-plan-body { outline: 3px solid var(--ar-primary); outline-offset: 3px; }
.plan-badge { width: 72px; height: 68px; object-fit: contain; filter: drop-shadow(0 4px 6px #1c2b431f); }
.aristocracy-plan-body strong { color: #273039; font-size: 15px; line-height: 1.35; }
.aristocracy-plan-body small { color: #7b8187; font-size: 9px; }
.aristocracy-plan-body em { margin-top: 3px; font-style: normal; color: var(--tier-accent); font-size: 14px; font-weight: 900; }

.benefits-panel { padding: 18px; }
.benefits-title { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.benefits-title h3 { margin: 0; font-size: 18px; }
.benefits-title p { margin: 3px 0 0; font-size: 10px; color: #777f86; }
.benefits-accent { width: 7px; height: 31px; border-radius: 9px; flex: 0 0 auto; background: var(--ar-knight); }
.benefits-tier { margin-inline-start: auto; padding: 5px 11px; border-radius: 20px; color: var(--ar-knight); background: #96a8c81a; font-size: 12px; }
.benefits-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.benefit-card {
  min-height: 142px;
  padding: 11px 8px;
  border: 1px solid color-mix(in srgb, var(--benefit-accent) 17%, white);
  border-radius: 18px;
  background: color-mix(in srgb, var(--benefit-accent) 5.5%, white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.benefit-card img { width: 48px; height: 48px; object-fit: contain; margin-bottom: 5px; }
.benefit-card img.badge-benefit { width: 55px; height: 52px; }
.benefit-card strong { color: #272f36; font-size: 13px; line-height: 1.45; }
.benefit-card span { color: #7b7f83; font-size: 10.5px; line-height: 1.5; }
.benefit-reward { display: inline-flex; align-items: center; gap: 4px; direction: rtl; }
.benefit-reward img { width: 15px; height: 15px; margin: 0; }

.aristocracy-summary-art {
  width: 160px;
  height: 145px;
  display: grid;
  place-items: center;
  margin: 10px auto 2px;
  border-radius: 50%;
  background: radial-gradient(circle, #e9effc 0, #f7f8fb 53%, transparent 70%);
}
.aristocracy-summary-art img { width: 145px; height: 135px; object-fit: contain; filter: drop-shadow(0 10px 12px #283c5b28); }
.aristocracy-summary-art span { max-width: 90px; color: #858d93; text-align: center; font-size: 12px; }

.aristocracy-page .pay-button,
.aristocracy-page .primary-button { background: var(--ar-primary); }
.aristocracy-page .pay-button:hover:enabled,
.aristocracy-page .primary-button:hover { background: #006b65; }
.aristocracy-page .step-number { color: var(--ar-primary); background: #eaf6f3; }
.aristocracy-page .confirmed,
.aristocracy-page .consent a { color: var(--ar-primary); }

@media (max-width: 900px) {
  .aristocracy-hero-inner { grid-template-columns: 1fr 390px; gap: 20px; }
  .aristocracy-hero h1 { font-size: 45px; }
  .hero-tier { width: 155px; margin-inline: -32px; }
  .hero-tier img { width: 155px; height: 155px; }
}

@media (max-width: 760px) {
  .aristocracy-hero-inner { grid-template-columns: 1fr; min-height: 0; padding: 36px 0 24px; gap: 6px; }
  .aristocracy-hero h1 { font-size: 39px; }
  .aristocracy-badge-showcase { height: 226px; }
  .aristocracy-badge-showcase::before { width: 240px; height: 240px; }
  .hero-tier { width: 130px; margin-inline: -29px; }
  .hero-tier img { width: 130px; height: 130px; }
  .hero-tier figcaption { font-size: 11px; min-width: 62px; padding: 4px 10px; }
  .duration-note { font-size: 10px; padding: 8px 10px; }
  .aristocracy-plans { gap: 3px; padding: 4px; }
  .aristocracy-plan-body { min-height: 134px; padding-inline: 2px; }
  .plan-badge { width: 60px; height: 58px; }
  .aristocracy-plan-body strong { font-size: 13px; }
  .aristocracy-plan-body small { font-size: 8px; }
  .aristocracy-plan-body em { font-size: 12px; }
  .benefits-panel { padding: 17px; }
  .benefits-title p { max-width: 210px; }
  .benefit-card { min-height: 132px; }
  .aristocracy-summary-art { height: 135px; }
}

@media (max-width: 370px) {
  .aristocracy-plan-body { min-height: 123px; }
  .plan-badge { width: 52px; height: 50px; }
  .aristocracy-plan-body small { display: none; }
  .benefits-grid { gap: 7px; }
  .benefit-card { min-height: 125px; padding-inline: 5px; }
}
