:root {
  --logo-size: min(1080px, 130vw);
}

.yazga-emblem-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.yazga-emblem {
  width: var(--logo-size);
  height: var(--logo-size);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  /* background: rgba(255, 255, 255, 0.02); */
  border-radius: 8px;
}

.ascii-logo {
  font-family: "Courier New", Courier, monospace;
  font-size: calc(var(--logo-size) / 75);
  line-height: 1.1;
  letter-spacing: 0;
  color: #fff;
  text-align: center;
  white-space: pre;
  margin: 0;
  padding: 0;
  animation:
    logo-glow 4s infinite alternate ease-in-out,
    logo-flicker 0.15s infinite;
  user-select: none;
  pointer-events: none;
  /* Ensure characters are monospaced and sharp */
  font-variant-ligatures: none;
  -webkit-font-smoothing: none;
}

@keyframes logo-glow {
  0% {
    text-shadow:
      0 0 4px var(--glow-color),
      0 0 8px var(--glow-color);
    color: #fff;
  }
  50% {
    text-shadow:
      0 0 12px var(--glow-color),
      0 0 24px var(--glow-color),
      0 0 32px var(--glow-color);
    color: var(--glow-color);
    transform: scale(1.01);
  }
  100% {
    text-shadow:
      0 0 4px var(--glow-color),
      0 0 8px var(--glow-color);
    color: #fff;
  }
}

@keyframes logo-flicker {
  0% {
    opacity: 0.97;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.98;
  }
}
