:root {
  --orange: #ff7a18;
  --orange-soft: #ffb066;
  --blue: #1e62d6;
  --blue-deep: #0b2a66;
  --blue-soft: #6ea3ff;
  --bg: #f6f9ff;
  --text: #0b2a66;
  --card: #ffffff;
}

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

html, body { height: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
}

.stage {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg, #fff5e8 0%, #e8f0ff 100%);
}

.bg-blobs { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: float 12s ease-in-out infinite;
}
.blob-1 { width: 360px; height: 360px; background: var(--orange); top: -80px; left: -80px; }
.blob-2 { width: 420px; height: 420px; background: var(--blue); bottom: -120px; right: -100px; animation-delay: -4s; }
.blob-3 { width: 260px; height: 260px; background: var(--orange-soft); top: 40%; left: 55%; animation-delay: -8s; }

@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px,-40px) scale(1.1); }
}

.card {
  position: relative;
  z-index: 1;
  background: var(--card);
  padding: 48px 40px;
  border-radius: 24px;
  text-align: center;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 30px 80px -20px rgba(11, 42, 102, 0.25),
              0 0 0 1px rgba(30, 98, 214, 0.06);
  animation: pop-in 0.7s cubic-bezier(.2,.9,.3,1.2) both;
}

@keyframes pop-in {
  from { opacity: 0; transform: translateY(20px) scale(.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.accent {
  background: linear-gradient(90deg, var(--orange), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtitle {
  color: #4b5d7e;
  margin-bottom: 28px;
  line-height: 1.55;
}

/* Construction page */
.hard-hat {
  display: inline-block;
  margin-bottom: 16px;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-8px) rotate(3deg); }
}

.progress {
  height: 10px;
  background: #e8eefb;
  border-radius: 999px;
  overflow: hidden;
  margin: 8px 0 24px;
}
.progress-bar {
  height: 100%;
  width: 30%;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  border-radius: 999px;
  animation: fill 3.5s ease-in-out infinite;
}
@keyframes fill {
  0% { width: 5%; }
  50% { width: 85%; }
  100% { width: 5%; }
}

.tools {
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 28px;
  margin-bottom: 12px;
}
.tool { display: inline-block; animation: spin 3s linear infinite; }
.tool:nth-child(2) { animation: bounce 1.4s ease-in-out infinite; }
.tool:nth-child(3) { animation: spin 4s linear infinite reverse; }
.tool:nth-child(4) { animation: bounce 1.8s ease-in-out infinite; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.status {
  font-size: 0.9rem;
  color: #6b7a99;
  margin-top: 8px;
  min-height: 1.2em;
}

/* Suspended page */
.theme-suspended .stage {
  background: linear-gradient(135deg, #ffe6d2 0%, #dde8ff 100%);
}

.lock { display: inline-block; margin-bottom: 16px; }
.shake { animation: shake 3s ease-in-out infinite; }
@keyframes shake {
  0%, 92%, 100% { transform: rotate(0); }
  93% { transform: rotate(-8deg); }
  95% { transform: rotate(8deg); }
  97% { transform: rotate(-5deg); }
  99% { transform: rotate(3deg); }
}

.btn {
  display: inline-block;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  color: white;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 20px;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 24px -8px rgba(255,122,24,.5);
}
.btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 14px 28px -8px rgba(30,98,214,.5); }

/* Footer partner card */
.partners {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  background: var(--card);
  border-radius: 16px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 14px 40px -16px rgba(11,42,102,.2), 0 0 0 1px rgba(30,98,214,.06);
  animation: pop-in 0.9s cubic-bezier(.2,.9,.3,1.2) both;
  animation-delay: .2s;
}
.partner {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-size: .82rem;
  line-height: 1.2;
  transition: transform .2s ease;
}
.partner:hover { transform: translateY(-2px); }
.partner-label { display: flex; flex-direction: column; }
.partner-label small { color: #6b7a99; font-size: .7rem; }
.partner-label strong { color: var(--blue-deep); }
.partner-logo {
  height: 28px;
  width: auto;
  display: block;
}
.partner-logo.on-dark {
  height: 32px;
}
.partner-divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(to bottom, transparent, rgba(30,98,214,.2), transparent);
}
.stage {
  grid-template-rows: 1fr auto;
  align-content: stretch;
  gap: 0;
}
.card { align-self: center; justify-self: center; margin: auto 0; }
.partners { align-self: end; justify-self: center; margin: 0; }
body { overflow: auto; }
