body {
  margin: 0;
}

html {
  overflow-x: hidden;
  overflow-y: scroll;
}

#loading-bg {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  block-size: 100%;
  gap: 2rem 0;
  inline-size: 100%;
}

.loading-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-logo .phh-text {
  font-family: 'Arial', sans-serif;
  font-size: 3rem;
  font-weight: bold;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: pulse 2s ease-in-out infinite;
  letter-spacing: 0.5rem;
}

.loading {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.loading .effect-1,
.loading .effect-2,
.loading .effect-3 {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
  animation: bounce 1.4s ease-in-out infinite both;
}

.loading .effect-1 {
  animation-delay: -0.32s;
}

.loading .effect-2 {
  animation-delay: -0.16s;
}

.loading .effect-3 {
  animation-delay: 0s;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

@keyframes bounce {

  0%,
  80%,
  100% {
    transform: scale(0);
  }

  40% {
    transform: scale(1);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .loading-logo .phh-text {
    font-size: 2rem;
    letter-spacing: 0.3rem;
  }

  .loading .effect-1,
  .loading .effect-2,
  .loading .effect-3 {
    width: 10px;
    height: 10px;
  }
}
