:root {
  --primary: #f5c400;   /* Yellow */
  --secondary: #0b0b0b; /* Black */
  --gradient: linear-gradient(135deg, #0b0b0b, #1a1a1a);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--gradient);
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* Loader Container */
.loader-container {
  text-align: center;
  z-index: 2;
  padding: 2rem;
  width: 100%;
  max-width: 420px;
}

/* Logo */
.logo {
  width: 110px;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Title */
h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: .3rem;
}

h1 span {
  color: var(--primary);
}

/* Subtitle */
p {
  opacity: .85;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

/* Progress Bar */
.progress-box {
  width: 100%;
  height: 12px;
  background: #222;
  border-radius: 20px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f5c400, #ffe680);
  border-radius: 20px;
  transition: width .4s ease;
}

/* Percentage */
.percent {
  margin-top: .7rem;
  font-size: .9rem;
  color: var(--primary);
  font-weight: 600;
}

/* Floating Particles */
.bubble {
  position: absolute;
  bottom: -50px;
  width: 18px;
  height: 18px;
  background: rgba(245, 196, 0, 0.25);
  border-radius: 50%;
  animation: rise linear infinite;
}

@keyframes rise {
  to {
    transform: translateY(-110vh);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  .logo {
    width: 90px;
  }
}
