:root {
  --bg-color: #fff9f0;
  --text-color: #4a3728;
  --card-bg: #ffffff;
  --accent-color: #ff6b6b;
  --btn-bg: #ff9f43;
  --btn-hover: #ee5253;
  --shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.dark-mode {
  --bg-color: #2c3e50;
  --text-color: #ecf0f1;
  --card-bg: #34495e;
  --accent-color: #ff7675;
  --btn-bg: #d35400;
  --btn-hover: #e67e22;
  --shadow: 0 4px 6px rgba(0,0,0,0.3);
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  transition: all 0.3s ease;
}

.container {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 400px;
  width: 90%;
}

h1 {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.menu-display {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 2rem 0;
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.chip {
  padding: 5px 12px;
  border-radius: 15px;
  background: var(--bg-color);
  font-size: 0.9rem;
  cursor: pointer;
  border: 1px solid var(--btn-bg);
  transition: all 0.2s;
}

.chip.active {
  background: var(--btn-bg);
  color: white;
}

button.main-btn {
  padding: 15px 30px;
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  background-color: var(--btn-bg);
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 159, 67, 0.4);
  transition: transform 0.2s, background-color 0.3s;
}

button.main-btn:hover {
  background-color: var(--btn-hover);
  transform: translateY(-2px);
}

button.main-btn:active {
  transform: translateY(0);
}

#theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 8px 15px;
  border-radius: 20px;
  border: 1px solid var(--text-color);
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
}

.footer {
  margin-top: 2rem;
  font-size: 0.8rem;
  opacity: 0.7;
}
