* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins-Regular';
}

.error-page-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.draggable-item {
  cursor: grab;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
  z-index: 10;
}

.draggable-item:active {
  cursor: grabbing;
}

.error-digits-wrapper {
  z-index: 12;
  position: relative;
}

.digit-img {
  max-width: 200px;
  height: auto;
  object-fit: cover;
}

@media (max-width: 768px) {
  .digit-img {
    max-width: 80px;
  }
}

.floating-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.floating-shape {
  position: absolute;
  max-width: 160px;
  height: auto;
  pointer-events: auto;
}

.float-pos-1 {
  top: 10%;
  left: 45%;
}

.float-pos-2 {
  bottom: 5%;
  left: 26%;
}

.hero-banner__stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-banner__stage-inner {
  position: relative;
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1 / 1;
}

.hero-banner__axis {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.axis-line {
  stroke: rgba(0, 0, 0, 0.08);
  stroke-width: 2;
  stroke-dasharray: 4 4;
}

.hero-banner__image {
  width: 100%;
  height: 100%;
}

#mascotCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.mascot-shadow {
  position: absolute;
  bottom: 17%;
  left: 55%;
  transform: translateX(-50%);
  width: 60%;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-banner__content {
  z-index: 12;
}

.main-btn {
  padding: 10px 30px;
  border: none;
  background: #c3ea0a;
  border-radius: 14px;
  color: #2b3d45;
  font-size: 16px;
  font-weight: 800;
  transition: all 0.5s ease;
  word-break: break-word;
  text-decoration: none;
}

.main-btn:hover {
  background: #bee415;
  color: #2b3d45;
  transform: scale(1.05);
}

.float-pos-1 {
  top: 10%;
  left: 45%;
  animation: floatAnimationA 4s ease-in-out infinite;
}

.float-pos-2 {
  bottom: 15%;
  left: 48%;
  animation: floatAnimationB 5s ease-in-out infinite 0.5s;
}

/* Extra decorative 3D shapes (Loop items) */
.float-shape-1 {
  top: 15%;
  left: 8%;
  animation: floatAnimationC 3.8s ease-in-out infinite 0.2s;
}

.float-shape-2 {
  top: 75%;
  left: 12%;
  animation: floatAnimationA 4.5s ease-in-out infinite 0.8s;
}

.float-shape-3 {
  top: 20%;
  right: 10%;
  animation: floatAnimationB 4.2s ease-in-out infinite 0.4s;
}

.float-shape-4 {
  top: 70%;
  right: 15%;
  animation: floatAnimationC 5.2s ease-in-out infinite 1s;
}

.float-shape-5 {
  top: 40%;
  right: 30%;
  animation: floatAnimationA 3.6s ease-in-out infinite 0.3s;
}

.float-shape-6 {
  top: 80%;
  right: 50%;
  animation: floatAnimationB 4.8s ease-in-out infinite 0.6s;
}

.float-shape-7 {
  top: 6%;
  right: 35%;
  animation: floatAnimationC 4s ease-in-out infinite 0.1s;
}

.float-shape-8 {
  top: 10%;
  right: 65%;
  animation: floatAnimationA 4.6s ease-in-out infinite 0.7s;
}

@media (max-width: 991px) {
  .floating-shape {
    max-width: 50px;
  }

  .float-shape-5 {
    top: 45%;
    right: 10%;
  }

  .float-shape-6 {
    top: 85%;
    right: 20%;
  }

  .float-shape-7 {
    top: 3%;
    right: 15%;
  }

  .float-shape-8 {
    top: 5%;
    left: 10%;
    right: auto;
  }
}

@media (max-width: 576px) {
  .floating-shape {
    max-width: 35px;
  }

  .float-shape-5,
  .float-shape-6 {
    display: none;
  }

  .float-shape-1 {
    top: 5%;
    left: 5%;
  }

  .float-shape-2 {
    top: 88%;
    left: 8%;
  }

  .float-shape-3 {
    top: 8%;
    right: 5%;
  }

  .float-shape-4 {
    top: 85%;
    right: 8%;
  }
}

/* Variant A: Moves slightly Up and Right (~10px range) */
@keyframes floatAnimationA {
  0%, 100% {
    margin-top: 0px;
    margin-left: 0px;
  }
  50% {
    margin-top: -15px;
    margin-left: 8px;
  }
}

/* Variant B: Moves slightly Down and Left (~10px range) */
@keyframes floatAnimationB {
  0%, 100% {
    margin-top: 0px;
    margin-left: 0px;
  }
  50% {
    margin-top: 12px;
    margin-left: -10px;
  }
}

/* Variant C: Moves slightly Up and Left (~10px range) */
@keyframes floatAnimationC {
  0%, 100% {
    margin-top: 0px;
    margin-left: 0px;
  }
  50% {
    margin-top: -12px;
    margin-left: -10px;
  }
}