:root {
  color-scheme: light;
  --ink: #07121f;
  --ink-soft: #0c1b2d;
  --navy: #102943;
  --navy-light: #163a59;
  --cyan: #42cbe8;
  --cyan-soft: #a5e9f4;
  --gold: #d9a63a;
  --gold-bright: #f4c95d;
  --gold-pale: #f7e7bb;
  --paper: #f4f4f2;
  --card: #fff;
  --charcoal: #17202a;
  --muted: #687581;
  --border: #d9d8d2;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; background: var(--ink); }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--charcoal);
  background: var(--paper);
  font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: relative;
  z-index: 20;
  color: #fff;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 34px;
}
.brand { display: block; width: 205px; flex: 0 0 auto; }
.brand img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.site-nav a,
.back-link {
  color: #d9e4ec;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
  transition: color .18s ease;
}
.site-nav a:hover,
.site-nav a:focus-visible,
.back-link:hover,
.back-link:focus-visible { color: var(--gold-bright); }
.official-mark {
  padding: 7px 11px;
  border: 1px solid rgba(244, 201, 93, .42);
  border-radius: 4px;
  color: var(--gold-pale);
  font-size: .75rem;
  font-weight: 750;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  display: grid;
  align-items: center;
  color: #fff;
  background: var(--ink-soft);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: max(20px, calc((100vw - 1180px) / 2));
  top: 24px;
  opacity: .11;
  background: url("/assets/nirvanamc-server-icon-512.png") center/contain no-repeat;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0;
}
.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: #c8d3dc;
  font-size: clamp(1rem, 2vw, 1.15rem);
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}
.button {
  min-height: 50px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 5px;
  text-decoration: none;
  font: 750 .86rem/1 ui-sans-serif, system-ui, sans-serif;
  cursor: pointer;
  transition: box-shadow .16s ease, background .16s ease;
}
.button:focus-visible,
.copy-command:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.button-primary {
  color: #171105;
  background: var(--gold-bright);
  box-shadow: 0 8px 20px rgba(217, 166, 58, .18);
}
.button-primary:hover { box-shadow: 0 10px 24px rgba(217, 166, 58, .28); }
.text-link {
  color: #e7eef4;
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.payment-note {
  max-width: 680px;
  margin: 36px 0 0;
  color: #94a5b4;
  font-size: .86rem;
}

.store-section,
.how-section,
.support-panel,
.legal-note {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}
.store-section { padding: 84px 0 68px; }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 34px;
}
.section-heading h2,
.how-intro h2,
.support-panel h2,
.result-help h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.section-heading > p { margin: 0; color: #596879; }

.offers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.offer-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 8px 22px rgba(26, 36, 47, .07);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.offer-card:hover {
  border-color: #bca468;
  box-shadow: 0 12px 30px rgba(26, 36, 47, .11);
}
.offer-card.featured { border: 2px solid var(--gold); }
.product-art {
  position: relative;
  aspect-ratio: 1.2;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0b1c2d;
  border-bottom: 1px solid rgba(217, 166, 58, .22);
}
.product-art img {
  position: relative;
  z-index: 1;
  width: 84%;
  height: auto;
  filter: drop-shadow(0 16px 17px rgba(0, 0, 0, .35));
}
.offer-content {
  padding: 26px 26px 24px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.pack-name {
  margin: 0 0 7px;
  color: #6c7782;
  font-size: .8rem;
  font-weight: 750;
}
.offer-card h3 { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.1; }
.offer-card h3 span {
  display: block;
  margin-bottom: 5px;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.04em;
}
.pack-description {
  min-height: 78px;
  margin: 15px 0 18px;
  color: #647180;
  font-size: .9rem;
}
.price-row {
  min-height: 58px;
  margin-top: auto;
  padding-top: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #e8e6e0;
}
.price {
  margin: 0;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
}
.price > span { color: var(--gold); font-size: 1rem; vertical-align: top; }
.price small {
  color: #7c8793;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.delivery,
.bonus {
  padding: 5px 8px;
  border-radius: 3px;
  font-size: .68rem;
  font-weight: 750;
}
.delivery { color: #356774; background: #e4f7f8; }
.bonus { color: #684b09; background: #f8eac2; }
.button-buy {
  width: 100%;
  margin-top: 18px;
  color: #fff;
  background: var(--navy);
}
.button-buy:hover { background: var(--navy-light); }
.button-buy code {
  margin-left: 5px;
  padding: 0;
  border: 0;
  color: inherit;
  background: none;
  font: inherit;
}
.command-note {
  margin: 9px 0 0;
  color: #7f8993;
  font-size: .72rem;
  text-align: center;
}
.value-badge {
  position: absolute;
  z-index: 5;
  top: 14px;
  right: 14px;
  padding: 7px 10px;
  border-radius: 4px;
  color: #171105;
  background: var(--gold-bright);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
  font-size: .7rem;
  font-weight: 800;
}
.copy-status {
  min-height: 24px;
  margin: 18px 0 0;
  color: #476470;
  font-size: .86rem;
  text-align: center;
}

.how-section {
  margin-top: 12px;
  padding: 64px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 72px;
  color: #fff;
  background: var(--ink-soft);
  border-radius: 8px;
}
.how-intro h2 { color: #fff; }
.how-intro > p:last-child {
  margin: 22px 0 0;
  color: #aebdca;
}
.buying-copy { color: #c0ccd6; }
.buying-copy p { margin: 0; }
.buying-copy p + p { margin-top: 20px; }
code {
  padding: 2px 7px;
  border: 1px solid rgba(66, 203, 232, .2);
  border-radius: 4px;
  color: var(--cyan-soft);
  background: rgba(66, 203, 232, .08);
  font: 750 .92em ui-monospace, SFMono-Regular, Consolas, monospace;
  white-space: nowrap;
}

.support-panel {
  margin-top: 28px;
  padding: 34px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, .72fr);
  gap: 40px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
}
.support-panel h2 { font-size: 1.6rem; }
.support-panel > div:first-child > p:last-child {
  margin: 10px 0 0;
  color: #667382;
  font-size: .88rem;
}
.secure-note {
  padding-left: 24px;
  border-left: 1px solid #deddd8;
}
.secure-note strong,
.secure-note span { display: block; }
.secure-note strong { color: #273442; font-size: .86rem; }
.secure-note span { margin-top: 5px; color: #7c8793; font-size: .78rem; }
.legal-note {
  padding: 38px 0 70px;
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 32px;
}
.legal-note h2 {
  margin: 0;
  color: #52606d;
  font-size: .75rem;
  font-weight: 750;
}
.legal-note p { margin: 0; color: #77828d; font-size: .78rem; }

.site-footer {
  color: #c5d0da;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.footer-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 124px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-inner img { width: 46px; height: 46px; }
.footer-inner div { display: flex; flex-direction: column; line-height: 1.25; }
.footer-inner strong { color: #fff; font-size: 1.05rem; font-weight: 800; }
.footer-inner span { color: #c9a957; font-size: .7rem; }
.footer-inner p { margin-left: auto; color: #778898; font-size: .74rem; }

.result-page { background: var(--paper); }
.result-header { justify-content: space-between; }
.result-shell {
  width: min(840px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0;
}
.result-card {
  padding: clamp(34px, 7vw, 70px);
  text-align: center;
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 18px 42px rgba(26, 36, 47, .11);
}
.result-card.success { border-top-color: #37a97a; }
.result-card.cancelled { border-top-color: var(--gold); }
.result-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #37a97a;
  font-size: 1.75rem;
  font-weight: 900;
}
.cancelled .result-icon { color: #2a1d05; background: var(--gold-bright); }
.result-card h1 {
  max-width: 680px;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(2.35rem, 7vw, 4.1rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.05em;
}
.result-lead {
  max-width: 610px;
  margin: 22px auto 0;
  color: #5e6c79;
}
.result-command {
  max-width: 460px;
  margin: 30px auto 0;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: #f2f1ed;
  color: #5f6a75;
  font-size: .78rem;
  text-align: left;
}
.result-command code {
  padding: 7px 10px;
  border: 0;
  color: #fff;
  background: var(--navy);
}
.small-note { margin: 16px 0 0; color: #8a939c; font-size: .76rem; }
.result-card .button { margin-top: 28px; }
.result-help {
  margin-top: 20px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 32px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
}
.result-help h2 { font-size: 1.5rem; }
.result-help > p { margin: 0; color: #687581; font-size: .85rem; }
.legal-inline {
  max-width: 700px;
  margin: 25px auto 0;
  color: #7f8993;
  font-size: .75rem;
  text-align: center;
}

@media (max-width: 940px) {
  .offers { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .product-art { aspect-ratio: 1.7; }
  .product-art img { width: 62%; }
  .pack-description { min-height: 0; }
  .how-section { padding: 52px 44px; gap: 48px; }
  .support-panel { grid-template-columns: 1fr; gap: 24px; }
  .secure-note {
    padding: 18px 0 0;
    border-top: 1px solid #deddd8;
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .header-inner { min-height: 74px; gap: 16px; }
  .brand { width: 166px; }
  .site-nav { display: none; }
  .official-mark { margin-left: auto; font-size: .65rem; }
  .hero { min-height: 500px; }
  .hero::after { width: 360px; height: 360px; right: -180px; top: 70px; opacity: .09; }
  .hero-inner { padding: 70px 0; }
  .hero h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .store-section { padding-top: 64px; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; }
  .product-art { aspect-ratio: 1.25; }
  .product-art img { width: 78%; }
  .how-section { grid-template-columns: 1fr; padding: 38px 28px; gap: 36px; }
  .support-panel { padding: 28px 24px; }
  .legal-note { grid-template-columns: 1fr; gap: 12px; }
  .footer-inner { padding: 28px 0; flex-wrap: wrap; }
  .footer-inner p { flex-basis: 100%; margin: 12px 0 0; }
  .result-shell { padding: 48px 0; }
  .result-help { grid-template-columns: 1fr; gap: 14px; }
  .result-command { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 430px) {
  .official-mark { display: none; }
  .header-inner,
  .hero-inner,
  .store-section,
  .how-section,
  .support-panel,
  .legal-note,
  .footer-inner,
  .result-shell { width: min(100% - 28px, 1180px); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .text-link { text-align: center; }
  .product-art { aspect-ratio: 1.1; }
  .product-art img { width: 88%; }
  .offer-content { padding: 24px 20px 22px; }
  .price-row { align-items: flex-start; flex-direction: column; }
  .result-card { padding-inline: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
