@import url('https://fonts.googleapis.com/css2?family=Segoe+UI:wght@300;400;600;700&display=swap');

:root {
  color-scheme: dark;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Views Management */
.view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: scale(0.98);
  z-index: 10;
}

.view.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  z-index: 20;
}

/* WinMo 6.5 Honeycomb Grid */
.honeycomb-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 10px;
}

/* The iconic staggered offset effect - simple CSS version */
.honeycomb-grid > :nth-child(even) {
  margin-top: 30px;
}

.hex-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.1s, background 0.1s;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.hex-icon:active {
  transform: scale(0.9);
  background: radial-gradient(circle at top left, rgba(255,255,255,0.6), rgba(255,255,255,0.3));
}

.hex-icon-emoji {
  font-size: 32px;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.5));
}

.hex-icon-text {
  font-size: 11px;
  margin-top: 4px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

/* Bubbles Animation */
.bubble-el {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(173, 216, 230, 0.5) 60%, rgba(0, 0, 255, 0.2));
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: inset 0 0 10px rgba(255,255,255,0.5), 0 2px 5px rgba(0,0,0,0.1);
  pointer-events: auto;
  cursor: pointer;
  animation: floatUp linear forwards;
}

.bubble-el:active {
  transform: scale(1.2);
}

@keyframes floatUp {
  0% { transform: translateY(100vh) scale(0.8); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) scale(1.2); opacity: 0; }
}

/* Cats Animation */
.cat-dance {
  animation: dance 1s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: bottom center;
}

@keyframes dance {
  0% { transform: translateY(0) rotate(-10deg) scaleY(0.9); }
  50% { transform: translateY(-30px) rotate(0deg) scaleY(1.1); }
  100% { transform: translateY(0) rotate(10deg) scaleY(0.9); }
}

.disco-lights {
  background: radial-gradient(circle at 50% 50%, rgba(255,0,255,0.5), transparent 60%);
  animation: colorChange 2s infinite alternate;
}

@keyframes colorChange {
  0% { filter: hue-rotate(0deg); opacity: 0.5; }
  100% { filter: hue-rotate(360deg); opacity: 0.8; }
}

/* Paint Canvas */
#paint-canvas {
  cursor: crosshair;
}
