/* HappyCity Web PWA - Retro Style */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
  --hc-blue: #1e3a8a;
  --hc-blue-light: #3b82f6;
  --hc-gold: #f59e0b;
  --hc-gold-light: #fef3c7;
  --hc-dark: #0f172a;
  --hc-panel-bg: rgba(15, 23, 42, 0.88);
  --hc-border: #38bdf8;
  --hc-border-outer: #0284c7;
  --hc-text: #f8fafc;
  --hc-bubble-bg: rgba(255, 255, 255, 0.95);
  --hc-bubble-text: #1e293b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

input, textarea, select {
  user-select: text !important;
  -webkit-user-select: text !important;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #000;
  color: var(--hc-text);
  touch-action: none;
}

#game-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

#game-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  image-rendering: auto;
  cursor: default;
  touch-action: none;
}

/* Retro Window Frame Utility */
.hc-window {
  background: var(--hc-panel-bg);
  border: 2px solid var(--hc-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), inset 0 0 10px rgba(56, 189, 248, 0.2);
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

.hc-btn {
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
  color: #fff;
  border: 1px solid #7dd3fc;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.hc-btn:hover {
  background: linear-gradient(180deg, #7dd3fc 0%, #0369a1 100%);
  transform: translateY(-1px);
}

.hc-btn:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.4);
}
