// ============================================================
// DATA — local images + direct VIP lounge copy
// ============================================================

const IMG = {
  // Rooms (uploaded)
  hero:        "uploads/u1862462214_A_soft_ambient_interior_scene_featuring_a_Korean__79ada31e-dfa1-45b5-bb85-ea5d8cf9160e_1.png",
  roomA:       "uploads/u1862462214_premium_VIP_noraebang_room_black_interior_marble__b750d1ea-4f29-45cc-ac53-f05504196fac_1.png",
  roomB:       "uploads/u1862462214_premium_VIP_noraebang_room_black_interior_marble__b04c313a-c21e-41d5-9691-531f59d82999_3.png",
  roomC:       "uploads/u1862462214_Korean_VIP_karaoke_room_black_interior_marble_tab_c50ce02c-503d-4449-b7dd-5ae22103104a_0.png",
  roomD:       "uploads/u1862462214_premium_VIP_noraebang_room_black_interior_marble__b04c313a-c21e-41d5-9691-531f59d82999_0.png",
  // Models (uploaded)
  modelA:      "uploads/u1862462214_Beautiful_Korean_woman_clean_minimal_background_w_c0f8d224-1c8d-48f7-a46e-e42d9903e103_1.png",
  modelB:      "uploads/u1862462214_A_hyper-realistic_editorial-style_portrait_of_a_s_6792b6bf-53c9-401d-b0e3-27d73182629f_2.png",
  modelC:      "uploads/u1862462214_Beautiful_Korean_woman_clean_minimal_background_w_1bc81eb2-d40a-47dc-8779-e3050cfbd0fd_0.png",
  modelD:      "uploads/u1862462214_Beautiful_Korean_woman_clean_minimal_background_w_c0f8d224-1c8d-48f7-a46e-e42d9903e103_2.png",
  modelE:      "uploads/u1862462214_A_soft_ambient_interior_scene_featuring_a_Korean__79ada31e-dfa1-45b5-bb85-ea5d8cf9160e_1.png",
  modelF:      "uploads/u1862462214_beautiful_korean_woman_soft_facial_features_pale__80dc31f4-9ee0-46c4-9566-ee730f9b46e3_0.png",
  modelG:      "uploads/u1862462214_beautiful_korean_woman_soft_facial_features_pale__35881b2c-1062-4e54-887c-fda9dcf46b3b_2.png",
  modelH:      "uploads/u1862462214_beautiful_korean_woman_soft_facial_features_pale__f7295ab3-f451-4e28-aaf7-88a2ce1100d0_1.png",
  // Bottles (external — reliable)
  macallan:    "https://images.unsplash.com/photo-1527281400683-1aae777175f8?w=900&q=85",
  hibiki:      "https://images.unsplash.com/photo-1569529465841-dfecdab7503b?w=900&q=85",
  dom:         "https://images.unsplash.com/photo-1510812431401-41d2bd2722f3?w=900&q=85",
  louis:       "https://images.unsplash.com/photo-1609951651556-5334e2706168?w=900&q=85",
  bowmore:     "https://images.unsplash.com/photo-1609151376730-f246ec0b99e5?w=900&q=85",
  cristal:     "https://images.unsplash.com/photo-1592840496694-26d035b52b48?w=900&q=85",
};

const ROOMS = [
  {
    id: "prestige", num: "01", name: "프레스티지", en: "Prestige Room",
    tag: "최대 8인", capacity: "4–8", hours: "2시간~",
    price: "350,000", img: IMG.roomA,
    desc: "블랙 마블 + 골드 몰딩. 가장 격이 다른 룸.",
    avail: "오늘 2개 가능", status: "ok", span: "feature",
  },
  {
    id: "noir", num: "02", name: "누아르", en: "Noir Room",
    tag: "최대 12인", capacity: "6–12", hours: "2시간~",
    price: "280,000", img: IMG.roomB,
    desc: "그레이 벨벳 소파 + 블랙 마블 테이블. 캔들 세팅.",
    avail: "잔여 1개", status: "warn", span: "half",
  },
  {
    id: "amber", num: "03", name: "앰버", en: "Amber Room",
    tag: "최대 20인", capacity: "10–20", hours: "3시간~",
    price: "480,000", img: IMG.roomD,
    desc: "앰버 간접 조명, 프라이빗 서빙 전용 동선.",
    avail: "가용", status: "ok", span: "half",
  },
  {
    id: "obsidian", num: "04", name: "옵시디언", en: "Obsidian",
    tag: "최대 6인", capacity: "4–6", hours: "2시간~",
    price: "220,000", img: IMG.roomC,
    desc: "풀 다크 인테리어. 완전 차음 설계.",
    avail: "가용", status: "ok", span: "third",
  },
  {
    id: "imperial", num: "05", name: "임페리얼", en: "Imperial",
    tag: "최대 30인", capacity: "15–30", hours: "4시간~",
    price: "880,000", img: IMG.roomA,
    desc: "대형 파티룸. 전담 MD + 샴페인 타워 옵션.",
    avail: "5월 이후", status: "warn", span: "third",
  },
  {
    id: "vvip", num: "06", name: "VVIP", en: "VVIP Only",
    tag: "회원 전용", capacity: "2–4", hours: "문의",
    price: "문의", img: IMG.roomA,
    desc: "멤버 전용 프라이빗 룸. 완전 비공개.",
    avail: "Members only", status: "lock", span: "third",
  },
];

const BOTTLES = [
  { id: "macallan", name: "맥캘란 25년", en: "Macallan 25", origin: "Highland, Scotland", price: "3,200,000", img: IMG.macallan, notes: ["드라이 프루트", "시나몬", "오크"], abv: "43%", rarity: "Rare", tag: "SIGNATURE", category: "whisky", year: "1998" },
  { id: "hibiki", name: "히비키 30년", en: "Hibiki 30", origin: "Yamazaki, Japan", price: "4,800,000", img: IMG.hibiki, notes: ["미즈나라", "꿀", "샌달우드"], abv: "43%", rarity: "Limited", tag: "ALLOCATED", category: "whisky", year: "2019" },
  { id: "dom", name: "돔 페리뇽 P2", en: "Dom Pérignon P2", origin: "Champagne, France", price: "1,250,000", img: IMG.dom, notes: ["브리오슈", "미네랄", "시트러스"], abv: "12.5%", rarity: "Plénitude", category: "champagne", year: "2004" },
  { id: "louis", name: "루이 13세", en: "Louis XIII", origin: "Cognac, France", price: "5,500,000", img: IMG.louis, notes: ["사프란", "무화과", "시가 박스"], abv: "40%", rarity: "Heritage", tag: "CRYSTAL", category: "cognac", year: "NV" },
  { id: "bowmore", name: "보모어 30년", en: "Bowmore 30", origin: "Islay, Scotland", price: "2,900,000", img: IMG.bowmore, notes: ["피트", "바다 소금", "카라멜"], abv: "45.3%", rarity: "Collector", category: "whisky", year: "1989" },
  { id: "cristal", name: "크리스탈 로제", en: "Cristal Rosé", origin: "Champagne, France", price: "1,450,000", img: IMG.cristal, notes: ["체리", "아몬드", "아카시아"], abv: "12%", rarity: "Vintage", category: "champagne", year: "2013" },
];

const FILTERS = [
  { id: "all", label: "전체" },
  { id: "whisky", label: "위스키" },
  { id: "champagne", label: "샴페인" },
  { id: "cognac", label: "꼬냑" },
];

const EVENTS = [
  { id: "fri", date: "05.02 FRI", en: "Friday Night", kr: "프라이데이 나이트", chef: "DJ KIRIN b2b MEKK", seats: "예약 중", img: IMG.modelA, tag: "파티" },
  { id: "sat", date: "05.03 SAT", en: "Saturday Special", kr: "새터데이 스페셜", chef: "웰컴 샴페인 + 전담 MD", seats: "잔여 3팀", img: IMG.modelC, tag: "스페셜" },
  { id: "may", date: "05.10 SAT", en: "May Edition", kr: "메이 에디션", chef: "보틀 프로모션 + 포토존", seats: "오픈", img: IMG.modelB, tag: "이벤트" },
];

// Dates
function buildDates() {
  const today = new Date(2026, 3, 25);
  const out = [];
  const days = ["SUN","MON","TUE","WED","THU","FRI","SAT"];
  for (let i = 0; i < 14; i++) {
    const d = new Date(today); d.setDate(today.getDate() + i);
    const avail = i % 5 === 0 ? "마감임박" : i === 3 ? "마감" : `${3+(i%4)}개`;
    out.push({ key: d.toISOString().slice(0,10), day: days[d.getDay()], num: d.getDate(), month: d.getMonth()+1, label: `${d.getMonth()+1}/${d.getDate()}`, disabled: i === 3, avail });
  }
  return out;
}
const DATES = buildDates();

const TIMES = [
  { t: "19:00", avail: true }, { t: "20:00", avail: true }, { t: "21:00", avail: false },
  { t: "22:00", avail: true }, { t: "23:00", avail: true }, { t: "24:00", avail: true },
];

const OPTIONS = [
  { id: "md", t: "전담 MD", en: "Private MD", d: "1:1 전담 서빙. 주문 즉시 처리.", p: "200,000", rec: "인기" },
  { id: "photo", t: "포토그래퍼", en: "Photographer", d: "전문 포토그래퍼 1시간 동행. 보정본 제공.", p: "300,000" },
  { id: "flower", t: "플라워 세팅", en: "Flower Setup", d: "생화 테이블 플라워 + 풍선 세팅.", p: "180,000" },
  { id: "transfer", t: "발렛 파킹", en: "Valet", d: "건물 1층 발렛. 출차까지 대기.", p: "50,000" },
  { id: "cake", t: "케이크 서비스", en: "Cake", d: "맞춤 케이크 + 생일 세레모니.", p: "150,000" },
];

Object.assign(window, { IMG, ROOMS, BOTTLES, FILTERS, DATES, TIMES, OPTIONS, EVENTS });
