/* Football Crash 3D overlay */

.graph-container.has-aviator-anim {
  position: relative;
  overflow: hidden;
  background: #140c22 !important;
  border-color: rgba(90, 40, 140, 0.25);
}

.graph-container.has-aviator-anim #orbital-scene,
.graph-container.has-aviator-anim #game-svg {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.graph-container.has-aviator-anim .graph-overlay {
  position: absolute !important;
  inset: 0;
  z-index: 50;
}

.graph-container.has-aviator-anim #multiplier-container {
  display: none !important;
}

.graph-container.has-aviator-anim #crashed-text {
  display: none !important;
}

.graph-container.has-aviator-anim #waiting-state {
  background: transparent !important;
  justify-content: flex-start;
  padding-top: 18%;
  z-index: 55;
}

.graph-container.has-aviator-anim #countdown-display,
.graph-container.has-aviator-anim #waiting-state .waiting-text,
.graph-container.has-aviator-anim #waiting-state .progress-container {
  opacity: 0 !important;
  visibility: hidden !important;
}

.fc-stage {
  position: absolute;
  inset: 0;
  z-index: 20;
  overflow: hidden;
  pointer-events: none;
  background: #140c22;
}

.fc-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.fc-mult {
  position: absolute;
  right: 1.15rem;
  top: 0.85rem;
  z-index: 70;
  pointer-events: none;
  font-family: Inter, "Segoe UI", sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #ffffff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.45), 0 0 18px rgba(0, 0, 0, 0.55);
  opacity: 0;
}

.fc-mult.is-on {
  opacity: 1;
}

.fc-mult.is-crash {
  color: #ff3b3b !important;
}

.fc-loader {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  z-index: 65;
  text-align: center;
  opacity: 0;
  pointer-events: none;
}

.fc-loader.is-on {
  opacity: 1;
}

.fc-loader-title {
  color: #fff;
  font-family: Inter, "Segoe UI", sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: clamp(1.35rem, 3.6vw, 2.1rem);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}

.fc-loader-track {
  margin: 0.7rem auto 0;
  width: min(280px, 55vw);
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.fc-loader-bar {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: #fff;
}

@media (max-width: 812px) {
  .fc-mult {
    right: 0.7rem;
    top: 0.55rem;
    font-size: 2.1rem;
  }
}
