:root {
  --orange: #ff8a00;
  --orange-light: #ffb347;
  --orange-dark: #e05b00;
  --bg: #080503;
  --panel: rgba(18, 10, 4, .68);
  --text: #fff8ef;
  --muted: #a99b8c;
}

* { box-sizing: border-box; }

html, body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: .85;
}

.grid {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 138, 0, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 138, 0, .035) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 75%);
}

.ambient {
  position: fixed;
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .11;
  pointer-events: none;
  z-index: 0;
  animation: ambientFloat 9s ease-in-out infinite alternate;
}

.ambient-one {
  background: #ff6500;
  left: -22vw;
  top: -25vw;
}

.ambient-two {
  background: #ff9d00;
  right: -25vw;
  bottom: -30vw;
  animation-delay: -4s;
}

.hero {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 28px 5vw 24px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  animation: navIn .8s .15s both;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 14px var(--orange), 0 0 28px rgba(255, 138, 0, .5);
  animation: pulse 1.8s ease-in-out infinite;
}

.online {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #bfb2a5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
}

.online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #67e66f;
  box-shadow: 0 0 10px rgba(103, 230, 111, .8);
}

.hero-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(15px, 4vw, 70px);
  max-width: 1280px;
  width: 100%;
  margin: auto;
}

.logo-area {
  position: relative;
  width: min(53vw, 690px);
  flex: 0 1 690px;
  transform-style: preserve-3d;
  transition: transform .15s ease-out;
  animation: logoIn 1.2s .4s cubic-bezier(.16, 1, .3, 1) both;
}

.main-logo {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 0 8px rgba(255, 124, 0, .75))
          drop-shadow(0 0 30px rgba(255, 111, 0, .45));
  animation: logoFloat 4.5s ease-in-out infinite;
}

.logo-back-glow {
  position: absolute;
  inset: 22% 10%;
  border-radius: 50%;
  background: rgba(255, 116, 0, .34);
  filter: blur(65px);
  z-index: 1;
  animation: glowPulse 2.8s ease-in-out infinite;
}

.hero-copy {
  width: min(430px, 100%);
  animation: copyIn 1s .65s cubic-bezier(.16, 1, .3, 1) both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--orange-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .26em;
  margin-bottom: 20px;
}

.eyebrow span {
  width: 22px;
  height: 1px;
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
}

h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 62px);
  line-height: .99;
  letter-spacing: -.045em;
  font-weight: 800;
}

h1 strong {
  color: var(--orange);
  text-shadow: 0 0 28px rgba(255, 117, 0, .22);
}

.hero-copy p {
  max-width: 390px;
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.actions { display: flex; }

.discord-btn {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 230px;
  padding: 11px 12px 11px 14px;
  gap: 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 143, 43, .42);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 119, 0, .19), rgba(255, 76, 0, .06));
  box-shadow: 0 10px 35px rgba(255, 95, 0, .08), inset 0 0 20px rgba(255, 120, 0, .035);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.discord-btn::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -40%;
  width: 30%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transform: rotate(20deg);
  transition: left .65s ease;
}

.discord-btn:hover {
  transform: translateY(-4px) scale(1.025);
  border-color: rgba(255, 173, 79, .95);
  background: linear-gradient(135deg, rgba(255, 128, 0, .32), rgba(255, 83, 0, .12));
  box-shadow: 0 14px 45px rgba(255, 100, 0, .24), 0 0 30px rgba(255, 126, 0, .15), inset 0 0 22px rgba(255, 145, 0, .08);
}

.discord-btn:hover::before { left: 130%; }

.discord-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 11px;
  color: white;
  background: #5865F2;
  box-shadow: 0 0 22px rgba(88, 101, 242, .25);
}

.discord-icon svg { width: 24px; height: 24px; }

.btn-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.btn-text small {
  color: #c2b4a5;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .17em;
}

.btn-text b {
  font-size: 13px;
  letter-spacing: .04em;
}

.arrow {
  margin-left: auto;
  font-size: 20px;
  color: var(--orange-light);
  transition: transform .25s ease;
}

.discord-btn:hover .arrow { transform: translate(3px, -3px); }

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #5f554b;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .2em;
  animation: navIn .8s 1s both;
}

.footer-separator {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--orange);
  opacity: .7;
}

/* LOADER */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100vw;
  height: 100vh;

  background:
    radial-gradient(circle at center, rgba(255, 102, 0, .10), transparent 36%),
    #050302;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  width: min(520px, 82vw);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader-logo-wrap {
  position: relative;
  width: min(520px, 78vw);
  animation: loaderFloat 3.2s ease-in-out infinite;
}

.loader-logo {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 0 0 rgba(255, 113, 0, 0));
  animation: loaderFlash 1.15s ease-in-out infinite;
}

.loader-ring {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1px solid rgba(255, 137, 0, .15);
  box-shadow: 0 0 50px rgba(255, 100, 0, .18), inset 0 0 50px rgba(255, 100, 0, .08);
  animation: ringPulse 1.15s ease-in-out infinite;
}

.loader-status {
  margin-top: -5px;
  color: #a99b8c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .35em;
}

.loader-dots { color: var(--orange); }

.loader-progress {
  width: min(250px, 55vw);
  height: 2px;
  margin-top: 15px;
  overflow: hidden;
  background: rgba(255,255,255,.07);
}

.loader-progress span {
  display: block;
  width: 45%;
  height: 100%;
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange);
  animation: progress 1.4s ease-in-out infinite;
}

/* Animations */
@keyframes loaderFlash {
  0%, 100% { filter: drop-shadow(0 0 5px rgba(255, 108, 0, .65)) drop-shadow(0 0 18px rgba(255, 93, 0, .22)); opacity: .82; }
  18% { filter: drop-shadow(0 0 22px rgba(255, 119, 0, 1)) drop-shadow(0 0 65px rgba(255, 100, 0, .65)); opacity: 1; }
  32% { filter: drop-shadow(0 0 7px rgba(255, 108, 0, .65)) drop-shadow(0 0 22px rgba(255, 93, 0, .25)); opacity: .86; }
  52% { filter: drop-shadow(0 0 28px rgba(255, 146, 0, 1)) drop-shadow(0 0 75px rgba(255, 100, 0, .7)); opacity: 1; }
}

@keyframes ringPulse {
  0%, 100% { transform: scale(.88); opacity: .25; }
  50% { transform: scale(1.12); opacity: .8; }
}

@keyframes progress {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(330%); }
}

@keyframes loaderFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes logoIn {
  from { opacity: 0; transform: scale(.82) translateY(25px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes copyIn {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes navIn {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(.5deg); }
}

@keyframes glowPulse {
  0%, 100% { opacity: .28; transform: scale(.92); }
  50% { opacity: .48; transform: scale(1.08); }
}

@keyframes pulse {
  0%, 100% { opacity: .7; transform: scale(.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

@keyframes ambientFloat {
  from { transform: translate3d(-2%, -2%, 0) scale(1); }
  to { transform: translate3d(4%, 3%, 0) scale(1.08); }
}

/* Responsive */
@media (max-width: 900px) {
  body { overflow-y: auto; }
  .hero { min-height: 100svh; padding: 20px 6vw 18px; }
  .hero-content {
    flex-direction: column;
    gap: 4px;
    text-align: center;
    justify-content: center;
  }
  .logo-area {
    width: min(82vw, 570px);
    flex: 0 1 auto;
  }
  .hero-copy { width: min(560px, 100%); }
  .eyebrow { justify-content: center; margin-bottom: 13px; }
  h1 { font-size: clamp(34px, 9vw, 54px); }
  .hero-copy p { margin: 16px auto 23px; }
  .actions { justify-content: center; }
  .footer { margin-top: 12px; }
}

@media (max-width: 520px) {
  .nav { padding: 0 2px; }
  .brand { font-size: 9px; letter-spacing: .13em; }
  .online { font-size: 8px; letter-spacing: .1em; }
  .logo-area { width: 95vw; }
  .hero-copy { margin-top: -2px; }
  .eyebrow { font-size: 8px; letter-spacing: .2em; }
  h1 { font-size: clamp(32px, 10.5vw, 46px); }
  .hero-copy p { font-size: 12px; line-height: 1.6; max-width: 320px; }
  .discord-btn { width: min(100%, 300px); }
  .footer { font-size: 6px; letter-spacing: .13em; }
  .loader-logo-wrap { width: 94vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
