/* ==========================================================================
   GK TANK · MOLDURA STAGE DO HERO (IDÊNTICA À TELA DE LOGIN DO JOGO 25173)
   Sem keyframes de transform/filter (100% UI-SEM-PISCAR.md)
   ========================================================================== */

.nova-home .hero-section {
  padding-top: 18px !important;
}

.nova-home .cr-hero,
.nova-home .cr-hero.cr-hero-center {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: stretch !important;
  min-height: 676px !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  padding: 0 !important;
  border-radius: 22px !important;
  background: linear-gradient(180deg, #f3c864 0%, #c88f28 50%, #9b6712 100%) !important;
  border: 2px solid #ffe49c !important;
  box-shadow:
    inset 0 0 0 3px #143b75,
    inset 0 0 0 5px #d9a43d,
    0 26px 60px rgba(2, 8, 22, 0.72) !important;
  overflow: hidden !important;
  isolation: isolate;
}

/* Barra superior do Stage ("GK TANK 5.9 · NOVA ERA") igual ao jogo */
.cr-stage-top {
  position: relative;
  z-index: 6;
  flex: none;
  height: 38px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  background: linear-gradient(180deg, #2560b3 0%, #153c76 55%, #0e2954 100%);
  border-bottom: 2px solid #e2b14a;
  box-shadow: inset 0 1px 0 rgba(180, 228, 255, 0.5);
}

.cr-stage-wing {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cr-stage-wing i {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 30%, #8be2ff, #1766c2 65%, #092a5e 100%);
  border: 1.5px solid #f4c862;
  box-shadow: 0 0 6px rgba(103, 212, 255, 0.45);
}

.cr-stage-plaque {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 4px 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #0c2349 0%, #071630 100%);
  border: 1.5px solid #e8b851;
  box-shadow: inset 0 1px 0 rgba(255, 236, 175, 0.35), 0 2px 8px rgba(2, 8, 20, 0.55);
}

.cr-stage-ornament {
  color: #f4c45a;
  font-size: 11px;
  line-height: 1;
}

.cr-stage-title {
  color: #fff6dc;
  font-family: var(--cr-font-ui);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}

/* Arte panorâmica central do Hero — preenche perfeitamente entre topo (38px) e base (32px) */
.cr-hero-art {
  position: absolute !important;
  top: 38px !important;
  bottom: 32px !important;
  left: 6px !important;
  right: 6px !important;
  width: auto !important;
  height: auto !important;
  z-index: 1 !important;
  overflow: hidden;
  border-radius: 4px;
  border: 1.5px solid rgba(242, 190, 84, 0.55);
  background: #0b2247;
}

.cr-hero-art img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
  animation: none !important;
}

/* Sem mancha branca borrada sobre os personagens */
.cr-hero-glow {
  position: absolute !important;
  top: 38px !important;
  bottom: 32px !important;
  left: 6px !important;
  right: 6px !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  border-radius: 0 !important;
  z-index: 2 !important;
  pointer-events: none;
  animation: none !important;
  background:
    radial-gradient(420px 260px at 50% 64%, rgba(8, 25, 56, 0.24), transparent 72%),
    linear-gradient(180deg, rgba(6, 18, 40, 0.08) 0%, rgba(6, 18, 40, 0.0) 40%, rgba(6, 18, 40, 0.22) 100%) !important;
}

.cr-sparks { display: none !important; }

/* Régua numérica inferior do Stage (1 2 3 4 ◆ 6 7 8 9) igual ao jogo */
.cr-stage-bottom {
  position: relative;
  z-index: 6;
  flex: none;
  height: 32px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  align-items: center;
  justify-items: center;
  padding: 0 28px;
  background: linear-gradient(180deg, #17407c 0%, #0d2752 60%, #091b3b 100%);
  border-top: 2px solid #e2b14a;
  box-shadow: inset 0 1px 0 rgba(180, 228, 255, 0.4);
  color: #fff6dc;
  font-family: var(--cr-font-ui);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}

.cr-stage-bottom span {
  position: relative;
  padding-top: 4px;
}

.cr-stage-bottom span::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  width: 2px;
  height: 5px;
  margin-left: -1px;
  background: #e8b851;
}

.cr-stage-diamond {
  font-style: normal;
  color: #67d4ff;
  font-size: 14px;
  text-shadow: 0 0 8px rgba(103, 212, 255, 0.6);
}

@media (max-width: 760px) {
  .nova-home .cr-hero,
  .nova-home .cr-hero.cr-hero-center {
    min-height: 0 !important;
    height: auto !important;
    justify-content: flex-start !important;
    background: linear-gradient(180deg, #13366c 0%, #0a1f42 100%) !important;
  }

  .cr-stage-top {
    order: 1 !important;
    height: 34px;
    padding: 0 12px;
  }

  .cr-stage-plaque {
    padding: 3px 14px;
    gap: 8px;
  }

  .cr-stage-title {
    font-size: 10.5px;
    letter-spacing: 0.1em;
  }

  .cr-hero-art {
    order: 2 !important;
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: calc(100% - 12px) !important;
    height: auto !important;
    aspect-ratio: 16 / 10 !important;
    margin: 4px auto 0 !important;
  }

  .cr-hero-glow {
    display: none !important;
  }

  .cr-stage-bottom {
    order: 4 !important;
    height: 28px;
    padding: 0 12px;
    font-size: 11px;
  }
}
