@charset "UTF-8";
body {
  background: #0b0f14;
  color: #fff;
  font-family: system-ui, sans-serif;
  display: flex;
  justify-content: center;
  padding: 20px;
}

.slot {
  width: 360px;
  position: relative;
}

/* 간판 */
.marquee {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: radial-gradient(circle at 30% 30%, #ffeaa7, #f39c12 55%, #8e44ad 120%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  font-weight: 900;
  letter-spacing: 0.08em;
}

/* 본체 */
.cabinet {
  margin-top: 10px;
  padding: 18px;
  border-radius: 26px;
  background: linear-gradient(#b31237, #5b0b1e);
  position: relative;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.glass {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* 슬롯 창 */
.window {
  height: 64px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #0b0f14, #161f2a);
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 10px 18px rgba(0, 0, 0, 0.5);
  position: relative;
}

.window::after {
  content: "";
  position: absolute;
  inset: -30% -10%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 40%);
  transform: rotate(8deg);
  pointer-events: none;
}

/* 릴 리스트 */
.list {
  list-style: none;
  margin: 0;
  padding: 0;
  transform: translateY(0);
}

.item {
  height: 64px;
  line-height: 64px;
  padding: 0 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #f5f6fa;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
  width: 300px;
}

/* 포인터 */
.pointer {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #00f5ff;
  text-shadow: 0 0 12px rgba(0, 245, 255, 0.8);
}

/* 레버 */
.lever {
  position: absolute;
  right: -28px;
  top: 100px;
  width: 50px;
  height: 170px;
  background: none;
  border: 0;
  cursor: pointer;
  transform-origin: 20px 30px;
  transition: 0.15s ease;
}

.lever.pulled {
  transform: rotate(18deg) translateY(10px);
}

.lever-stick {
  position: absolute;
  left: 20px;
  top: 30px;
  width: 10px;
  height: 110px;
  background: linear-gradient(#ddd, #888);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25), 0 10px 14px rgba(0, 0, 0, 0.25);
}

.lever-knob {
  position: absolute;
  left: 6px;
  top: 0;
  width: 38px;
  height: 38px;
  background: radial-gradient(circle at 30% 30%, #fff, #ff3b3b 45%, #7a0010 85%);
  border-radius: 50%;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.25), 0 0 16px rgba(255, 59, 59, 0.35);
}

/* 패널 */
.panel {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr) 120px repeat(3, 1fr);
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, #2c3e50, #111923);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 10px 18px rgba(0, 0, 0, 0.35);
}

.lamp {
  height: 16px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #fff, #ff3b3b 45%, #7a0010 80%);
  box-shadow: 0 0 12px rgba(255, 59, 59, 0.5);
  opacity: 0.9;
}

.spin {
  height: 46px;
  border-radius: 14px;
  border: 0;
  font-weight: 900;
  letter-spacing: 0.08em;
  cursor: pointer;
  color: #111;
  background: radial-gradient(circle at 30% 30%, #fff, #f1c40f 45%, #e67e22 85%);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
}

.spin:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 결과 */
.result {
  margin-top: 10px;
  font-weight: 800;
}

/* 메뉴 섹션 */
.menu {
  margin-top: 14px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.menu h3 {
  margin: 10px 0 8px;
  font-size: 14px;
}

.add-area {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.add-input {
  flex: 1;
  min-height: 76px;
  resize: vertical;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #111;
  color: #fff;
  padding: 10px 12px;
  outline: none;
}

.add-btn {
  width: 80px;
  border-radius: 12px;
  border: 0;
  font-weight: 900;
  cursor: pointer;
}

.menu-actions {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.sub-btn {
  height: 36px;
  padding: 0 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #111;
  color: #fff;
  cursor: pointer;
}

.hint {
  font-size: 12px;
  opacity: 0.8;
}

/* 현재 메뉴 리스트 */
.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-row .name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.del-btn {
  flex: 0 0 auto;
  height: 30px;
  padding: 0 10px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  font-weight: 900;
}

/* 히스토리 */
.history {
  margin-top: 14px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.history h3 {
  margin: 10px 0 6px;
  font-size: 14px;
}

#historyList,
#statsList {
  margin: 0;
  padding-left: 18px;
}

#historyList li,
#statsList li {
  margin: 4px 0;
  font-size: 14px;
}

/* 당첨 반짝 */
.slot.win .window {
  box-shadow: inset 0 10px 18px rgba(0, 0, 0, 0.55), 0 0 18px rgba(241, 196, 15, 0.55), 0 0 40px rgba(241, 196, 15, 0.25);
  border-color: rgba(241, 196, 15, 0.55);
}

/*# sourceMappingURL=style.css.map */
