:root {
  --bg: #070403;
  --panel: rgba(16, 10, 6, .9);
  --panel-strong: rgba(31, 20, 11, .97);
  --line: rgba(232, 177, 74, .34);
  --line-strong: rgba(255, 228, 166, .62);
  --gold: #f2cc73;
  --gold-soft: #ffe4a6;
  --ink: #f8eddb;
  --muted: #bcae98;
  --red: #a3352e;
  --orange: #f2962e;
  --glass: rgba(255, 228, 166, .06);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -10%, rgba(163, 53, 46, .36), transparent 460px),
    radial-gradient(circle at 15% 18%, rgba(242, 150, 46, .16), transparent 360px),
    linear-gradient(180deg, #0c0704, #110b07 44%, #060403);
  font-family: Arial, Helvetica, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -4%;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 5, 4, .18), rgba(7, 5, 4, .96)),
    url("https://forgotten2.eu/alpha/themes/forgotten2/assets/img/bg.jpg") center top / cover no-repeat;
  filter: saturate(1.08) contrast(1.08);
  transform: scale(1.02);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(242, 204, 115, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 204, 115, .025) 1px, transparent 1px),
    radial-gradient(circle at 50% 12%, rgba(242, 204, 115, .17), transparent 330px),
    linear-gradient(90deg, rgba(0, 0, 0, .62), transparent 35%, transparent 65%, rgba(0, 0, 0, .62));
  background-size: 54px 54px, 54px 54px, auto, auto;
  animation: backgroundPulse 9s ease-in-out infinite alternate;
}

a { color: inherit; text-decoration: none; }

::selection {
  color: #160b05;
  background: var(--gold-soft);
}

.page {
  width: 100%;
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  backdrop-filter: blur(14px);
  background:
    linear-gradient(90deg, rgba(242, 150, 46, .08), transparent 28%, transparent 72%, rgba(242, 150, 46, .08)),
    linear-gradient(180deg, rgba(7, 5, 4, .92), rgba(7, 5, 4, .62));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .44), inset 0 -1px rgba(255, 228, 166, .08);
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  padding-right: max(18px, calc((100vw - 1180px) / 2));
}

.brand {
  color: var(--gold-soft);
  font-weight: 800;
  text-shadow: 0 0 24px rgba(242, 150, 46, .38);
  position: relative;
  display: inline-grid;
  grid-template-columns: auto 1fr;
  column-gap: 11px;
  align-items: center;
}

.brand::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--orange);
  box-shadow: 0 0 22px var(--orange);
  grid-row: 1 / span 2;
}

.brand span,
.brand small {
  display: block;
}

.brand span {
  font-size: 25px;
  line-height: 1;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.topbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
}

.topbar nav a:hover { color: var(--gold); }

.content {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 42px 0 80px;
}

.hero {
  min-height: 460px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: center;
  position: relative;
}

.topbar nav a {
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #d8c7ad;
  transition: color .2s ease, text-shadow .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.topbar nav a:hover {
  color: var(--gold-soft);
  border-color: rgba(255, 228, 166, .22);
  background: rgba(255, 228, 166, .055);
  text-shadow: 0 0 18px rgba(242, 150, 46, .38);
  transform: translateY(-1px);
}

.hero::after {
  content: "";
  position: absolute;
  right: 26%;
  bottom: 32px;
  width: 420px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(255, 228, 166, .14), transparent 68%);
  filter: blur(18px);
  pointer-events: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: #1b1008;
  background: linear-gradient(180deg, #ffe7b0, #f2962e 58%, #8e3c18);
  font-weight: 800;
  box-shadow: 0 16px 36px rgba(242, 150, 46, .2), inset 0 1px rgba(255, 255, 255, .38);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.ghost-button.subtle {
  color: var(--gold-soft);
  background: rgba(255, 228, 166, .07);
  box-shadow: inset 0 1px rgba(255, 255, 255, .08);
}

.ghost-button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(242, 150, 46, .28), inset 0 1px rgba(255, 255, 255, .42);
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
  font-size: 13px;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: .95;
  color: var(--gold-soft);
  text-shadow: 0 0 38px rgba(242, 150, 46, .28), 0 5px 0 rgba(0, 0, 0, .22);
}

h2 { margin: 28px 0 14px; color: var(--gold-soft); }

p { color: var(--muted); line-height: 1.65; }

.balance-card,
.panel,
.bank-panel,
.login-card,
.package {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 228, 166, .08), transparent 42%),
    linear-gradient(135deg, rgba(163, 53, 46, .16), transparent 48%),
    var(--panel);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .48), inset 0 1px rgba(255, 255, 255, .05);
}

.balance-card,
.login-card {
  position: relative;
  overflow: hidden;
}

.balance-card::before,
.login-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 228, 166, .16), transparent 32%, transparent 68%, rgba(163, 53, 46, .12));
}

.balance-card {
  padding: 26px;
  border-color: var(--line-strong);
  background:
    radial-gradient(circle at top, rgba(242, 150, 46, .18), transparent 180px),
    var(--panel-strong);
}

.secure-badge {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(122, 222, 137, .36);
  border-radius: 999px;
  color: #9df0aa;
  background: rgba(39, 139, 57, .12);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.secure-badge::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 99px;
  background: #85ef98;
  box-shadow: 0 0 12px rgba(133, 239, 152, .82);
}

.balance-card span,
.balance-card small {
  display: block;
  color: var(--muted);
}

.balance-card strong {
  display: block;
  margin: 10px 0;
  color: var(--gold-soft);
  font-size: 34px;
}

.account-snapshot {
  position: relative;
  z-index: 1;
}

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

.account-mini-grid div {
  padding: 13px;
  border: 1px solid rgba(255, 228, 166, .22);
  border-radius: 8px;
  background: rgba(5, 3, 2, .44);
}

.account-mini-grid span {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.account-mini-grid strong {
  margin: 6px 0 0;
  font-size: 17px;
}

.shop-command {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: -10px 0 24px;
  border: 1px solid rgba(255, 228, 166, .28);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 228, 166, .12);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .34);
}

.shop-command div {
  min-height: 112px;
  padding: 18px 18px 18px 64px;
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 228, 166, .075), transparent),
    rgba(9, 6, 4, .84);
}

.shop-command span {
  position: absolute;
  left: 18px;
  top: 19px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 228, 166, .38);
  border-radius: 999px;
  color: #1b1008;
  background: linear-gradient(180deg, #ffe4a6, var(--orange));
  font-weight: 900;
}

.shop-command strong,
.shop-command small {
  display: block;
}

.shop-command strong {
  color: var(--gold-soft);
  font-size: 16px;
}

.shop-command small {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.45;
}

.perks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 26px;
  position: relative;
  z-index: 1;
}

.perks .perk {
  min-height: 96px;
  padding: 18px 18px 18px 58px;
  border: 1px solid rgba(255, 228, 166, .24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 228, 166, .06), transparent),
    rgba(8, 5, 3, .62);
  box-shadow: inset 0 1px rgba(255, 255, 255, .04);
  position: relative;
  overflow: hidden;
}

.perks .perk::before {
  position: absolute;
  left: 18px;
  top: 19px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 228, 166, .38);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--gold-soft);
  background: rgba(255, 228, 166, .08);
  box-shadow: 0 0 18px rgba(242, 150, 46, .12);
  font-size: 15px;
  font-weight: 800;
}

.perks .paypal::before { content: "P"; }
.perks .transfer::before { content: "T"; }
.perks .secure::before { content: "S"; }

.perks span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.perks strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}

.packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.section-anchor {
  scroll-margin-top: 104px;
}

.package {
  padding: 24px;
  display: grid;
  gap: 12px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.featured-package {
  border-color: var(--line-strong);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 228, 166, .18), transparent 180px),
    linear-gradient(180deg, rgba(255, 228, 166, .09), transparent 42%),
    linear-gradient(135deg, rgba(163, 53, 46, .2), transparent 48%),
    var(--panel);
}

.package::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% -70%;
  width: 46%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
  transition: transform .5s ease;
}

.package:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  background:
    radial-gradient(circle at 50% 0%, rgba(242, 150, 46, .16), transparent 170px),
    linear-gradient(180deg, rgba(255, 228, 166, .09), transparent 42%),
    linear-gradient(135deg, rgba(163, 53, 46, .2), transparent 48%),
    var(--panel);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .52), 0 0 44px rgba(242, 150, 46, .18);
}

.package:hover::before {
  transform: translateX(420%) rotate(18deg);
}

.package.is-loading {
  pointer-events: none;
  opacity: .78;
}

.package.is-loading button {
  filter: saturate(.72);
}

.package .coins {
  color: var(--gold-soft);
  font-size: 31px;
  font-weight: 800;
  text-shadow: 0 0 22px rgba(242, 150, 46, .28);
}

.package-ratio {
  width: fit-content;
  margin-top: -7px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 228, 166, .18);
  border-radius: 999px;
  color: #d8c7ad;
  background: rgba(255, 228, 166, .045);
  font-size: 12px;
  font-weight: 800;
}

.value-ribbon {
  position: absolute;
  top: 14px;
  right: -34px;
  width: 132px;
  padding: 6px 0;
  transform: rotate(36deg);
  color: #1b1008;
  background: linear-gradient(180deg, #ffe8b2, #f2962e);
  box-shadow: 0 12px 24px rgba(242, 150, 46, .22);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .06em;
  z-index: 2;
}

.package-badge {
  width: fit-content;
  padding: 5px 9px;
  border: 1px solid rgba(255, 228, 166, .26);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 228, 166, .06);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.package strong {
  color: var(--muted);
}

button {
  min-height: 42px;
  border: 1px solid rgba(255, 228, 166, .48);
  border-radius: 6px;
  color: #1b1008;
  background: linear-gradient(180deg, #ffe4a6, var(--orange) 52%, #97411b);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(242, 150, 46, .2), inset 0 1px rgba(255, 255, 255, .34);
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}

button span,
button small {
  display: block;
}

button small {
  margin-top: 1px;
  color: rgba(27, 16, 8, .72);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
  transform: translateY(-2px);
}

button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(242, 150, 46, .28), inset 0 1px rgba(255, 255, 255, .38);
}

button:active,
.ghost-button:active {
  transform: translateY(1px);
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid rgba(255, 228, 166, .76);
  outline-offset: 3px;
}
button.danger { background: linear-gradient(180deg, #ffb0a9, var(--red)); color: white; }

.panel,
.bank-panel,
.login-card {
  padding: 26px;
  margin-top: 24px;
}

.bank-panel {
  display: grid;
  grid-template-columns: .72fr 1fr;
  gap: 22px;
  align-items: start;
  border-color: var(--line-strong);
  background:
    radial-gradient(circle at 20% 0%, rgba(242, 150, 46, .22), transparent 320px),
    linear-gradient(135deg, rgba(163, 53, 46, .22), rgba(20, 13, 8, .94));
}

.bank-panel h2,
.panel h2 {
  font-size: 30px;
}

.bank-details {
  display: grid;
  gap: 10px;
}

.bank-details div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(6, 4, 3, .54);
}

.bank-details span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.bank-details strong {
  color: var(--gold-soft);
  overflow-wrap: anywhere;
}

.bank-details .iban {
  font-size: 18px;
  letter-spacing: .03em;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  border: 1px solid rgba(255, 228, 166, .28);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 228, 166, .12);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .34);
}

.trust-strip span {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 12px;
  color: var(--gold-soft);
  background:
    linear-gradient(180deg, rgba(255, 228, 166, .07), transparent),
    rgba(9, 6, 4, .78);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.trust-strip span::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-bottom: 6px;
  border-radius: 99px;
  background: var(--orange);
  box-shadow: 0 0 12px rgba(242, 150, 46, .8);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.faq-grid div {
  min-height: 160px;
  padding: 22px;
  border: 1px solid rgba(255, 228, 166, .24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 228, 166, .055), transparent 44%),
    rgba(9, 6, 4, .76);
  box-shadow: inset 0 1px rgba(255, 255, 255, .04);
}

.faq-grid h2 {
  margin-top: 0;
  font-size: 22px;
}

.site-footer {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0 34px;
  border-top: 1px solid rgba(255, 228, 166, .2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--gold-soft);
}

.site-footer span {
  margin-top: 5px;
  font-size: 13px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  font-weight: 800;
}

.site-footer a {
  color: #d8c7ad;
}

.site-footer a:hover {
  color: var(--gold-soft);
}

.site-footer nav span {
  color: #d8c7ad;
}

.site-footer nav span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 99px;
  background: var(--orange);
  box-shadow: 0 0 10px rgba(242, 150, 46, .72);
  vertical-align: middle;
}

.site-footer .trust-item {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 228, 166, .18);
  border-radius: 999px;
  background: rgba(255, 228, 166, .045);
}

.login-card {
  max-width: 480px;
  margin: 60px auto;
  backdrop-filter: blur(10px);
}

label {
  display: block;
  margin: 16px 0 7px;
  color: var(--gold);
  font-size: 13px;
  text-transform: uppercase;
}

input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  background: rgba(5, 4, 3, .72);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

input:focus {
  border-color: var(--line-strong);
  background: rgba(5, 4, 3, .86);
  box-shadow: 0 0 0 3px rgba(242, 150, 46, .14);
}

.login-card button { width: 100%; margin-top: 18px; }

.login-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.notice {
  padding: 14px 16px;
  border: 1px solid rgba(242, 204, 115, .38);
  border-radius: 8px;
  color: var(--gold-soft);
  background: rgba(242, 150, 46, .1);
}

.notice.error {
  border-color: rgba(203, 65, 52, .5);
  background: rgba(163, 53, 46, .16);
}

.toast-message {
  margin: 0 0 22px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 228, 166, .34);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 228, 166, .12), transparent),
    rgba(9, 6, 4, .84);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .32);
}

.toast-message strong,
.toast-message span {
  display: block;
}

.toast-message strong {
  color: var(--gold-soft);
  font-size: 18px;
}

.toast-message span {
  margin-top: 4px;
  color: var(--muted);
}

.toast-message.success {
  border-color: rgba(122, 222, 137, .38);
  background:
    linear-gradient(90deg, rgba(39, 139, 57, .18), transparent),
    rgba(9, 6, 4, .84);
}

.toast-message.warning {
  border-color: rgba(242, 150, 46, .46);
}

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(circle at 50% 28%, rgba(242, 150, 46, .18), transparent 360px),
    rgba(0, 0, 0, .72);
  backdrop-filter: blur(8px);
}

.checkout-modal.is-open {
  display: grid;
}

.checkout-dialog {
  width: min(560px, 100%);
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  position: relative;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 228, 166, .15), transparent 220px),
    linear-gradient(180deg, rgba(255, 228, 166, .08), transparent 42%),
    rgba(12, 8, 5, .96);
  box-shadow: 0 36px 100px rgba(0, 0, 0, .64), inset 0 1px rgba(255, 255, 255, .06);
}

.checkout-dialog h2 {
  margin-top: 4px;
  font-size: 32px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  min-height: 34px;
  padding: 0;
  color: var(--gold-soft);
  background: rgba(255, 228, 166, .06);
}

.checkout-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.checkout-summary div {
  padding: 14px;
  border: 1px solid rgba(255, 228, 166, .22);
  border-radius: 8px;
  background: rgba(5, 3, 2, .52);
}

.checkout-summary span,
.checkout-summary strong {
  display: block;
}

.checkout-summary span {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.checkout-summary strong {
  color: var(--gold-soft);
  overflow-wrap: anywhere;
}

.checkout-note {
  margin: 0;
  font-size: 14px;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10px;
  margin-top: 20px;
}

.modal-actions button {
  width: 100%;
}

.modal-actions .ghost-button.subtle {
  color: var(--gold-soft);
}

.happy-hour-toast {
  border-color: rgba(255, 228, 166, .58);
  background:
    linear-gradient(90deg, rgba(242, 150, 46, .24), transparent),
    rgba(9, 6, 4, .88);
}

.happy-hour-banner {
  min-height: 250px;
  margin: 10px 0 26px;
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(90deg, rgba(8, 5, 3, .92), rgba(8, 5, 3, .52) 52%, rgba(8, 5, 3, .88)),
    radial-gradient(circle at 72% 30%, rgba(255, 228, 166, .34), transparent 230px),
    url("https://forgotten2.eu/alpha/themes/forgotten2/assets/img/bg.jpg") center 38% / cover no-repeat;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .5), 0 0 60px rgba(242, 150, 46, .16);
  animation: happyBannerGlow 2.8s ease-in-out infinite alternate;
}

.happy-hour-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 228, 166, .16) 42%, transparent 60%),
    linear-gradient(rgba(242, 204, 115, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 204, 115, .025) 1px, transparent 1px);
  background-size: auto, 46px 46px, 46px 46px;
  animation: bannerSweep 6s ease-in-out infinite;
}

.happy-hour-banner::after {
  content: "+%";
  position: absolute;
  right: 34px;
  top: 22px;
  color: rgba(255, 228, 166, .11);
  font-size: 122px;
  font-weight: 900;
  line-height: 1;
}

.happy-hour-banner > * {
  position: relative;
  z-index: 1;
}

.happy-hour-banner h2 {
  margin: 0 0 12px;
  color: var(--gold-soft);
  font-size: clamp(38px, 5vw, 68px);
  line-height: .95;
  text-shadow: 0 0 34px rgba(242, 150, 46, .34), 0 5px 0 rgba(0, 0, 0, .28);
}

.happy-hour-banner p {
  max-width: calc(100% - 190px);
  margin-bottom: 0;
  color: #eadcc7;
  font-size: 18px;
}

.happy-hour-banner p strong {
  color: var(--gold-soft);
}

.happy-hour-sparks {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.happy-hour-sparks i {
  position: absolute;
  bottom: -18px;
  width: 5px;
  height: 5px;
  border-radius: 99px;
  background: var(--gold-soft);
  box-shadow: 0 0 16px 5px rgba(242, 150, 46, .46);
  opacity: .68;
  animation: happySparkRise linear infinite;
}

.happy-hour-sparks i:nth-child(1) { left: 10%; animation-duration: 5.8s; animation-delay: -1.4s; }
.happy-hour-sparks i:nth-child(2) { left: 24%; animation-duration: 7.4s; animation-delay: -3.1s; }
.happy-hour-sparks i:nth-child(3) { left: 42%; animation-duration: 6.2s; animation-delay: -2.2s; }
.happy-hour-sparks i:nth-child(4) { left: 63%; animation-duration: 8.2s; animation-delay: -4.8s; }
.happy-hour-sparks i:nth-child(5) { left: 78%; animation-duration: 6.8s; animation-delay: -2.9s; }
.happy-hour-sparks i:nth-child(6) { left: 90%; animation-duration: 7.8s; animation-delay: -5.3s; }

.history-hero {
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: center;
}

.history-stats {
  display: grid;
  gap: 14px;
}

.history-stats div,
.history-panel,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 228, 166, .07), transparent 42%),
    rgba(12, 8, 5, .84);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .04);
}

.history-stats div {
  padding: 22px;
}

.history-stats span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.history-stats strong {
  display: block;
  margin-top: 9px;
  color: var(--gold-soft);
  font-size: 28px;
}

.history-panel,
.empty-state {
  margin-top: 24px;
  padding: 24px;
}

.history-panel-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.history-panel-title h2 {
  margin: 4px 0 0;
}

.history-panel-title > span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.history-table-wrap {
  overflow-x: auto;
}

.history-table {
  min-width: 720px;
}

.history-table td strong {
  color: var(--gold-soft);
}

.status-pill {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(122, 222, 137, .34);
  border-radius: 999px;
  color: #9df0aa;
  background: rgba(39, 139, 57, .1);
  font-size: 12px;
  font-weight: 800;
}

.bonus-line {
  color: #9df0aa;
  font-size: 13px;
  font-weight: 800;
}

.bonus-note {
  display: block;
  margin-top: -4px;
  color: #f3d28a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  opacity: .92;
}

.empty-state {
  max-width: 720px;
}

.empty-state h2 {
  margin-top: 6px;
  font-size: 32px;
}

.empty-state .ghost-button {
  margin-top: 12px;
}

.admin-hero {
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 28px;
  align-items: center;
}

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

.admin-stats div,
.admin-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 228, 166, .07), transparent 42%),
    linear-gradient(135deg, rgba(163, 53, 46, .12), transparent 54%),
    rgba(12, 8, 5, .86);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .04);
}

.admin-stats div {
  min-height: 116px;
  padding: 20px;
}

.admin-stats span,
.admin-card-title > span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.admin-stats strong {
  display: block;
  margin-top: 10px;
  color: var(--gold-soft);
  font-size: 26px;
}

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

.admin-card {
  margin-top: 22px;
  padding: 24px;
}

.admin-card h2 {
  margin-top: 6px;
}

.admin-card-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-card-title h2 {
  margin-bottom: 0;
}

.stack-form {
  display: grid;
  gap: 4px;
}

.admin-package-form {
  margin-bottom: 14px;
}

.happy-hour-form {
  align-items: start;
  grid-template-columns: 140px 110px minmax(250px, 1fr) minmax(300px, 1.15fr) auto;
}

.check-row {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(5, 4, 3, .72);
  color: var(--gold-soft);
}

.check-row input {
  width: auto;
  min-height: 0;
}

.date-control {
  display: grid;
  gap: 8px;
}

.date-control label {
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.date-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.date-control input[type="datetime-local"] {
  width: 100%;
  cursor: pointer;
}

.date-picker-button,
.date-quick-actions button {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(224, 169, 79, .5);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 228, 166, .08), rgba(171, 79, 28, .12)),
    rgba(7, 4, 3, .8);
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
}

.date-picker-button:hover,
.date-quick-actions button:hover {
  border-color: rgba(255, 218, 136, .85);
  color: var(--paper);
}

.date-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.date-quick-actions button {
  min-height: 30px;
  padding: 0 10px;
}

.admin-help {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.table-action-form {
  margin: 0;
}

.small-button {
  min-height: 34px;
  padding: 0 12px;
}

.vip-showcase {
  min-height: 460px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: center;
}

.vip-medallion {
  min-height: 300px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    radial-gradient(circle at center, rgba(255, 228, 166, .24), transparent 160px),
    linear-gradient(180deg, rgba(255, 228, 166, .08), transparent),
    rgba(9, 6, 4, .82);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .48), inset 0 1px rgba(255, 255, 255, .08);
}

.vip-medallion span {
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #1b1008;
  background: linear-gradient(180deg, #fff0be, #f2962e 60%, #8e3c18);
  box-shadow: 0 0 50px rgba(242, 150, 46, .38), inset 0 2px rgba(255, 255, 255, .4);
  font-size: 38px;
  font-weight: 900;
  letter-spacing: .06em;
}

.vip-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.vip-benefits div {
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(255, 228, 166, .24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 228, 166, .06), transparent),
    rgba(9, 6, 4, .74);
  box-shadow: inset 0 1px rgba(255, 255, 255, .04);
}

.vip-benefits h2 {
  margin-top: 0;
  font-size: 22px;
}

.membership-panel {
  border-color: var(--line-strong);
  background:
    radial-gradient(circle at 18% 0%, rgba(242, 150, 46, .2), transparent 320px),
    linear-gradient(135deg, rgba(163, 53, 46, .18), rgba(20, 13, 8, .94));
}

.membership-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.membership-steps div {
  padding: 16px;
  border: 1px solid rgba(255, 228, 166, .22);
  border-radius: 8px;
  background: rgba(5, 3, 2, .48);
}

.membership-steps span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 999px;
  color: #1b1008;
  background: linear-gradient(180deg, #ffe4a6, var(--orange));
  font-weight: 900;
}

.membership-steps strong,
.membership-steps small {
  display: block;
}

.membership-steps strong {
  color: var(--gold-soft);
}

.membership-steps small {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.45;
}

.admin-table {
  margin-top: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--gold);
  font-size: 13px;
  text-transform: uppercase;
}

.inline-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
}

code {
  color: var(--gold-soft);
}

@keyframes backgroundPulse {
  from { opacity: .72; }
  to { opacity: 1; }
}

@keyframes bannerSweep {
  0%, 44% { opacity: .62; transform: translateX(-8%); }
  72%, 100% { opacity: 1; transform: translateX(8%); }
}

@keyframes happyBannerGlow {
  from { box-shadow: 0 34px 90px rgba(0, 0, 0, .5), 0 0 44px rgba(242, 150, 46, .12); }
  to { box-shadow: 0 34px 90px rgba(0, 0, 0, .5), 0 0 82px rgba(242, 150, 46, .32); }
}

@keyframes happySparkRise {
  from { transform: translate3d(0, 0, 0) scale(.8); opacity: 0; }
  16% { opacity: .75; }
  82% { opacity: .34; }
  to { transform: translate3d(26px, -290px, 0) scale(1.45); opacity: 0; }
}

@media (max-width: 760px) {
  .hero,
  .history-hero,
  .admin-hero,
  .happy-hour-banner,
  .vip-showcase,
  .bank-panel,
  .inline-form,
  .admin-grid,
  .membership-steps,
  .perks,
  .shop-command,
  .trust-strip,
  .faq-grid,
  .vip-benefits {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }

  .topbar nav {
    width: 100%;
    gap: 8px;
  }

  .topbar nav a {
    padding-left: 10px;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  h1 {
    font-size: 54px;
  }

  .perks {
    margin-top: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    width: 100%;
    gap: 8px;
  }

  .site-footer nav a,
  .site-footer .trust-item {
    width: 100%;
    justify-content: flex-start;
  }

  .happy-hour-form {
    grid-template-columns: 1fr;
  }

  .date-input-row {
    grid-template-columns: 1fr;
  }

  .happy-hour-banner {
    min-height: 300px;
    padding: 24px;
    align-items: end;
  }

  .happy-hour-banner p {
    max-width: 100%;
    padding-top: 58px;
  }

  .happy-hour-banner .ghost-button {
    width: 100%;
  }

  .login-card {
    margin-top: 28px;
  }

  .login-card h1 {
    font-size: 48px;
  }

  .history-panel-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .checkout-summary,
  .modal-actions,
  .account-mini-grid {
    grid-template-columns: 1fr;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }

  .admin-card-title {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Codex premium marketplace upgrade. */
.shop-section-title {
  margin: 34px 0 18px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 228, 166, .22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 8% 0%, rgba(242, 150, 46, .16), transparent 280px),
    linear-gradient(180deg, rgba(255, 228, 166, .055), transparent),
    rgba(8, 5, 3, .68);
  box-shadow: inset 0 1px rgba(255, 255, 255, .04), 0 22px 60px rgba(0, 0, 0, .28);
}

.shop-section-title h2 {
  margin: 4px 0 8px;
  font-size: clamp(28px, 4vw, 44px);
}

.shop-section-title p:last-child {
  max-width: 780px;
  margin: 0;
}

.package-value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.package-value-grid span {
  min-height: 58px;
  padding: 10px;
  border: 1px solid rgba(255, 228, 166, .18);
  border-radius: 8px;
  color: #d8c7ad;
  background: rgba(255, 228, 166, .045);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .055em;
}

.package-value-grid b {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-soft);
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
}

.bonus-line,
.bonus-note {
  display: block;
  font-size: 13px;
  line-height: 1.5;
}

.bonus-line {
  color: #9df0aa;
  font-weight: 900;
}

.bonus-note {
  color: var(--muted);
}

.happy-hour-countdown {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 228, 166, .28);
  border-radius: 8px;
  background: rgba(6, 4, 3, .48);
  box-shadow: inset 0 1px rgba(255, 255, 255, .06), 0 0 24px rgba(242, 150, 46, .12);
}

.happy-hour-countdown span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.happy-hour-countdown strong {
  color: var(--gold-soft);
  font-size: 18px;
  text-shadow: 0 0 18px rgba(242, 150, 46, .36);
}

.premium-spotlight {
  display: grid;
  grid-template-columns: .9fr 1.1fr auto;
  gap: 20px;
  align-items: center;
  margin-top: 22px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    radial-gradient(circle at 84% 0%, rgba(255, 228, 166, .18), transparent 300px),
    linear-gradient(135deg, rgba(163, 53, 46, .18), rgba(9, 6, 4, .92));
  box-shadow: 0 28px 80px rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .06);
}

.premium-spotlight h2 {
  margin: 4px 0 10px;
  font-size: clamp(28px, 4vw, 42px);
}

.premium-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.premium-benefit-grid span {
  min-height: 100px;
  padding: 14px;
  border: 1px solid rgba(255, 228, 166, .2);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(5, 3, 2, .42);
  line-height: 1.48;
}

.premium-benefit-grid b {
  display: block;
  margin-bottom: 7px;
  color: var(--gold-soft);
}

@media (max-width: 980px) {
  .premium-spotlight {
    grid-template-columns: 1fr;
  }

  .premium-benefit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .package-value-grid {
    grid-template-columns: 1fr;
  }

  .happy-hour-countdown {
    grid-template-columns: 1fr;
    width: 100%;
  }
}
/* Codex premium page rebuild. */
.premium-hero-page {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 30px;
  align-items: center;
  position: relative;
  padding: 34px 0 24px;
}

.premium-hero-page h1 {
  max-width: 820px;
}

.premium-hero-page p {
  max-width: 760px;
}

.premium-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.premium-hero-stats span,
.premium-offer-card,
.premium-benefits-title,
.premium-benefit-cards article,
.premium-detail-panel,
.premium-compare,
.premium-final-cta {
  border: 1px solid rgba(255, 228, 166, .24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 228, 166, .07), transparent 46%),
    rgba(9, 6, 4, .78);
  box-shadow: inset 0 1px rgba(255, 255, 255, .05), 0 24px 70px rgba(0, 0, 0, .34);
}

.premium-hero-stats span {
  min-height: 84px;
  padding: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.premium-hero-stats b {
  display: block;
  margin-bottom: 5px;
  color: var(--gold-soft);
  font-size: 20px;
}

.premium-offer-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-color: var(--line-strong);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 228, 166, .2), transparent 210px),
    linear-gradient(135deg, rgba(163, 53, 46, .2), rgba(10, 6, 4, .94));
}

.premium-offer-card::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% -80%;
  width: 48%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  animation: backgroundPulse 7s ease-in-out infinite alternate;
}

.premium-crown {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 228, 166, .52);
  border-radius: 999px;
  color: #1b1008;
  background: linear-gradient(180deg, #fff0be, #f2962e 58%, #8e3c18);
  box-shadow: 0 0 46px rgba(242, 150, 46, .34), inset 0 2px rgba(255,255,255,.42);
  font-weight: 900;
}

.premium-offer-card h2 {
  margin: 0 0 10px;
  font-size: 54px;
}

.premium-offer-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.premium-offer-card li {
  padding: 11px 12px;
  border: 1px solid rgba(255, 228, 166, .18);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(5, 3, 2, .44);
  line-height: 1.42;
}

.premium-benefits-title {
  margin-top: 18px;
  padding: 24px;
}

.premium-benefits-title h2 {
  max-width: 900px;
  margin: 6px 0 10px;
  font-size: clamp(30px, 4vw, 48px);
}

.premium-benefit-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.premium-benefit-cards article {
  min-height: 235px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.premium-benefit-cards article:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 30px 82px rgba(0,0,0,.42), 0 0 34px rgba(242,150,46,.12);
}

.premium-benefit-cards article > span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 228, 166, .38);
  border-radius: 10px;
  color: var(--gold-soft);
  background: rgba(255, 228, 166, .08);
  font-weight: 900;
}

.premium-benefit-cards h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.premium-benefit-cards p {
  margin: 0;
}

.premium-detail-panel,
.premium-compare,
.premium-final-cta {
  margin-top: 20px;
  padding: 26px;
}

.premium-detail-panel {
  display: grid;
  grid-template-columns: .72fr 1fr;
  gap: 22px;
  align-items: start;
  border-color: var(--line-strong);
  background:
    radial-gradient(circle at 15% 0%, rgba(242,150,46,.18), transparent 320px),
    linear-gradient(135deg, rgba(163,53,46,.16), rgba(12,8,5,.94));
}

.premium-steps,
.premium-compare-grid {
  display: grid;
  gap: 10px;
}

.premium-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.premium-steps div,
.premium-compare-grid span {
  padding: 16px;
  border: 1px solid rgba(255, 228, 166, .2);
  border-radius: 8px;
  background: rgba(5, 3, 2, .46);
}

.premium-steps span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 999px;
  color: #1b1008;
  background: linear-gradient(180deg, #ffe4a6, var(--orange));
  font-weight: 900;
}

.premium-steps strong,
.premium-steps small,
.premium-compare-grid b {
  display: block;
}

.premium-steps strong,
.premium-compare-grid b {
  color: var(--gold-soft);
}

.premium-steps small {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.45;
}

.premium-compare {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 22px;
}

.premium-compare-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.premium-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-color: var(--line-strong);
}

.premium-final-cta h2 {
  margin-top: 0;
}

@media (max-width: 980px) {
  .premium-hero-page,
  .premium-detail-panel,
  .premium-compare,
  .premium-final-cta {
    grid-template-columns: 1fr;
  }

  .premium-benefit-cards,
  .premium-hero-stats,
  .premium-steps,
  .premium-compare-grid {
    grid-template-columns: 1fr;
  }

  .premium-final-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* Codex in-game premium visual polish. */
.premium-crown {
  position: relative;
  overflow: visible;
  width: 122px;
  height: 122px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #2a1205;
  background:
    radial-gradient(circle at 34% 22%, #fff4c7 0 18%, transparent 19%),
    linear-gradient(180deg, #ffefad 0%, #f6b33e 45%, #c95d13 72%, #632506 100%);
  box-shadow:
    0 0 0 1px rgba(255, 231, 166, .52),
    0 0 0 8px rgba(255, 228, 166, .055),
    0 0 64px rgba(242, 150, 46, .42),
    inset 0 2px rgba(255,255,255,.48),
    inset 0 -18px 28px rgba(64, 18, 4, .34);
}

.premium-crown::before,
.premium-crown::after {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px solid rgba(255, 228, 166, .32);
  border-radius: 50%;
  opacity: .8;
}

.premium-crown::after {
  inset: -25px;
  border-color: rgba(242, 150, 46, .18);
  box-shadow: 0 0 42px rgba(242, 150, 46, .18);
}

.premium-crown b,
.premium-crown small {
  position: relative;
  z-index: 1;
  display: block;
  text-align: center;
}

.premium-crown b {
  color: #fff1a8;
  font-size: 42px;
  line-height: 1;
  text-shadow: 0 2px 0 rgba(80, 24, 3, .55), 0 0 18px rgba(255, 236, 164, .6);
}

.premium-crown small {
  margin-top: 8px;
  color: #2a1205;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.premium-benefit-cards-full {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.premium-benefit-cards-full article {
  min-height: 218px;
}

.premium-benefit-cards-full article.major {
  border-color: rgba(255, 228, 166, .4);
  background:
    radial-gradient(circle at 24% 0%, rgba(255, 228, 166, .14), transparent 190px),
    linear-gradient(180deg, rgba(255, 228, 166, .08), transparent 46%),
    rgba(12, 8, 5, .84);
}

.premium-benefit-cards-full article > span {
  border-radius: 50%;
  color: #1b1008;
  background: linear-gradient(180deg, #fff0be, #f2962e 60%, #8e3c18);
  box-shadow: 0 0 24px rgba(242, 150, 46, .22), inset 0 1px rgba(255,255,255,.42);
}

@media (max-width: 1180px) {
  .premium-benefit-cards-full {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .premium-benefit-cards-full {
    grid-template-columns: 1fr;
  }
}
.premium-crown {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
/* Codex final premium offer card polish. */
.premium-offer-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.premium-seal-wrap {
  display: grid;
  place-items: center;
  min-height: 188px;
  margin: -4px -4px 4px;
  border: 1px solid rgba(255, 228, 166, .18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 228, 166, .18), transparent 128px),
    radial-gradient(circle at 50% 50%, rgba(242, 150, 46, .15), transparent 190px),
    linear-gradient(135deg, rgba(255, 228, 166, .08), rgba(0, 0, 0, .08));
  box-shadow: inset 0 1px rgba(255,255,255,.05);
}

.premium-seal-wrap .premium-crown {
  margin: 0;
}

.premium-crown {
  width: 132px;
  height: 132px;
  color: #2a1205;
  background:
    radial-gradient(circle at 31% 24%, rgba(255, 255, 230, .95) 0 17%, transparent 18%),
    radial-gradient(circle at 48% 33%, rgba(255, 243, 177, .7), transparent 32%),
    linear-gradient(180deg, #fff2b5 0%, #f8c14f 42%, #d97016 72%, #6a2507 100%);
  box-shadow:
    0 0 0 1px rgba(255, 232, 166, .64),
    0 0 0 8px rgba(255, 228, 166, .055),
    0 18px 50px rgba(0,0,0,.34),
    0 0 58px rgba(242, 150, 46, .36),
    inset 0 2px rgba(255,255,255,.55),
    inset 0 -20px 32px rgba(70, 20, 3, .34);
}

.premium-crown b {
  transform: translateY(-3px);
  color: #fff2aa;
  font-size: 46px;
  text-shadow: 0 2px 0 rgba(80,24,3,.55), 0 0 18px rgba(255,236,164,.58);
}

.premium-crown small {
  margin-top: 4px;
  color: #fff0ad;
  font-size: 12px;
  letter-spacing: .16em;
  text-shadow: 0 2px 0 rgba(77, 23, 3, .68), 0 0 12px rgba(255, 228, 166, .32);
}

.premium-offer-card > .eyebrow {
  margin-top: 4px;
}

.premium-offer-card h2 {
  margin-bottom: 2px;
  text-shadow: 0 0 26px rgba(242, 150, 46, .25);
}

.premium-offer-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0 2px;
}

.premium-offer-metrics span {
  min-height: 68px;
  padding: 11px 10px;
  border: 1px solid rgba(255, 228, 166, .22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 228, 166, .08), transparent),
    rgba(5, 3, 2, .44);
}

.premium-offer-metrics b,
.premium-offer-metrics small {
  display: block;
  text-align: center;
}

.premium-offer-metrics b {
  color: var(--gold-soft);
  font-size: 20px;
  line-height: 1.1;
}

.premium-offer-metrics small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media (max-width: 520px) {
  .premium-offer-metrics {
    grid-template-columns: 1fr;
  }
}
.premium-ingame-note {
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 228, 166, .24);
  border-radius: 8px;
  color: var(--gold-soft);
  background: rgba(255, 228, 166, .055);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}
/* Codex premium hero purchase path filler. */
.premium-buy-path {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(255, 228, 166, .24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 8% 0%, rgba(242, 150, 46, .15), transparent 260px),
    linear-gradient(180deg, rgba(255, 228, 166, .06), transparent 50%),
    rgba(8, 5, 3, .68);
  box-shadow: inset 0 1px rgba(255,255,255,.05), 0 22px 60px rgba(0,0,0,.28);
}

.premium-buy-path h2 {
  margin: 4px 0 8px;
  font-size: clamp(24px, 3vw, 34px);
}

.premium-buy-path p {
  margin: 0;
}

.premium-buy-path-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.premium-buy-path-steps span {
  min-height: 96px;
  padding: 13px;
  border: 1px solid rgba(255, 228, 166, .2);
  border-radius: 8px;
  background: rgba(5, 3, 2, .46);
}

.premium-buy-path-steps b {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin-bottom: 9px;
  border-radius: 999px;
  color: #1b1008;
  background: linear-gradient(180deg, #ffe4a6, var(--orange));
  font-size: 14px;
}

.premium-buy-path-steps small {
  display: block;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .premium-buy-path,
  .premium-buy-path-steps {
    grid-template-columns: 1fr;
  }
}
/* Codex compact premium offer card. */
.premium-offer-card {
  padding: 20px;
  gap: 10px;
  align-self: start;
}

.premium-seal-wrap {
  min-height: 132px;
  margin: -2px -2px 2px;
}

.premium-seal-wrap .premium-crown,
.premium-crown {
  width: 96px;
  height: 96px;
}

.premium-crown::before {
  inset: -10px;
}

.premium-crown::after {
  inset: -18px;
}

.premium-crown b {
  font-size: 32px;
  transform: translateY(-2px);
}

.premium-crown small {
  margin-top: 2px;
  font-size: 9px;
  letter-spacing: .14em;
}

.premium-offer-card > .eyebrow {
  margin: 2px 0 0;
  font-size: 10px;
}

.premium-offer-card h2 {
  margin: 0;
  font-size: 42px;
  line-height: .95;
}

.premium-offer-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.48;
}

.premium-ingame-note {
  margin-top: 0;
  padding: 9px 10px;
  font-size: 11px;
  line-height: 1.35;
}

.premium-offer-metrics {
  gap: 7px;
  margin: 0;
}

.premium-offer-metrics span {
  min-height: 52px;
  padding: 8px;
}

.premium-offer-metrics b {
  font-size: 17px;
}

.premium-offer-metrics small {
  margin-top: 3px;
  font-size: 8.5px;
}

.premium-offer-card ul {
  gap: 7px;
  margin: 6px 0 8px;
}

.premium-offer-card li {
  padding: 8px 9px;
  font-size: 12.5px;
  line-height: 1.28;
}

.premium-offer-card .ghost-button {
  min-height: 40px;
  padding: 0 14px;
}
/* Codex shop guide and admin template upgrade. */
.guide-hero,
.safe-purchase-panel,
.guide-premium-panel,
.premium-fair-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
  padding: 30px;
  border: 1px solid rgba(255, 228, 166, .22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(242, 150, 46, .16), transparent 340px),
    linear-gradient(135deg, rgba(255, 228, 166, .06), rgba(242, 150, 46, .04)),
    rgba(10, 6, 4, .72);
  box-shadow: inset 0 1px rgba(255,255,255,.05), 0 26px 90px rgba(0,0,0,.34);
}

.guide-hero h1,
.safe-purchase-panel h2,
.guide-premium-panel h2,
.premium-fair-grid h2 {
  margin: 6px 0 12px;
}

.guide-summary-card {
  padding: 22px;
  border: 1px solid rgba(255, 228, 166, .22);
  border-radius: 8px;
  background: rgba(5, 3, 2, .54);
}

.guide-summary-card h2 {
  margin: 16px 0 10px;
  font-size: 28px;
}

.purchase-flow-grid,
.safe-purchase-steps {
  display: grid;
  gap: 14px;
}

.purchase-flow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 28px;
}

.purchase-flow-grid article,
.safe-purchase-steps span,
.premium-fair-grid article {
  border: 1px solid rgba(255, 228, 166, .18);
  border-radius: 8px;
  background: rgba(5, 3, 2, .56);
}

.purchase-flow-grid article {
  padding: 22px;
  min-height: 230px;
}

.purchase-flow-grid article span {
  color: var(--gold-soft);
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 900;
}

.purchase-flow-grid h2 {
  margin: 14px 0 10px;
  font-size: 21px;
}

.safe-purchase-panel {
  grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr) auto;
}

.safe-purchase-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.safe-purchase-steps span {
  min-height: 54px;
  padding: 12px 14px;
  color: var(--muted);
  font-weight: 800;
}

.safe-purchase-steps b {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  border-radius: 999px;
  color: #1b1008;
  background: linear-gradient(180deg, #ffe4a6, var(--orange));
}

.shop-faq-expanded {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.premium-fair-grid {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.premium-fair-grid article {
  padding: 24px;
}

.premium-fair-grid ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 1100px) {
  .purchase-flow-grid,
  .shop-faq-expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .safe-purchase-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .guide-hero,
  .guide-premium-panel,
  .premium-fair-grid,
  .purchase-flow-grid,
  .shop-faq-expanded,
  .safe-purchase-steps {
    grid-template-columns: 1fr;
  }

  .guide-hero,
  .safe-purchase-panel,
  .guide-premium-panel,
  .premium-fair-grid {
    padding: 22px;
  }
}
/* Codex payment help page */
.payment-help-hero,
.payment-help-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .45fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
  padding: 28px;
  border: 1px solid rgba(255, 228, 166, .22);
  border-radius: 8px;
  background: radial-gradient(circle at 18% 0%, rgba(242, 150, 46, .16), transparent 320px), rgba(10, 6, 4, .72);
}

.payment-help-card {
  padding: 22px;
  border: 1px solid rgba(255, 228, 166, .22);
  border-radius: 8px;
  background: rgba(5, 3, 2, .54);
}

.payment-help-card span,
.payment-help-card small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.payment-help-card strong {
  display: block;
  margin: 8px 0;
  color: var(--gold-soft);
  font-size: 28px;
}

.payment-help-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.payment-help-grid article {
  min-height: 250px;
  padding: 22px;
  border: 1px solid rgba(255, 228, 166, .18);
  border-radius: 8px;
  background: rgba(5, 3, 2, .56);
}

.payment-help-grid span {
  color: var(--gold-soft);
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 900;
}

.payment-help-grid h2 {
  margin: 14px 0 10px;
  font-size: 21px;
}

.payment-help-actions {
  display: grid;
  gap: 12px;
}

@media (max-width: 980px) {
  .payment-help-hero,
  .payment-help-panel,
  .payment-help-grid {
    grid-template-columns: 1fr;
  }
}
/* Codex compact shop package placement */
.hero {
  min-height: 340px;
  padding-top: 34px;
  padding-bottom: 34px;
}

.hero h1 {
  max-width: 760px;
}

.hero > div:first-child > p:not(.eyebrow) {
  max-width: 760px;
}

.shop-section-title {
  margin-top: 18px;
  margin-bottom: 14px;
  padding: 18px 22px;
}

.shop-section-title h2 {
  margin: 4px 0 8px;
  font-size: clamp(26px, 3vw, 38px);
}

.section-anchor {
  scroll-margin-top: 88px;
}

.packages {
  margin-bottom: 24px;
}

.shop-command,
.safe-purchase-panel,
.perks {
  margin-top: 18px;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }
}