
/* Final Frontier homepage hero override
   Static HTML/CSS only. No React, no build step, no navigation changes. */
.ff-hero {
  position: relative;
  min-height: 720px;
  height: calc(100vh - 110px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #05070b;
  isolation: isolate;
  border-bottom: 1px solid rgba(0, 255, 255, 0.14);
}

.ff-hero__background {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(3, 5, 12, 0.95) 0%, rgba(3, 5, 12, 0.74) 34%, rgba(3, 5, 12, 0.38) 62%, rgba(3, 5, 12, 0.82) 100%),
    radial-gradient(circle at 25% 35%, rgba(122, 0, 255, 0.26), transparent 36%),
    radial-gradient(circle at 70% 55%, rgba(0, 255, 255, 0.16), transparent 32%),
    url('../img/hero/final-frontier-multiverse-hero.jpg');
  background-size: cover;
  background-position: center center;
  transform: scale(1.02);
  z-index: -4;
}

.ff-hero__vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.40) 0%, transparent 24%, rgba(0,0,0,0.72) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 86px),
    repeating-linear-gradient(0deg, rgba(0,255,255,0.024) 0 1px, transparent 1px 74px);
  mix-blend-mode: screen;
  opacity: 0.9;
  pointer-events: none;
  z-index: -3;
}

.ff-hero::before,
.ff-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -2;
}

.ff-hero::before {
  width: 520px;
  height: 520px;
  right: -150px;
  top: 18%;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 255, 0.16);
  box-shadow: 0 0 90px rgba(0, 255, 255, 0.12), inset 0 0 70px rgba(122, 0, 255, 0.14);
}

.ff-hero::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(0deg, #05070b 0%, rgba(5, 7, 11, 0) 100%);
}

.ff-hero__hud {
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(0, 255, 255, 0.16);
  opacity: 0.48;
  pointer-events: none;
  z-index: -1;
}

.ff-hero__hud--left {
  left: 4%;
  bottom: 11%;
  clip-path: polygon(0 0, 72% 0, 100% 28%, 100% 100%, 0 100%);
  box-shadow: inset 0 0 28px rgba(0, 255, 255, 0.08);
}

.ff-hero__hud--right {
  right: 6%;
  top: 20%;
  border-color: rgba(212, 175, 55, 0.18);
  transform: rotate(12deg);
  box-shadow: inset 0 0 28px rgba(212, 175, 55, 0.08);
}

.ff-hero__container {
  position: relative;
  z-index: 2;
}

.ff-hero__content {
  max-width: 760px;
  padding: 42px 0;
}

.ff-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 999px;
  background: rgba(8, 10, 18, 0.62);
  color: #d4af37;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.10);
  backdrop-filter: blur(10px);
}

.ff-hero__badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ffff;
  box-shadow: 0 0 12px #00ffff;
}

.ff-hero__title {
  margin: 0;
  color: #ffffff;
  font-family: 'Cinzel', serif;
  font-size: clamp(2.8rem, 6vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 4px 32px rgba(0,0,0,0.72), 0 0 26px rgba(0,255,255,0.16);
}

.ff-hero__subtitle {
  margin: 22px 0 0;
  color: #00ffff;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(0.95rem, 1.8vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(0, 255, 255, 0.25);
}

.ff-hero__copy {
  max-width: 640px;
  margin: 18px 0 0;
  color: rgba(255,255,255,0.86);
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.72;
  text-shadow: 0 2px 18px rgba(0,0,0,0.72);
}

.ff-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.ff-hero__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.ff-hero__btn:hover {
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
}

.ff-hero__btn--primary {
  border: 1px solid rgba(0,255,255,0.48);
  background: linear-gradient(135deg, rgba(0,255,255,0.34), rgba(122,0,255,0.48));
  box-shadow: 0 0 28px rgba(0,255,255,0.18), inset 0 0 18px rgba(255,255,255,0.08);
}

.ff-hero__btn--primary:hover {
  box-shadow: 0 0 38px rgba(0,255,255,0.28), 0 14px 40px rgba(122,0,255,0.25);
}

.ff-hero__btn--secondary {
  border: 1px solid rgba(212,175,55,0.42);
  background: rgba(8, 10, 18, 0.46);
  box-shadow: inset 0 0 18px rgba(212,175,55,0.08);
  backdrop-filter: blur(10px);
}

.ff-hero__btn--secondary:hover {
  border-color: rgba(212,175,55,0.70);
  box-shadow: 0 0 28px rgba(212,175,55,0.16), inset 0 0 18px rgba(212,175,55,0.10);
}

.ff-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin-top: 34px;
}

.ff-hero__stats div {
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 14px;
  background: rgba(5, 7, 11, 0.48);
  backdrop-filter: blur(10px);
}

.ff-hero__stats strong,
.ff-hero__stats span {
  display: block;
  font-family: 'DM Sans', sans-serif;
}

.ff-hero__stats strong {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
}

.ff-hero__stats span {
  margin-top: 2px;
  color: rgba(255,255,255,0.58);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 991px) {
  .ff-hero {
    min-height: 680px;
    height: auto;
    padding: 86px 0 70px;
    text-align: center;
  }

  .ff-hero__background {
    background-position: 58% center;
  }

  .ff-hero__content {
    max-width: 100%;
    margin: 0 auto;
  }

  .ff-hero__copy {
    margin-left: auto;
    margin-right: auto;
  }

  .ff-hero__actions {
    justify-content: center;
  }

  .ff-hero__stats {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 575px) {
  .ff-hero {
    min-height: 650px;
    padding: 70px 0 52px;
  }

  .ff-hero__badge {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .ff-hero__subtitle {
    letter-spacing: 0.06em;
  }

  .ff-hero__actions {
    flex-direction: column;
  }

  .ff-hero__btn {
    width: 100%;
  }

  .ff-hero__stats {
    grid-template-columns: 1fr;
  }
}/* Emergency hero sizing correction */
.ff-hero-content {
  padding-top: 120px !important;
  max-width: 820px !important;
}

.ff-hero-title,
.home-hero-title {
  font-size: clamp(46px, 6vw, 86px) !important;
  line-height: 0.96 !important;
  letter-spacing: 0.02em !important;
  max-width: 820px !important;
}

.ff-hero-kicker,
.home-hero-eyebrow {
  font-size: clamp(13px, 1.3vw, 20px) !important;
  letter-spacing: 0.18em !important;
}

.ff-hero-subtitle,
.home-hero-desc {
  font-size: clamp(16px, 1.4vw, 22px) !important;
  line-height: 1.55 !important;
  max-width: 760px !important;
}

.ff-hero-actions,
.home-hero-actions {
  margin-top: 28px !important;
}

.ff-hero-btn,
.home-hero-actions .vs-btn {
  padding: 16px 28px !important;
  font-size: 14px !important;
  letter-spacing: 0.08em !important;
}

@media (max-width: 991px) {
  .ff-hero-content {
    padding-top: 110px !important;
    max-width: 92vw !important;
  }

  .ff-hero-title,
  .home-hero-title {
    font-size: clamp(34px, 9vw, 58px) !important;
    line-height: 1.02 !important;
  }
}

@media (max-width: 575px) {
  .ff-hero-content {
    padding-top: 95px !important;
    text-align: center !important;
  }

  .ff-hero-title,
  .home-hero-title {
    font-size: clamp(28px, 11vw, 42px) !important;
  }

  .ff-hero-actions,
  .home-hero-btn-group {
    flex-direction: column !important;
    gap: 14px !important;
  }

  .ff-hero-btn,
  .home-hero-actions .vs-btn {
    width: 100% !important;
    max-width: 310px !important;
  }
}/* Final hero proportion correction */
.ff-hero {
  min-height: 780px !important;
  padding-top: 90px !important;
}

.ff-hero__content {
  max-width: 720px !important;
  padding-top: 40px !important;
}

.ff-hero__title {
  font-size: clamp(42px, 5.4vw, 82px) !important;
  line-height: 0.96 !important;
  letter-spacing: 0.015em !important;
}

.ff-hero__subtitle {
  font-size: clamp(14px, 1.35vw, 21px) !important;
  letter-spacing: 0.14em !important;
}

.ff-hero__copy {
  max-width: 650px !important;
  font-size: clamp(16px, 1.25vw, 20px) !important;
}

.ff-hero__stats {
  margin-top: 36px !important;
}

@media (max-width: 991px) {
  .ff-hero {
    min-height: 720px !important;
    padding-top: 95px !important;
  }

  .ff-hero__content {
    max-width: 92vw !important;
    text-align: center !important;
    margin: 0 auto !important;
  }

  .ff-hero__title {
    font-size: clamp(34px, 8vw, 58px) !important;
    line-height: 1.02 !important;
  }
}

@media (max-width: 575px) {
  .ff-hero {
    min-height: 760px !important;
    padding-top: 85px !important;
  }

  .ff-hero__title {
    font-size: clamp(30px, 10vw, 42px) !important;
  }

  .ff-hero__subtitle {
    font-size: 12px !important;
    letter-spacing: 0.1em !important;
  }

  .ff-hero__copy {
    font-size: 15px !important;
  }

  .ff-hero__actions,
  .ff-hero__stats {
    flex-direction: column !important;
    align-items: center !important;
  }

  .ff-hero__btn {
    width: 100% !important;
    max-width: 310px !important;
  }
}/* Final pass: make hero professional, not oversized */
.ff-hero {
  min-height: 680px !important;
  padding-top: 80px !important;
}

.ff-hero__container {
  align-items: center !important;
}

.ff-hero__content {
  max-width: 680px !important;
  padding-top: 10px !important;
  transform: translateY(20px) !important;
}

.ff-hero__badge {
  transform: scale(0.82) !important;
  transform-origin: left center !important;
  margin-bottom: 18px !important;
}

.ff-hero__title {
  font-size: clamp(38px, 4.6vw, 68px) !important;
  line-height: 0.98 !important;
  letter-spacing: 0.01em !important;
  max-width: 680px !important;
}

.ff-hero__subtitle {
  max-width: 620px !important;
  font-size: clamp(13px, 1.1vw, 17px) !important;
  line-height: 1.7 !important;
}

.ff-hero__copy {
  max-width: 620px !important;
  font-size: clamp(15px, 1.05vw, 18px) !important;
  line-height: 1.65 !important;
}

.ff-hero__actions {
  margin-top: 26px !important;
}

.ff-hero__stats {
  display: none !important;
}

@media (max-width: 991px) {
  .ff-hero {
    min-height: 690px !important;
    padding-top: 95px !important;
  }

  .ff-hero__content {
    transform: none !important;
  }

  .ff-hero__badge {
    transform-origin: center !important;
  }

  .ff-hero__title {
    font-size: clamp(34px, 8vw, 52px) !important;
    text-align: center !important;
  }
}

@media (max-width: 575px) {
  .ff-hero {
    min-height: 720px !important;
  }

  .ff-hero__title {
    font-size: clamp(30px, 11vw, 40px) !important;
  }
}/* Fix hero button clipping without creating horizontal overflow */
html,
body {
  overflow-x: hidden !important;
}

.ff-hero {
  min-height: 820px !important;
  padding-bottom: 140px !important;
  overflow: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
}

.ff-hero__background,
.ff-hero__vignette,
.ff-hero__hud,
.ff-hero__container {
  max-width: 100% !important;
  overflow: hidden !important;
}

.ff-hero__actions {
  margin-bottom: 80px !important;
  position: relative !important;
  z-index: 20 !important;
}

@media (max-width: 575px) {
  .ff-hero {
    min-height: 900px !important;
    padding-bottom: 160px !important;
  }
}/* ==========================================
   FINAL HERO POLISH
   ========================================== */

/* Remove random HUD circles */
.ff-hero__hud,
.ff-hero__hud-left,
.ff-hero__hud-right {
    display: none !important;
}

/* Reduce headline size */
.ff-hero__title,
.home-hero-title {
    font-size: clamp(56px, 5.8vw, 110px) !important;
    line-height: 0.92 !important;
    max-width: 650px !important;
}

/* Better subtitle spacing */
.ff-hero__subtitle {
    max-width: 720px !important;
    line-height: 1.4 !important;
    letter-spacing: 2px !important;
}

/* Hero copy */
.ff-hero__copy {
    max-width: 700px !important;
    font-size: 1.15rem !important;
    line-height: 1.7 !important;
}

/* Button row */
.ff-hero__actions {
    margin-top: 32px !important;
    margin-bottom: 40px !important;
    display: flex !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
}

/* Make hero slightly taller so buttons never touch next section */
.ff-hero {
    min-height: 1080px !important;
    padding-bottom: 160px !important;
}

/* Stats row */
.ff-hero__stats {
    margin-top: 40px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
}

.ff-hero__stats div {
    background: rgba(0,0,0,.35) !important;
    border: 1px solid rgba(0,255,255,.15) !important;
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 14px 18px;
}

.ff-hero__stats strong {
    display: block;
    color: #00ffff;
    font-size: 1.4rem;
    font-weight: 700;
}

.ff-hero__stats span {
    color: #ffffff;
    font-size: .85rem;
    opacity: .85;
}

/* Mobile */
@media (max-width: 768px) {

    .ff-hero {
        min-height: auto !important;
        padding-bottom: 120px !important;
    }

    .ff-hero__title {
        font-size: clamp(42px, 11vw, 68px) !important;
        line-height: .95 !important;
    }

    .ff-hero__actions {
        flex-direction: column !important;
    }

    .ff-hero__btn {
        width: 100% !important;
        max-width: 340px !important;
    }

    .ff-hero__stats {
        gap: 12px !important;
    }
}/* FINAL LOCK: hero title + remove purple circle */
.ff-hero__hud,
.ff-hero__hud-left,
.ff-hero__hud-right,
.ff-hero__vignette {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.ff-hero__title {
  font-size: clamp(44px, 4.4vw, 78px) !important;
  line-height: 0.96 !important;
  max-width: 720px !important;
  letter-spacing: 0.01em !important;
}

.ff-hero__content {
  max-width: 760px !important;
}

@media (max-width: 991px) {
  .ff-hero__title {
    font-size: clamp(36px, 8vw, 58px) !important;
  }
}

@media (max-width: 575px) {
  .ff-hero__title {
    font-size: clamp(30px, 10vw, 42px) !important;
  }
}
