/* ================================================================
   INDIGO - Pre-Order Landing Page Styles  v4
================================================================ */
:root {
  --color-bg:          #080a0f;
  --color-surface:     #0d1117;
  --color-border:      rgba(160, 165, 170, 0.22);
  --color-gold:        #A0A5AA;
  --color-gold-light:  #C8C2B0;
  --color-gold-warm:   #c9a84c;
  --color-gold-dim:    rgba(160, 165, 170, 0.35);
  --color-off-white:   #e8e0d0;
  --color-muted:       rgba(232, 224, 208, 0.52);
  --ease-out-quart:    cubic-bezier(0.25, 1, 0.5, 1);
  --font-display:      'Cinzel Decorative', serif;
  --font-heading:      'Cinzel', serif;
  --font-body:         'EB Garamond', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

@font-face {
  font-family: 'GoudyOldStyleBT-Bold';
  src: url('../Assets/GoudyOldStyleBT-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'TrajanPro-Bold';
  src: url('../Assets/TrajanPro-Bold.otf') format('opentype'),
       url('../Assets/TrajanPro-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  background: #000;
  color: var(--color-off-white);
  font-family: var(--font-body);
  line-height: 1.75;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ----------------------------------------------------------------
   PAGE WRAPPER
---------------------------------------------------------------- */
.po-page {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 4rem 2.5rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ----------------------------------------------------------------
   BACK BUTTON — the only top-of-page navigation on this page
---------------------------------------------------------------- */
.po-back-btn {
  position: fixed;
  top: 0.75rem;
  left: 1rem;
  font-family: 'GoudyOldStyleBT-Bold', Georgia, serif;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s;
  z-index: 999;
}

.po-back-btn:hover {
  opacity: 1;
}

/* ----------------------------------------------------------------
   MAIN — three columns: preorder stack on the left, excerpt in the
   center, warrior portraits lining the right.
---------------------------------------------------------------- */
.po-main {
  display: grid;
  grid-template-columns: 320px 1fr 190px;
  align-items: start;
  gap: 3rem;
  width: 100%;
}

/* ---- Left column: CTA, cover, signup — top to bottom ---- */
.po-preorder-col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.po-cover-wrap {
  position: relative;
}

.po-cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
  box-shadow:
    0 0 0 1px rgba(160,165,170,0.15),
    0 16px 60px rgba(0,0,0,0.9),
    0 0 80px rgba(201,168,76,0.1);
  transition: transform 0.5s var(--ease-out-quart), box-shadow 0.5s;
}

.po-cover:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(160,165,170,0.25),
    0 24px 80px rgba(0,0,0,0.95),
    0 0 100px rgba(201,168,76,0.18);
}

.po-cover-glow {
  position: absolute;
  inset: -24px;
  border-radius: 6px;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.po-form-title {
  font-family: 'TrajanPro-Bold', 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-gold-warm);
  text-align: center;
  margin-bottom: 1.1rem;
}

/* Bordered, glowing frame around the primary CTA — this is the one
   action we want every eye landing on. */
.po-preorder-highlight {
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 6px;
  padding: 1.75rem 1.5rem;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.09), transparent 70%);
}

.po-amazon-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  font-family: 'TrajanPro-Bold', 'Cinzel', serif;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #16130c;
  background: linear-gradient(180deg, #e6c877 0%, var(--color-gold-warm) 100%);
  border: 2px solid rgba(230, 200, 119, 0.9);
  border-radius: 4px;
  padding: 1.1rem 1rem;
  margin-bottom: 0.8rem;
  text-decoration: none;
  animation: amazonPulse 3.2s ease-in-out infinite;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.po-amazon-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

@keyframes amazonPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(201,168,76,0.12), 0 12px 40px rgba(201,168,76,0.22), 0 16px 50px rgba(0,0,0,0.6); }
  50%      { box-shadow: 0 0 0 7px rgba(201,168,76,0.22), 0 12px 46px rgba(201,168,76,0.38), 0 16px 50px rgba(0,0,0,0.6); }
}

.po-amazon-note {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--color-muted);
  text-align: center;
  margin: 0;
}

.po-secondary-divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.3rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-style: italic;
  color: var(--color-muted);
  text-align: center;
}

.po-secondary-divider::before,
.po-secondary-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-gold-dim);
}

/* MailerLite embed fills the card. If the embedded form itself shows a
   default MailerLite heading, that copy lives in the MailerLite dashboard,
   not here — Ryan will need to edit it there. */
.po-signup .ml-embedded {
  width: 100%;
}

/* ---- Excerpt text — center column ---- */
.po-blurb-eyebrow {
  font-family: 'TrajanPro-Bold', 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold-warm);
  margin-bottom: 1.3rem;
  opacity: 0.85;
  white-space: nowrap;
}

.po-story p {
  font-family: var(--font-body);
  font-size: clamp(1.12rem, 1.9vw, 1.35rem);
  line-height: 1.9;
  color: var(--color-off-white);
  opacity: 0.92;
  margin-bottom: 1.3rem;
  text-align: justify;
}

.po-story p:last-child { margin-bottom: 0; }

/* ---- Right column: the three portraits, close together ---- */
.po-warriors {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.po-warrior-img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  border-radius: 2px;
  display: block;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  opacity: 0.92;
}

/* ----------------------------------------------------------------
   FOOTER
---------------------------------------------------------------- */
.po-footer {
  margin-top: 3.5rem;
  text-align: center;
}

.po-footer-logo {
  height: 22px;
  opacity: 0.32;
  filter: grayscale(1);
}

.po-footer-text {
  font-family: var(--font-heading);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: 0.6rem;
  opacity: 0.45;
}

/* ----------------------------------------------------------------
   ANIMATIONS
---------------------------------------------------------------- */
@keyframes poFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.po-anim-1 { animation: poFadeUp 1s var(--ease-out-quart) 0.15s both; }
.po-anim-3 { animation: poFadeUp 1s var(--ease-out-quart) 0.55s both; }

/* ----------------------------------------------------------------
   MOBILE — floats don't wrap well on narrow screens, so stack instead
---------------------------------------------------------------- */
@media (max-width: 768px) {
  .po-page {
    padding: 2.5rem 1.2rem 4rem;
  }

  .po-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .po-preorder-col {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }

  .po-warriors {
    flex-direction: row;
    width: 100%;
    gap: 0.6rem;
  }

  .po-warrior-img {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
  }

  .po-story p {
    font-size: 1.05rem;
    text-align: justify;
  }

  .po-blurb-eyebrow {
    text-align: center;
  }
}
