/* =========================================================
   CyberStars — Showcase Hero v2
   Mais fiel ao layout e sensação visual da referência
   ========================================================= */

:root {
  --panel-text: #efe8df;
  --muted: rgba(239, 232, 223, 0.78);
  --faint: rgba(239, 232, 223, 0.55);
  --gold: #cfa95a;
  --gold-soft: rgba(207, 169, 90, 0.22);
  --accent-1: #7e1744;
  --accent-2: #3f1735;
  --accent-3: #203055;
  --button-line: rgba(255, 255, 255, 0.18);
  --hero-scale: 0.92;
  --hero-x: 0%;
  --hero-y: 0%;
}

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

html,
body {
  width: 100%;
  height: 100%;
}

body {
  overflow: hidden;
  background: #070811;
  color: var(--panel-text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

button {
  font: inherit;
}

.showcase {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(11, 12, 19, 0.96) 0%, rgba(11, 12, 19, 0.82) 27%, rgba(16, 16, 27, 0.32) 54%, rgba(13, 12, 20, 0.76) 100%),
    radial-gradient(circle at 82% 14%, rgba(238, 190, 112, 0.20), transparent 9%),
    radial-gradient(circle at 85% 52%, rgba(238, 190, 112, 0.11), transparent 8%),
    radial-gradient(circle at 73% 38%, rgba(83, 42, 88, 0.28), transparent 20%),
    linear-gradient(180deg, #242739 0%, #171a27 26%, #0e1018 70%, #090a10 100%);
}

.layer,
.starfield {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.starfield {
  z-index: 1;
  opacity: 0.42;
}

.background-buildings {
  z-index: 2;
  background:
    radial-gradient(circle at 87% 14%, rgba(245, 214, 162, 0.18), transparent 2.2%),
    radial-gradient(circle at 92% 46%, rgba(245, 214, 162, 0.16), transparent 2.4%),
    radial-gradient(circle at 82% 70%, rgba(245, 214, 162, 0.12), transparent 2.6%),
    radial-gradient(circle at 97% 73%, rgba(245, 214, 162, 0.16), transparent 2.4%),
    linear-gradient(to bottom, transparent 0%, transparent 38%, rgba(0, 0, 0, 0.18) 65%, rgba(0, 0, 0, 0.32) 100%);
}

.ambient-lights {
  z-index: 3;
  background:
    radial-gradient(circle at 76% 33%, color-mix(in srgb, var(--accent-1), transparent 60%), transparent 18%),
    radial-gradient(circle at 68% 61%, color-mix(in srgb, var(--accent-2), transparent 58%), transparent 24%),
    radial-gradient(circle at 70% 26%, color-mix(in srgb, var(--accent-3), transparent 75%), transparent 15%);
  filter: blur(12px);
}

.dark-vignette {
  z-index: 4;
  background:
    linear-gradient(to right, rgba(8, 8, 13, 0.94) 0%, rgba(8, 8, 13, 0.80) 26%, rgba(8, 8, 13, 0.18) 55%, rgba(8, 8, 13, 0.72) 100%),
    linear-gradient(to top, rgba(0, 0, 0, 0.56) 0%, transparent 20%);
}

.scene-fog {
  z-index: 5;
  background:
    radial-gradient(ellipse at 54% 100%, rgba(255,255,255,0.10), transparent 25%),
    radial-gradient(ellipse at 70% 98%, rgba(255,255,255,0.07), transparent 24%);
  filter: blur(12px);
}

/* ----------------------------------------------------- */
/* TOPO */
/* ----------------------------------------------------- */
.topbar {
  position: absolute;
  top: 3.8rem;
  left: 3.6rem;
  z-index: 30;
}

.brand-mark {
  display: grid;
  color: var(--gold);
  font-size: 2.85rem;
  line-height: 0.82;
  font-weight: 900;
  letter-spacing: 0.085em;
  text-shadow:
    0 0 22px rgba(207, 169, 90, 0.16),
    0 8px 18px rgba(0, 0, 0, 0.48);
}

/* ----------------------------------------------------- */
/* TEXTO ESQUERDA */
/* ----------------------------------------------------- */
.copy-panel {
  position: absolute;
  left: 3.75rem;
  top: 18.2rem;
  z-index: 30;
  width: 24.5rem;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.copy-panel h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.25rem;
  font-weight: 700;
  line-height: 0.92;
  text-transform: uppercase;
  text-shadow:
    0 14px 34px rgba(0, 0, 0, 0.42);
}

.copy-panel h2 {
  margin-top: 0.55rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(239, 232, 223, 0.92);
  letter-spacing: 0.04em;
}

.hero-description {
  margin-top: 1.95rem;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  gap: 0.7rem;
  margin-top: 2rem;
}

.btn {
  min-width: 14.4rem;
  height: 3rem;
  border-radius: 0.25rem;
  border: 1px solid var(--button-line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--panel-text);
  cursor: pointer;
  text-decoration: none;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #24180b;
  font-weight: 700;
}

.meta-list {
  margin-top: 2rem;
  display: grid;
  gap: 0.72rem;
  list-style: none;
}

.meta-list li {
  display: flex;
  align-items: baseline;
  gap: 0.48rem;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--faint);
  font-size: 0.9rem;
}

.meta-list li span {
  color: var(--gold);
}

.meta-list li strong {
  font-weight: 400;
}

.meta-list li em {
  font-style: normal;
  color: rgba(239, 232, 223, 0.86);
}

/* ----------------------------------------------------- */
/* PERSONAGEM */
/* ----------------------------------------------------- */
.character-stage {
  position: absolute;
  right: 11.4rem;
  bottom: 2.4rem;
  z-index: 20;
  width: 39rem;
  height: 54.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.hero-image {
  position: relative;
  z-index: 4;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform:
    translate(var(--hero-x), var(--hero-y))
    scale(var(--hero-scale));
  transform-origin: bottom center;
  filter:
    drop-shadow(0 0 26px color-mix(in srgb, var(--accent-1), transparent 58%))
    drop-shadow(0 0 42px color-mix(in srgb, var(--accent-2), transparent 62%))
    drop-shadow(0 26px 40px rgba(0, 0, 0, 0.58));
  transition:
    opacity 360ms ease,
    transform 420ms ease,
    filter 420ms ease;
  animation: floatHero 5.6s ease-in-out infinite alternate;
}

.character-aura {
  position: absolute;
  z-index: 2;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  background:
    radial-gradient(circle, color-mix(in srgb, var(--accent-1), transparent 46%), transparent 56%),
    radial-gradient(circle, color-mix(in srgb, var(--accent-2), transparent 50%), transparent 78%);
  filter: blur(28px);
  transform: translate(0, -10rem);
  opacity: 0.82;
}

.ring {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  border: 1px solid rgba(207, 169, 90, 0.08);
}

.ring-1 {
  width: 33rem;
  height: 33rem;
  transform: translate(0, -10rem);
}

.ring-2 {
  width: 27rem;
  height: 27rem;
  transform: translate(0, -7rem);
}

.character-floor-glow {
  position: absolute;
  z-index: 0;
  left: 9%;
  right: 9%;
  bottom: 2%;
  height: 5.2rem;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(255,255,255,0.18), transparent 70%),
    radial-gradient(ellipse at center, color-mix(in srgb, var(--accent-1), transparent 58%), transparent 58%);
  filter: blur(16px);
  opacity: 0.62;
}

.character-floor-smoke {
  position: absolute;
  z-index: 0;
  left: -5%;
  right: -5%;
  bottom: -1rem;
  height: 8rem;
  background:
    radial-gradient(ellipse at 35% 60%, rgba(255,255,255,0.08), transparent 48%),
    radial-gradient(ellipse at 65% 50%, rgba(255,255,255,0.08), transparent 46%);
  filter: blur(18px);
  opacity: 0.55;
}

@keyframes floatHero {
  from { translate: 0 0; }
  to { translate: 0 -0.65rem; }
}

/* ----------------------------------------------------- */
/* CARDS ABAIXO À DIREITA */
/* ----------------------------------------------------- */
.thumb-rail {
  position: absolute;
  right: 2.25rem;
  bottom: 12.25rem;
  z-index: 34;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}

.thumb-card {
  position: relative;
  width: 10.1rem;
  height: 12.9rem;
  overflow: hidden;
  border-radius: 1.15rem;
  border: 1px solid rgba(255,255,255,0.09);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    rgba(8, 8, 13, 0.38);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.30);
  backdrop-filter: blur(10px);
  cursor: pointer;
  opacity: 0.84;
  transition:
    width 280ms ease,
    height 280ms ease,
    transform 220ms ease,
    border-color 220ms ease,
    opacity 220ms ease;
}

.thumb-card img {
  position: absolute;
  right: -14%;
  bottom: -16%;
  width: 92%;
  height: 118%;
  object-fit: contain;
  object-position: bottom right;
  opacity: 0.74;
  filter: saturate(1.06);
  transition:
    opacity 240ms ease,
    transform 240ms ease;
}

.thumb-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.48) 56%, rgba(0,0,0,0.12) 100%),
    radial-gradient(circle at 82% 20%, color-mix(in srgb, var(--accent-1), transparent 62%), transparent 42%);
}

.thumb-card-content {
  position: absolute;
  inset: auto 0.95rem 0.95rem 0.95rem;
  z-index: 2;
  display: grid;
  gap: 0.22rem;
  text-align: left;
}

.thumb-card-content span {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.14rem;
}

.thumb-card-content strong {
  font-size: 0.98rem;
  line-height: 1.08;
}

.thumb-card-content small {
  color: var(--faint);
  font-size: 0.82rem;
}

.thumb-card.is-active {
  width: 12.8rem;
  height: 16.1rem;
  border-color: rgba(207, 169, 90, 0.42);
  opacity: 1;
  box-shadow:
    0 0 0 1px rgba(207, 169, 90, 0.10),
    0 0 34px color-mix(in srgb, var(--accent-1), transparent 76%),
    0 28px 54px rgba(0, 0, 0, 0.34);
}

.thumb-card.is-active img {
  width: 94%;
  height: 120%;
  opacity: 0.92;
}

.thumb-card:hover {
  transform: translateY(-0.35rem);
}

.thumb-card:hover img {
  opacity: 0.94;
}

/* ----------------------------------------------------- */
/* CONTROLES INFERIORES */
/* ----------------------------------------------------- */
.footer-nav {
  position: absolute;
  right: 2.25rem;
  bottom: 3rem;
  z-index: 36;
  width: 40.2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
}

.nav-arrows {
  display: flex;
  gap: 0.72rem;
}

.nav-arrows button {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.23);
  background: rgba(255,255,255,0.03);
  color: var(--panel-text);
  display: grid;
  place-items: center;
  font-size: 2rem;
  cursor: pointer;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.nav-arrows button:hover {
  transform: translateY(-2px);
  border-color: rgba(207, 169, 90, 0.38);
  background: rgba(207, 169, 90, 0.08);
}

.progress-track {
  position: relative;
  height: 2px;
  background: rgba(255,255,255,0.24);
}

.progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 33.333%;
  background: linear-gradient(to right, #d86b8d, #f0c46a);
  box-shadow: 0 0 12px rgba(240, 196, 106, 0.24);
  transition: width 320ms ease;
}

.roman-index {
  min-width: 2.5rem;
  text-align: right;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.95rem;
  color: rgba(239, 232, 223, 0.95);
}

/* ----------------------------------------------------- */
/* TRANSIÇÃO */
/* ----------------------------------------------------- */
.showcase.is-changing .copy-panel {
  animation: fadeSwap 520ms ease;
}

.showcase.is-changing .hero-image {
  opacity: 0;
  transform:
    translate(calc(var(--hero-x) + 1rem), var(--hero-y))
    scale(calc(var(--hero-scale) * 0.95));
}

@keyframes fadeSwap {
  0% { opacity: 1; transform: translateY(0); }
  42% { opacity: 0; transform: translateY(0.45rem); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ----------------------------------------------------- */
/* RESPONSIVO */
/* ----------------------------------------------------- */
@media (max-width: 1280px) {
  .topbar {
    top: 2.4rem;
    left: 2rem;
  }

  .brand-mark {
    font-size: 2.35rem;
  }

  .copy-panel {
    left: 2rem;
    top: 12.6rem;
    width: 21rem;
  }

  .copy-panel h1 {
    font-size: 3.2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    min-width: 100%;
  }

  .character-stage {
    right: 6rem;
    width: 31rem;
    height: 44rem;
  }

  .thumb-rail {
    right: 1.6rem;
    bottom: 10.7rem;
    gap: 0.75rem;
  }

  .thumb-card {
    width: 8.2rem;
    height: 10.8rem;
  }

  .thumb-card.is-active {
    width: 10.7rem;
    height: 13.5rem;
  }

  .footer-nav {
    right: 1.6rem;
    bottom: 1.9rem;
    width: 33rem;
  }
}

@media (max-width: 980px) {
  body {
    overflow-y: auto;
  }

  .showcase {
    height: auto;
    min-height: 100vh;
    padding-bottom: 2rem;
  }

  .topbar,
  .copy-panel,
  .character-stage,
  .thumb-rail,
  .footer-nav {
    position: relative;
  }

  .topbar {
    top: auto;
    left: auto;
    padding: 1.8rem 1.25rem 0;
  }

  .copy-panel {
    left: auto;
    top: auto;
    width: auto;
    padding: 2rem 1.25rem 0;
  }

  .character-stage {
    right: auto;
    bottom: auto;
    width: 100%;
    height: 34rem;
    margin-top: 0.25rem;
  }

  .thumb-rail {
    right: auto;
    bottom: auto;
    padding: 0 1.25rem;
    margin-top: -0.8rem;
    overflow-x: auto;
  }

  .footer-nav {
    right: auto;
    bottom: auto;
    width: auto;
    padding: 1.4rem 1.25rem 0;
  }
}

@media (max-width: 640px) {
  .copy-panel h1 {
    font-size: 2.45rem;
  }

  .character-stage {
    height: 26rem;
  }

  .thumb-card {
    width: 7rem;
    height: 9rem;
  }

  .thumb-card.is-active {
    width: 9.2rem;
    height: 11.5rem;
  }

  .roman-index {
    font-size: 2.2rem;
  }

  .nav-arrows button {
    width: 2.9rem;
    height: 2.9rem;
  }
}
/* Oculta os cartões/personagens laterais */
.thumb-rail {
  display: none !important;
}

/* =========================================================
   AJUSTE MANUAL — POSIÇÃO DO BLOCO ESQUERDO
   Coloque este bloco no FINAL do style.css
   ========================================================= */

.topbar {
  position: absolute !important;
  top: 2rem !important;
  left: 3.6rem !important;
  padding: 0 !important;
}

.copy-panel {
  position: absolute !important;
  left: 3.75rem !important;
  top: 8rem !important;
  width: 24.5rem !important;
  padding: 0 !important;
}
/* Oculta os atributos da classe sem alterar o restante da estrutura */
.meta-list {
  display: none !important;
}