#hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--grad-hero);
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

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

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: border-radius, transform;
}

.blob--1 {
  width: clamp(400px, 55vw, 700px);
  height: clamp(400px, 55vw, 700px);
  background: radial-gradient(circle, rgba(139,47,201,0.38), transparent 70%);
  top: -20%;
  left: -10%;
  animation: morphBlob 14s ease-in-out infinite, floatY 10s ease-in-out infinite;
}

.blob--2 {
  width: clamp(300px, 45vw, 550px);
  height: clamp(300px, 45vw, 550px);
  background: radial-gradient(circle, rgba(245,197,24,0.18), transparent 70%);
  bottom: -10%;
  right: -8%;
  animation: morphBlob 10s ease-in-out infinite reverse, floatY 12s ease-in-out infinite;
  animation-delay: -5s, -4s;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: calc(var(--nav-h) + 2rem) 2rem 4rem;
  max-width: 1100px;
  width: 100%;
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--yellow-main);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeIn 600ms var(--ease-expo) forwards;
  animation-delay: 100ms;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 9vw, 9.5rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* prevent scramble chars from shifting layout outside this block */
  contain: layout;
}

.hero__title-line {
  display: block;
  height: 1.08em;        /* fixed — scramble can't change the height */
  overflow: hidden;
  white-space: nowrap;   /* no wrapping if scramble chars are wider */
  opacity: 0;
  transform: translateY(80px);
  cursor: default;
}

.hero__title-line--accent {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(245,197,24,0.4));
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
}


/* Marquee */
.hero__marquee-wrap {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  z-index: 3;
  overflow: hidden;
  padding: 1rem 0;
  border-top: 1px solid rgba(139,47,201,0.15);
  background: rgba(8,1,15,0.4);
  backdrop-filter: blur(4px);
  font-size: 0; /* elimină gap-ul de baseline de sub inline-flex */
}

.hero__marquee {
  display: inline-flex;
  flex-wrap: nowrap;
  will-change: transform;
}

.hero__marquee-copy {
  flex-shrink: 0;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .hero__scroll-hint { display: none; }
  .hero__title { font-size: clamp(3rem, 14vw, 5.5rem); }
  .hero__ctas { gap: 0.75rem; }
  .hero__ctas .btn { font-size: 0.82rem; padding: 0.75rem 1.5rem; }
}
