/* === Reset === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
  font-family: -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* === Swipe Container === */
.swipe-container {
  display: flex;
  width: 300vw; /* 3 pages */
  height: 100%;
  transition: transform 0.3s ease-out;
  will-change: transform;
}

.swipe-container.swiping {
  transition: none;
}

.game-section {
  width: 100vw;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* === Nav Dots === */
.nav-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 4px 0 8px;
  flex-shrink: 0;
}

.nav-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  transition: all 0.25s;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-dots .dot.active {
  width: 18px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.5);
}

/* === Game Header === */
.game-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  flex-shrink: 0;
}

.game-header .icon {
  font-size: 24px;
}

.game-header h2 {
  font-size: 17px;
  font-weight: 700;
}

/* === Sticky Input Area === */
.sticky-input {
  flex-shrink: 0;
  z-index: 10;
  padding-bottom: 12px;
}

/* === Scrollable Results === */
.results-scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 16px 60px;
}

/* === Swipe Hint === */
.swipe-hint {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 11px;
  color: #999;
  background: rgba(255, 255, 255, 0.85);
  padding: 4px 14px;
  border-radius: 12px;
  pointer-events: none;
  transition: opacity 0.5s;
  z-index: 100;
}

