@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500;700&family=Syne:wght@400;700;800&display=swap');

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

html,
body {
  min-height: 100%;
  background: #050505;
}

body {
  overflow-x: hidden;
}

:root {
  --mono: 'DM Mono', monospace;
  --display: 'Syne', sans-serif;
}

.theme-dark {
  --bg: #050505;
  --fg: #f9fafb;
  --fg-dim: #a1a1aa;
  --border: #262626;
  --surface: #0b0b0b;
  --accent: #00ff94;
  --accent-dim: rgba(0, 255, 148, 0.08);
  --dot: #1c1c1c;
}


.app {
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--mono);
  transition: background 0.3s, color 0.3s;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, var(--dot) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 1;
}

.main {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.wrap {
  width: 100%;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
  color: var(--fg);
  text-decoration: none;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.logo .n {
  font-weight: 400;
}

.logo .b {
  font-weight: 700;
}

.logo .bi {
  font-weight: 600;
  font-style: italic;
}

.theme-nintherom .logo .b,
.theme-nintherom .logo .bi {
  color: var(--accent);
}

.message-block {
  max-width: 48ch;
  color: var(--fg-dim);
  font-size: clamp(0.95rem, 1.9vw, 1.1rem);
  line-height: 1.7;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.cat-wrap {
  position: relative;
  width: 72px;
  height: 80px;
  margin-top: 4px;
  opacity: 0;
  transform: translateY(12px);
  animation: rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.blur-bg {
  position: absolute;
  left: 10%;
  top: 20%;
  width: 80%;
  height: 70%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 40%;
  z-index: 0;
  mask-image: radial-gradient(circle, black 40%, transparent 80%);
}

.cat-base-container {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cat-base-container svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
}

.cat-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 2;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes catBob {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (max-width: 480px) {
  .main {
    padding: 32px 16px;
  }

  .logo {
    font-size: 2rem;
    margin-bottom: 28px;
  }

  .message-block {
    letter-spacing: 0.02em;
    line-height: 1.6;
  }
}
