body {
  margin: 0;
  background: radial-gradient(circle at top, #1e293b, #0f172a);
  color: white;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
  padding: 40px;
}

.logo {
  width: 200px;
  border-radius: 20px;
  box-shadow: 0 0 40px #38bdf8;
}

h1 {
  font-size: 3rem;
  margin-top: 20px;
  color: #38bdf8;
}

p {
  font-size: 1.2rem;
  color: #cbd5e1;
}

.contact a {
  color: #38bdf8;
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

.previews img {
  width: 100px;
  margin: 10px;
  border-radius: 10px;
  border: 2px solid #38bdf8;
}

.floating {
  animation: float 4s ease-in-out infinite;
}

.view-count {
  font-size: 1rem;
  color: #94a3b8;
  margin-top: 20px;
}
.view-count span {
  color: #38bdf8;
  font-weight: bold;
}

/* Preloader styles */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0f172a;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s;
}

#preloader .spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #38bdf8;
  border-top: 6px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

body.loaded #preloader {
  opacity: 0;
  visibility: hidden;
}


@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}
