/* === Land of Cards — Phaser 3 Edition === */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

#game-container {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

#game-container canvas {
  display: block;
  cursor: grab;
}

#game-container canvas:active {
  cursor: grabbing;
}

/* === HUD === */
.loc-hud {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 100;
}

.loc-hud-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: linear-gradient(180deg, rgba(15, 12, 25, 0.85), transparent);
}

.loc-hud-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #e8e4f0, #9b8ec4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loc-hud-stats {
  display: flex;
  gap: 20px;
}

.loc-stat {
  font-size: 13px;
  color: #8a849a;
}

.loc-stat strong {
  color: #ffd700;
  font-weight: 600;
}

.loc-hud-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: #8a849a;
  background: rgba(15, 12, 25, 0.85);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(120, 100, 180, 0.3);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.5s ease;
  white-space: nowrap;
}

.loc-hud-hint.loc-fade {
  opacity: 0;
}

/* === Responsive === */
@media (max-width: 768px) {
  .loc-hud-title { font-size: 16px; }
  .loc-stat { font-size: 11px; }
  .loc-hud-hint { font-size: 10px; padding: 4px 12px; }
}

::-webkit-scrollbar { display: none; }
