/* Scoped to the homepage cover; loaded after the legacy layout rules. */
#hero.guabina-launch {
  position: relative !important;
  display: grid !important;
  place-items: center;
  isolation: isolate;
  min-height: 760px;
  min-height: max(760px, 100svh);
  padding: 140px 24px 112px !important;
  overflow: hidden !important;
  background: #121719 url('/images/hero-bg.png') center / cover no-repeat !important;
  color: #f5efdf;
  text-align: center;
}
#hero.guabina-launch .launch-video,
#hero.guabina-launch .launch-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#hero.guabina-launch .launch-video { max-width: none; opacity: 1; object-fit: cover; object-position: center; z-index: -2; }
#hero.guabina-launch .launch-shade {
  z-index: -1;
  background: linear-gradient(180deg, rgba(6,10,13,.35), rgba(6,10,13,.12) 30%, rgba(6,10,13,.38) 66%, #0a0a0a 100%), radial-gradient(ellipse at 50% 38%, rgba(3,7,12,.65), rgba(6,10,13,.05) 66%);
}
#hero.guabina-launch .launch-content { width: min(100%, 680px); margin: 0 auto; }
#hero.guabina-launch .launch-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
#hero.guabina-launch svg { fill: currentColor; flex-shrink: 0; }
#hero.guabina-launch .launch-brand {
  position: relative;
  isolation: isolate;
  margin: 0 auto 20px;
  padding: 0;
  width: min(100%, 680px);
  line-height: 1;
}
#hero.guabina-launch .launch-brand img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(.82) contrast(.96) drop-shadow(0 2px 0 #40270e) drop-shadow(0 9px 6px #000b) drop-shadow(0 22px 20px #0009);
}
/* Both layers use the logo's alpha as UV coordinates: light never fills its transparent gaps. */
#hero.guabina-launch .launch-brand::before,
#hero.guabina-launch .launch-brand::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask: url('/images/branding/guabina-logo-reference.webp') center / 100% 100% no-repeat;
  mask: url('/images/branding/guabina-logo-reference.webp') center / 100% 100% no-repeat;
}
#hero.guabina-launch .launch-brand::before {
  z-index: 0;
  background: linear-gradient(180deg, #8d713e, #36271a 65%, #130e09);
  transform: translate(1px, 3px);
  filter: drop-shadow(0 9px 6px #000b);
}
#hero.guabina-launch .launch-brand::after {
  z-index: 2;
  background-image:
    repeating-linear-gradient(112deg, transparent 0 29%, #eecb7626 34%, #fff1c799 39%, #fffbeddf 41%, #ffe4a061 44%, transparent 49% 100%),
    repeating-radial-gradient(ellipse at 30% 40%, transparent 0 18px, #fff0ba40 20px, transparent 23px 44px);
  background-size: 200% 100%, 240px 160px;
  background-repeat: repeat;
  mix-blend-mode: screen;
  opacity: .7;
  animation: guabina-logo-uv 6s linear infinite;
}
@keyframes guabina-logo-uv {
  from { background-position: 100% 0, 0 0; }
  to { background-position: -100% 0, 240px -160px; }
}
#hero.guabina-launch.launch-effects-paused .launch-brand::after { animation-play-state: paused; }
@supports not ((mask-image: url('')) or (-webkit-mask-image: url(''))) {
  #hero.guabina-launch .launch-brand::before,
  #hero.guabina-launch .launch-brand::after { display: none; }
}
#hero.guabina-launch .launch-tagline { margin: 0 0 32px; color: #f5efdf; font: 400 16px/1.6 var(--font-body, sans-serif); letter-spacing: .08em; text-shadow: 0 2px 8px #000; }
#hero.guabina-launch .launch-actions { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 10px; }
#hero.guabina-launch .launch-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 76px;
  padding: 14px 16px;
  border: 1px solid rgba(219,192,133,.7);
  border-radius: 4px;
  background: rgba(13,18,20,.82);
  color: #f5efdf;
  text-decoration: none;
  text-align: left;
  transition: background-color .2s, transform .2s, border-color .2s;
}
#hero.guabina-launch .launch-download--primary { background: #d8b570 linear-gradient(120deg, #ffffff26, #64400026); border-color: #e6ca88; color: #201a10; box-shadow: 0 4px 30px #0004; }
#hero.guabina-launch .launch-platform-icon { width: 28px; height: 28px; }
#hero.guabina-launch .launch-download span { display: grid; gap: 4px; }
#hero.guabina-launch .launch-download small { font: 600 9px/1.3 var(--font-body, sans-serif); letter-spacing: .09em; white-space: nowrap; }
#hero.guabina-launch .launch-download strong { font: 600 20px/1.1 var(--font-body, sans-serif); }
#hero.guabina-launch .launch-download .launch-download-arrow { width: 18px; height: 18px; margin-left: auto; }
#hero.guabina-launch .launch-download:hover { transform: translateY(-3px); background: #313027; border-color: #f5d99a; }
#hero.guabina-launch .launch-download--primary:hover { background: #edcf8e linear-gradient(120deg, #ffffff26, #64400026); }
#hero.guabina-launch .launch-discord {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(100%, 360px);
  min-height: 72px;
  margin: 18px auto 0;
  padding: 12px 16px;
  border: 1px solid #949bed;
  border-radius: 4px;
  background: #5865bdeF;
  color: #fff;
  text-decoration: none;
  text-align: left;
  font-family: var(--font-body, sans-serif);
  transition: background .2s;
}
#hero.guabina-launch .launch-discord:hover { background: #5865f2; }
#hero.guabina-launch .launch-online { margin: 12px 0 0; color: #d4cbb8; font: 400 11px/1.6 var(--font-body, sans-serif); letter-spacing: .04em; text-shadow: 0 2px 6px #000; }
#hero.guabina-launch .launch-online strong { color: #e6ca88; font-weight: 600; }
#hero.guabina-launch .launch-discord-icon { width: 34px; height: 34px; }
#hero.guabina-launch .launch-discord-info { display: grid; gap: 5px; }
#hero.guabina-launch .launch-discord-info strong { font-size: 14px; color: #fff; }
#hero.guabina-launch .launch-discord-info > span { font-size: 11px; color: #e3e5ff; }
#hero.guabina-launch .launch-discord-join { margin-left: auto; font-size: 11px; font-weight: 700; white-space: nowrap; }
#hero.guabina-launch .launch-explore { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: grid; gap: 9px; color: #d6cdb7; text-decoration: none; font: 500 10px/1.5 var(--font-body, sans-serif); letter-spacing: .2em; }
#hero.guabina-launch .launch-explore span { font-size: 22px; }
#hero.guabina-launch .launch-motion { position: absolute; bottom: 35px; left: 28px; padding: 10px 14px; border: 1px solid #ffffff40; border-radius: 4px; background: #0a0e12b3; color: #e7e0d2; cursor: pointer; font: 400 11px/1.4 var(--font-body, sans-serif); }
#hero.guabina-launch .launch-motion[hidden] { display: none; }
#hero.guabina-launch a:focus-visible, #hero.guabina-launch button:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
@media (max-width: 600px) {
  #hero.guabina-launch { min-height: max(720px, 100svh); padding: 120px 20px 120px !important; }
  #hero.guabina-launch .launch-brand { width: min(100%, 380px); }
  #hero.guabina-launch .launch-tagline { font-size: 13px; letter-spacing: .025em; margin-bottom: 24px; }
  #hero.guabina-launch .launch-actions { grid-template-columns: 1fr 1fr; gap: 10px; max-width: 380px; margin: auto; }
  #hero.guabina-launch .launch-download--primary { grid-column: 1 / -1; }
  #hero.guabina-launch .launch-download { min-height: 66px; padding: 12px; gap: 9px; }
  #hero.guabina-launch .launch-download .launch-download-arrow { display: none; }
  #hero.guabina-launch .launch-discord { max-width: 380px; }
  #hero.guabina-launch .launch-motion { bottom: 12px; left: 12px; padding: 7px 10px; }
  #hero.guabina-launch .launch-explore { bottom: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  #hero.guabina-launch .launch-brand::after { animation: none; opacity: 0; }
  #hero.guabina-launch .launch-download { transition: none; }
  #hero.guabina-launch .launch-download:hover { transform: none; }
}
