@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Manrope:wght@300;400;500;600&display=swap');

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

html, body {
  height: 100%;
}

body {
  background-color: #171a21;
  color: #ecedf6;
  font-family: 'Manrope', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  padding: 2rem;
  max-width: 560px;
  width: 100%;
  text-align: center;
}

/* Logo */
.logo {
  width: 140px;
  height: auto;
  animation: float 4s ease-in-out infinite;
}

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

/* Brand name */
.brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ff9f4a;
}

/* Tagline */
.tagline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: #a9abb3;
  line-height: 1.6;
}

.tagline strong {
  color: #ff9f4a;
  font-weight: 600;
}

/* Loading section */
.loading-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.loading-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #73757d;
}

.loading-label span:last-child {
  color: #ff9f4a;
  font-weight: 600;
}

.loading-bar {
  width: 100%;
  height: 6px;
  background: #161a21;
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}

.loading-fill {
  width: 15%;
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, #ed8200, #ff9f4a);
  position: relative;
  animation: pulse-glow 2s ease-in-out infinite;
}

.loading-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff9f4a;
  box-shadow: 0 0 12px #ff9f4a, 0 0 24px rgba(255, 159, 74, 0.4);
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; filter: brightness(1); }
  50% { opacity: 0.85; filter: brightness(1.15); }
}

/* Footer */
.footer {
  font-size: 0.75rem;
  color: #45484f;
  letter-spacing: 0.04em;
}

/* Subtle background glow */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255, 159, 74, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Background watermark logo */
.bg-watermark {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 420px;
  height: auto;
  opacity: 0.05;
  transform: translate(-20%, 20%) rotate(-15deg);
  pointer-events: none;
  mix-blend-mode: lighten;
}

/* Responsive */
@media (max-width: 480px) {
  .logo {
    width: 100px;
  }
  .brand {
    font-size: 1.8rem;
  }
  .tagline {
    font-size: 1rem;
  }
  .container {
    gap: 2rem;
    padding: 1.5rem;
  }
}
