:root {
  color-scheme: dark;
  --bg: #090908;
  --panel: rgba(20, 18, 15, 0.78);
  --panel-strong: rgba(10, 9, 8, 0.92);
  --line: rgba(218, 199, 155, 0.2);
  --line-strong: rgba(218, 199, 155, 0.38);
  --text: #f0ebe0;
  --muted: #b8ad9b;
  --dim: #82786a;
  --gold: #c7a96d;
  --gold-soft: #e4cf9d;
  --ash: #2d302e;
  --danger: #7f3028;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(113, 86, 48, 0.18), transparent 34rem),
    linear-gradient(180deg, #080807 0%, #11100e 52%, #070707 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

#book,
#gift,
#editions,
#buy,
#reviews {
  scroll-margin-top: 104px;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(var(--max), calc(100% - 40px));
  margin: 18px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(235, 218, 176, 0.16);
  background: rgba(8, 8, 7, 0.68);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: #f6efe2;
  font-size: 0.9rem;
  font-weight: 700;
}

.brand span span {
  color: var(--gold-soft);
}

.brand-mark {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.46));
  opacity: 0.94;
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.84rem;
}

.nav-links a:hover,
.lang-button:hover {
  color: var(--text);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(235, 218, 176, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.lang-button {
  width: 40px;
  height: 30px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.lang-button.is-active {
  color: #11100d;
  background: var(--gold-soft);
}

.browser-gate {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 7, 6, 0.92);
  backdrop-filter: blur(12px);
}

.browser-gate[hidden] {
  display: none;
}

.browser-gate-panel {
  width: min(560px, 100%);
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(228, 207, 157, 0.32);
  background: #11100d;
}

.browser-gate-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 8vw, 3.3rem);
  font-weight: 500;
  line-height: 1.04;
}

.browser-gate-panel p:not(.section-kicker) {
  margin: 0;
  color: #dfd5c7;
  line-height: 1.58;
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(270px, 370px);
  align-items: end;
  gap: clamp(28px, 5vw, 64px);
  min-height: 100vh;
  padding: 120px max(24px, calc((100vw - var(--max)) / 2)) 7vh;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.88), rgba(5, 5, 5, 0.35) 56%, rgba(5, 5, 5, 0.72)),
    url("./assets/hero-world.png") center / cover;
  filter: saturate(0.88) contrast(1.05);
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 8, 7, 0.05), rgba(8, 8, 7, 0.96)),
    radial-gradient(circle at 48% 40%, transparent 0 16rem, rgba(7, 7, 7, 0.48) 30rem);
}

.hero-content {
  max-width: 720px;
  padding-bottom: 4vh;
}

.eyebrow,
.section-kicker,
.edition-label {
  margin: 0 0 16px;
  color: var(--gold-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 690px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.9rem, 5vw, 4.75rem);
  font-weight: 500;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 34px;
  color: #ddd3c2;
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  line-height: 1.55;
}

.hero-actions,
.buy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-action,
.secondary-action {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.primary-action {
  color: #14110d;
  background: var(--gold-soft);
}

.secondary-action {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-1px);
}

.disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.cover-stage {
  align-self: center;
  justify-self: center;
  width: min(100%, 350px);
  padding-top: 4vh;
}

.cover-frame {
  position: relative;
  padding: 10px;
  border: 1px solid rgba(235, 218, 176, 0.2);
  background: rgba(10, 10, 9, 0.58);
  box-shadow: 0 34px 95px rgba(0, 0, 0, 0.62);
}

.cover-frame::before {
  position: absolute;
  inset: -22px;
  z-index: -1;
  border: 1px solid rgba(235, 218, 176, 0.08);
  content: "";
}

.gift-section,
.immersion-section,
.editions-section,
.buy-section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.gift-section {
  padding: 44px 0 84px;
}

.gift-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.72fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(27, 23, 18, 0.9), rgba(8, 8, 7, 0.96)),
    radial-gradient(circle at top right, rgba(199, 169, 109, 0.16), transparent 26rem),
    radial-gradient(circle at bottom left, rgba(127, 48, 40, 0.12), transparent 22rem);
}

.gift-copy h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.2vw, 3.55rem);
  font-weight: 500;
  line-height: 1.06;
  text-wrap: balance;
}

.gift-copy p:not(.section-kicker) {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.gift-form {
  display: grid;
  gap: 14px;
}

.gift-form label {
  display: grid;
  gap: 8px;
}

.gift-form label span {
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gift-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(228, 207, 157, 0.22);
  border-radius: 0;
  outline: 0;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font: inherit;
}

.gift-form input:focus {
  border-color: rgba(228, 207, 157, 0.54);
  box-shadow: 0 0 0 3px rgba(228, 207, 157, 0.09);
}

.gift-form button {
  width: fit-content;
  border-radius: 0;
  cursor: pointer;
}

.gift-form button:disabled {
  opacity: 0.62;
  cursor: wait;
}

.gift-form-status {
  min-height: 1.45em;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.gift-result {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 2px;
  padding: 18px;
  border: 1px solid rgba(228, 207, 157, 0.24);
  background: rgba(255, 255, 255, 0.035);
}

.gift-result[hidden] {
  display: none;
}

.gift-result p {
  margin: 0 0 2px;
  color: #e5dac9;
  line-height: 1.55;
}

.gift-browser-handoff {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(228, 207, 157, 0.34);
  background: rgba(228, 207, 157, 0.08);
}

.gift-browser-handoff[hidden] {
  display: none;
}

.gift-browser-handoff strong {
  color: #f5e7c5;
  font-size: 1rem;
}

.gift-browser-handoff span {
  color: #e5dac9;
  font-size: 0.94rem;
  line-height: 1.5;
}

.gift-result .primary-action,
.gift-result .secondary-action {
  width: 100%;
}

.immersion-section {
  padding: 112px 0 84px;
}

.immersion-head {
  max-width: 850px;
  margin: 0 auto 58px;
  text-align: center;
}

.immersion-head h2,
.editions-section h2,
.buy-panel h2 {
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.2vw, 3.6rem);
  font-weight: 500;
  line-height: 1.06;
  text-wrap: balance;
}

.immersion-head p:not(.section-kicker),
.guide-copy p:not(.section-kicker),
.world-entry p,
.buy-panel p:not(.section-kicker) {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.guide-entry {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 430px);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  margin-bottom: 82px;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(24, 22, 18, 0.84), rgba(8, 8, 7, 0.94)),
    radial-gradient(circle at top right, rgba(199, 169, 109, 0.12), transparent 28rem);
}

.guide-copy h3 {
  max-width: 670px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.4vw, 4rem);
  font-weight: 500;
  line-height: 1.02;
  text-wrap: balance;
}

.guide-visual,
.world-entry figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.guide-visual::after,
.world-entry figure::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  content: "";
  pointer-events: none;
}

.guide-visual img,
.world-entry img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.world-journey {
  display: grid;
  gap: 34px;
}

.world-entry {
  display: grid;
  grid-template-columns: minmax(250px, 360px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  min-height: 560px;
  padding: clamp(18px, 3vw, 34px);
  border-top: 1px solid var(--line);
}

.world-entry:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 360px);
}

.world-entry:nth-child(even) figure {
  order: 2;
}

.world-entry div {
  max-width: 610px;
}

.world-entry:nth-child(odd) div {
  padding-right: min(4vw, 48px);
}

.world-entry:nth-child(even) div {
  justify-self: end;
  padding-left: min(4vw, 48px);
  text-align: right;
}

.world-entry span {
  display: block;
  margin-bottom: 13px;
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.world-entry h3 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3vw, 3.2rem);
  font-weight: 500;
  line-height: 1.06;
  text-wrap: balance;
}

.editions-section {
  padding: 78px 0 94px;
  border-top: 1px solid var(--line);
}

.section-head {
  display: block;
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 34px;
  text-align: center;
}

.section-head h2 {
  max-width: none;
}

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

.edition-card {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(33, 30, 24, 0.92), rgba(12, 12, 11, 0.96));
}

.edition-card img {
  width: 142px;
  aspect-ratio: 61 / 90;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.edition-card h3 {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.edition-card p:not(.edition-label) {
  color: var(--muted);
  line-height: 1.62;
}

.buy-section {
  padding: 28px 0 110px;
}

.buy-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(2, minmax(150px, 250px));
  gap: clamp(22px, 5vw, 58px);
  align-items: end;
  margin-bottom: 18px;
  padding: clamp(32px, 6vw, 64px);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.96), rgba(8, 8, 7, 0.72)),
    url("./assets/hero-world.png") center / cover;
}

.buy-copy {
  max-width: 760px;
}

.buy-panel h2,
.buy-panel p {
  max-width: 730px;
}

.release-mark {
  justify-self: end;
  width: min(100%, 250px);
  padding: 18px;
  border: 1px solid rgba(228, 207, 157, 0.28);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.release-mark span {
  display: block;
  margin-bottom: 8px;
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.release-mark strong {
  display: block;
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.08;
}

.public-sales-mark strong {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

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

.purchase-card {
  position: relative;
  display: flex;
  min-height: 520px;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(31, 28, 22, 0.96), rgba(8, 8, 7, 0.96)),
    radial-gradient(circle at top left, rgba(127, 48, 40, 0.18), transparent 24rem);
}

.purchase-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold-soft), rgba(127, 48, 40, 0.24));
  content: "";
}

.purchase-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.purchase-card-head p {
  margin: 0;
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.edition-pill {
  display: inline-grid;
  min-width: 46px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(228, 207, 157, 0.34);
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 900;
}

.purchase-card h3 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3.25rem);
  font-weight: 500;
  line-height: 1.02;
  text-wrap: balance;
}

.purchase-card > p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.product-price {
  display: grid;
  gap: 4px;
  margin: 4px 0 0;
  padding: 12px 0;
  border-top: 1px solid rgba(228, 207, 157, 0.2);
  border-bottom: 1px solid rgba(228, 207, 157, 0.2);
}

.product-price strong {
  color: #f4ddb0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1;
}

.product-price span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.clean-list {
  display: grid;
  gap: 12px;
  margin: 0 0 8px;
  padding: 0;
  color: #d9cfbd;
  line-height: 1.52;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 18px;
}

.clean-list li::before {
  position: absolute;
  top: 0.67em;
  left: 0;
  width: 6px;
  height: 6px;
  border: 1px solid var(--gold-soft);
  background: rgba(228, 207, 157, 0.16);
  content: "";
  transform: rotate(45deg);
}

.checkout-link {
  width: fit-content;
  margin-top: auto;
}

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

.delivery-flow article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.delivery-flow span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  line-height: 1;
}

.delivery-flow h3 {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.delivery-flow p,
.release-note p {
  color: var(--muted);
  line-height: 1.65;
}

.download-policy {
  display: grid;
  grid-template-columns: minmax(120px, 0.24fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: center;
  margin-top: 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(228, 207, 157, 0.24);
  background: linear-gradient(135deg, rgba(228, 207, 157, 0.09), rgba(255, 255, 255, 0.025));
}

.download-policy span {
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.download-policy p {
  margin: 0;
  color: #e5dac9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 1.8vw, 1.8rem);
  line-height: 1.32;
}

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

.device-guide article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(28, 25, 20, 0.82), rgba(9, 9, 8, 0.92)),
    radial-gradient(circle at top right, rgba(199, 169, 109, 0.1), transparent 18rem);
}

.device-guide span {
  display: block;
  margin-bottom: 16px;
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.device-guide h3 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2vw, 2.15rem);
  font-weight: 500;
  line-height: 1.08;
}

.device-guide p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.release-note {
  margin-top: 18px;
  padding: 28px;
  border: 1px solid rgba(228, 207, 157, 0.2);
  background:
    linear-gradient(90deg, rgba(127, 48, 40, 0.14), transparent 42%, rgba(199, 169, 109, 0.1)),
    rgba(255, 255, 255, 0.03);
  text-align: center;
}

.release-note p {
  max-width: 780px;
  margin: 0 auto;
  color: #e3d7c4;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.28;
}

.reviews-section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 110px;
}

.reviews-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(24, 21, 17, 0.88), rgba(8, 8, 7, 0.96)),
    radial-gradient(circle at top right, rgba(127, 48, 40, 0.15), transparent 26rem);
}

.reviews-copy h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.2vw, 3.55rem);
  font-weight: 500;
  line-height: 1.06;
  text-wrap: balance;
}

.reviews-copy p:not(.section-kicker) {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.review-form {
  display: grid;
  gap: 14px;
}

.review-form label {
  display: grid;
  gap: 8px;
}

.review-form label span {
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  border: 1px solid rgba(228, 207, 157, 0.22);
  border-radius: 0;
  outline: 0;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font: inherit;
}

.review-form input,
.review-form select {
  min-height: 46px;
  padding: 0 14px;
}

.review-form select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--gold-soft) 50%) calc(100% - 18px) 19px / 6px 6px no-repeat,
    linear-gradient(135deg, var(--gold-soft) 50%, transparent 50%) calc(100% - 12px) 19px / 6px 6px no-repeat,
    rgba(255, 255, 255, 0.045);
}

.review-form textarea {
  min-height: 170px;
  resize: vertical;
  padding: 14px;
  line-height: 1.55;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
  border-color: rgba(228, 207, 157, 0.54);
  box-shadow: 0 0 0 3px rgba(228, 207, 157, 0.09);
}

.review-form button {
  width: fit-content;
  border-radius: 0;
  cursor: pointer;
}

.review-form button:disabled {
  opacity: 0.62;
  cursor: wait;
}

.review-form-status {
  min-height: 1.45em;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.review-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

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

.reviews-more {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(228, 207, 157, 0.2);
  background: rgba(255, 255, 255, 0.03);
}

.reviews-more[hidden] {
  display: none;
}

.reviews-more p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.reviews-more button {
  border-radius: 0;
  cursor: pointer;
}

.reviews-more button:disabled {
  opacity: 0.62;
  cursor: wait;
}

.review-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(28, 25, 20, 0.82), rgba(9, 9, 8, 0.94)),
    radial-gradient(circle at top left, rgba(199, 169, 109, 0.11), transparent 18rem);
}

.review-card-text {
  color: #e6dccb;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.12rem, 1.35vw, 1.45rem);
  line-height: 1.38;
}

.review-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  justify-content: space-between;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(228, 207, 157, 0.16);
}

.review-card-footer strong {
  color: var(--text);
  font-size: 0.9rem;
}

.review-card-footer span {
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.reviews-empty {
  margin: 18px 0 0;
  padding: 24px;
  border: 1px solid rgba(228, 207, 157, 0.2);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.reviews-empty[hidden] {
  display: none;
}

.admin-page {
  background:
    radial-gradient(circle at top left, rgba(127, 48, 40, 0.18), transparent 32rem),
    linear-gradient(180deg, #080807 0%, #14110e 46%, #070707 100%);
}

.admin-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 80px;
}

.admin-hero {
  display: grid;
  gap: 16px;
  max-width: 820px;
  margin-bottom: 28px;
}

.admin-hero .brand {
  width: fit-content;
  margin-bottom: 22px;
}

.admin-hero h1 {
  max-width: 780px;
  margin-bottom: 0;
}

.admin-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

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

.admin-card {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(28, 25, 20, 0.88), rgba(9, 9, 8, 0.96)),
    radial-gradient(circle at top right, rgba(199, 169, 109, 0.08), transparent 18rem);
}

.admin-card-wide {
  grid-column: 1 / -1;
}

.admin-card h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.4vw, 2.5rem);
  font-weight: 500;
  line-height: 1.08;
}

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

.admin-form {
  display: grid;
  gap: 14px;
}

.admin-form label,
.admin-inline-label {
  display: grid;
  gap: 8px;
}

.admin-form label span,
.admin-inline-label span {
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.admin-form input,
.admin-inline-label input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(228, 207, 157, 0.22);
  border-radius: 0;
  outline: 0;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font: inherit;
}

.admin-form input:focus,
.admin-inline-label input:focus {
  border-color: rgba(228, 207, 157, 0.54);
  box-shadow: 0 0 0 3px rgba(228, 207, 157, 0.09);
}

.admin-form button {
  width: fit-content;
  border-radius: 0;
  cursor: pointer;
}

.admin-small-button {
  min-height: 38px;
  padding: 0 13px;
  font-size: 0.78rem;
  cursor: pointer;
}

.admin-manual-link {
  width: fit-content;
  margin-top: 12px;
}

.admin-support-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.admin-support-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(228, 207, 157, 0.18);
  background: rgba(255, 255, 255, 0.035);
}

.admin-support-card strong {
  overflow-wrap: anywhere;
}

.admin-support-proof {
  max-height: 110px;
  overflow: auto;
  margin: 0;
  color: #dfd5c7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.admin-status,
.admin-empty {
  min-height: 1.45em;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.admin-empty[hidden] {
  display: none;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 8px;
}

.admin-stats-single {
  grid-template-columns: minmax(0, 1fr);
}

.admin-stats div {
  padding: 18px;
  border: 1px solid rgba(228, 207, 157, 0.2);
  background: rgba(255, 255, 255, 0.035);
}

.admin-stats span {
  display: block;
  margin-bottom: 8px;
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.admin-stats strong {
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.6vw, 2.4rem);
  font-weight: 500;
  line-height: 1;
}

.admin-stat-note {
  margin: 0 0 18px;
}

.admin-review-list {
  display: grid;
  gap: 14px;
}

.admin-review-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(228, 207, 157, 0.18);
  background: rgba(255, 255, 255, 0.032);
}

.admin-review-text {
  margin: 0;
  color: #e6dccb;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  line-height: 1.42;
}

.admin-review-meta {
  margin: 0;
  color: var(--dim);
  font-size: 0.84rem;
  line-height: 1.45;
}

.admin-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  margin-bottom: 10px;
  color: #f6efe2;
  font-weight: 800;
}

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

.site-footer strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.6vw, 2.65rem);
  font-weight: 500;
  line-height: 1.08;
}

.site-footer small {
  display: block;
  max-width: 760px;
  margin: 0 auto;
  color: var(--dim);
  font-size: 0.9rem;
  line-height: 1.65;
}

.checkout-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: min(420px, calc(100vw - 36px));
  padding: 16px 18px;
  border: 1px solid rgba(228, 207, 157, 0.34);
  background: rgba(12, 11, 9, 0.92);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.48);
  color: #eee2ce;
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  backdrop-filter: blur(18px);
}

.checkout-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.checkout-dialog {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
  background: rgba(4, 4, 3, 0.74);
  backdrop-filter: blur(18px);
}

.checkout-dialog[hidden] {
  display: none;
}

.checkout-dialog-panel {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: clamp(24px, 5vw, 36px);
  border: 1px solid rgba(228, 207, 157, 0.34);
  background:
    linear-gradient(145deg, rgba(24, 21, 17, 0.98), rgba(8, 8, 7, 0.98)),
    radial-gradient(circle at top right, rgba(127, 48, 40, 0.18), transparent 20rem);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.58);
}

.checkout-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(228, 207, 157, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-soft);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.checkout-dialog-panel h2 {
  margin: 0 38px 14px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 7vw, 3rem);
  font-weight: 500;
  line-height: 1.05;
}

.checkout-dialog-panel p:not(.section-kicker) {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.6;
}

.checkout-form {
  display: grid;
  gap: 12px;
}

.checkout-form label {
  display: grid;
  gap: 8px;
}

.checkout-form label[hidden] {
  display: none;
}

.checkout-form label span {
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid rgba(228, 207, 157, 0.24);
  border-radius: 0;
  outline: 0;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font: inherit;
}

.checkout-form input {
  min-height: 48px;
  padding: 0 14px;
}

.checkout-form textarea {
  min-height: 108px;
  resize: vertical;
  padding: 13px 14px;
  line-height: 1.5;
}

.checkout-form input[type="file"] {
  height: auto;
  padding: 10px 12px;
}

.checkout-form input[type="file"]::file-selector-button {
  min-height: 34px;
  margin-right: 12px;
  border: 1px solid rgba(228, 207, 157, 0.24);
  background: rgba(228, 207, 157, 0.12);
  color: var(--gold-soft);
  font: inherit;
  cursor: pointer;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: rgba(228, 207, 157, 0.58);
  box-shadow: 0 0 0 3px rgba(228, 207, 157, 0.09);
}

.checkout-form button {
  width: 100%;
}

.checkout-form button:disabled {
  opacity: 0.62;
  cursor: wait;
}

.checkout-form-status {
  min-height: 1.45em;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.checkout-form-status a {
  color: var(--gold-soft);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkout-recovery,
.checkout-support {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(228, 207, 157, 0.18);
}

.checkout-recovery p,
.checkout-support p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.5;
}

.checkout-wait {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: auto;
  background:
    linear-gradient(rgba(11, 10, 8, 0.9), rgba(11, 10, 8, 0.96)),
    url("./assets/hero-world.png") center / cover;
}

.checkout-wait[hidden] {
  display: none;
}

.checkout-wait-panel {
  width: min(680px, 100%);
  border: 1px solid rgba(228, 207, 157, 0.26);
  padding: clamp(24px, 5vw, 44px);
  background: rgba(11, 10, 8, 0.9);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.checkout-wait-panel h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 7vw, 4rem);
  font-weight: 500;
  line-height: 1.02;
}

.checkout-wait-panel p:not(.section-kicker) {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.62;
}

.checkout-wait-progress {
  height: 4px;
  margin: 24px 0 16px;
  overflow: hidden;
  background: rgba(228, 207, 157, 0.16);
}

.checkout-wait-progress span {
  display: block;
  width: 42%;
  height: 100%;
  background: var(--gold);
  animation: checkoutWaitProgress 1.45s ease-in-out infinite;
}

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

.checkout-wait-back {
  width: 100%;
  margin-top: 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@keyframes checkoutWaitProgress {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(245%);
  }
}

body.checkout-wait-active {
  overflow: hidden;
}

@media (max-width: 620px) {
  .checkout-wait-actions {
    grid-template-columns: 1fr;
  }
}

.mobile-buy-bar {
  display: none;
}

.mobile-buy-bar.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
}

@media (max-width: 860px) {
  body {
    padding-bottom: 86px;
  }

  .topbar {
    right: 12px;
    left: 12px;
    width: auto;
    margin: 12px 0 0;
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .lang-switch {
    flex: 0 0 auto;
  }

  .nav-links {
    display: none;
  }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    overflow: hidden;
    padding: 110px 20px 48px;
  }

  .hero-content {
    max-width: 100%;
    min-width: 0;
  }

  h1 {
    max-width: min(100%, 10ch);
    font-size: clamp(2.35rem, 11vw, 3.45rem);
    overflow-wrap: break-word;
  }

  .hero-copy {
    max-width: 100%;
  }

  .cover-stage {
    width: min(86vw, 320px);
    max-width: 100%;
    padding-top: 0;
  }

  .guide-entry,
  .world-entry,
  .world-entry:nth-child(even),
  .gift-panel,
  .edition-list,
  .buy-panel,
  .purchase-grid,
  .delivery-flow,
  .download-policy,
  .device-guide,
  .reviews-panel,
  .reviews-list {
    grid-template-columns: 1fr;
  }

  .immersion-section {
    padding-top: 72px;
  }

  .immersion-head {
    margin-bottom: 38px;
    text-align: left;
  }

  .guide-entry {
    margin-bottom: 44px;
  }

  .world-entry {
    min-height: auto;
    gap: 20px;
    padding: 30px 0;
  }

  .world-entry:nth-child(even) figure {
    order: 0;
  }

  .world-entry:nth-child(odd) div,
  .world-entry:nth-child(even) div {
    justify-self: start;
    padding-right: 0;
    padding-left: 0;
    text-align: left;
  }

  .world-entry figure,
  .guide-visual {
    width: min(100%, 420px);
    margin: 0 auto;
  }

  .edition-card {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .edition-card img {
    width: 108px;
  }

  .release-mark {
    justify-self: start;
  }

  .purchase-card {
    min-height: auto;
  }

  .checkout-link {
    width: 100%;
  }

  .admin-shell {
    width: min(100% - 28px, var(--max));
    padding-top: 24px;
  }

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

  .admin-card-head {
    display: grid;
  }

  .admin-form button,
  .admin-small-button,
  .admin-manual-link {
    width: 100%;
  }

  .reviews-section {
    padding-bottom: 82px;
  }

  .review-form button {
    width: 100%;
  }

  .gift-form button {
    width: 100%;
  }

  .reviews-more {
    display: grid;
    gap: 12px;
    text-align: center;
  }

  .reviews-more button {
    width: 100%;
  }

  .checkout-toast {
    right: 12px;
    bottom: 84px;
    width: calc(100vw - 24px);
  }

  .mobile-buy-bar {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 45;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 10px 10px 10px 14px;
    border: 1px solid rgba(228, 207, 157, 0.28);
    background: rgba(10, 9, 8, 0.92);
    box-shadow: 0 18px 70px rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(18px);
    transition:
      opacity 160ms ease,
      transform 160ms ease;
  }

  .mobile-buy-bar span {
    min-width: 0;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .mobile-buy-bar a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    color: #14110d;
    background: var(--gold-soft);
    font-size: 0.82rem;
    font-weight: 900;
    white-space: nowrap;
  }
}

@media (max-width: 520px) {
  .topbar {
    left: 12px;
    right: auto;
    width: min(calc(100% - 24px), 366px);
    transform: none;
  }

  .brand {
    font-size: 0.82rem;
  }

  .hero-content,
  .hero-actions {
    width: min(100%, 350px);
    max-width: 350px;
  }

  .hero-actions,
  .buy-actions {
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .download-policy,
  .device-guide article {
    padding: 20px;
  }

  .edition-card {
    grid-template-columns: 1fr;
  }

  .edition-card img {
    width: 158px;
  }

  .mobile-buy-bar {
    grid-template-columns: 1fr;
    right: auto;
    left: 12px;
    width: min(calc(100% - 24px), 366px);
    padding: 10px;
    transform: none;
  }

  .mobile-buy-bar span {
    display: none;
  }
}
