:root {
  --bg: #000000;
  --fg: #ffffff;
  --muted: #b8b8b8;
  --orange: #f7931a;
  --orange-deep: #d97706;
  --orange-glow: rgba(247, 147, 26, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
}

body {
  font-family: "Sora", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.stage {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 55% at 70% 30%, rgba(247, 147, 26, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 50% at 15% 85%, rgba(247, 147, 26, 0.08), transparent 50%),
    linear-gradient(180deg, #050505 0%, #000 45%, #0a0703 100%);
  animation: atmosphere-drift 14s ease-in-out infinite alternate;
}

.banner-plane {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.banner-img {
  position: absolute;
  right: -8%;
  bottom: -6%;
  width: min(92vw, 1100px);
  height: auto;
  opacity: 0.55;
  mix-blend-mode: screen;
  filter: saturate(1.15) contrast(1.05);
  transform: translate3d(0, 18px, 0);
  animation: banner-rise 1.4s cubic-bezier(0.22, 1, 0.36, 1) both,
    banner-float 10s ease-in-out 1.4s infinite alternate;
}

.banner-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.72) 34%, rgba(0, 0, 0, 0.2) 68%, transparent 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 28%, rgba(0, 0, 0, 0.55) 100%);
}

.hero {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100% - 2.5rem));
  padding: clamp(2rem, 6vh, 4rem) 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.mark {
  width: clamp(72px, 12vw, 110px);
  height: auto;
  display: block;
  margin-bottom: 0.4rem;
  filter: drop-shadow(0 0 24px var(--orange-glow));
  animation: mark-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand {
  margin: 0;
  font-family: "Oxanium", sans-serif;
  font-weight: 700;
  font-size: clamp(3.4rem, 11vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-shadow: 0 0 40px rgba(247, 147, 26, 0.18);
  animation: title-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.system {
  margin: 0.15rem 0 0;
  font-family: "Oxanium", sans-serif;
  font-weight: 600;
  font-size: clamp(0.78rem, 1.7vw, 1rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg);
  animation: title-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}

.system::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 2px;
  margin-top: 0.95rem;
  background: linear-gradient(90deg, var(--orange), transparent);
}

.motto {
  margin: 0.55rem 0 0;
  max-width: 28rem;
  font-weight: 300;
  font-size: clamp(0.95rem, 2.1vw, 1.15rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  animation: title-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
  animation: title-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.34s both;
}

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--orange);
  background: var(--orange);
  color: #120800;
  font-family: "Sora", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
  box-shadow: 0 0 0 rgba(247, 147, 26, 0);
}

.btn:hover {
  transform: translateY(-2px);
  background: #ffb14a;
  box-shadow: 0 10px 30px rgba(247, 147, 26, 0.28);
}

.btn:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
}

.btn-ghost:hover {
  background: rgba(247, 147, 26, 0.12);
  color: var(--fg);
  box-shadow: 0 10px 30px rgba(247, 147, 26, 0.12);
}

@keyframes title-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mark-in {
  from {
    opacity: 0;
    transform: scale(0.86);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes banner-rise {
  from {
    opacity: 0;
    transform: translate3d(24px, 40px, 0);
  }
  to {
    opacity: 0.55;
    transform: translate3d(0, 18px, 0);
  }
}

@keyframes banner-float {
  from {
    transform: translate3d(0, 18px, 0);
  }
  to {
    transform: translate3d(-10px, 8px, 0);
  }
}

@keyframes atmosphere-drift {
  from {
    filter: hue-rotate(0deg) brightness(1);
  }
  to {
    filter: hue-rotate(8deg) brightness(1.05);
  }
}

@media (max-width: 720px) {
  .hero {
    align-items: center;
    text-align: center;
  }

  .system::after {
    margin-left: auto;
    margin-right: auto;
  }

  .cta {
    justify-content: center;
    width: 100%;
  }

  .btn {
    width: min(100%, 20rem);
  }

  .banner-img {
    right: -28%;
    bottom: -2%;
    width: 140vw;
    opacity: 0.38;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere,
  .banner-img,
  .mark,
  .brand,
  .system,
  .motto,
  .cta {
    animation: none !important;
  }
}
