:root {
  --dark: #0f0e17;
  --dark2: #1a1a2e;
  --gold: #c9a84c;
  --gold-light: rgba(201, 168, 76, 0.08);
  --gold-muted: rgba(201, 168, 76, 0.5);
  --bg: #f5f5f0;
  --white: #fff;
  --text: #1a1a2e;
  --text2: #5a5a6e;
  --text3: #8e8ea0;
  --border: #e6e6e0;
  --shadow: 0 2px 12px rgba(15, 14, 23, 0.06);
  --shadow-hover: 0 8px 30px rgba(15, 14, 23, 0.1);
  --radius: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Noto Sans TC', 'Microsoft JhengHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--dark); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.site-header {
  background: var(--dark);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo { display: flex; align-items: center; gap: 14px; }

.logo-icon {
  width: 40px; height: 40px;
  background: var(--gold);
  color: var(--dark);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  font-family: 'Courier New', monospace;
}

.logo-text { line-height: 1.2; }
.logo-zh { font-size: 18px; font-weight: 700; display: block; }
.logo-en { font-size: 9px; letter-spacing: 2px; color: rgba(255,255,255,0.4); text-transform: uppercase; }

.main-nav { display: flex; gap: 28px; align-items: center; }

.main-nav > a {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.main-nav > a:hover { color: var(--gold); }

.nav-dropdown { position: relative; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  min-width: 220px;
  padding: 6px 0;
  z-index: 200;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.nav-dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  white-space: nowrap;
  transition: all 0.15s;
}

.dropdown-menu a:hover { color: var(--gold); background: rgba(255,255,255,0.04); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  color: #fff;
  padding: 100px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 400px at 20% 60%, rgba(201, 168, 76, 0.08) 0%, transparent 60%);
}

.hero-content { position: relative; z-index: 1; }

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(201, 168, 76, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  animation: gridPulse 6s ease-in-out infinite;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.orb-1 {
  width: 320px; height: 320px;
  top: -80px; left: 5%;
  background: radial-gradient(circle at 30% 30%, rgba(201, 168, 76, 0.12), transparent 70%);
  animation: floatA 14s ease-in-out infinite;
}

.orb-2 {
  width: 240px; height: 240px;
  bottom: -60px; right: 8%;
  background: radial-gradient(circle at 30% 30%, rgba(201, 168, 76, 0.08), transparent 70%);
  animation: floatB 18s ease-in-out infinite;
}

.orb-3 {
  width: 160px; height: 160px;
  top: 30%; left: 60%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.04), transparent 70%);
  animation: floatA 12s ease-in-out infinite reverse;
}

.hero-ring {
  position: absolute;
  width: 400px;
  height: 400px;
  top: 10%;
  right: -60px;
  border: 1px solid rgba(201, 168, 76, 0.06);
  border-radius: 50%;
  animation: ringRotate 30s linear infinite;
}

.hero-ring::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  top: -6px;
  left: 50%;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.2;
  animation: dotPulse 3s ease-in-out infinite;
}

@keyframes floatA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

@keyframes floatB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-25px, 30px) scale(0.95); }
  66% { transform: translate(20px, -15px) scale(1.05); }
}

@keyframes ringRotate {
  to { transform: rotate(360deg); }
}

@keyframes dotPulse {
  0%, 100% { opacity: 0.1; transform: scale(0.8); }
  50% { opacity: 0.4; transform: scale(1.2); }
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 3px;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: 3px;
  font-weight: 500;
}

.hero-hours, .hero-tel { font-size: 14px; color: rgba(255,255,255,0.4); margin-bottom: 4px; }
.hero-tel { margin-bottom: 36px; }
.hero-tel a { color: var(--gold); font-weight: 600; }

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn, .btn-primary {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--gold);
  color: var(--dark);
}

.btn-primary:hover {
  background: #bd9a3a;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201, 168, 76, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-back {
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-back:hover { opacity: 0.75; }

/* ===== Sections ===== */
.section { padding: 72px 0; }

.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: 1px;
}

.section-subtitle {
  text-align: center;
  color: var(--text2);
  font-size: 15px;
  margin-bottom: 44px;
  font-weight: 400;
}

.section-actions { text-align: center; margin-top: 32px; }

/* ===== Features ===== */
.features { background: var(--white); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  border: 1px solid var(--border);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.feature-card { text-align: center; }

.feature-icon-wrap {
  width: 64px;
  height: 64px;
  background: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: background 0.25s, transform 0.25s;
}

.card:hover .feature-icon-wrap {
  background: var(--gold);
  transform: scale(1.05);
}

.feature-icon { font-size: 28px; line-height: 1; }

.feature-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--text); }

.feature-card p { font-size: 14px; color: var(--text2); line-height: 1.7; }

/* ===== Stats ===== */
.stats {
  background: var(--dark);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item { padding: 20px; }

.stat-number {
  display: block;
  font-size: 44px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.1;
  font-family: 'Courier New', monospace;
}

.stat-label {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  margin-top: 8px;
  letter-spacing: 1px;
}

/* ===== Facilities ===== */
.facilities-preview { background: var(--bg); }

.facilities-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.facility-item {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.facility-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.facility-item strong { color: var(--text); font-size: 16px; display: block; margin-bottom: 6px; }
.facility-item p { font-size: 14px; color: var(--text2); }

/* ===== Floor Nav ===== */
.floor-nav { background: var(--white); }

.floor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.floor-card {
  background: var(--bg);
  border-radius: 8px;
  padding: 44px 28px 36px;
  text-align: center;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.floor-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.3s;
}

.floor-card:hover::before { opacity: 1; }

.floor-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  background: var(--white);
}

.floor-level { font-size: 42px; font-weight: 800; color: var(--gold); font-family: 'Courier New', monospace; }

.floor-theme { font-size: 17px; font-weight: 600; color: var(--text); }

.floor-count { font-size: 14px; color: var(--text3); }

/* ===== Floor page ===== */
.page-header { padding: 48px 0 28px; }
.page-header h1 { font-size: 32px; color: var(--text); }
.text-muted { color: var(--text3); font-size: 15px; margin-top: 4px; }

.floor-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.plan-btn { white-space: nowrap; }

.plan-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.plan-nav-links { display: flex; gap: 16px; align-items: center; }

.plan-section { padding-bottom: 72px; }

.floorplan-svg {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 0 auto;
}

.plan-legend {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.legend-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
}

.legend-sep {
  color: var(--border);
  margin: 0 4px;
}

.shop-grid-section { padding-bottom: 72px; }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}

.shop-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shop-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.shop-category {
  display: inline-block;
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 20px;
  align-self: flex-start;
  margin-bottom: 6px;
  font-weight: 600;
}

.shop-name { font-size: 19px; color: var(--text); font-weight: 700; }

.shop-number { font-size: 13px; color: var(--text3); font-family: 'Courier New', monospace; }

.shop-desc { font-size: 14px; color: var(--text2); flex: 1; line-height: 1.7; }

.shop-tel { font-size: 13px; color: var(--gold); font-weight: 600; font-family: 'Courier New', monospace; }

/* ===== Shop detail ===== */
.shop-detail { padding-bottom: 72px; }

.shop-detail-card {
  background: var(--white);
  border-radius: 8px;
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.shop-detail-card h1 {
  font-size: 30px;
  color: var(--text);
  margin: 16px 0 28px;
}

.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--border); }
.info-table tr:last-child { border-bottom: none; }
.info-table td {
  padding: 16px 12px 16px 0;
  font-size: 15px;
  vertical-align: top;
}
.info-table td:first-child {
  width: 110px;
  font-weight: 600;
  color: var(--text2);
  font-size: 14px;
}
.info-table td:last-child { color: var(--text); }
.info-table a { color: var(--gold); font-weight: 600; }

/* ===== Facilities page ===== */
.facilities-page { padding-bottom: 72px; }

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 24px;
}

.facility-detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.facility-detail-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.facility-detail-card h3 {
  color: var(--text);
  font-size: 18px;
  margin-bottom: 10px;
}

.facility-detail-card h3::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  margin-right: 10px;
  vertical-align: middle;
}

.facility-detail-card p { font-size: 14px; color: var(--text2); line-height: 1.7; }

/* ===== Contact page ===== */
.contact-section { padding-bottom: 72px; }

.contact-card {
  background: var(--white);
  border-radius: 8px;
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}

.contact-card h2 { font-size: 26px; color: var(--text); }
.contact-en { color: var(--text3); font-size: 15px; margin-bottom: 20px; }

.contact-brief {
  background: var(--white);
  border-radius: 8px;
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-brief h3 {
  color: var(--text);
  font-size: 18px;
  margin-bottom: 14px;
}

.contact-brief h3::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  margin-right: 10px;
  vertical-align: middle;
}

.contact-brief p { font-size: 15px; color: var(--text2); line-height: 1.9; }

/* ===== Error ===== */
.error-page { text-align: center; padding: 120px 0; }
.error-page h1 { font-size: 30px; color: var(--text); margin-bottom: 28px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.5);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  padding: 52px 24px;
  gap: 48px;
}

.footer-info p { margin-bottom: 6px; color: rgba(255,255,255,0.45); }
.footer-info strong { color: rgba(255,255,255,0.9); }
.footer-info a { color: var(--gold); }

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  padding: 20px 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* ===== Category colors (muted + gold accent) ===== */
.時裝 { background: #f0ebf8; color: #7b4fa2; }
.美容護理 { background: #fde8ec; color: #c62828; }
.珠寶 { background: #fdf3d0; color: #b8860b; }
.配飾 { background: #e0f7fa; color: #00838f; }
.咖啡店 { background: #efebe9; color: #4e342e; }
.日式料理 { background: #fff3e0; color: #e65100; }
.中式料理 { background: #ffebee; color: #b71c1c; }
.快餐 { background: #fffde7; color: #f57f17; }
.甜品 { background: #fce4ec; color: #ad1457; }
.餅店 { background: #fff8e1; color: #bf360c; }
.健康輕食 { background: #e8f5e9; color: #2e7d32; }
.便利店 { background: #e3f2fd; color: #01579b; }
.電子產品 { background: #e0f2f1; color: #004d40; }
.生活雜貨 { background: #efebe9; color: #3e2723; }
.家品 { background: #f5f5f5; color: #424242; }
.超市 { background: #e8f5e9; color: #1b5e20; }
.零食 { background: #fff3e0; color: #bf360c; }
.書店 { background: #e3f2fd; color: #0d47a1; }
.健康護理 { background: #e0f2f1; color: #00695c; }
.娛樂 { background: #f3e5f5; color: #6a1b9a; }
.健身 { background: #e3f2fd; color: #0d47a1; }
.健身美容 { background: #f3e5f5; color: #7b1fa2; }
.兒童 { background: #e0f2f1; color: #00695c; }
.兒童護理 { background: #fce4ec; color: #880e4f; }
.餐飲 { background: #fbe9e7; color: #bf360c; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: 14px 24px; gap: 12px; }
  .main-nav { gap: 16px; flex-wrap: wrap; }
  .main-nav > a { font-size: 13px; }
  .hero { padding: 72px 0 56px; }
  .hero-title { font-size: 32px; letter-spacing: 2px; }
  .hero-subtitle { font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .section { padding: 56px 0; }
  .section-title { font-size: 26px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-number { font-size: 36px; }
  .footer-inner { flex-direction: column; gap: 28px; }
  .shop-grid { grid-template-columns: 1fr; }
  .facilities-grid { grid-template-columns: 1fr; }
  .page-header h1 { font-size: 26px; }
  .shop-detail-card, .contact-card, .contact-brief { padding: 28px; }
}
