:root {
  --ink: #120c0a;
  --ink-2: #1c1310;
  --parchment: #f3e6d0;
  --parchment-dim: #cbb79a;
  --gold: #d8a750;
  --gold-soft: #f0cd8a;
  --ember: #e0642c;
  --teal: #1f4a48;
  --line: rgba(216, 167, 80, .28);
  --radius: 14px;
  --maxw: 1180px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--parchment);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

section {
  padding: 92px 0;
  position: relative;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

h2 {
  font-size: clamp(30px, 5vw, 52px);
  letter-spacing: .01em;
}

h3 {
  font-size: clamp(21px, 2.4vw, 27px);
}

p {
  margin: 14px 0 0;
  color: var(--parchment-dim);
}

.center {
  text-align: center;
}

.rule {
  width: 96px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 20px auto 0;
}

.icon {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

/* ---------- Badge ---------- */
.badge {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 60;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: rgba(18, 12, 10, .88);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 0 0 rgba(216, 167, 80, .5);
  animation: pulse 2.6s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(216, 167, 80, .45);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(216, 167, 80, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(216, 167, 80, 0);
  }
}

.badge .t1 {
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}

.badge .t2 {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--parchment);
  display: block;
  line-height: 1.2;
}

@media (prefers-reduced-motion: reduce) {
  .badge {
    animation: none;
  }
}

/* ---------- Hero Base ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 130px 0 90px;
  background-image: linear-gradient(180deg, rgba(10, 7, 6, .55) 0%, rgba(10, 7, 6, .85) 100%), url("images/two_of_swords_tarot_landscape_1920x1080.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero h1 {
  font-size: clamp(40px, 6.5vw, 80px);
}

.hero .sub {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--parchment);
}

.form {
  display: flex;
  gap: 12px;
  margin-top: 34px;
  max-width: 520px;
  flex-wrap: wrap;
}

.form input {
  flex: 1 1 240px;
  min-width: 0;
  padding: 15px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(243, 230, 208, .06);
  color: var(--parchment);
  font: inherit;
  font-size: 16px;
}

.form input::placeholder {
  color: rgba(203, 183, 154, .7);
}

.form input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(243, 230, 208, .1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--gold);
  font: inherit;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .18s ease, background .2s ease, color .2s ease, filter .2s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(140deg, #f0cd8a 0%, var(--gold) 50%, #b9822f 100%);
  color: #1a1109;
  font-weight: 600;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(216, 167, 80, 0.25);
}

.btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 24px rgba(216, 167, 80, 0.38);
}

.btn-ghost {
  background: rgba(18, 12, 10, .4);
  color: var(--gold-soft);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  background: rgba(216, 167, 80, .16);
  border-color: var(--gold-soft);
}

.btn-row {
  margin-top: 14px;
  max-width: 520px;
  display: flex;
}

.btn-row .btn {
  width: 100%;
}

.microcopy {
  font-size: 13px;
  letter-spacing: .04em;
  margin-top: 16px;
  color: var(--parchment-dim);
}

.form-note {
  font-size: 13px;
  margin-top: 10px;
  min-height: 19px;
  color: var(--gold-soft);
}

/* ---------- Hero Early Bird Banner ---------- */
.hero-coin-banner {
  margin-top: 36px;
  width: 100%;
  max-width: 780px;
  background: rgba(243, 230, 208, 0.05);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 26px;
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), inset 0 0 24px rgba(216, 167, 80, 0.1);
}

.hero-coin-banner .coin-img-wrap {
  width: 220px;
  height: 150px;
  flex: 0 0 220px;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 22px rgba(216, 167, 80, 0.4), 0 8px 20px rgba(0, 0, 0, 0.5);
  background: #0d0908;
}

.hero-coin-banner .coin-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-coin-banner:hover .coin-img-wrap img {
  transform: scale(1.08) rotate(2deg);
}

.hero-coin-banner .coin-content {
  text-align: left;
}

.hero-coin-banner .coin-eyebrow {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 6px;
  font-weight: 600;
}

.hero-coin-banner .coin-desc {
  font-size: 16px;
  line-height: 1.55;
  color: var(--parchment);
  margin: 0 0 8px;
}

.hero-coin-banner .coin-tagline {
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
  font-weight: 500;
  margin: 0;
  font-style: italic;
}

@media (max-width: 640px) {
  .hero-coin-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px 18px;
    gap: 18px;
  }

  .hero-coin-banner .coin-img-wrap {
    width: 100%;
    max-width: 280px;
    height: 215px;
    flex: 0 0 auto;
  }

  .hero-coin-banner .coin-content {
    text-align: center;
  }
}

/* ---------- PC / Desktop Specific (Hero Centered & Gold Gradient Text) ---------- */
@media (min-width: 769px) {

  /* PC Hero Centering */
  .hero .wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero h1 {
    text-align: center;
    max-width: 18ch;
    margin-left: auto;
    margin-right: auto;
  }

  .hero .sub {
    text-align: center;
    max-width: 48ch;
    margin-left: auto;
    margin-right: auto;
  }

  .hero .form {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero .btn-row {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero .microcopy {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* PC Gold Gradient Typography */
  h1,
  h2,
  h3 {
    background: linear-gradient(135deg, #fffdf0 0%, #f0cd8a 35%, #d8a750 70%, #b9822f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    padding-bottom: 2px;
  }

  .eyebrow {
    background: linear-gradient(135deg, #fff5d6 0%, #f0cd8a 50%, #d8a750 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
  }
}

/* ---------- Mobile Specific ---------- */
@media (max-width: 768px) {
  .hero {
    padding-top: 130px;
    padding-bottom: 30px;
    min-height: auto;
    background-image: linear-gradient(180deg, rgba(10, 7, 6, .5) 0%, rgba(10, 7, 6, .88) 100%), url("images/two_of_swords_tarot_01.jpg");
    background-position: center;
    background-size: cover;
  }

  .hero .wrap {
    text-align: left;
  }

  .hero h1 {
    font-size: clamp(60px, 8.5vw, 48px);
    max-width: 14ch;
    color: var(--gold-soft);
  }

  .hero .sub {
    font-size: 16px;
    max-width: 100%;
  }

  .badge {
    top: auto;
    bottom: max(14px, env(safe-area-inset-bottom, 14px));
    right: 12px;
    left: 12px;
    justify-content: center;
    z-index: 99;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  }

  .form input,
  .btn {
    width: 100%;
    flex: 1 1 100%;
  }

  .editions {
    padding-top: 30px;
  }
}

/* ---------- Editions ---------- */
.editions {
  background: linear-gradient(180deg, #120c0a, #170f0c);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 52px;
}

.card {
  border: 1px solid var(--gold);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(243, 230, 208, .03);
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), 0 0 15px rgba(216, 167, 80, 0.12);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  border-color: var(--gold-soft);
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.5), 0 0 25px rgba(216, 167, 80, 0.35);
}

.card figure {
  margin: 0;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #0d0908;
  /* border-bottom: 1px solid var(--gold); */
}

.card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.card:hover figure img {
  transform: scale(1.04);
}

.card .body {
  padding: 28px;
}

.tag {
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ember);
}

.card.shadow .tag {
  color: var(--gold);
}

ul.features {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

ul.features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--parchment-dim);
}

/* ---------- Details ---------- */
.detail {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 52px;
  align-items: center;
  margin-top: 64px;
}

.detail:first-of-type {
  margin-top: 48px;
}

.detail.reverse .media {
  order: 2;
}

.detail .media {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--gold);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), 0 0 16px rgba(216, 167, 80, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.detail .media:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 22px rgba(216, 167, 80, 0.3);
}

.detail .media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.num {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: .3em;
  color: var(--gold);
}

/* ---------- Guidebook ---------- */
.guide {
  background: radial-gradient(120% 90% at 50% 0%, #20130e, #0e0908);
}

.guide-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: center;
  margin-top: 48px;
}

.guide .media {
  border: 1px solid var(--gold);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), 0 0 16px rgba(216, 167, 80, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.guide .media:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 22px rgba(216, 167, 80, 0.3);
}

.guide-content h2 {
  margin-bottom: 12px;
}

.guide-intro {
  font-size: 16px;
  line-height: 1.6;
  color: var(--parchment);
  margin-top: 10px;
}

.guide-subhead {
  font-size: 15px;
  color: var(--parchment-dim);
  margin-top: 14px;
  margin-bottom: 20px;
}

.reading-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0 24px;
}

.reading-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(243, 230, 208, 0.04);
  border: 1px solid rgba(216, 167, 80, 0.2);
  border-radius: 10px;
  padding: 10px 12px;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.2s ease;
}

.reading-item:hover {
  border-color: var(--gold);
  background: rgba(243, 230, 208, 0.08);
  transform: translateY(-2px);
}

.reading-num {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  flex: 0 0 auto;
}

.reading-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--parchment);
  line-height: 1.25;
}

.guide-spec-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 8px;
  background: linear-gradient(135deg, rgba(216, 167, 80, 0.12), rgba(18, 12, 10, 0.6));
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 12px 18px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold-soft);
  margin-top: 20px;
  text-transform: uppercase;
}

.guide-spec-bar .sep {
  color: var(--gold);
  opacity: 0.6;
}

.guide-addon-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--parchment-dim);
  font-style: italic;
  line-height: 1.5;
  border-left: 2px solid var(--gold);
  padding-left: 12px;
}

@media (max-width: 768px) {
  .reading-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .reading-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .guide-spec-bar {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .guide-spec-bar .sep {
    display: none;
  }
}

/* ---------- Merchandise Section (Icons replaced with Images) ---------- */
.grid-merch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.merch {
  border: 1px solid var(--gold);
  border-radius: 20px;
  padding: 22px;
  background: rgba(243, 230, 208, .03);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 12px rgba(216, 167, 80, 0.1);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.merch:hover {
  border-color: var(--gold-soft);
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45), 0 0 20px rgba(216, 167, 80, 0.28);
}

.merch-thumb {
  width: 100%;
  height: 190px;
  border-radius: 12px;
  overflow: hidden;
  /* border: 1px solid var(--gold); */
  box-shadow: 0 0 14px rgba(216, 167, 80, 0.18);
  background: #0d0908;
  margin-bottom: 18px;
  position: relative;
}

.merch-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.merch:hover .merch-thumb img {
  transform: scale(1.06);
}

.merch h3 {
  margin-top: 4px;
  font-size: 22px;
}

.merch p {
  font-size: 14px;
  margin-top: 8px;
  line-height: 1.55;
}

.free {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #1a1109;
  background: var(--gold);
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.merch.featured {
  background: linear-gradient(160deg, rgba(216, 167, 80, .14), rgba(243, 230, 208, .03));
  border-color: var(--gold);
}

/* ---------- Final CTA / Footer ---------- */
.final {
  background-image: linear-gradient(180deg, rgba(10, 7, 6, .9), rgba(10, 7, 6, .94)), url("images/DSC00190.webp");
  background-size: cover;
  background-position: center;
  text-align: center;
}

.final-desc {
  max-width: 64ch;
  margin: 18px auto 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--parchment);
}

.final-unlock-list {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 22px auto 0;
  max-width: 640px;
  flex-wrap: wrap;
}

.unlock-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(243, 230, 208, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  color: var(--gold-soft);
}

@media (max-width: 600px) {
  .final-unlock-list {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .unlock-item {
    justify-content: center;
    border-radius: 12px;
  }
}

.final .form,
.final .btn-row {
  margin-left: auto;
  margin-right: auto;
}

.final .form {
  justify-content: center;
}

footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  text-align: center;
}

.footer-privacy {
  font-size: 14px;
  color: var(--parchment-dim);
  margin: 0 0 10px;
  letter-spacing: .02em;
}

.footer-copy {
  font-size: 13px;
  color: rgba(203, 183, 154, .65);
  margin: 0;
  letter-spacing: .06em;
}

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 900px) {

  .grid-2,
  .guide-grid,
  .detail {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .detail.reverse .media {
    order: 0;
  }

  .grid-merch {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  section {
    padding: 35px 0;
  }

  .grid-merch {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}