/* ===== KTV 歡唱房 — Shared Design System ===== */
:root {
  --color-bg: #0d0a18;
  --color-bg-soft: #161029;
  --color-surface: #1d1535;
  --color-primary: #c026d3;      /* magenta */
  --color-primary-2: #7c3aed;    /* violet  */
  --color-accent: #22d3ee;       /* cyan    */
  --color-text: #f4f0ff;
  --color-muted: #b6abd6;
  --color-border: rgba(255,255,255,.1);
  --gradient: linear-gradient(120deg, var(--color-primary), var(--color-primary-2));
  --gradient-glow: linear-gradient(120deg, var(--color-primary), var(--color-accent));
  --radius: 16px;
  --shadow: 0 18px 50px rgba(124,58,237,.25);
  --container: 1180px;
  --gutter: clamp(1.2rem, 5vw, 3rem);
  --font: "Helvetica Neue", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-size: 1rem;
  font-weight: 700;
  padding: .7em 1.6em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  letter-spacing: .02em;
}
.btn-primary { background: var(--gradient); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 60px rgba(192,38,211,.45); }
.btn-ghost { background: rgba(255,255,255,.06); border-color: var(--color-border); color: var(--color-text); }
.btn-ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13,10,24,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 70px;
}
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.25rem; }
.brand .logo {
  width: 38px; height: 38px; border-radius: 12px; background: var(--gradient);
  display: grid; place-items: center; font-size: 1.1rem; box-shadow: var(--shadow);
}
.brand .name { background: var(--gradient-glow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; }
.nav-links a { color: var(--color-muted); font-weight: 600; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--color-text); }
.nav-toggle { display: none; background: none; border: 0; color: var(--color-text); font-size: 1.6rem; cursor: pointer; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex; align-items: center;
  background: linear-gradient(rgba(13,10,24,.55), rgba(13,10,24,.9)), url('../images2/hero.png') center/cover no-repeat;
}
.hero-inner { max-width: 720px; padding-block: clamp(4rem, 12vh, 8rem); }
.eyebrow {
  display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--color-accent);
  border: 1px solid var(--color-border); border-radius: 999px; padding: .4em 1em; margin-bottom: 1.4rem;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.05; font-weight: 800; margin-bottom: 1.2rem; }
.hero h1 span { background: var(--gradient-glow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: clamp(1.05rem, 2.5vw, 1.3rem); color: var(--color-muted); margin-bottom: 2.2rem; max-width: 38ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ===== Sections ===== */
.section { padding-block: clamp(3.5rem, 9vw, 6rem); }
.section-soft { background: var(--color-bg-soft); }
.section-head { max-width: 640px; margin: 0 auto clamp(2rem, 5vw, 3.5rem); text-align: center; }
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); font-weight: 800; line-height: 1.15; margin-bottom: 1rem; }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }

/* ===== Grid & Cards ===== */
.grid { display: grid; gap: 1.6rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(192,38,211,.5); }
.card .icon { font-size: 2rem; margin-bottom: .8rem; }
.card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.card p { color: var(--color-muted); }

/* media cards (rooms) */
.media-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.media-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.media-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.media-card .body { padding: 1.6rem; }
.media-card .body h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.media-card .tag { display: inline-block; font-size: .8rem; color: var(--color-accent); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .6rem; }
.media-card .price { font-size: 1.3rem; font-weight: 800; margin-top: 1rem; }
.media-card .price small { font-size: .85rem; color: var(--color-muted); font-weight: 500; }

/* ===== Split feature ===== */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 1rem; }
.split p { color: var(--color-muted); margin-bottom: 1rem; }
.check-list { list-style: none; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; color: var(--color-muted); }
.check-list li::before { content: "✦"; color: var(--color-accent); font-weight: 700; }

/* ===== Pricing table ===== */
.price-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.price-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 2rem; text-align: center; position: relative; }
.price-card.featured { border-color: var(--color-primary); box-shadow: var(--shadow); }
.price-card .badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gradient); color: #fff; font-size: .75rem; font-weight: 700; padding: .35em 1em; border-radius: 999px; }
.price-card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.price-card .amount { font-size: 2.6rem; font-weight: 800; background: var(--gradient-glow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-card .amount small { font-size: 1rem; -webkit-text-fill-color: var(--color-muted); color: var(--color-muted); font-weight: 500; }
.price-card ul { list-style: none; margin: 1.4rem 0; display: grid; gap: .6rem; }
.price-card ul li { color: var(--color-muted); }

/* ===== Stats ===== */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.6rem; text-align: center; }
.stat .num { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; background: var(--gradient-glow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .label { color: var(--color-muted); font-size: .95rem; }

/* ===== CTA band ===== */
.cta-band { background: var(--gradient); border-radius: var(--radius); padding: clamp(2.5rem, 6vw, 4rem); text-align: center; box-shadow: var(--shadow); }
.cta-band h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); font-weight: 800; margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,.9); margin-bottom: 1.8rem; }
.cta-band .btn-ghost { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.4); color: #fff; }

/* ===== Contact / Form ===== */
.form-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: clamp(1.8rem, 4vw, 2.6rem); }
.form-row { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.field { display: grid; gap: .4rem; margin-bottom: 1.2rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8em 1em; border-radius: 12px;
  background: var(--color-bg-soft); border: 1px solid var(--color-border);
  color: var(--color-text); font: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--color-primary); border-color: transparent; }
.field textarea { resize: vertical; min-height: 120px; }
.info-list { list-style: none; display: grid; gap: 1.2rem; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; }
.info-list .ic { font-size: 1.4rem; }
.info-list strong { display: block; }
.info-list span { color: var(--color-muted); }

/* ===== Page hero (sub pages) ===== */
.page-hero { padding-block: clamp(3rem, 9vw, 5.5rem); text-align: center; background: var(--color-bg-soft); border-bottom: 1px solid var(--color-border); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; margin-bottom: .8rem; }
.page-hero h1 span { background: var(--gradient-glow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero p { color: var(--color-muted); max-width: 50ch; margin-inline: auto; }

/* ===== Footer ===== */
.site-footer { background: var(--color-bg-soft); border-top: 1px solid var(--color-border); padding-block: 3rem 1.6rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin-bottom: 2rem; }
.footer-grid h4 { margin-bottom: .9rem; font-size: 1.05rem; }
.footer-grid ul { list-style: none; display: grid; gap: .5rem; }
.footer-grid a { color: var(--color-muted); transition: color .2s; }
.footer-grid a:hover { color: var(--color-text); }
.footer-grid p { color: var(--color-muted); }
.footer-bottom { border-top: 1px solid var(--color-border); padding-top: 1.4rem; text-align: center; color: var(--color-muted); font-size: .9rem; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive nav ===== */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--color-bg-soft); border-bottom: 1px solid var(--color-border);
    padding: .5rem var(--gutter) 1rem;
    transform: translateY(-130%); transition: transform .3s ease; pointer-events: none;
  }
  .nav-links.open { transform: none; pointer-events: auto; }
  .nav-links li { padding: .6rem 0; border-bottom: 1px solid var(--color-border); }
  .nav-links .btn { justify-content: center; margin-top: .6rem; }
}
