* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  font-family: 'Segoe UI', 'Poppins', -apple-system, BlinkMacSystemFont,
    'avenir next', avenir, 'helvetica neue', helvetica, ubuntu, roboto,
    noto, arial, sans-serif;
  overflow: hidden;
  cursor: default;
  background: linear-gradient(145deg, #fff5f7 0%, #ffe8ee 30%, #ffdce4 70%, #ffccd6 100%);
}

.noscript-banner {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #fff5f7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #d48a9e;
  text-align: center;
  padding: 40px;
  flex-direction: column;
}

.noscript-sub {
  font-size: 16px;
  margin-top: 8px;
  display: block;
  opacity: 0.7;
}

.hello-message {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 10;
  padding: 24px;
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,0.6) 0%, transparent 80%);
}

.chrome-text {
  background: linear-gradient(
    135deg,
    #fff 0%,
    #ffd6e0 15%,
    #ffb6c8 30%,
    #fff 45%,
    #ffd6e0 55%,
    #ff8aa4 70%,
    #fff 85%,
    #ffb6c8 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: chromeShine 5s ease-in-out infinite;
  filter: drop-shadow(0 2px 8px rgba(255, 150, 180, 0.25));
}

@keyframes chromeShine {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.hello-title {
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 6px;
}

.hello-sub {
  font-size: clamp(14px, 2.2vw, 18px);
  font-weight: 400;
  color: #d48a9e;
  margin-bottom: 20px;
  letter-spacing: 1px;
  line-height: 1.7;
}

.hello-sub span {
  display: inline-block;
  background: rgba(255, 255, 255, 0.35);
  padding: 5px 16px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  color: #c97a8e;
}

.cat-wrapper {
  width: min(65vw, 65vh, 400px);
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 0 0 5px rgba(255, 182, 193, 0.4),
    0 16px 50px rgba(255, 105, 135, 0.25),
    0 0 100px rgba(255, 182, 193, 0.1);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  position: relative;
  margin-bottom: 28px;
}

.cat-wrapper:hover {
  transform: scale(1.04) rotate(-1deg);
}

.cat-wrapper:active {
  transform: scale(0.97);
}

.cat-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.cat-wrapper::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  pointer-events: none;
}

.cat-button {
  background: transparent;
  border: 2px solid #ffb6c8;
  color: #d47a92;
  font-size: clamp(15px, 2.8vw, 20px);
  font-weight: 600;
  padding: 12px 44px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 18px rgba(255, 107, 138, 0.1);
}

.cat-button::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffb6c8, #ffd6e0, #fff, #ffb6c8);
  background-size: 300% 300%;
  animation: chromeShine 4s ease-in-out infinite;
  z-index: -1;
  padding: 2px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.cat-button:hover {
  background: linear-gradient(135deg, #ffb6c8, #ff8aa4);
  color: white;
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 10px 30px rgba(255, 107, 138, 0.3),
    inset 0 1px 0 rgba(255,255,255,0.3);
  border-color: transparent;
}

.cat-button:active {
  transform: translateY(0px) scale(0.97);
  box-shadow: 0 4px 12px rgba(255, 107, 138, 0.2);
}

.logout-messages {
  pointer-events: none;
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 9999;
  font-size: 13px;
  line-height: 1.6;
  color: #e87a92;
  text-shadow:
    0 0 8px rgba(255,255,255,0.9),
    0 2px 12px rgba(0,0,0,0.06);
  font-weight: 500;
  max-height: 80vh;
  overflow-y: auto;
  scrollbar-width: none;
}

.logout-messages::-webkit-scrollbar {
  display: none;
}

@keyframes blurslowly {
  0%   { filter: none; }
  90%  { filter: none; }
  94%  { filter: blur(1.2px); }
  96%  { filter: blur(2px); }
  100% { filter: none; }
}

body {
  animation-name: blurslowly;
  animation-iteration-count: infinite;
  animation-duration: 18s;
  animation-play-state: running;
}

@media (max-width: 480px) {
  .cat-wrapper {
    width: min(60vw, 220px);
  }

  .cat-button {
    padding: 10px 28px;
    font-size: 14px;
  }

  .hello-title {
    font-size: 22px;
  }
}