* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #0f172a;
  color: white;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.container {
  text-align: center;
  width: 100%;
  max-width: 720px;
}

h1 {
  font-size: clamp(2.2rem, 8vw, 3.5rem);
  color: #38bdf8;
  margin-bottom: 12px;
  white-space: nowrap; /* This prevents wrapping */
  overflow: hidden;
  text-overflow: ellipsis; /* Shows ... if too long */
}

h2 {
  font-size: clamp(1.35rem, 5vw, 2rem);
  font-weight: 600;
  margin-bottom: 8px;
}

.subtitle {
  color: #94a3b8;
  font-size: 1.05rem;
  margin-bottom: 60px;
}

.loader-box {
  margin-bottom: 60px;
}

.loader-box p {
  margin-bottom: 20px;
  font-size: clamp(1rem, 4vw, 1.2rem);
}

.progress {
  width: 100%;
  height: 10px;
  background: #1e293b;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 15px;
}

.progress-bar {
  height: 100%;
  width: 80%;
  background: linear-gradient(90deg, #38bdf8, #06b6d4);
  border-radius: 20px;
  animation: loading 2s ease-in-out infinite alternate;
}

@keyframes loading {
  from {
    width: 20%;
  }
  to {
    width: 85%;
  }
}

.loader-box span {
  display: block;
  color: #cbd5e1;
  font-size: 1rem;
}

.icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 40px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.icons a {
  color: #38bdf8;
  text-decoration: none;
  font-size: 1.05rem;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-align: center;
}

.icons a:hover {
  color: white;
  background-color: #38bdf8;
  border-color: #38bdf8;
}

/* Extra mobile improvements */
@media (max-width: 480px) {
  .container {
    padding: 10px;
  }
  h1 {
    white-space: normal; /* Allow wrap only on very small screens */
    line-height: 1.1;
  }
  .subtitle {
    margin-bottom: 45px;
  }
  .loader-box {
    margin-bottom: 45px;
  }
  .icons {
    gap: 12px;
    margin-top: 30px;
  }
  .icons a {
    padding: 9px 18px;
    min-width: 100px;
  }
}
