/* RowdyLegend get in line page */

:root {
  --red: #E8402A;
  --gold: #F0B429;
  --black: #0D0D0D;
  --panel: #1A1A18;
  --line: #2A2A27;
  --parchment: #F5F0E8;
  --body: #B9B7B2;
  --muted: #8A8883;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--black);
  color: #fff;
  font-family: Montserrat, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); }
a:hover { color: var(--red); }

.sr {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------------------------------------------------------------
   Mobile is the base. The two column wrappers dissolve with
   display:contents so everything sits in one flow, ordered below.
   --------------------------------------------------------------- */

.wrap {
  max-width: 440px;
  margin: 0 auto;
  padding: 16px 22px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo { height: 28px; width: auto; }

/* Only the signup page dissolves its columns and reorders.
   The confirmation page is a plain stack and must never be reordered. */
.wrap.split .col-art,
.wrap.split .col-copy { display: contents; }

.wrap.split .logo      { order: 1; }
.wrap.split h1         { order: 2; }
.wrap.split .subhead   { order: 3; }
.wrap.split .hero-frame { order: 4; }
.wrap.split .thumbs    { order: 5; }
.wrap.split .error     { order: 7; }
.wrap.split form.join  { order: 8; }
.wrap.split .micro     { order: 9; }
.wrap.split .feature   { order: 10; }
.wrap.split .steps     { order: 11; }
.wrap.split .foot      { order: 12; }

h1 {
  margin: 8px 0 0;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(32px, 10vw, 40px);
  line-height: 0.92;
  letter-spacing: 0.5px;
  text-align: center;
  font-weight: 400;
}

.hero-frame {
  position: relative;
  margin-top: 14px;
  width: max-content;
  max-width: 100%;
  line-height: 0;
}

.hero {
  width: 100%;
  max-width: 272px;
  height: auto;
  display: block;
  cursor: zoom-in;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #fff;
  background: rgba(13, 13, 13, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(3px);
}
.nav:hover { background: rgba(13, 13, 13, 0.85); }
.nav.prev { left: 8px; }
.nav.next { right: 8px; }
.nav svg { width: 16px; height: 16px; }

.thumbs {
  margin-top: 8px;
  width: 100%;
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  justify-content: safe center;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}
.thumbs::-webkit-scrollbar { display: none; }

.thumbs button {
  flex: 0 0 auto;
  scroll-snap-align: center;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 3px;
  background: none;
  cursor: pointer;
  line-height: 0;
  opacity: 0.55;
  transition: opacity 0.15s;
}
.thumbs button:hover { opacity: 0.85; }
.thumbs button[aria-current="true"] { border-color: var(--gold); opacity: 1; }
.thumbs img { width: 48px; height: 64px; object-fit: cover; display: block; border-radius: 1px; }

.subhead {
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--body);
  text-align: center;
}
.hi { color: var(--gold); font-weight: 600; }

form.join { margin-top: 10px; width: 100%; display: flex; flex-direction: column; gap: 6px; }
form.join .fields { display: flex; flex-direction: column; gap: 6px; }

form.join input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font-size: 16px;
  font-family: inherit;
  color: var(--black);
  background: var(--parchment);
  border: 2px solid transparent;
  border-radius: 8px;
}
form.join input::placeholder { color: #6B6862; }
form.join input:focus { outline: none; border-color: var(--gold); }

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
  margin-top: 2px;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 25px;
  letter-spacing: 2px;
  color: #fff;
  background: var(--red);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: #d0361f; color: #fff; }

/* ---------------------------------------------------------------
   Mobile only: fields stay folded away until asked for, and the
   button rides the bottom of the screen.
   --------------------------------------------------------------- */

@media (max-width: 899px) {
  body { padding-bottom: 96px; }

  form.join { margin-top: 12px; }
  form.join .fields { display: none; }
  form.join.open .fields { display: flex; }

  .cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    padding: 12px 22px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(13, 13, 13, 0.94);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(10px);
  }
  .cta-bar .btn { margin-top: 0; }
}

.micro {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}

.error {
  margin: 10px 0 0;
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.45;
  color: #fff;
  background: rgba(232, 64, 42, 0.16);
  border-left: 3px solid var(--red);
  border-radius: 4px;
}

.feature {
  margin-top: 30px;
  width: 100%;
  padding: 18px 18px 20px;
  background: var(--panel);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
}
.feature h2 {
  margin: 0;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 1px;
  color: var(--gold);
  font-weight: 400;
}
.feature p { margin: 8px 0 0; font-size: 13px; line-height: 1.55; color: var(--body); }

.steps { margin-top: 30px; width: 100%; }
.steps .kicker {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.4px;
  color: var(--muted);
  text-transform: uppercase;
}
.step { margin-top: 14px; display: flex; gap: 14px; }
.rail { display: flex; flex-direction: column; align-items: center; padding-top: 4px; }
.dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #4A4844; flex-shrink: 0; }
.step:first-of-type .dot { background: var(--red); border-color: var(--red); }
.bar { width: 2px; flex-grow: 1; background: var(--line); }
.step:last-of-type .bar { display: none; }
.step h3 {
  margin: 0;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 1px;
  font-weight: 400;
}
.step p { margin: 5px 0 0; font-size: 13px; line-height: 1.5; color: var(--body); }
.step .col { flex-grow: 1; padding-bottom: 18px; }
.step:last-of-type .col { padding-bottom: 0; }

.foot { margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.foot img { height: 26px; width: auto; }
.foot div { font-size: 10.5px; color: var(--muted); text-align: center; }

/* ---------------------------------------------------------------
   Tap the art to see it full screen.
   --------------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.lb-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 44px;
  height: 44px;
  font-size: 30px;
  line-height: 1;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}

/* ---------------------------------------------------------------
   Confirmation. Always one narrow centred column, never two.
   --------------------------------------------------------------- */

.wrap.single { max-width: 420px; padding-top: 32px; }

.spot {
  margin-top: 18px;
  width: 100%;
  padding: 20px;
  background: var(--panel);
  border-radius: 8px;
  text-align: center;
}
.spot .kicker {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.4px;
  color: var(--muted);
  text-transform: uppercase;
}
.spot .num {
  margin-top: 4px;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 64px;
  line-height: 1;
  color: var(--gold);
}
.hero-sm { margin-top: 22px; width: 100%; max-width: 250px; height: auto; display: block; }
.confirm-body { margin: 22px 0 0; font-size: 14px; line-height: 1.55; color: var(--body); text-align: center; }

/* ---------------------------------------------------------------
   Desktop. Only the signup page becomes two columns.
   --------------------------------------------------------------- */

@media (min-width: 900px) {
  .wrap.split {
    max-width: 1200px;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 56px;
    padding: 44px 40px 90px;
  }

  .wrap.split .col-art {
    display: flex;
    flex: 1 1 520px;
    max-width: 560px;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: sticky;
    top: 32px;
  }

  .wrap.split .col-copy {
    display: flex;
    flex: 1 1 500px;
    min-width: 0;
    max-width: 540px;
    flex-direction: column;
    align-items: flex-start;
  }

  .wrap.split .logo { align-self: center; height: 34px; margin-bottom: 2px; }
  .wrap.split .hero-frame { margin-top: 0; width: 100%; }
  .wrap.split .hero {
    width: 100%;
    max-width: 100%;
    max-height: calc(100vh - 190px);
    object-fit: contain;
    margin: 0 auto;
  }
  .wrap.split .thumbs { margin-top: 0; }
  .wrap.split .thumbs img { width: 60px; height: 80px; }
  .wrap.split .nav { width: 44px; height: 44px; }

  .wrap.split h1 { margin-top: 0; font-size: 58px; text-align: left; }
  .wrap.split .subhead { text-align: left; font-size: 15.5px; }
  .wrap.split .micro { text-align: left; }
  .wrap.split form.join { max-width: 100%; }
  .wrap.split .foot { align-items: flex-start; }
  .wrap.split .foot div { text-align: left; }

  .wrap.single { padding-top: 64px; max-width: 460px; }
  .wrap.single h1 { font-size: 52px; }
  .wrap.single .hero-sm { max-width: 300px; }
}
