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

/* ── Page background ──────────────────────────────────────
   Same palette, but diagonal sweep — feels like a night sky */
body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: linear-gradient(
    150deg,
    #5a2d82 0%,
    #d68cff 38%,
    #e9c6ff 65%,
    #b9f0ff 100%
  );
  background-size: 200% 200%;
  animation: bgShift 14s ease infinite;
  position: relative;
}

@keyframes bgShift {
  0%   { background-position: 0%   0%;   }
  50%  { background-position: 100% 100%; }
  100% { background-position: 0%   0%;   }
}

/* ── Blobs ──────────────────────────────────────────────── */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}

.b1 {
  width: 500px; height: 500px;
  background: #d68cff;
  top: -180px; left: -180px;
  animation: blobA 11s ease-in-out infinite;
}
.b2 {
  width: 500px; height: 500px;
  background: #b9f0ff;
  bottom: -200px; right: -200px;
  animation: blobA 11s ease-in-out infinite reverse;
  animation-delay: -5.5s;
}

@keyframes blobA {
  0%, 100% { transform: translate(0, 0);      }
  50%       { transform: translate(40px, 30px); }
}

/* ── Stars ──────────────────────────────────────────────── */
.star {
  position: fixed;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  animation: twinkle 4s ease-in-out infinite;
}

.st1  { top:  8%; left:  6%;   font-size: 28px; color: #fff;    animation-delay: 0s;    }
.st2  { top: 14%; left: 22%;  font-size: 16px; color: #e9c6ff; animation-delay: 0.7s;  }
.st3  { top:  5%; right: 22%; font-size: 14px; color: #b9f0ff; animation-delay: 1.3s;  }
.st4  { top: 30%; left:  4%;  font-size: 18px; color: #fff;    animation-delay: 2.1s;  }
.st5  { top: 22%; right:  5%; font-size: 22px; color: #e9c6ff; animation-delay: 0.4s;  }
.st6  { bottom: 32%; left:  8%;  font-size: 12px; color: #d68cff; animation-delay: 1.8s; }
.st7  { bottom: 22%; right:  6%; font-size: 20px; color: #fff;    animation-delay: 3s;   }
.st8  { top: 45%; left:  3%;   font-size: 14px; color: #b9f0ff; animation-delay: 0.5s;  }
.st9  { top: 60%; right:  3%;  font-size: 26px; color: #fff;    animation-delay: 1.1s;  }
.st10 { top: 18%; left: 46%;   font-size: 10px; color: #e9c6ff; animation-delay: 2.7s;  }
.st11 { bottom: 45%; right: 18%; font-size: 16px; color: #d68cff; animation-delay: 0.2s; }
.st12 { bottom: 12%; left: 28%;  font-size: 22px; color: #fff;    animation-delay: 1.5s; }
.st13 { top: 38%; right: 22%;   font-size: 12px; color: #b9f0ff; animation-delay: 3.4s; }
.st14 { bottom: 55%; left: 30%; font-size: 18px; color: #e9c6ff; animation-delay: 0.9s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.7);  }
  40%       { opacity: 1;   transform: scale(1.4);  }
  60%       { opacity: 0.8; transform: scale(1.2);  }
}

/* ── Moon ───────────────────────────────────────────────── */
.moon {
  position: fixed;
  top: 5%;
  right: 6%;
  font-size: 64px;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 0 20px rgba(185,240,255,0.5));
  animation: moonRock 8s ease-in-out infinite;
}

@keyframes moonRock {
  0%, 100% { transform: rotate(-14deg) translateY(0);   }
  50%       { transform: rotate(8deg)  translateY(-14px); }
}

/* ── Page layout — NO card, open scene ─────────────────── */
.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  padding: 16px 20px;
  gap: 4px;
}

/* ── Top text — floats directly on gradient ─────────────── */
.top-text {
  text-align: center;
  margin-bottom: 24px;
  animation: fadeDown 1s ease both;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0);     }
}

.tag {
  display: inline-block;
  padding: 5px 22px;
  background: rgba(255, 255, 255, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  color: #3d1060;
  letter-spacing: 4px;
  margin-bottom: 12px;
  backdrop-filter: blur(8px);
}

h1 {
  font-size: clamp(28px, 5.5vw, 58px);
  font-weight: 900;
  color: #3d1060;
  letter-spacing: -1.5px;
  line-height: 1;
  text-shadow: 0 2px 16px rgba(255, 255, 255, 0.6);
}

.sub {
  margin-top: 10px;
  font-size: clamp(13px, 1.6vw, 17px);
  color: #5a2d82;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.2px;
}

/* ── Server scene — hero ────────────────────────────────── */
.server-scene {
  display: flex;
  justify-content: center;
  animation: fadeUp 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

.srv {
  width: min(460px, 88vw);
  max-height: 44vh;
  height: auto;
  animation: breathe 5s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(91, 45, 130, 0.35));
}

@keyframes breathe {
  0%, 100% { transform: translateY(0)    scale(1);     }
  50%       { transform: translateY(-12px) scale(1.015); }
}


/* ── Bottom bar ─────────────────────────────────────────── */
.bottom-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 2px;
  animation: fadeUp 1s ease 0.5s both;
}


.copy {
  font-size: 12px;
  color: #7b3fe4;
  font-weight: 600;
  letter-spacing: 0.6px;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 480px) {
  .moon { font-size: 38px; }
  .srv  { max-height: 38vh; }
}

@media (max-height: 600px) {
  .moon { font-size: 32px; top: 3%; }
  .srv  { max-height: 36vh; }
  .sub  { margin-top: 6px; }
}
