@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700;900&display=swap');

:root {
  --bg-color: #020202;
  --accent-glow: rgba(255, 150, 50, 0.15);
}

body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
  background: radial-gradient(circle at center, #151515 0%, #000000 100%);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  overflow: hidden;
  cursor: crosshair;
}

/* Subtle background pulse */
body::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 60%);
  opacity: 0.6;
  animation: pulse 6s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.4; }
  100% { transform: scale(1.2); opacity: 0.8; }
}

.container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

h1 {
  font-size: 6vw;
  font-weight: 900;
  z-index: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.03);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  user-select: none;
  pointer-events: none;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.02);
  animation: float 4s ease-in-out infinite;
  white-space: nowrap;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); text-shadow: 0 15px 30px rgba(255, 255, 255, 0.04); }
  100% { transform: translateY(0px); }
}

#cat-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  cursor: grab;
  z-index: 10;
  /* Bouncy physics-like transition */
  transition: top 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), left 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#cat-container:active {
  cursor: grabbing;
}

#cat {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
  filter: drop-shadow(0 0 20px rgba(255, 150, 50, 0.3));
  /* 
    The magic trick: Screen blend mode makes the pure black background 
    of the cat image completely transparent, leaving only the bright, cute cat!
  */
  mix-blend-mode: screen; 
}

#cat:hover {
  transform: scale(1.15) rotate(-8deg);
  filter: drop-shadow(0 0 35px rgba(255, 150, 50, 0.6)) brightness(1.1);
}
