/* Core Layout and Design System for Unicorn Run */
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

:root {
  --neon-magenta: #ff007f;
  --neon-cyan: #00f0ff;
  --neon-yellow: #ffeb3b;
  --neon-purple: #9c27b0;
  --void-bg: #060211;
  --pink-glow: 0 0 10px #ff007f, 0 0 20px #ff007f;
  --cyan-glow: 0 0 10px #00f0ff, 0 0 20px #00f0ff;
}

body, html {
  margin: 0;
  padding: 0;
  width: 430px;
  height: 745px;
  background-color: var(--void-bg);
  overflow: hidden;
  position: relative;
  font-family: 'Fredoka', system-ui, -apple-system, sans-serif;
}

#game {
  width: 430px;
  height: 745px;
  display: block;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

#game-ui {
  position: absolute;
  top: 0;
  left: 0;
  width: 430px;
  height: 745px;
  pointer-events: none;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

/* Sound Control Button */
#sound-control {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 30px;
  padding: 6px 14px;
  font-size: 0.75rem;
  z-index: 50;
  cursor: pointer;
}

#sound-control.sound-off {
  opacity: 0.5;
  text-decoration: line-through;
}

/* Status Jump Hint overlay */
.status-hint {
  align-self: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 40px;
  font-family: 'Orbitron', sans-serif;
  animation: pulsateText 1.5s infinite ease-in-out;
  text-shadow: 0 0 6px rgba(255,255,255,0.2);
}

@keyframes pulsateText {
  0% { opacity: 0.3; }
  50% { opacity: 0.85; }
  100% { opacity: 0.3; }
}

@keyframes rainbow-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
