/* style.css — Cozy dark theme for Slotsovolic */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0f0f23;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

#game {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  cursor: crosshair;
}

#loading {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #0f0f23;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: opacity 0.6s ease;
}

#loading.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-mushroom {
  font-size: 64px;
  animation: bounce 1.2s ease-in-out infinite;
}

.loading-text {
  color: #ffd54f;
  font-family: monospace;
  font-size: 24px;
  font-weight: bold;
  margin-top: 16px;
  letter-spacing: 2px;
}

.loading-sub {
  color: #ffffff55;
  font-family: monospace;
  font-size: 12px;
  margin-top: 8px;
}

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

/* Mobile landscape hint */
@media (max-width: 600px) and (orientation: portrait) {
  #loading::after {
    content: '↻ Rotate for best experience';
    color: #ffffff33;
    font-family: monospace;
    font-size: 11px;
    margin-top: 32px;
  }
}
