:root {
  --color-bg: #030305;
  --color-text: #ffffff;
  --color-muted: rgba(255, 255, 255, 0.6);
  --color-accent-1: #ccff00; /* Electric neon green */
  --color-accent-2: #00e1ff; /* Cyan */
  --color-accent-3: #ff0055; /* Neon magenta/pink */
  --marquee-safe-space: clamp(3.8rem, 10vh, 6.2rem);
  
  --font-main: "Montserrat", sans-serif;
}

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

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-main);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ================= BACKGROUND EFFECTS ================= */

.background-effects {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg-base {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      120% 90% at 50% 0%,
      rgba(255, 255, 255, 0.06) 0%,
      rgba(255, 255, 255, 0) 55%
    ),
    linear-gradient(180deg, #040406 0%, #020204 50%, #030305 100%);
  z-index: 1;
}

.radial-halo {
  display: none;
}

.glow-orb {
  display: none;
}

.orb-1 {
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, transparent 72%);
  top: -20%;
  left: -10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(200, 210, 230, 0.2) 0%, transparent 72%);
  bottom: -10%;
  right: -10%;
  animation-delay: -5s;
}

.orb-3 {
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(235, 240, 250, 0.14) 0%, transparent 72%);
  top: 40%;
  left: 40%;
  opacity: 0.25;
  animation-delay: -10s;
  mix-blend-mode: screen;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  background-position: center center;
  z-index: 4;
  transform: perspective(680px) rotateX(62deg) scale(2.4) translateY(11%);
  transform-origin: bottom center;
  mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  animation: gridMove 16s linear infinite;
}

.noise-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  opacity: 0.18;
  background-image: radial-gradient(rgba(255, 255, 255, 0.45) 0.6px, transparent 0.6px);
  background-size: 2px 2px;
  mix-blend-mode: soft-light;
  animation: noiseDrift 14s steps(10) infinite;
}

.scanlines {
  position: absolute;
  inset: 0;
  z-index: 6;
  opacity: 0.08;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.08) 0,
    rgba(255, 255, 255, 0.08) 1px,
    transparent 1px,
    transparent 4px
  );
  mix-blend-mode: soft-light;
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0.92) 100%);
  z-index: 7;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(5%, 5%) scale(1.1); }
  66% { transform: translate(-5%, 10%) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes gridMove {
  0% { background-position: 0 0; }
  100% { background-position: 0 50px; }
}

@keyframes noiseDrift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(12px, -10px, 0); }
}

/* ================= LAYOUT & CONTENT ================= */

.container {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 2.2vw, 2rem) clamp(0.9rem, 2.6vw, 2rem)
    calc(var(--marquee-safe-space) + clamp(0.6rem, 2vh, 1.4rem));
  z-index: 10;
}

.hero-content {
  text-align: center;
  max-width: min(94vw, 980px);
  width: min(94vw, 980px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* BADGE */
.badge-wrapper {
  margin-bottom: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.52rem 1.12rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 100px;
  font-size: clamp(0.6rem, 1.3vw, 0.7rem);
  font-weight: 800;
  letter-spacing: 0.24em;
  color: var(--color-text);
  backdrop-filter: blur(12px);
  text-transform: uppercase;
}

/* TYPOGRAPHY */
.title {
  font-size: clamp(2.2rem, 12vw, 10rem);
  font-weight: 900;
  font-style: italic;
  line-height: 0.9;
  margin: 0;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.text-gradient {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  background: none;
  position: relative;
}

.glitch-text {
  display: inline-block;
  position: relative;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--color-accent-1);
  -webkit-text-fill-color: currentColor;
  background: none;
  pointer-events: none;
  opacity: 0;
}

.glitch-text::before {
  text-shadow: -2px 0 0 rgba(204, 255, 0, 0.9);
  animation: glitch-layer-a 2.3s linear infinite;
}

.glitch-text::after {
  color: var(--color-accent-3);
  text-shadow: 2px 0 0 rgba(255, 0, 85, 0.85);
  animation: glitch-layer-b 2.1s linear infinite;
}

.subtitle {
  font-size: clamp(1rem, 3.2vw, 2.5rem);
  font-weight: 800;
  margin: 1.5rem 0 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.highlight {
  color: var(--color-accent-1);
}

.description {
  font-size: clamp(0.92rem, 1.9vw, 1.25rem);
  font-weight: 400;
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0 0 3rem;
  max-width: 600px;
}

.hidden-mobile {
  display: block;
}

/* COMING SOON TEXT */
.coming-soon-wrapper {
  width: 100%;
  margin-top: clamp(1.4rem, 4.2vh, 3rem);
}

.coming-soon-text {
  display: inline-block;
  font-size: clamp(1.15rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: 0.4em;
  color: var(--color-text);
  text-transform: uppercase;
  position: relative;
  opacity: 0.9;
}


/* MARQUEE */
.marquee-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  padding: clamp(0.75rem, 2.2vh, 1.5rem) 0;
  background: linear-gradient(to right, rgba(3,3,5,1) 0%, rgba(3,3,5,0) 10%, rgba(3,3,5,0) 90%, rgba(3,3,5,1) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 20;
}

@media (prefers-reduced-motion: reduce) {
  .glow-orb, .grid-overlay, .marquee, .noise-overlay, .scanlines, .glitch-text, .glitch-text::before, .glitch-text::after {
    animation: none !important;
  }

  .glitch-text::before,
  .glitch-text::after {
    opacity: 0 !important;
  }
}

.marquee {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(1rem, 2.7vw, 1.5rem);
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

.separator {
  color: var(--color-accent-3);
  font-style: normal;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUpAnim 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay);
}

.fade-in {
  opacity: 0;
  animation: fadeInAnim 1.5s ease-out forwards;
  animation-delay: var(--delay);
}

@keyframes fadeUpAnim {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInAnim {
  to {
    opacity: 1;
  }
}

@keyframes popIn {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes glitch-layer-a {
  0%, 78%, 100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
    clip-path: inset(0 0 0 0);
  }
  79% {
    opacity: 1;
    transform: translate3d(-7px, 0, 0);
    clip-path: inset(6% 0 72% 0);
  }
  80% {
    opacity: 0.95;
    transform: translate3d(6px, 0, 0);
    clip-path: inset(42% 0 36% 0);
  }
  81% {
    opacity: 0.88;
    transform: translate3d(-5px, 0, 0);
    clip-path: inset(70% 0 8% 0);
  }
  82% {
    clip-path: inset(0 0 0 0);
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes glitch-layer-b {
  0%, 82%, 100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
    clip-path: inset(0 0 0 0);
  }
  83% {
    opacity: 0.95;
    transform: translate3d(7px, 0, 0);
    clip-path: inset(72% 0 7% 0);
  }
  84% {
    opacity: 0.9;
    transform: translate3d(-6px, 0, 0);
    clip-path: inset(16% 0 66% 0);
  }
  85% {
    opacity: 0.82;
    transform: translate3d(4px, 0, 0);
    clip-path: inset(38% 0 40% 0);
  }
  86% {
    clip-path: inset(0 0 0 0);
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hidden-mobile {
    display: none;
  }

  .badge {
    letter-spacing: 0.18em;
  }

  .description {
    margin-bottom: 1.4rem;
  }
}

@media (max-height: 760px) {
  .badge-wrapper {
    margin-bottom: 1rem;
  }

  .subtitle {
    margin-top: 0.9rem;
    margin-bottom: 0.65rem;
  }

  .description {
    margin-bottom: 1rem;
    line-height: 1.4;
    font-size: clamp(0.84rem, 1.7vw, 1rem);
  }

  .coming-soon-wrapper {
    margin-top: 0.85rem;
  }
}

@media (max-height: 640px) {
  .badge-wrapper {
    margin-bottom: 0.7rem;
  }

  .subtitle {
    margin-top: 0.65rem;
    margin-bottom: 0.45rem;
  }

  .description {
    margin-bottom: 0.65rem;
    max-width: 820px;
  }

  .coming-soon-text {
    letter-spacing: 0.25em;
  }

  .container {
    justify-content: flex-start;
    padding-top: clamp(0.9rem, 3vh, 1.25rem);
  }
}

@media (min-width: 1900px) {
  .hero-content {
    max-width: 1160px;
    width: 1160px;
  }
}