/* styles.css */
:root { 
  --side-pad: max(16px, env(safe-area-inset-left));
  --side-pad-right: max(16px, env(safe-area-inset-right));
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  min-height: 100svh;
  background-color: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Arial, sans-serif;
  padding-left: var(--side-pad);
  padding-right: var(--side-pad-right);
  text-align: center;
  gap: clamp(12px, 3vh, 24px);
  position: relative;
  opacity: 0;
  animation: fadeIn 800ms ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

#logo-obj, p {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 900ms ease forwards;
}
#logo-obj {
  height: clamp(144px, 36vh, 320px);
  width: auto;
  max-width: 90vw;
  animation-delay: 300ms;
  display: block;
}
p {
  margin: 0;
  font-size: clamp(18px, 2.8vw, 28px);
  line-height: 1.25;
  letter-spacing: 0.2px;
  animation-delay: 900ms;
}

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

footer {
  position: absolute;
  bottom: 16px;
  width: 100%;
  text-align: center;
  font-size: clamp(12px, 1.5vw, 14px);
  color: #888;
  opacity: 0;
  animation: fadeUp 900ms ease forwards;
  animation-delay: 1500ms;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
}
