
:root {
  --night: #02070d;
  --panel: #071421;
  --panel-2: #0b1b2b;
  --gold: #d6a14a;
  --gold-light: #f1d28b;
  --cream: #f3eadc;
  --muted: #b9b1a5;
  --line: rgba(214, 161, 74, .36);
  --danger: #e6a56b;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--night); scroll-behavior: smooth; }
body {
  min-height: 100vh; margin: 0; color: var(--cream);
  background:
    radial-gradient(circle at 75% 0%, rgba(37, 76, 111, .30), transparent 34%),
    linear-gradient(180deg, #071321 0%, var(--night) 72%);
  font-family: Georgia, "Times New Roman", serif;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--max), calc(100% - 28px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px);
  background: rgba(2, 7, 13, .88); border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand-name { color: var(--gold-light); font-size: 1.1rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.brand-tag { display: block; margin-top: 3px; color: var(--gold); font: 700 .64rem/1.2 Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 10px; font: 800 .82rem Arial, sans-serif; }
.nav a { padding: 10px 12px; border-radius: 999px; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: #111; background: var(--gold-light); }
.hero { padding: clamp(52px, 8vw, 104px) 0 54px; text-align: center; }
.kicker { margin: 0 0 12px; color: var(--gold); font: 900 .78rem Arial, sans-serif; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3 { text-wrap: balance; }
h1 { max-width: 900px; margin: 0 auto; color: var(--gold-light); font-size: clamp(2.35rem, 7vw, 5.4rem); line-height: .98; }
.tagline { max-width: 760px; margin: 22px auto 0; color: var(--cream); font-size: clamp(1.05rem, 2vw, 1.42rem); line-height: 1.55; }
.publisher-line { margin-top: 20px; color: var(--muted); font: 800 .76rem Arial, sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.section { padding: 34px 0 70px; }
.section-title { margin: 0 0 10px; color: var(--gold-light); font-size: clamp(1.8rem, 4vw, 3rem); }
.section-copy { max-width: 760px; margin: 0 0 26px; color: var(--muted); font: 1rem/1.6 Arial, sans-serif; }
.book-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.book-card {
  min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(145deg, rgba(11, 27, 43, .96), rgba(3, 11, 19, .98));
  box-shadow: 0 24px 65px rgba(0,0,0,.33);
}
.book-art { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; object-position: center top; background: #000; }
.book-body { padding: 22px; }
.book-label { margin: 0 0 8px; color: var(--gold); font: 900 .72rem Arial, sans-serif; letter-spacing: .17em; text-transform: uppercase; }
.book-title { margin: 0; color: var(--cream); font-size: 1.65rem; line-height: 1.05; }
.book-copy { min-height: 74px; margin: 14px 0 18px; color: var(--muted); font: .96rem/1.55 Arial, sans-serif; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  min-height: 46px; padding: 12px 17px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 10px; color: var(--cream); background: rgba(4, 14, 24, .82);
  font: 900 .84rem Arial, sans-serif; text-decoration: none; cursor: pointer;
}
.btn.primary { border-color: var(--gold-light); color: #111; background: linear-gradient(180deg, #f3d994, #cf9630); }
.btn:hover, .btn:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; transform: translateY(-1px); }
.notice {
  margin-top: 26px; padding: 22px; border: 1px solid var(--line); border-radius: 16px;
  background: rgba(8, 22, 36, .82); color: var(--muted); font: .95rem/1.55 Arial, sans-serif;
}
.notice strong { color: var(--gold-light); }
.product-layout { padding: 44px 0 74px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr); gap: clamp(26px, 6vw, 70px); align-items: start; }
.preview-shell { position: sticky; top: 98px; }
.cover-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cover-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #000; box-shadow: 0 24px 70px rgba(0,0,0,.45); }
.cover-panel img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.cover-caption { padding: 10px; color: var(--muted); background: rgba(4, 12, 21, .94); font: 800 .72rem Arial, sans-serif; text-align: center; letter-spacing: .1em; text-transform: uppercase; }
.product-title { margin: 0; color: var(--gold-light); font-size: clamp(2.15rem, 5vw, 4.4rem); line-height: .98; }
.product-sub { margin: 13px 0 0; color: var(--muted); font: 1rem/1.55 Arial, sans-serif; }
.edition-grid { margin: 26px 0 22px; display: grid; gap: 11px; }
.edition-option {
  width: 100%; padding: 16px; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  border: 1px solid var(--line); border-radius: 13px; color: var(--cream); background: rgba(7, 20, 33, .85); text-align: left; cursor: pointer;
}
.edition-option.active { border-color: var(--gold-light); background: rgba(31, 28, 18, .72); box-shadow: inset 0 0 0 1px rgba(241, 210, 139, .34); }
.edition-icon { font-size: 1.55rem; }
.edition-name { display: block; color: var(--cream); font-weight: 800; }
.edition-note { display: block; margin-top: 3px; color: var(--muted); font: .8rem/1.35 Arial, sans-serif; }
.edition-check { color: var(--gold-light); font: 900 1rem Arial, sans-serif; }
.price-card { margin: 18px 0; padding: 17px; border-left: 3px solid var(--gold); background: rgba(8, 21, 35, .82); }
.price-label { color: var(--gold); font: 900 .7rem Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.price-value { margin-top: 6px; color: var(--cream); font-size: 1.25rem; }
.form-card { margin-top: 24px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(5, 15, 26, .94); }
.form-card h2 { margin: 0 0 8px; color: var(--gold-light); }
.form-intro { margin: 0 0 20px; color: var(--muted); font: .92rem/1.5 Arial, sans-serif; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.field { display: grid; gap: 7px; margin-bottom: 13px; }
.field.full { grid-column: 1 / -1; }
label { color: var(--cream); font: 800 .78rem Arial, sans-serif; }
input, select, textarea {
  width: 100%; padding: 12px 13px; border: 1px solid rgba(241, 210, 139, .28); border-radius: 9px;
  color: var(--cream); background: #06111d; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold-light); box-shadow: 0 0 0 3px rgba(214, 161, 74, .13); }
textarea { min-height: 95px; resize: vertical; }
.policy-box { margin: 16px 0; padding: 15px; border: 1px dashed rgba(214, 161, 74, .45); border-radius: 11px; color: var(--muted); font: .86rem/1.5 Arial, sans-serif; }
.policy-box strong { color: var(--gold-light); }
.summary-panel { display: none; margin-top: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: #06111d; }
.summary-panel.show { display: block; }
.summary-panel pre { margin: 0; color: var(--cream); font: .82rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.status { min-height: 20px; margin-top: 11px; color: var(--gold-light); font: .8rem/1.4 Arial, sans-serif; }
.footer { padding: 35px 0; border-top: 1px solid var(--line); color: var(--muted); text-align: center; font: .78rem/1.6 Arial, sans-serif; }
.footer strong { color: var(--gold-light); }
.confirm-card { max-width: 760px; margin: 70px auto; padding: clamp(24px, 6vw, 54px); border: 1px solid var(--line); border-radius: 20px; background: rgba(5, 16, 28, .95); text-align: center; }
.confirm-card h1 { font-size: clamp(2.2rem, 6vw, 4.6rem); }
.steps { margin: 28px auto 0; max-width: 610px; display: grid; gap: 12px; text-align: left; }
.step { padding: 15px; border: 1px solid rgba(214,161,74,.22); border-radius: 12px; color: var(--muted); font: .94rem/1.5 Arial, sans-serif; }
.step strong { color: var(--gold-light); }
@media (max-width: 860px) {
  .book-grid { grid-template-columns: 1fr; }
  .product-layout { grid-template-columns: 1fr; }
  .preview-shell { position: static; }
  .nav a:not(.nav-main) { display: none; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 18px, var(--max)); }
  .header-inner { min-height: 66px; }
  .brand img { width: 44px; height: 44px; }
  .brand-name { font-size: .92rem; }
  .cover-stage { gap: 8px; }
  .field-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .btn { width: 100%; }
  .edition-option { grid-template-columns: auto 1fr; }
  .edition-check { display: none; }
}


/* EDITION TRAILERS */
.trailer-card {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(3, 10, 18, .96);
  box-shadow: 0 22px 58px rgba(0,0,0,.36);
}
.trailer-card-header {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(214,161,74,.24);
}
.trailer-card-title {
  margin: 0;
  color: var(--gold-light);
  font-size: 1.15rem;
}
.trailer-edition-label {
  color: var(--gold);
  font: 900 .72rem Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: right;
}
.trailer-card video {
  width: 100%;
  max-height: 620px;
  display: block;
  background: #000;
  object-fit: contain;
}
.trailer-help {
  margin: 0;
  padding: 11px 15px 14px;
  color: var(--muted);
  font: .78rem/1.45 Arial, sans-serif;
}
@media (max-width: 560px) {
  .trailer-card-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .trailer-edition-label {
    text-align: left;
  }
}
