/* --- SCOPED CONTAINER --- */
.fc-hero-darkmatter,
.fc-hero-darkmatter * {
  box-sizing: border-box;
}

.fc-hero-darkmatter {
  position: relative;

  /* FULL-BLEED EVEN INSIDE A CONSTRAINED WP CONTAINER */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: none !important;

  height: 100vh;
  min-height: 600px;
  overflow: hidden;

  background-color: #000000;
  isolation: isolate;
  font-family: 'Rajdhani', sans-serif;
}

/* --- LAYER 1: MOVING NEBULA (Deep Colors) --- */
.fc-hero-darkmatter::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  z-index: 0;

  background: conic-gradient(
    from 180deg at 50% 50%,
    #050014 0deg,
    #0a0129 60deg,
    #00032e 120deg,
    #02001f 180deg,
    #00032e 240deg,
    #0a0129 300deg,
    #050014 360deg
  );

  filter: blur(80px);
  animation: nebulaSpin 60s linear infinite;
  opacity: 0.8;
}

@keyframes nebulaSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* --- LAYER 2: STATIC VIGNETTE (Dark Edges) --- */
.fc-hero-darkmatter::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background: radial-gradient(
    circle at 50% 50%,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.3) 40%,
    rgba(0,0,0,1) 90%
  );
}

/* --- CANVAS --- */
.fc-hero-darkmatter__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: block;
  outline: none;
}

/* --- UI CONTAINER --- */
.fc-hero-darkmatter__ui {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  pointer-events: none;

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

  padding: 20px;
  text-align: center;
}

.fc-hero-darkmatter__titlewrap {
  display: grid;
  gap: 10px;
  align-items: center;
  justify-items: center;
}

/* --- TYPOGRAPHY --- */
.fc-hero-darkmatter__title {
  font-family: 'Syncopate', sans-serif;
  font-size: clamp(3rem, 10vw, 8rem);
  line-height: 0.9;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  margin: 0;
  text-align: center;
  text-shadow: 0 0 50px rgba(160, 60, 255, 0.6);
  opacity: 1 !important;
}

.fc-hero-darkmatter__title--second {
  margin-top: -10px;
}

.fc-hero-darkmatter__tagline {
  font-size: 1.1rem;
  letter-spacing: 0.6em;
  color: #00e5ff;
  margin-top: 18px;
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.6);

  opacity: 1 !important;
  transform: translateY(0) !important;
}

.fc-hero-darkmatter__hint {
  position: absolute;
  bottom: 130px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 1 !important;
}

/* --- GLASS NAVIGATION --- */
.fc-hero-darkmatter__nav {
  position: absolute;
  bottom: 50px;
  pointer-events: auto;

  display: flex;
  gap: 40px;
  padding: 18px 50px;

  background: rgba(10, 0, 20, 0.4);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;

  opacity: 1 !important;
  transform: translateY(0) !important;

  transition: transform 0.3s ease, background 0.3s ease;
}

.fc-hero-darkmatter__nav:hover {
  transform: translateY(-5px) !important;
  background: rgba(255, 255, 255, 0.05);
}

.fc-hero-darkmatter__navlink {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  transition: all 0.3s;
}

.fc-hero-darkmatter__navlink:hover {
  color: #ff9900;
  text-shadow: 0 0 15px rgba(255, 153, 0, 0.6);
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
  .fc-hero-darkmatter__nav {
    bottom: 30px;
    gap: 20px;
    padding: 15px 30px;
    width: 90%;
    justify-content: center;
    flex-wrap: wrap;
    border-radius: 20px;
  }

  .fc-hero-darkmatter__hint {
    bottom: 180px;
  }

  .fc-hero-darkmatter__title {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .fc-hero-darkmatter__tagline {
    font-size: 0.9rem;
    letter-spacing: 0.3em;
  }
}
