/* join.bloodrush.top — sign-up / VIP landing page.
 *
 * Visual language lifted from bloodrush.top's coming-soon page: dark red and
 * bone on near-black, Georgia serif for headings, system sans for UI chrome.
 * Structure follows join.kraftingkrowns.com — topbar, hero, sign-up band,
 * VIP band, game section, studio strip, footer, confirmation modal.
 */

:root {
  --red: #b0102a;
  --red-hi: #e23a53;
  --red-dark: #7a0a1e;
  --text: #e8dcdc;
  --bone: #efe6da;
  --muted: #9b8f89;
  --line: rgba(176, 16, 42, .28);
  --ink: #0b0608;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }

body {
  background: radial-gradient(circle at 50% 6%, #1a0a10 0%, #0b0608 62%) no-repeat;
  background-color: var(--ink);
  color: var(--text);
  font-family: Georgia, 'Times New Roman', serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

.display {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: normal;
  color: #fff;
  line-height: 1.12;
}

.eyebrow {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--red-hi);
  margin-bottom: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, var(--red), var(--red-dark));
  color: #fff;
  text-decoration: none;
  border: 0;
  padding: 13px 26px;
  border-radius: 9px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .5);
}
.btn:hover { filter: brightness(1.12); }
.btn:disabled { opacity: .6; cursor: default; }
.btn--wide { min-width: 260px; }

/* ---------------------------------------------------------------- topbar */
.topbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 22px 0;
}
.topbar img { height: 42px; width: auto; }
.topbar__rule {
  width: 100%;
  max-width: 1040px;
  height: 1px;
  margin-top: 16px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* ------------------------------------------------------------------ hero */
.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 22px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__logo {
  max-width: min(440px, 78vw);
  filter: drop-shadow(0 6px 30px rgba(176, 16, 42, .55));
}
.hero__main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 60px);
  width: 100%;
  margin-top: 14px;
}
.hero__char {
  height: clamp(320px, 54vh, 520px);
  width: auto;
  max-width: 44vw;
  flex: 0 0 auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .7)) drop-shadow(0 0 46px rgba(176, 16, 42, .32));
}
.hero__copy { flex: 1 1 440px; max-width: 480px; text-align: left; }
.hero__copy h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 16px; }
.hero__copy p {
  font-size: clamp(1rem, 2.4vw, 1.1rem);
  line-height: 1.65;
  color: #d8cccc;
  margin-bottom: .9em;
}
.hero__copy strong { color: #fff; }

.origin {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 12px 14px;
  background: linear-gradient(180deg, #20141a 0%, #160f14 100%);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 10px;
}
.origin img {
  width: 112px;
  flex: 0 0 auto;
  border-radius: 5px;
  display: block;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .5);
}
.origin .cap {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: .8rem;
  line-height: 1.5;
  color: var(--bone);
  text-align: left;
}
.origin .cap .role {
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .62rem;
  font-weight: 700;
  color: var(--muted);
}

/* ------------------------------------------------------------- CTA bands */
.band { width: 100%; padding: 30px 22px; }
.band--signup {
  background: linear-gradient(180deg, #1c0a10 0%, #150a0e 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band--vip {
  background: radial-gradient(120% 140% at 50% -20%, #3a0d16 0%, #22070c 60%, #150609 100%);
  border-bottom: 1px solid var(--line);
}
.band__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.band__text {
  flex: 1 1 380px;
  font-size: clamp(1.02rem, 2.4vw, 1.18rem);
  line-height: 1.6;
  color: var(--bone);
  text-align: left;
}
.band__text b { color: #fff; }
.band__stack { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; flex: 0 1 auto; }
.band__input {
  min-width: 250px;
  padding: 13px 16px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #120a0e;
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 1rem;
}
.band__input::placeholder { color: #7c6f6f; }
.band__input:focus { outline: 2px solid var(--red-hi); outline-offset: 1px; }
.band__note {
  width: 100%;
  margin-top: 12px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: .82rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: left;
}

/* -------------------------------------------------------------- the game */
.game {
  max-width: 1040px;
  margin: 0 auto;
  padding: 56px 22px 10px;
  text-align: center;
}
.game h2 { font-size: clamp(1.6rem, 4.4vw, 2.3rem); margin-bottom: 18px; }
.prose { max-width: 660px; margin: 0 auto; }
.prose p {
  font-size: clamp(1rem, 2.6vw, 1.12rem);
  line-height: 1.7;
  color: #d8cccc;
  margin-bottom: 1em;
}
.prose a { color: var(--red-hi); text-decoration: none; border-bottom: 1px solid rgba(226, 58, 83, .4); }
.prose a:hover { color: #fff; border-bottom-color: #fff; }
/* A button inside .prose is still a button: .prose a would otherwise paint its
   label red-on-red and give it a link underline. */
.prose a.btn { color: #fff; border-bottom: 0; }

.duel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 760px;
  margin: 34px auto 0;
  text-align: left;
}
.duel div {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #20141a 0%, #160f14 100%);
}
.duel h3 {
  font-family: Georgia, serif;
  font-weight: normal;
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: .45rem;
}
.duel p {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: .92rem;
  line-height: 1.6;
  color: #d0bcbc;
}

/* ---------------------------------------------------------- studio strip */
.studio { max-width: 760px; margin: 52px auto 0; padding: 0 22px; }
.studio__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 20px 22px;
  background: linear-gradient(180deg, #20141a 0%, #160f14 100%);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 12px;
  text-align: left;
}
.studio__inner img {
  width: clamp(240px, 32vw, 300px);
  border-radius: 8px;
  flex: 0 0 auto;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .55);
}
.studio__inner .role {
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: .62rem;
  font-weight: 700;
  color: var(--muted);
}
.studio__inner p { font-size: 1rem; line-height: 1.6; color: var(--bone); }
.studio__inner a { color: var(--red-hi); text-decoration: none; border-bottom: 1px solid rgba(226, 58, 83, .4); }
.studio__inner a:hover { color: #fff; border-bottom-color: #fff; }

/* ---------------------------------------------------------------- footer */
.footer { text-align: center; padding: 54px 22px 44px; }
.footer__social { display: flex; justify-content: center; gap: 18px; margin-bottom: 22px; }
.footer__social a { color: var(--muted); display: inline-flex; }
.footer__social a:hover { color: var(--red-hi); }
.footer__social svg { width: 22px; height: 22px; fill: currentColor; }
.footer__logo { height: 32px; width: auto; opacity: .9; }
.footer__legal {
  margin-top: 14px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: .72rem;
  line-height: 1.6;
  color: #8a7d7d;
}

/* ----------------------------------------------------------------- modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(5, 3, 4, .78);
}
.modal[hidden] { display: none; }
.modal__box {
  max-width: 460px;
  width: 100%;
  padding: 30px 28px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #22141a 0%, #150d11 100%);
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .65);
}
.modal__title { font-size: 1.5rem; margin-bottom: 12px; }
.modal__text { font-size: 1rem; line-height: 1.65; color: #d8cccc; margin-bottom: 22px; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 860px) {
  .hero__main { flex-direction: column; gap: 22px; }
  .hero__char { height: auto; width: min(64vw, 300px); max-width: 64vw; }
  .hero__copy { max-width: 540px; text-align: center; }
  .origin { display: inline-flex; }
  /* Column flex reads flex-basis as a height, so the 380px basis the text uses
     for the desktop row would become 380px of empty space above the form. */
  .band__inner { flex-direction: column; align-items: stretch; }
  .band__text { flex: 0 0 auto; }
  .band__text, .band__note { text-align: center; }
  .band__stack { justify-content: center; }
  .duel { grid-template-columns: 1fr; }
  .studio__inner { flex-direction: column; text-align: center; }
  .studio__inner img { width: min(86vw, 320px); }
}
@media (max-width: 460px) {
  .band__input { min-width: 0; width: 100%; }
  .band__stack { flex-direction: column; }
  .btn--wide { min-width: 0; width: 100%; }
  .origin img { width: 96px; }
}
