@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Cinzel:wght@700;900&family=Inter:wght@400;600;800;900&display=swap');

:root {
  --black: #020201;
  --gold: #d9a441;
  --gold-light: #fff0a8;
  --green: #73ff18;
  --red: #ff1736;
  --text: #fff3c5;
  --muted: #b8a37b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  min-height: 100vh;
  overflow: hidden;
  background: #020201;
  cursor: crosshair;
}

.scene-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 211, 106, .18), transparent 24%),
    radial-gradient(circle at 20% 48%, rgba(115, 255, 24, .24), transparent 34%),
    radial-gradient(circle at 80% 48%, rgba(255, 23, 54, .22), transparent 34%),
    radial-gradient(circle at 50% 78%, rgba(115, 255, 24, .14), transparent 28%),
    linear-gradient(180deg, #030302 0%, #020201 45%, #060300 100%);
}

.scene-bg::before {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    linear-gradient(115deg, transparent 0 36%, rgba(115,255,24,.08) 38%, transparent 42%),
    linear-gradient(245deg, transparent 0 38%, rgba(255,23,54,.075) 40%, transparent 45%),
    radial-gradient(circle at 50% 10%, rgba(255,240,168,.13), transparent 26%);
  filter: blur(1px);
  animation: bgBreath 8s ease-in-out infinite alternate;
}

.scene-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, transparent 0 42%, rgba(0,0,0,.86) 78%),
    linear-gradient(90deg, rgba(0,0,0,.78), transparent 23%, transparent 77%, rgba(0,0,0,.78));
}

.gold-particles {
  position: absolute;
  inset: 0;
  opacity: .58;
  background-image:
    radial-gradient(circle, rgba(255, 215, 120, .86) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(115, 255, 24, .46) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(255, 23, 54, .42) 0 1px, transparent 1.6px);
  background-size: 84px 84px, 138px 138px, 166px 166px;
  background-position: 18px 22px, 48px 70px, 70px 30px;
  animation: particles 18s linear infinite;
}

.corner-ui {
  position: absolute;
  width: 180px;
  height: 180px;
  border-color: rgba(217,164,65,.36);
  z-index: 3;
}

.corner-top-left {
  top: 22px;
  left: 22px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.corner-top-right {
  top: 22px;
  right: 22px;
  border-top: 1px solid;
  border-right: 1px solid;
}

.corner-bottom-left {
  bottom: 22px;
  left: 22px;
  border-bottom: 1px solid;
  border-left: 1px solid;
}

.corner-bottom-right {
  bottom: 22px;
  right: 22px;
  border-bottom: 1px solid;
  border-right: 1px solid;
}

.side {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 190px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.side-left { left: 46px; }
.side-right { right: 46px; }

.side-line {
  position: absolute;
  top: -65px;
  bottom: -65px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(217,164,65,.55), transparent);
}

.side-left .side-line { left: 0; }
.side-right .side-line { right: 0; }

.side-card {
  position: relative;
  padding: 14px 16px;
  border: 1px solid rgba(217,164,65,.22);
  background: linear-gradient(135deg, rgba(255,240,168,.065), rgba(0,0,0,.24));
  backdrop-filter: blur(8px);
  box-shadow: 0 0 26px rgba(0,0,0,.22);
}

.side-left .side-card { margin-left: 18px; text-align: left; }
.side-right .side-card { margin-right: 18px; text-align: right; }

.side-card::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border: 1px solid var(--gold);
  transform: translateY(-50%) rotate(45deg);
  background: rgba(0,0,0,.6);
  box-shadow: 0 0 12px rgba(217,164,65,.5);
}

.side-left .side-card::before { left: -25px; }
.side-right .side-card::before { right: -25px; }

.side-card span {
  display: block;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 900;
}

.side-card strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-family: Bebas Neue, Inter, sans-serif;
  font-size: 25px;
  letter-spacing: 2px;
  text-shadow: 0 0 12px rgba(255,240,168,.22);
}

.intro-center {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-2px);
  text-align: center;
  padding: 32px 20px;
}

.crest-stage {
  position: relative;
  width: clamp(340px, 46vw, 610px);
  height: clamp(340px, 46vw, 610px);
  display: grid;
  place-items: center;
}

.crest-halo {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,240,168,.24), transparent 56%),
    conic-gradient(from 0deg, transparent, rgba(115,255,24,.28), transparent, rgba(255,23,54,.24), transparent, rgba(255,240,168,.26), transparent);
  filter: blur(1px);
  animation: rotateRing 12s linear infinite;
  opacity: .82;
  pointer-events: none;
}

.crest-halo::after {
  content: "";
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  background: transparent;
}

.crest-shine {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.20), transparent 48%);
  mix-blend-mode: screen;
  opacity: .45;
  animation: shineMove 4.6s ease-in-out infinite;
  pointer-events: none;
}

.main-crest {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 18px 22px rgba(0,0,0,.72))
    drop-shadow(0 0 18px rgba(255,240,168,.50))
    drop-shadow(0 0 38px rgba(217,164,65,.36))
    drop-shadow(0 0 46px rgba(115,255,24,.14))
    drop-shadow(0 0 46px rgba(255,23,54,.12));
  animation: crestBreath 3.7s ease-in-out infinite;
}

#enterBtn {
  margin-top: 18px;
  min-width: 330px;
  padding: 18px 38px;
  border: 2px solid rgba(115,255,24,.72);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(115,255,24,.14), rgba(255,23,54,.10)),
    rgba(0,0,0,.64);
  color: var(--text);
  font-family: Bebas Neue, Inter, sans-serif;
  font-size: 31px;
  letter-spacing: 2px;
  cursor: pointer;
  box-shadow:
    0 0 22px rgba(115,255,24,.32),
    inset 0 0 18px rgba(255,255,255,.07);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

#enterBtn span {
  display: inline-block;
  margin-left: 14px;
  color: var(--green);
  font-size: 36px;
  transform: translateY(4px);
}

#enterBtn:hover {
  transform: translateY(-3px) scale(1.025);
  border-color: var(--gold-light);
  box-shadow:
    0 0 28px rgba(115,255,24,.50),
    0 0 42px rgba(255,23,54,.22),
    0 0 54px rgba(217,164,65,.20);
}

.intro-motto {
  margin: 18px 0 0;
  color: rgba(255,243,197,.75);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 4px;
}

.loading-area {
  display: none;
  width: min(820px, 90vw);
  margin: 24px auto 0;
  text-align: center;
}

.loading-area h2 {
  margin: 0 0 18px;
  font-family: Bebas Neue, Inter, sans-serif;
  font-size: clamp(54px, 9vw, 94px);
  line-height: .8;
  letter-spacing: 3px;
  color: #eee0bf;
  text-shadow:
    0 0 14px rgba(255,240,168,.22),
    0 0 32px rgba(115,255,24,.12);
}

.loading-track {
  width: min(690px, 88vw);
  height: 28px;
  margin: 0 auto;
  border: 2px solid rgba(115,255,24,.72);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0,0,0,.72);
  box-shadow:
    0 0 20px rgba(115,255,24,.35),
    inset 0 0 16px rgba(0,0,0,.56);
}

#loadingBar {
  width: 0%;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(115,255,24,.86), rgba(255,240,168,.96), rgba(115,255,24,.86));
  box-shadow:
    0 0 22px rgba(115,255,24,.88),
    inset 0 0 13px rgba(255,255,255,.28);
  transition: width .15s linear;
}

#loadingPercent {
  margin: 13px 0 0;
  color: var(--green);
  font-size: 28px;
  font-weight: 950;
  text-shadow: 0 0 16px rgba(115,255,24,.5);
}

.steps {
  margin: 28px auto 0;
  width: min(820px, 94vw);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.step {
  min-height: 74px;
  padding: 12px 8px;
  border-top: 1px solid rgba(217,164,65,.18);
  color: rgba(255,243,197,.42);
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 900;
  text-align: center;
}

.step i {
  display: block;
  margin-bottom: 8px;
  color: rgba(255,243,197,.38);
  font-style: normal;
  font-size: 15px;
}

.step.active {
  color: rgba(255,243,197,.86);
}

.step.active i {
  color: var(--green);
  text-shadow: 0 0 12px rgba(115,255,24,.75);
}

.loading-message {
  margin: 14px 0 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 3px;
}

.intro-screen.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity .85s ease;
}

/* SITE PRINCIPAL */
.site-content {
  display: none;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(115,255,24,.10), transparent 36%),
    radial-gradient(circle at top right, rgba(255,23,54,.10), transparent 36%),
    #050403;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(217,164,65,.20);
  background: rgba(0,0,0,.72);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-family: Cinzel, serif;
  color: var(--gold);
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.site-header nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-header nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero {
  min-height: calc(100vh - 89px);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 40px;
  padding: clamp(34px, 7vw, 90px);
}

.tag {
  color: var(--green);
  font-weight: 900;
  letter-spacing: 4px;
  font-size: 12px;
}

.hero h2 {
  margin: 10px 0 18px;
  font-family: Cinzel, serif;
  font-size: clamp(42px, 6vw, 82px);
  line-height: .95;
}

.hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-card {
  border: 1px solid rgba(217,164,65,.24);
  border-radius: 24px;
  padding: 30px;
  background: linear-gradient(135deg, rgba(217,164,65,.10), rgba(255,255,255,.02));
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.hero-card h3 {
  font-family: Cinzel, serif;
  color: var(--gold);
  font-size: 30px;
}

@keyframes particles {
  from { transform: translateY(0); }
  to { transform: translateY(-90px); }
}

@keyframes rotateRing {
  to { transform: rotate(360deg); }
}

@keyframes crestBreath {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.038); }
}

@keyframes shineMove {
  0%, 100% { transform: translateX(-16%) rotate(0deg); opacity: .20; }
  50% { transform: translateX(16%) rotate(6deg); opacity: .48; }
}

@keyframes bgBreath {
  from { transform: translate(-1.5%, -1.5%) scale(1); }
  to { transform: translate(1.5%, 1.5%) scale(1.08); }
}

@media (max-width: 1080px) {
  .side {
    opacity: .42;
    width: 135px;
  }

  .side-card strong {
    font-size: 20px;
  }
}

@media (max-width: 860px) {
  .side,
  .corner-ui {
    display: none;
  }

  .crest-stage {
    width: clamp(330px, 92vw, 470px);
    height: clamp(330px, 92vw, 470px);
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .step {
    min-height: auto;
    padding: 8px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .crest-stage {
    width: 94vw;
    height: 94vw;
  }

  #enterBtn {
    width: min(330px, 88vw);
    min-width: auto;
    font-size: 27px;
  }

  .intro-motto {
    font-size: 10px;
    letter-spacing: 3px;
  }
}


.enter-box {
  margin-top: 18px;
  width: min(520px, 88vw);
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(217,164,65,.24);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,240,168,.06), rgba(0,0,0,.16)),
    rgba(0,0,0,.22);
  box-shadow:
    0 0 28px rgba(0,0,0,.28),
    inset 0 0 18px rgba(255,240,168,.05);
}

.enter-box::before,
.enter-box::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 20px;
  border-top: 1px solid rgba(217,164,65,.40);
  top: 12px;
}

.enter-box::before {
  left: 14px;
  border-left: 1px solid rgba(217,164,65,.40);
  border-top-left-radius: 10px;
}

.enter-box::after {
  right: 14px;
  border-right: 1px solid rgba(217,164,65,.40);
  border-top-right-radius: 10px;
}

.enter-box-line {
  position: absolute;
  bottom: 12px;
  width: 90px;
  height: 20px;
  border-bottom: 1px solid rgba(217,164,65,.40);
}

.enter-box-line.left {
  left: 14px;
  border-left: 1px solid rgba(217,164,65,.40);
  border-bottom-left-radius: 10px;
}

.enter-box-line.right {
  right: 14px;
  border-right: 1px solid rgba(217,164,65,.40);
  border-bottom-right-radius: 10px;
}

#enterBtn {
  margin-top: 0;
}

@media (max-width: 520px) {
  .enter-box {
    min-height: 98px;
    width: min(360px, 90vw);
  }

  .enter-box::before,
  .enter-box::after,
  .enter-box-line {
    width: 54px;
  }
}


html, body {
  height: 100%;
  overflow: hidden;
}

.intro-screen {
  height: 100vh;
  overflow: hidden;
}

.intro-center {
  gap: 10px;
  justify-content: center;
  align-content: center;
  padding: 12px 18px 16px;
}

.crest-stage {
  width: min(39vw, 42vh, 430px);
  height: min(39vw, 42vh, 430px);
  max-width: 430px;
  max-height: 430px;
}

.crest-halo {
  inset: 6%;
}

.enter-box {
  margin-top: 8px;
  width: min(480px, 84vw);
  min-height: 92px;
}

#enterBtn {
  font-size: 29px;
  padding: 16px 30px;
}

.intro-motto {
  margin-top: 6px;
  margin-bottom: 0;
}

.loading-area {
  width: min(760px, 88vw);
  margin-top: 8px;
}

.loading-area h2 {
  margin: 0 0 12px;
  font-size: clamp(42px, 6vw, 78px);
}

.loading-track {
  width: min(640px, 84vw);
  height: 24px;
}

#loadingPercent {
  margin: 8px 0 0;
  font-size: 24px;
}

.steps {
  margin-top: 14px;
  width: min(760px, 88vw);
  gap: 10px;
}

.step {
  min-height: 58px;
  padding: 8px 5px;
  font-size: 9px;
}

.step i {
  margin-bottom: 4px;
  font-size: 13px;
}

.loading-message {
  margin-top: 8px;
  font-size: 12px;
}

.side {
  width: 165px;
  gap: 12px;
}

.side-card {
  padding: 12px 14px;
}

.side-card strong {
  font-size: 21px;
}

@media (max-width: 1100px) {
  .crest-stage {
    width: min(45vw, 40vh, 390px);
    height: min(45vw, 40vh, 390px);
  }

  .side {
    width: 142px;
  }

  .side-card strong {
    font-size: 18px;
  }
}

@media (max-width: 860px) {
  .crest-stage {
    width: min(72vw, 37vh, 340px);
    height: min(72vw, 37vh, 340px);
  }

  .enter-box {
    min-height: 84px;
  }

  #enterBtn {
    font-size: 26px;
  }

  .loading-area h2 {
    font-size: clamp(36px, 9vw, 62px);
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .step {
    min-height: auto;
    padding: 6px;
  }
}

@media (max-height: 760px) {
  .crest-stage {
    width: min(34vw, 34vh, 340px);
    height: min(34vw, 34vh, 340px);
  }

  .enter-box {
    min-height: 78px;
  }

  #enterBtn {
    font-size: 24px;
    padding: 14px 24px;
  }

  .loading-area h2 {
    font-size: 48px;
    margin-bottom: 10px;
  }

  .loading-track {
    height: 20px;
  }

  #loadingPercent {
    font-size: 20px;
  }

  .steps {
    margin-top: 10px;
  }

  .step {
    font-size: 8px;
    min-height: 48px;
  }

  .intro-motto {
    font-size: 10px;
  }
}


/* V9 ajustes finos */
.intro-center {
  gap: 0;
}

.crest-stage {
  margin-bottom: 12px;
}

.enter-box {
  margin-top: 22px !important;
  width: min(430px, 82vw) !important;
  min-height: 88px !important;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255,240,168,.05), rgba(0,0,0,.16)),
    rgba(0,0,0,.26);
  box-shadow:
    0 0 26px rgba(0,0,0,.28),
    inset 0 0 18px rgba(255,240,168,.04),
    0 0 24px rgba(115,255,24,.12);
}

#enterBtn {
  position: relative;
  min-width: 320px;
  border-radius: 14px;
  overflow: hidden;
  animation: buttonPulse 2.4s ease-in-out infinite;
}

#enterBtn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.20), transparent 48%);
  transform: translateX(-130%);
  animation: sweep 2.8s ease-in-out infinite;
}

#enterBtn::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  pointer-events: none;
  box-shadow: 0 0 20px rgba(115,255,24,.28), 0 0 40px rgba(255,240,168,.14);
}

.side-card span {
  display: none !important;
}

.side-left .side-card,
.side-right .side-card {
  margin-left: 18px;
  margin-right: 18px;
  text-align: center !important;
}

.side-card strong {
  margin-top: 0;
  width: 100%;
  text-align: center;
}

@keyframes buttonPulse {
  0%, 100% {
    box-shadow:
      0 0 22px rgba(115,255,24,.32),
      inset 0 0 18px rgba(255,255,255,.07);
    transform: translateY(0) scale(1);
  }
  50% {
    box-shadow:
      0 0 30px rgba(115,255,24,.48),
      0 0 48px rgba(255,240,168,.16),
      inset 0 0 18px rgba(255,255,255,.09);
    transform: translateY(-1px) scale(1.012);
  }
}

@keyframes sweep {
  0% { transform: translateX(-130%); }
  55%, 100% { transform: translateX(130%); }
}

@media (max-width: 860px) {
  .enter-box {
    width: min(380px, 86vw) !important;
    margin-top: 18px !important;
  }

  #enterBtn {
    min-width: 0;
    width: min(320px, 78vw);
  }
}


/* V10 estrelas vivas */
.starfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: .95;
}

.gold-particles {
  opacity: .16; /* deixa o canvas ser o principal */
}

@media (max-width: 860px) {
  .starfield {
    opacity: .9;
  }
}
