* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root { color-scheme: dark; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 20px 40px;
  background: radial-gradient(1200px 700px at 50% -10%, #12233a 0%, #0a0f18 55%, #070a11 100%) #070a11;
  color: #e8eef6;
  font-family: "Inter Tight", system-ui, sans-serif;
}

a { color: #6fd3ff; text-decoration: none; }
a:hover { color: #a6e4ff; }

img { max-width: 100%; height: auto; }

.brand { display: flex; flex-direction: column; align-items: center; gap: 18px; animation: float 6s ease-in-out infinite; }
.brand h1 { margin: 0; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 40px; letter-spacing: -0.02em; line-height: 1; text-align: center; }
.tagline { margin: 6px 0 0; color: #8ea3ba; font-size: 16px; letter-spacing: 0.01em; text-align: center; }

.eject { margin-top: 52px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.eject-pad { position: relative; width: 220px; height: 220px; display: flex; align-items: center; justify-content: center; }
.ripple { position: absolute; inset: 0; border-radius: 999px; border: 1px solid rgba(90, 175, 255, 0.55); display: none; animation: ripple 1.8s ease-out infinite; }
.ripple:nth-child(2) { animation-delay: 0.6s; }
.ripple:nth-child(3) { animation-delay: 1.2s; }
.eject.on .ripple { display: block; }

.eject-btn {
  position: relative;
  width: 168px;
  height: 168px;
  padding: 0;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(120px 120px at 50% 30%, #2f8fff 0%, #1858e0 60%, #123f9c 100%);
  box-shadow: 0 0 0 6px rgba(47, 143, 255, 0.08), 0 16px 44px -14px rgba(47, 143, 255, 0.5), inset 0 2px 12px rgba(255, 255, 255, 0.3);
  transition: box-shadow 0.3s ease, transform 0.15s ease;
}
.eject-btn:active { transform: scale(0.97); }
.eject.on .eject-btn {
  background: radial-gradient(120px 120px at 50% 30%, #4aa8ff 0%, #1c6bff 60%, #1450d8 100%);
  box-shadow: 0 0 0 8px rgba(47, 143, 255, 0.14), 0 18px 50px -12px rgba(47, 143, 255, 0.65), inset 0 2px 12px rgba(255, 255, 255, 0.35);
  animation: breathe 1.4s ease-in-out infinite;
}
.eject-btn > span { display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; }
.eject-btn svg { animation: float 4s ease-in-out infinite; }
.eject.on .eject-btn svg { animation: drip 0.9s ease-in-out infinite; }
.eject-label { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 15px; letter-spacing: 0.02em; color: #eaf7ff; }
.hint { margin: 0; color: #7f95ad; font-size: 14.5px; min-height: 20px; text-align: center; }

main {
  margin-top: 44px;
  width: 100%;
  max-width: 620px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 30px 32px;
  backdrop-filter: blur(6px);
}
main p { margin: 0; font-size: 16px; line-height: 1.6; color: #c7d3e2; }
main p + p { margin-top: 18px; }
main b, main strong { color: #eaf1f9; }

footer { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.langs { display: flex; flex-wrap: wrap; justify-content: center; font-size: 14px; }
.langs a { padding: 2px 8px; }
footer p { margin: 4px 0 0; color: #405266; font-size: 13px; }
footer b { color: #6d8199; }

@media (max-width: 460px) {
  body { padding-top: 44px; }
  .brand h1 { font-size: 34px; }
  main { padding: 24px 20px; }
}

@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes ripple { 0% { transform: scale(0.55); opacity: 0.6; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes drip { 0% { transform: translateY(-4px); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(26px); opacity: 0; } }
