/* ====== Animation Wrapper ====== */
.logo-container {
  position: fixed;
  inset: 0;
  background: black;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999999;
  animation: fadeOut 0.5s ease-in 2.5s forwards;
  padding: 4rem;
  overflow: visible;
}

/* ====== SVG Styling ====== */
.lsvg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-width: 800px;
  max-height: 90vh;
  padding: 3rem;
}

.lsvg svg {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  overflow: visible;
  filter: drop-shadow(0 0 0px transparent);
}

.lsvg svg path {
  fill: transparent;
  stroke: var(--primary-c, #FFCE45);
  stroke-width: 1;
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  filter: drop-shadow(0 0 8px rgba(255, 206, 69, 0.6)) drop-shadow(0 0 16px rgba(255, 206, 69, 0.4));
  animation: textAnimation 3s ease-in-out forwards, glowPulse 2s ease-in-out infinite alternate;
}

/* ====== Keyframes ====== */
@keyframes textAnimation {
  0% {
    stroke-dashoffset: 50;
  }

  40% {
    fill: transparent;
  }

  80% {
    fill: var(--primary-c, #FFCE45);
    stroke-dashoffset: 0;
  }

  100% {
    fill: var(--primary-c, #FFCE45);
    stroke-dashoffset: 0;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes glowPulse {
  0% {
    filter: drop-shadow(0 0 8px rgba(255, 206, 69, 0.6)) drop-shadow(0 0 16px rgba(255, 206, 69, 0.4));
  }

  100% {
    filter: drop-shadow(0 0 12px rgba(255, 206, 69, 0.75)) drop-shadow(0 0 24px rgba(255, 206, 69, 0.6)) drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
  }
}

/* ====== Responsive Design ====== */
@media screen and (max-width: 768px) {
  .logo-container {
    padding: 3rem 2rem;
  }

  .lsvg {
    max-width: 90vw;
    max-height: 75vh;
    padding: 2.5rem;
  }
}

@media screen and (max-width: 480px) {
  .logo-container {
    padding: 2.5rem 1.5rem;
  }

  .lsvg {
    max-width: 85vw;
    max-height: 70vh;
    padding: 2rem;
  }
}

@media screen and (max-height: 600px) {
  .logo-container {
    padding: 2rem;
  }

  .lsvg {
    max-height: 75vh;
    padding: 1.5rem;
  }
}

@media screen and (max-height: 500px) {
  .logo-container {
    padding: 1.5rem;
  }

  .lsvg {
    max-height: 80vh;
    padding: 1rem;
  }
}