body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background: #F0FBFA;
  background-attachment: fixed;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

#splash {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: inherit;
  z-index: 9999;
}

.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.splash-logo {
  width: 280px;
  height: auto;
  max-width: 80%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(9, 154, 200, 0.15));
}

.splash-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.splash-loader::before,
.splash-loader .dot,
.splash-loader::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #099ac8;
  animation: dotPulse 1.4s infinite ease-in-out both;
}

.splash-loader::before {
  animation-delay: -0.32s;
}

.splash-loader .dot {
  display: block;
  animation-delay: -0.16s;
}

.splash-loader::after {
  animation-delay: 0s;
}

@keyframes dotPulse {
  0%, 80%, 100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  40% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.center {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.contain {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.stretch {
  display: block;
  width: 100%;
  height: 100%;
}

.cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  body,
  html {
    background: linear-gradient(135deg,
      rgba(18, 18, 18, 1) 0%,
      rgba(30, 30, 30, 1) 50%,
      rgba(40, 40, 40, 1) 100%);
  }

  .splash-logo {
    filter: drop-shadow(0 4px 12px rgba(0, 190, 169, 0.3));
  }

  .splash-loader::before,
  .splash-loader .dot,
  .splash-loader::after {
    background-color: #00bea9;
  }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .splash-logo {
    width: 220px;
  }

  .splash-loader::before,
  .splash-loader .dot,
  .splash-loader::after {
    width: 8px;
    height: 8px;
  }

  .splash-loader {
    gap: 8px;
  }

  .splash-content {
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .splash-logo {
    width: 180px;
  }

  .splash-loader::before,
  .splash-loader .dot,
  .splash-loader::after {
    width: 7px;
    height: 7px;
  }

  .splash-loader {
    gap: 7px;
  }

  .splash-content {
    gap: 20px;
  }
}
