/* ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
   GRIMVAULT — site oficial · dark fantasy
   ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ */

:root {
  --bg:        #0c0a0f;
  --bg-2:      #121017;
  --bg-3:      #1a1620;
  --ink:       #ece6da;
  --ink-dim:   #a59c8d;
  --ink-faint: #6f6757;
  --amber:     #e0a73a;
  --amber-hot: #f4c361;
  --blood:     #9b2226;
  --blood-hot: #c1383c;
  --line:      rgba(224, 167, 58, 0.16);
  --shadow:    0 18px 50px rgba(0, 0, 0, 0.55);
  --maxw:      1140px;
  --serif:     "Cinzel", "Spectral", serif;
  --body:      "Spectral", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

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

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

/* ░░ BUTTONS ░░ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .8rem;
  padding: .7em 1.4em;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--lg { font-size: .92rem; padding: .95em 1.9em; }
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: linear-gradient(135deg, var(--amber) 0%, #c98a22 100%);
  color: #1a1206;
  box-shadow: 0 8px 24px rgba(224, 167, 58, .28), inset 0 1px 0 rgba(255,255,255,.3);
}
.btn--primary:hover { box-shadow: 0 12px 30px rgba(224, 167, 58, .42); }

.btn--ghost {
  background: rgba(255,255,255,.03);
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--amber); color: var(--amber-hot); }

.btn--discord {
  background: #5865F2;
  color: #fff;
  box-shadow: 0 8px 24px rgba(88, 101, 242, .3);
}

/* ░░ NAV ░░ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 10, 15, .8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: .85rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav__brand {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: .12em;
  color: var(--ink);
}
.nav__mark { color: var(--amber); }
.nav__links {
  display: flex;
  gap: 1.6rem;
  margin-left: auto;
}
.nav__links a {
  font-family: var(--serif);
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color .2s;
}
.nav__links a:hover { color: var(--amber-hot); }
.nav__login {
  font-family: var(--serif);
  font-size: .82rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color .2s;
}
.nav__login:hover { color: var(--amber-hot); }
.nav__cta { margin-left: .2rem; }

/* ░░ HERO ░░ */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 7rem) 1.5rem clamp(4rem, 9vw, 8rem);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 2rem;
  min-height: 78vh;
}
.hero__glow {
  position: absolute;
  inset: -10% -20% auto auto;
  width: 60%;
  height: 70%;
  background: radial-gradient(circle at 70% 30%, rgba(155, 34, 38, .25), transparent 60%),
              radial-gradient(circle at 80% 60%, rgba(224, 167, 58, .18), transparent 55%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
.hero__content { position: relative; z-index: 2; }
.hero__eyebrow {
  font-family: var(--serif);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .74rem;
  color: var(--amber);
  margin-bottom: 1.2rem;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: .01em;
  margin-bottom: 1.3rem;
  text-shadow: 0 4px 30px rgba(0,0,0,.6);
}
.hero__sub {
  color: var(--ink-dim);
  font-size: 1.1rem;
  max-width: 34ch;
  margin-bottom: 2rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.1rem; }
.hero__note { font-size: .82rem; color: var(--ink-faint); font-style: italic; }

.hero__art {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}
.hero__art-img {
  width: min(100%, 460px);
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.7));
  mask-image: radial-gradient(circle at 50% 40%, #000 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 60%, transparent 100%);
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* ░░ SECTIONS ░░ */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) 1.5rem;
}
.section--dark {
  max-width: none;
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section--dark > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-align: center;
  margin-bottom: .6rem;
}
.section__title::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  margin: .9rem auto 0;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
}
.section__lead {
  text-align: center;
  color: var(--ink-dim);
  max-width: 52ch;
  margin: 0 auto 2.6rem;
}
.section__eyebrow {
  text-align: center;
  font-family: var(--serif);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  color: var(--amber);
  margin-bottom: .5rem;
}

/* ░░ BADGES (status) ░░ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-family: var(--serif);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: .3em 1em;
  border: 1px solid var(--line);
}
.badge--live {
  color: #5ad17a;
  border-color: rgba(90, 209, 122, .45);
  background: rgba(90, 209, 122, .1);
}
.badge--soon {
  color: var(--amber-hot);
  border-color: color-mix(in srgb, var(--amber) 45%, var(--line));
  background: color-mix(in srgb, var(--amber) 12%, transparent);
}
.badge--lg { font-size: .82rem; padding: .5em 1.3em; }

/* botão "em breve" (desabilitado, não-clicável) */
.btn--soon {
  background: rgba(255,255,255,.04);
  border: 1px dashed color-mix(in srgb, var(--amber) 40%, var(--line));
  color: var(--ink-dim);
  cursor: not-allowed;
}
.btn--soon:hover { transform: none; }

/* ░░ GAMES (dois produtos) ░░ */
.games {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
.game-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, var(--bg-3), #0e0c12);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease;
}
.game-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.game-card--featured {
  border-color: rgba(90, 209, 122, .4);
  box-shadow: 0 0 0 1px rgba(90,209,122,.2), 0 18px 50px rgba(0,0,0,.5);
}
.game-card__art {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #0a0810;
  overflow: hidden;
}
.game-card__art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.game-card__art::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,6,12,.85), transparent 55%);
}
.game-card__art--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(224,167,58,.22), transparent 60%),
    linear-gradient(160deg, #1a1620, #0d0b11);
}
.game-card__mark { font-size: 3.4rem; filter: drop-shadow(0 6px 18px rgba(0,0,0,.6)); }
.game-card__body { padding: 1.6rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.game-card__name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.6rem;
  margin: .7rem 0 .5rem;
}
.game-card__desc { color: var(--ink-dim); font-size: .96rem; margin-bottom: 1.3rem; flex: 1; }
.game-card__cta { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
@media (max-width: 760px) {
  .games { grid-template-columns: 1fr; }
}

/* ░░ FEATURES ░░ */
.features {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.feature {
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.7rem 1.4rem;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.feature:hover {
  transform: translateY(-5px);
  border-color: var(--amber);
  box-shadow: var(--shadow);
}
.feature__icon { font-size: 1.9rem; margin-bottom: .8rem; }
.feature h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: .5rem;
}
.feature p { color: var(--ink-dim); font-size: .95rem; }

/* ░░ MODES ░░ */
.modes {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.mode {
  position: relative;
  background: linear-gradient(160deg, var(--bg-3), #0e0c12);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2rem 1.6rem;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.mode:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.mode--featured {
  border-color: rgba(224, 167, 58, .5);
  box-shadow: 0 0 0 1px rgba(224,167,58,.25), 0 18px 50px rgba(0,0,0,.5);
}
.mode--featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blood), var(--amber));
}
.mode__tag {
  display: inline-block;
  font-family: var(--serif);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .25em .9em;
  margin-bottom: 1rem;
}
.mode h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: .6rem;
}
.mode p { color: var(--ink-dim); font-size: .96rem; }

/* ░░ CARDS SHOWCASE ░░ */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  perspective: 1200px;
}
.card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  cursor: pointer;
}
.card:hover {
  transform: translateY(-10px) rotateX(4deg) scale(1.03);
  box-shadow: 0 24px 50px rgba(0,0,0,.65);
}
.card__img {
  width: 100%;
  aspect-ratio: 256 / 356;
  object-fit: cover;
  background: #0a0810;
}
.card__meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: .9rem .8rem .7rem;
  background: linear-gradient(0deg, rgba(8,6,12,.96) 30%, transparent);
  transform: translateY(8%);
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
}
.card:hover .card__meta { opacity: 1; transform: translateY(0); }
.card__name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: .92rem;
  line-height: 1.2;
}
.card__rarity {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: .25rem;
}
.r-Common    { color: #b9c2cc; }
.r-Rare      { color: #5aa9e6; }
.r-Epic      { color: #b07ce8; }
.r-Legendary { color: var(--amber-hot); }
.card__rib {
  position: absolute;
  top: .6rem;
  right: .6rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  box-shadow: 0 0 10px currentColor;
}
.cards__hint {
  text-align: center;
  color: var(--ink-faint);
  font-size: .82rem;
  font-style: italic;
  margin-top: 2rem;
}

/* ░░ DOWNLOAD ░░ */
.steps {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2rem 1.5rem 1.6rem;
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.25rem;
  color: #1a1206;
  background: linear-gradient(135deg, var(--amber-hot), var(--amber));
  box-shadow: 0 6px 18px rgba(224,167,58,.3);
  margin-bottom: 1rem;
}
.step h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: .5rem;
}
.step p { color: var(--ink-dim); font-size: .95rem; }
.step__link { color: var(--amber-hot); text-decoration: underline; text-underline-offset: 2px; }
.step__link:hover { color: var(--amber); }
/* conector entre passos (desktop) */
.step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -1.05rem;
  transform: translateY(-50%);
  color: var(--amber);
  font-size: 1.3rem;
  opacity: .55;
}

.download {
  margin-top: 2.6rem;
  text-align: center;
}
.download__btn { font-size: 1.05rem; padding: 1.05em 2.4em; }
.download__meta {
  margin-top: 1rem;
  color: var(--ink-faint);
  font-size: .84rem;
}

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after {
    content: "↓";
    top: auto; right: 50%;
    bottom: -1.15rem;
    transform: translateX(50%);
  }
}

/* ░░ CTA ░░ */
.section--cta { text-align: center; }
.cta {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
  background: linear-gradient(160deg, var(--bg-3), #0d0b11);
  overflow: hidden;
}
.cta__glow {
  position: absolute;
  inset: auto 0 -50% 0;
  height: 100%;
  background: radial-gradient(ellipse at 50% 100%, rgba(224,167,58,.22), transparent 70%);
  pointer-events: none;
}
.cta__title {
  position: relative;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin-bottom: .9rem;
}
.cta__sub {
  position: relative;
  color: var(--ink-dim);
  max-width: 56ch;
  margin: 0 auto 2rem;
}
.cta__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.4rem;
}

/* ░░ NEWSLETTER ░░ */
.newsletter { position: relative; max-width: 460px; margin: 0 auto; }
.newsletter__label {
  display: block;
  font-size: .85rem;
  color: var(--ink-dim);
  margin-bottom: .7rem;
}
.newsletter__row { display: flex; gap: .6rem; }
.newsletter__input {
  flex: 1;
  background: rgba(0,0,0,.4);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  padding: .7em 1em;
  font-family: var(--body);
  font-size: .95rem;
}
.newsletter__input:focus { outline: none; border-color: var(--amber); }
.newsletter__hint { min-height: 1.2em; margin-top: .7rem; font-size: .82rem; color: var(--amber-hot); }

/* ░░ FOOTER ░░ */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 2.6rem 1.5rem 2rem;
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
}
.footer__brand {
  font-family: var(--serif);
  font-weight: 900;
  letter-spacing: .12em;
}
.footer__tag {
  font-family: var(--body);
  font-weight: 400;
  letter-spacing: normal;
  color: var(--ink-faint);
  font-size: .82rem;
  margin-top: .4rem;
}
.footer__links, .footer__social { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.footer__links a, .footer__social a {
  font-family: var(--serif);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-dim);
  transition: color .2s;
}
.footer__links a:hover, .footer__social a:hover { color: var(--amber-hot); }
.footer__copy {
  max-width: var(--maxw);
  margin: 1.8rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: .78rem;
  text-align: center;
}

/* ░░ RESPONSIVE ░░ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; min-height: auto; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .hero__art { order: -1; }
  .hero__art-img { width: min(72%, 320px); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .modes { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .nav__links { display: none; }
}
@media (max-width: 560px) {
  .nav__login { display: none; }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .features { grid-template-columns: 1fr; }
  .newsletter__row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
}

/* ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
   PÁGINA DE CONTA (Entrar / Criar conta / Verificação)
   ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ */
.auth {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 6vw, 4rem) 1.5rem;
}
.auth__card {
  width: 100%;
  max-width: 440px;
  background: linear-gradient(160deg, var(--bg-3), #0d0b11);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  box-shadow: var(--shadow);
}
.auth__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .3rem;
  background: rgba(0,0,0,.35);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .3rem;
  margin-bottom: 1.8rem;
}
.auth__tab {
  font-family: var(--serif);
  font-size: .82rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-dim);
  background: transparent;
  border: none;
  border-radius: 5px;
  padding: .7em;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.auth__tab.is-active {
  background: linear-gradient(135deg, var(--amber), #c98a22);
  color: #1a1206;
}

.auth__panel { display: none; }
.auth__panel.is-active { display: block; animation: fadein .25s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.auth__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: .3rem;
}
.auth__sub { color: var(--ink-dim); font-size: .92rem; margin-bottom: 1.4rem; }

.field { display: block; margin-bottom: 1rem; }
.field__label {
  display: block;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: .4rem;
}
.field__input {
  width: 100%;
  background: rgba(0,0,0,.4);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  padding: .75em 1em;
  font-family: var(--body);
  font-size: .98rem;
  transition: border-color .2s, box-shadow .2s;
}
.field__input::placeholder { color: var(--ink-faint); }
.field__input:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(224,167,58,.15);
}
.field__hint { display: block; font-size: .76rem; color: var(--ink-faint); margin-top: .35rem; }

.field__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: -.2rem 0 1.2rem;
  font-size: .84rem;
}
.check { display: flex; align-items: flex-start; gap: .5em; color: var(--ink-dim); cursor: pointer; font-size: .84rem; }
.check input { margin-top: .15em; accent-color: var(--amber); }
.check--terms { margin: .4rem 0 1.3rem; }

.auth__submit { width: 100%; margin-top: .4rem; }

.auth__msg { min-height: 1.2em; margin-top: .8rem; font-size: .86rem; text-align: center; }
.auth__msg[data-kind="error"]   { color: var(--blood-hot); }
.auth__msg[data-kind="success"] { color: #5ad17a; }
.auth__msg[data-kind="info"]    { color: var(--amber-hot); }

.auth__switch { margin-top: 1.4rem; text-align: center; font-size: .88rem; color: var(--ink-dim); }
.auth__switch a, .auth__link { color: var(--amber-hot); }
.auth__switch a:hover, .auth__link:hover { text-decoration: underline; }

.auth__verify { text-align: center; }
.auth__verify-icon {
  font-size: 2.6rem;
  width: 76px; height: 76px;
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224,167,58,.22), transparent 70%);
  border: 1px solid var(--line);
}
.auth__verify-actions {
  display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center;
  margin-top: 1.4rem;
}
.auth__hint-small { font-size: .78rem; color: var(--ink-faint); margin-top: 1rem; }

.auth__footnote {
  margin-top: 1.8rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  font-size: .78rem;
  color: var(--ink-faint);
  text-align: center;
}

/* ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
   PÁGINA DE FACÇÕES
   ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ */
.page-hero {
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem clamp(1.5rem, 4vw, 2.5rem);
}
.page-hero__eyebrow {
  font-family: var(--serif);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .74rem;
  color: var(--amber);
  margin-bottom: 1rem;
}
.page-hero__title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}
.page-hero__sub { color: var(--ink-dim); max-width: 56ch; margin: 0 auto; }

.factions {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1rem 1.5rem clamp(3.5rem, 8vw, 6rem);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.faction {
  --fc: var(--amber);
  position: relative;
  display: grid;
  grid-template-columns: 142px 1fr;
  gap: 1.2rem;
  background: linear-gradient(150deg, var(--bg-3), #0d0b11);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease;
}
.faction::before {
  content: "";
  position: absolute;
  inset: 0 0 0 0;
  background: radial-gradient(ellipse at 0% 0%, color-mix(in srgb, var(--fc) 22%, transparent), transparent 55%);
  pointer-events: none;
}
.faction:hover {
  transform: translateY(-5px);
  border-color: var(--fc);
  box-shadow: 0 22px 50px rgba(0,0,0,.55), 0 0 0 1px color-mix(in srgb, var(--fc) 40%, transparent);
}
.faction__portrait {
  position: relative;
  width: 142px;
  height: 188px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--fc) 45%, var(--line));
  background: #0a0810;
}
.faction__portrait img { width: 100%; height: 100%; object-fit: cover; }
.faction__portrait::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, color-mix(in srgb, var(--fc) 30%, transparent), transparent 55%);
}
.faction__body { position: relative; min-width: 0; }
.faction__head { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; }
.faction__name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink);
}
.faction__tribe {
  font-family: var(--serif);
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fc);
  border: 1px solid color-mix(in srgb, var(--fc) 45%, var(--line));
  border-radius: 999px;
  padding: .2em .8em;
}
.faction__champion {
  font-size: .82rem;
  color: var(--ink-faint);
  margin: .25rem 0 .7rem;
}
.faction__champion b { color: var(--ink-dim); font-weight: 600; }
.faction__desc { color: var(--ink-dim); font-size: .92rem; margin-bottom: .9rem; }
.faction__chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.faction__chip {
  font-size: .68rem;
  letter-spacing: .04em;
  color: var(--ink);
  background: color-mix(in srgb, var(--fc) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--fc) 35%, transparent);
  border-radius: 4px;
  padding: .25em .65em;
}

@media (max-width: 880px) {
  .factions { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .faction { grid-template-columns: 1fr; }
  .faction__portrait { width: 100%; height: 220px; }
}
