/* The Arya coming-soon page, as a static site. Copied from the game's
   own landing page (src/styles/landing.css on the production branch),
   with only the rules this page uses. */

/* --- Fonts: self-hosted, SIL Open Font License (fonts/OFL-*.txt) ---- */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url('/fonts/cinzel-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url('/fonts/cinzel-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-display: swap;
  font-weight: 400 800;
  src: url('/fonts/eb-garamond-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-display: swap;
  font-weight: 400 800;
  src: url('/fonts/eb-garamond-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

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

html,
body {
  margin: 0;
  background: #0a0603;
}

button,
input {
  font: inherit;
}

[hidden] {
  display: none !important;
}

/* --- The page ----------------------------------------------------------- */
.arya-lp {
  /* Void and vignette. Every line that is not gold is pure white. */
  position: relative;
  min-height: 100vh;
  background-color: #0a0603;
  background-image: radial-gradient(ellipse at 50% 50%, transparent 35%, rgba(0, 0, 0, 0.75) 100%);
  color: #ffffff;
  /* 16 px of gutter at every width. */
  padding-inline: 16px;
  padding-block: 0;
  overflow-x: hidden;
}

.arya-lp__inner {
  max-width: 1120px;
  margin: 0 auto;
}

/* On a desktop the page reads at 125 percent, as a browser zoom would
   show it. Phones and tablets keep their own size. */
@media (min-width: 1200px) {
  .arya-lp {
    zoom: 1.25;
    /* `zoom` scales a viewport unit too: keep the page one screen tall. */
    min-height: 80vh;
  }
}

/* --- Entrance: one staggered reveal on load ------------------------------ */
@keyframes arya-lp-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.arya-lp__reveal {
  animation: arya-lp-rise 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.arya-lp__reveal--1 {
  animation-delay: 90ms;
}
.arya-lp__reveal--2 {
  animation-delay: 180ms;
}
.arya-lp__reveal--3 {
  animation-delay: 270ms;
}

@media (prefers-reduced-motion: reduce) {
  .arya-lp__reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* --- Sections ----------------------------------------------------------- */
.arya-lp__section {
  padding-block: 56px;
  border-top: 1px solid rgba(180, 130, 60, 0.16);
}

.arya-lp__section:first-of-type {
  border-top: 0;
}

.arya-lp__section--closing {
  text-align: center;
}

.arya-lp__eyebrow {
  margin: 0 0 10px;
  font-family: 'Cinzel', 'Cormorant Garamond', serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(217, 165, 79, 0.75);
}

.arya-lp__h2 {
  margin: 0 0 14px;
  font-family: 'Cinzel', 'Cormorant Garamond', serif;
  font-size: clamp(22px, 5vw, 31px);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.25;
  color: #ffffff;
}

.arya-lp__prose {
  margin: 0 0 14px;
  max-width: 68ch;
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.7;
  color: #ffffff;
}

.arya-lp__prose--closing {
  margin: 0 auto 22px;
  text-align: center;
  color: #d9a54f;
}

/* --- Hero --------------------------------------------------------------- */
.arya-lp__hero {
  padding-block: clamp(48px, 11vw, 96px) 40px;
  text-align: center;
}

.arya-lp__wordmark {
  margin: 0 0 26px;
  font-family: 'Cinzel', 'Cormorant Garamond', serif;
  /* Big but never wider than a 360 px phone. */
  font-size: clamp(42px, 12vw, 86px);
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.05;
  /* The gold gradient from the mark, as type. */
  background: linear-gradient(180deg, #fde8b0 0%, #f0ac2a 45%, #a9640f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.arya-lp__coming {
  margin: 0 auto 16px;
  font-family: 'Cinzel', 'Cormorant Garamond', serif;
  font-size: clamp(15px, 3.8vw, 18px);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #d9a54f;
}

/* --- Buttons ------------------------------------------------------------ */
.arya-lp__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 190px;
  padding: 0 26px;
  border-radius: 6px;
  font-family: 'Cinzel', 'Cormorant Garamond', serif;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color 240ms ease,
    background-color 240ms ease,
    box-shadow 240ms ease,
    transform 150ms ease;
}

.arya-lp__btn--primary {
  border: 1px solid #d9a54f;
  background: linear-gradient(180deg, rgba(180, 83, 9, 0.95) 0%, rgba(120, 53, 15, 0.95) 100%);
  color: #ffffff;
}

.arya-lp__btn--primary:hover {
  box-shadow: 0 0 22px rgba(245, 158, 11, 0.32);
  border-color: #fcd34d;
}

.arya-lp__btn:active {
  transform: translateY(1px);
}

.arya-lp__btn:focus-visible {
  outline: 2px solid #fcd34d;
  outline-offset: 3px;
}

/* --- Cards -------------------------------------------------------------- */
.arya-lp__grid {
  display: grid;
  gap: 16px;
  margin-top: 22px;
  /* One column on a phone, and as many as fit after that. */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 268px), 1fr));
}

.arya-lp__card {
  padding: 20px;
  border: 1px solid rgba(180, 130, 60, 0.22);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(26, 18, 10, 0.72) 0%, rgba(18, 12, 6, 0.72) 100%);
  box-shadow:
    inset 0 1px 0 rgba(254, 243, 199, 0.06),
    0 10px 30px rgba(0, 0, 0, 0.45);
  transition:
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.arya-lp__card:hover {
  border-color: rgba(245, 158, 11, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(254, 243, 199, 0.09),
    0 12px 34px rgba(0, 0, 0, 0.5);
}

.arya-lp__card-title {
  margin: 0 0 8px;
  font-family: 'Cinzel', 'Cormorant Garamond', serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: #fcd34d;
}

.arya-lp__card-body {
  margin: 0;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 15.5px;
  line-height: 1.62;
  color: #ffffff;
}

/* --- Screenshots -------------------------------------------------------- */
.arya-lp__shots {
  display: grid;
  gap: 20px;
  margin-top: 22px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.arya-lp__shot {
  margin: 0;
}

.arya-lp__shot img {
  display: block;
  width: 100%;
  height: auto;
  /* The captures are a 1707x773 page; declaring it reserves the box so
     the page does not reflow as they decode. */
  aspect-ratio: 1707 / 773;
  border: 1px solid rgba(180, 130, 60, 0.28);
  border-radius: 6px;
  background: #0a0603;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

.arya-lp__shot figcaption {
  margin-top: 9px;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 14px;
  line-height: 1.55;
  color: #ffffff;
}

/* --- The email bar ---------------------------------------------------------
   One row of address and button. Under 480 px the row stacks and the
   button takes the full width; the input's 17 px keeps a phone from
   zooming on focus. */
.arya-lp__waitlist {
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}

.arya-lp__waitlist-bar {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin: 0;
}

.arya-lp__waitlist-input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(180, 130, 60, 0.45);
  border-radius: 6px;
  background: rgba(10, 6, 3, 0.6);
  color: #ffffff;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 17px;
}

.arya-lp__waitlist-input::placeholder {
  color: rgba(201, 180, 138, 0.6);
}

.arya-lp__waitlist-input:focus-visible {
  outline: 2px solid #fcd34d;
  outline-offset: 2px;
  border-color: #d9a54f;
}

.arya-lp__waitlist-btn {
  flex: 0 0 auto;
  min-width: 150px;
}

.arya-lp__waitlist-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.arya-lp__waitlist-error {
  margin: 10px 0 0;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 15px;
  line-height: 1.5;
  color: #fca5a5;
}

.arya-lp__waitlist-done {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin: 0 auto;
  font-family: 'Cinzel', 'Cormorant Garamond', serif;
  font-size: 17px;
  letter-spacing: 0.06em;
  color: #fcd34d;
}

@media (max-width: 479.98px) {
  .arya-lp__waitlist-bar {
    flex-direction: column;
  }

  .arya-lp__waitlist-btn {
    width: 100%;
  }
}
