/* ===================================================================
   Squid Boy 花枝の燒 — Brand Stylesheet
   Theme: Night Market / Pasar Malam Vibes
   Dark atmospheric backgrounds, warm neon glow, street-food energy
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;900&family=Inter:wght@400;500;600;700;800&display=swap');

/* Self-hosted display face for the hero wordmark */
@font-face {
  font-family: 'Cooper Black';
  src: url('fonts/CooperBlack-Std.otf') format('opentype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* ===== Design Tokens ===== */
:root {
  /* Brand Colors: Fiery Red & Electric Yellow — now with neon glow */
  --primary: #E53935;
  --primary-dark: #C62828;
  --primary-light: rgba(229, 57, 53, 0.15);

  --secondary: #FFD600;
  --secondary-dark: #F9A825;
  --secondary-soft: rgba(255, 214, 0, 0.12);

  /* Night Market Dark Palette */
  --ink: #0d0d0d;
  --ink-soft: #141418;
  --slate: #e0d8cf;
  --text: #e8e0d6;
  --text-light: #a89f94;
  --muted: #6b6360;
  --line: rgba(255, 255, 255, 0.08);
  --bg: #0f0e13;
  --surface: #1a1820;
  --surface-2: #1e1c24;
  --surface-3: #252330;
  --footer-bg: #08080a;
  --footer-text: #d4cdc4;
  --teal: #2a9d8f;

  /* Map region colors */
  --region-johor: #e76f51;
  --region-northern: #2a9d8f;
  --region-central: #8338ec;

  /* Warm glow shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5), 0 0 24px rgba(229, 57, 53, 0.05);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 32px rgba(229, 57, 53, 0.08);
  --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.7), 0 0 48px rgba(229, 57, 53, 0.06);
  --glow-red: 0 0 20px rgba(229, 57, 53, 0.4), 0 0 60px rgba(229, 57, 53, 0.15);
  --glow-yellow: 0 0 20px rgba(255, 214, 0, 0.35), 0 0 60px rgba(255, 214, 0, 0.12);
  --glow-warm: 0 0 40px rgba(255, 180, 50, 0.08);
  --ring-primary: 0 0 0 3px rgba(229, 57, 53, 0.5), 0 0 16px rgba(229, 57, 53, 0.2);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --container: 1200px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }

/* ===== Layout ===== */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-title .accent {
  color: var(--secondary);
  font-style: italic;
  text-shadow: 0 0 20px rgba(255, 214, 0, 0.4);
}

.section-subtitle {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
  color: var(--text-light);
  font-size: 1.05rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary);
  padding: 0.4rem 1rem;
  background: var(--secondary-soft);
  border: 1px solid rgba(255, 214, 0, 0.2);
  border-radius: 999px;
  margin-bottom: 1rem;
  text-shadow: 0 0 12px rgba(255, 214, 0, 0.3);
}

.center { text-align: center; }

/* ===== Navigation ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(15, 14, 19, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(229, 57, 53, 0.15);
  transition: box-shadow 0.3s var(--ease);
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), 0 0 30px rgba(229, 57, 53, 0.08);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.nav-brand img { height: 64px; width: auto; transition: transform 0.3s var(--ease); }
.nav-brand:hover img { transform: scale(1.04); }

.nav-links { display: flex; align-items: center; gap: 0.5rem; list-style: none; }

.nav-links a {
  display: inline-block;
  padding: 0.6rem 1rem;
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: 10px;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease), text-shadow 0.2s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--secondary);
  background-color: rgba(255, 214, 0, 0.08);
  text-shadow: 0 0 12px rgba(255, 214, 0, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.6rem;
  border-radius: 10px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--secondary);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
  text-decoration: none;
}

.btn:focus-visible { outline: none; box-shadow: var(--ring-primary); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: 0 6px 18px rgba(229, 57, 53, 0.4), 0 0 24px rgba(229, 57, 53, 0.15);
}

.btn-primary:hover {
  background: var(--secondary);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--glow-yellow);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 214, 0, 0.5);
}

.btn-outline:hover {
  background: var(--secondary);
  color: var(--ink);
  border-color: var(--secondary);
  box-shadow: var(--glow-yellow);
}

.btn-dark {
  background: var(--surface-3);
  color: var(--secondary);
  border: 1px solid rgba(255, 214, 0, 0.2);
}

.btn-dark:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--glow-red);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}

.hero-slides { position: absolute; inset: 0; z-index: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.08);
}

.hero-slide.active {
  opacity: 1;
  animation: kenBurns 8s var(--ease) forwards;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(229, 57, 53, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(255, 214, 0, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, rgba(13, 13, 13, 0.35) 0%, rgba(13, 13, 13, 0.6) 50%, rgba(13, 13, 13, 0.92) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 6rem 1.5rem 8rem;
  color: white;
  max-width: 900px;
  animation: fadeUp 1s var(--ease) 0.3s both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(229, 57, 53, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(229, 57, 53, 0.5);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-shadow: 0 0 12px rgba(255, 214, 0, 0.4);
  box-shadow: 0 0 20px rgba(229, 57, 53, 0.15);
}

.hero-badge::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary), 0 0 24px rgba(229, 57, 53, 0.4);
  animation: neonPulse 2s ease-in-out infinite;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), 0 0 40px rgba(229, 57, 53, 0.15);
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--secondary) 0%, #ff8f00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  filter: drop-shadow(0 0 16px rgba(255, 214, 0, 0.4));
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 620px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Hero marquee — glowing ticker strip */
.hero-marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(10px);
  border-top: 2px solid var(--primary);
  padding: 0.85rem 0;
  overflow: hidden;
  color: var(--secondary);
  font-size: 0.92rem;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(255, 214, 0, 0.3);
  box-shadow: 0 -8px 24px rgba(229, 57, 53, 0.08);
}

.hero-marquee-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  padding-left: 100%;
}

.hero-marquee-item { display: inline-flex; align-items: center; gap: 0.6rem; }
.hero-marquee-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero-indicators {
  position: absolute;
  bottom: 4.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.hero-indicator {
  width: 32px;
  height: 3px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 8px 0;
  background-clip: content-box;
  transition: background-color 0.3s var(--ease), width 0.3s var(--ease);
}

.hero-indicator.active {
  background: var(--primary);
  width: 56px;
  box-shadow: 0 0 10px rgba(229, 57, 53, 0.5);
}

/* ===== Stats strip — neon counters ===== */
.stats-strip {
  background: var(--surface);
  color: white;
  padding: 2.25rem 0;
  border-top: 3px solid var(--primary);
  border-bottom: 1px solid var(--line);
  position: relative;
  box-shadow: 0 0 40px rgba(229, 57, 53, 0.06);
}

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

.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
  text-shadow: 0 0 16px rgba(255, 214, 0, 0.4);
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* ===== Intro ===== */
.intro {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
  position: relative;
}

/* Subtle warm ambient glow behind intro */
.intro::before {
  content: "";
  position: absolute;
  top: 20%;
  left: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(229, 57, 53, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.intro-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.intro-text h2 .accent {
  color: var(--secondary);
  font-style: italic;
  text-shadow: 0 0 20px rgba(255, 214, 0, 0.35);
}

.intro-text p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.intro-visual {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 40px rgba(229, 57, 53, 0.12);
  border: 2px solid rgba(229, 57, 53, 0.3);
}

.intro-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.intro-visual:hover img { transform: scale(1.05); }

/* ===== Feature Cards — dark glass ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

/* Warm ambient glow on hover */
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(229, 57, 53, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

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

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(229, 57, 53, 0.3);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(229, 57, 53, 0.12);
  color: var(--primary);
  border-radius: 50%;
  font-size: 1.5rem;
  border: 1px solid rgba(229, 57, 53, 0.2);
  position: relative;
  z-index: 1;
}

.feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.6rem;
  position: relative;
  z-index: 1;
}

.feature-card p { color: var(--text-light); font-size: 0.96rem; line-height: 1.6; position: relative; z-index: 1; }

/* ===== Menu preview cards (home page) ===== */
.menu-preview {
  background: var(--surface);
  position: relative;
}

.menu-preview::before {
  content: "";
  position: absolute;
  top: 0; right: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(255, 214, 0, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.menu-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto 2.5rem;
}

.menu-preview-card {
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  cursor: pointer;
}

.menu-preview-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(229, 57, 53, 0.25);
}

.menu-preview-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-3);
}

.menu-preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.menu-preview-card:hover .menu-preview-img img { transform: scale(1.08); }

.menu-preview-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--primary);
  color: white;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 12px rgba(229, 57, 53, 0.4);
}

.menu-preview-card .content { padding: 1.25rem 1.5rem 1.75rem; flex: 1; }

.menu-preview-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.4rem;
}

.menu-preview-card p { color: var(--text-light); font-size: 0.92rem; line-height: 1.55; }

/* ===== Menu page ===== */
.menu-page {
  padding: 3rem 0 5rem;
  background: var(--bg);
}

.menu-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin: 0 auto 3rem;
  flex-wrap: wrap;
  padding: 0.4rem;
  background: var(--surface-2);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  max-width: max-content;
  border: 1px solid var(--line);
}

.menu-tab {
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-light);
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s var(--ease);
}

.menu-tab:hover { color: #fff; }

.menu-tab.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(229, 57, 53, 0.45), 0 0 12px rgba(229, 57, 53, 0.2);
}

.menu-category { margin-bottom: 4rem; scroll-margin-top: 120px; }

.menu-category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.menu-category-header::before,
.menu-category-header::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229, 57, 53, 0.4), transparent);
}

.menu-category-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.menu-card {
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 24px rgba(255, 214, 0, 0.08);
  border-color: rgba(255, 214, 0, 0.3);
}

.menu-card .image-container {
  position: relative;
  aspect-ratio: 1;
  background: var(--surface-3);
  overflow: hidden;
  cursor: zoom-in;
}

.menu-card .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.menu-card:hover .image-container img { transform: scale(1.07); }

.menu-card .content { padding: 1.25rem 1.25rem 1.5rem; text-align: center; }

.menu-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.menu-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.5; }

/* Image lightbox */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeUp 0.3s var(--ease);
}

.modal.open { display: flex; }

.modal-content {
  max-width: min(90vw, 800px);
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl), 0 0 60px rgba(229, 57, 53, 0.1);
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s var(--ease);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-close:hover { background: rgba(229, 57, 53, 0.4); }

/* ===== Locations page ===== */
.locations-hero {
  background: linear-gradient(135deg, var(--ink) 0%, var(--surface) 100%);
  color: white;
  padding: 4rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.locations-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(229, 57, 53, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 214, 0, 0.06) 0%, transparent 50%);
}

.locations-hero h1 {
  font-family: 'Cooper Black', 'Cooper Std', 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
  letter-spacing: -0.01em;
}

.locations-hero h1 .accent {
  background: linear-gradient(135deg, var(--secondary) 0%, #ff8f00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(255, 214, 0, 0.35));
}

.locations-hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.locations-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.locations-stat { text-align: center; }

.locations-stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
  text-shadow: 0 0 16px rgba(255, 214, 0, 0.4);
}

.locations-stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.3rem;
}

.map-section {
  padding: 3rem 0;
  background: var(--bg);
}

.map-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 1.5rem;
  align-items: start;
}

#map {
  width: 100%;
  height: 620px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(229, 57, 53, 0.2);
  background: var(--surface-2);
  transition: box-shadow 0.3s var(--ease);
}
/* warm night-market glow only when the map is in dark mode */
#map.map-dark { box-shadow: var(--shadow-lg), 0 0 30px rgba(229, 57, 53, 0.18); }

/* Light/dark map toggle button (Leaflet control) */
.map-theme-toggle {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.map-theme-toggle:hover {
  background: var(--secondary);
  color: var(--ink);
}
.map-theme-toggle:focus-visible { outline: none; box-shadow: var(--ring-primary); }
/* once dark, the button itself adopts the dark surface */
#map.map-dark .map-theme-toggle {
  background: var(--surface-2);
  color: var(--secondary);
  border-color: rgba(255, 214, 0, 0.4);
}
#map.map-dark .map-theme-toggle:hover { background: var(--secondary); color: var(--ink); }

.map-sidebar {
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 620px;
  border: 1px solid var(--line);
}

.map-search { position: relative; padding: 1rem; border-bottom: 1px solid var(--line); }

.map-search input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--surface-3);
  color: var(--text);
  transition: all 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.map-search input::placeholder { color: var(--muted); }

.map-search input:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--primary);
  box-shadow: var(--ring-primary);
}

.map-search::before {
  content: "\f002";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  font-size: 0.95rem;
}

.region-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
}

.region-chip {
  padding: 0.4rem 0.85rem;
  background: var(--surface-3);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  border: 1px solid transparent;
}

.region-chip:hover { color: #fff; background: rgba(229, 57, 53, 0.15); border-color: rgba(229, 57, 53, 0.2); }

.region-chip.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(229, 57, 53, 0.3);
}

.outlet-list {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--muted) transparent;
}

.outlet-list::-webkit-scrollbar { width: 8px; }
.outlet-list::-webkit-scrollbar-track { background: transparent; }
.outlet-list::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 4px; }
.outlet-list::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); }

.outlet-item {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.18s var(--ease);
  border-left: 3px solid transparent;
}

.outlet-item:hover { background: rgba(229, 57, 53, 0.08); border-left-color: var(--primary); }

.outlet-item.active { background: rgba(229, 57, 53, 0.12); border-left-color: var(--primary); }

.outlet-item .outlet-name {
  font-weight: 700;
  color: #fff;
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.outlet-item .outlet-meta { font-size: 0.82rem; color: var(--text-light); }

.outlet-badge {
  display: inline-block;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.outlet-badge.new { background: var(--primary); color: white; box-shadow: 0 0 8px rgba(229, 57, 53, 0.4); }

.outlet-empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Leaflet popup customization — dark style */
.leaflet-popup-content-wrapper {
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-lg) !important;
  padding: 0 !important;
  background: var(--surface-2) !important;
  border: 1px solid rgba(229, 57, 53, 0.2) !important;
}

.leaflet-popup-tip { background: var(--surface-2) !important; }

.leaflet-popup-content {
  margin: 0 !important;
  padding: 1rem 1.1rem !important;
  font-family: 'Inter', sans-serif !important;
  min-width: 220px;
  color: var(--text) !important;
}

.popup-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.popup-addr {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.popup-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  background: var(--primary);
  color: white !important;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  box-shadow: 0 0 10px rgba(229, 57, 53, 0.3);
}

.popup-link:hover { background: var(--primary-dark); box-shadow: var(--glow-red); }

/* Custom Leaflet marker — neon pin */
.sb-marker { background: transparent !important; border: none !important; }

.sb-marker-pin {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50% 50% 50% 0;
  background: var(--primary);
  border: 3px solid rgba(255, 255, 255, 0.9);
  transform: rotate(-45deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4), 0 0 12px rgba(229, 57, 53, 0.35);
  transition: transform 0.2s var(--ease);
}

.sb-marker-pin.region-Klang-Valley { background: var(--primary); }
.sb-marker-pin.region-Johor      { background: var(--region-johor); }
.sb-marker-pin.region-Northern   { background: var(--region-northern); }
.sb-marker-pin.region-Central    { background: var(--region-central); }

.sb-marker-pin::after {
  content: "";
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  transform: rotate(45deg);
}

.sb-marker-pin.new {
  animation: neonPulse 1.6s ease-in-out infinite;
  box-shadow: 0 0 0 6px rgba(229, 57, 53, 0.25), 0 4px 10px rgba(0, 0, 0, 0.4), 0 0 16px rgba(229, 57, 53, 0.3);
}

.sb-marker:hover .sb-marker-pin { transform: rotate(-45deg) scale(1.18); }

/* ===== Contact page ===== */
.contact-hero {
  background: linear-gradient(135deg, var(--ink) 0%, var(--surface) 100%);
  color: white;
  padding: 4rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(229, 57, 53, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 30% 70%, rgba(255, 214, 0, 0.05) 0%, transparent 50%);
}

.contact-hero h1 {
  font-family: 'Cooper Black', 'Cooper Std', 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.contact-hero h1 .accent {
  background: linear-gradient(135deg, var(--secondary) 0%, #ff8f00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(255, 214, 0, 0.35));
}

.contact-hero p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 540px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-card {
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(229, 57, 53, 0.25);
}

.contact-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(229, 57, 53, 0.1);
  color: var(--primary);
  font-size: 1.5rem;
  border: 1px solid rgba(229, 57, 53, 0.15);
}

.contact-card-icon.fb { background: rgba(24, 119, 242, 0.1); color: #4d9af5; border-color: rgba(24, 119, 242, 0.15); }
.contact-card-icon.ig { background: rgba(214, 36, 159, 0.1); color: #e84dba; border-color: rgba(214, 36, 159, 0.15); }
.contact-card-icon.wa { background: rgba(37, 211, 102, 0.1); color: #3ddc84; border-color: rgba(37, 211, 102, 0.15); }

.contact-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.4rem;
}

.contact-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.contact-card .btn { width: 100%; padding: 0.75rem 1rem; font-size: 0.92rem; }

/* ===== Process Steps — "How We Do It" ===== */
.process {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.process::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -15%;
  width: 40%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(255, 214, 0, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  counter-reset: step;
}

.process-step {
  position: relative;
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem 2rem;
  text-align: center;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  overflow: hidden;
}

.process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(229, 57, 53, 0.3); }
.process-step:hover::before { opacity: 1; }

.process-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(229, 57, 53, 0.1);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.04em;
}

.process-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 214, 0, 0.08);
  color: var(--secondary);
  border-radius: 50%;
  font-size: 1.35rem;
  border: 1px solid rgba(255, 214, 0, 0.15);
}

.process-step h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ===== Signature Showcase ===== */
.signature-showcase {
  background: var(--surface);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.signature-showcase::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229, 57, 53, 0.3), transparent);
}

.signature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.signature-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-xl), 0 0 60px rgba(229, 57, 53, 0.1);
  border: 2px solid rgba(229, 57, 53, 0.2);
}

.signature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.signature-image:hover img { transform: scale(1.05); }

.signature-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(229, 57, 53, 0.9);
  backdrop-filter: blur(8px);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 0 16px rgba(229, 57, 53, 0.4);
}

.signature-text h2 { margin-bottom: 1rem; }

.signature-text p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.signature-text .btn { margin-top: 0.5rem; }

/* ===== Social Proof strip ===== */
.social-proof {
  background: var(--surface-2);
  padding: 3.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.social-proof-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.social-proof-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: #fff;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.social-proof-links {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem;
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.social-link i { font-size: 1.1rem; }

.social-link.fb:hover { background: rgba(24, 119, 242, 0.15); border-color: rgba(24, 119, 242, 0.3); color: #4d9af5; }
.social-link.ig:hover { background: rgba(214, 36, 159, 0.15); border-color: rgba(214, 36, 159, 0.3); color: #e84dba; }
.social-link.fp:hover { background: rgba(229, 57, 53, 0.12); border-color: rgba(229, 57, 53, 0.3); color: var(--primary); }

/* CTA banner buttons row */
.cta-banner-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== CTA banner (home) — fiery glow ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #d84315 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(255, 214, 0, 0.25) 0%, transparent 55%),
    radial-gradient(circle at 20% 50%, rgba(0, 0, 0, 0.2) 0%, transparent 55%);
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  max-width: 640px;
  margin: 0 auto;
}

.cta-banner-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.cta-banner-inner h2 .accent {
  background: linear-gradient(135deg, var(--secondary) 0%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}

.cta-banner-inner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
}

/* ===== Footer — deep dark ===== */
footer.site-footer {
  margin-top: auto;
  background: linear-gradient(180deg, var(--ink) 0%, var(--footer-bg) 100%);
  color: var(--footer-text);
  padding: 3.5rem 0 1.5rem;
  position: relative;
}

footer.site-footer::before {
  content: "";
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
  box-shadow: 0 0 16px rgba(229, 57, 53, 0.3), 0 0 32px rgba(255, 214, 0, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand img { height: 64px; margin-bottom: 1rem; }

.footer-brand p {
  color: var(--footer-text);
  font-size: 0.92rem;
  max-width: 320px;
  line-height: 1.7;
  opacity: 0.8;
}

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  color: var(--secondary);
  margin-bottom: 1rem;
  font-size: 1.05rem;
  text-shadow: 0 0 12px rgba(255, 214, 0, 0.25);
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col a {
  color: var(--footer-text);
  font-size: 0.93rem;
  transition: color 0.2s var(--ease), text-shadow 0.2s var(--ease);
  opacity: 0.75;
}

.footer-col a:hover { color: var(--primary); opacity: 1; text-shadow: 0 0 8px rgba(229, 57, 53, 0.3); }

.footer-social { display: flex; gap: 0.75rem; margin-top: 0.5rem; }

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 214, 0, 0.08);
  color: var(--secondary);
  font-size: 1.05rem;
  border: 1px solid rgba(255, 214, 0, 0.12);
  transition: all 0.2s var(--ease);
}

.footer-social a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 0 16px rgba(229, 57, 53, 0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .map-layout { grid-template-columns: 1fr; }
  #map { height: 480px; }
  .map-sidebar { max-height: none; }
  .outlet-list { max-height: 360px; }
  .intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .signature-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .signature-text h2 { text-align: center !important; }
  .signature-text { text-align: center; }
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .social-proof-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 880px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease), padding 0.35s var(--ease);
  }

  .nav-links.open { max-height: 100vh; padding: 0.75rem; }

  .nav-links li { width: 100%; }
  .nav-links a { display: block; width: 100%; padding: 0.85rem 1rem; }

  .menu-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }

  .locations-stats { gap: 1.75rem; }
}

/* Tablets / large phones */
@media (max-width: 680px) {
  .container { padding: 0 1.15rem; }
  .section { padding: 3.75rem 0; }
  #map { height: 420px; }

  .menu-category-header { gap: 0.75rem; }
  .menu-category-header h2 { white-space: normal; }

  .contact-grid { gap: 1.15rem; }
  .feature-grid { gap: 1.15rem; }
}

@media (max-width: 560px) {
  .nav-brand img { height: 46px; }
  .section { padding: 3.25rem 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.1rem 1rem; }
  .stats-strip { padding: 1.75rem 0; }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-preview-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .social-proof-links { flex-direction: column; width: 100%; }
  .social-link { justify-content: center; }
  .cta-banner-buttons { flex-direction: column; align-items: stretch; }
  .cta-banner-buttons .btn { width: 100%; }

  .hero { min-height: 86vh; }
  .hero-content { padding: 4.5rem 1.25rem 7rem; }
  .hero-badge { font-size: 0.74rem; padding: 0.35rem 0.8rem; }
  .hero-indicators { bottom: 4rem; }

  .hero-ctas { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .hero-ctas .btn { width: 100%; }

  .locations-hero, .contact-hero { padding: 3rem 0 2.5rem; }
  .locations-stats { gap: 1.25rem; }
  .map-section { padding: 2rem 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-brand { text-align: left; }

  .menu-tabs {
    border-radius: var(--radius);
    padding: 0.35rem;
    max-width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
  }
  .menu-tab { padding: 0.6rem 1.1rem; font-size: 0.88rem; }
}

/* Small phones */
@media (max-width: 400px) {
  .container { padding: 0 1rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem 0.75rem; }
  .stat-value { font-size: 1.8rem; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3rem); }
  .hero-marquee { font-size: 0.82rem; }
  .btn { padding: 0.8rem 1.3rem; font-size: 0.92rem; }
}

/* ===== Animation utilities ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes neonPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 12px var(--primary), 0 0 24px rgba(229, 57, 53, 0.4); }
  50%      { opacity: 0.7; box-shadow: 0 0 6px var(--primary), 0 0 12px rgba(229, 57, 53, 0.2); }
}

@keyframes floatSubtle {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

@keyframes kenBurns {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===================================================================
   NIGHT MARKET (PASAR MALAM) COMPONENTS — immersive home page
   Lanterns · neon signs · string lights · stall awnings · carousel
   =================================================================== */

/* Page-wide dark alley backdrop with warm light pools */
body.nm {
  background-color: #08070b;
  background-image:
    radial-gradient(ellipse 60% 40% at 15% 0%, rgba(229, 57, 53, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(255, 170, 40, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(229, 57, 53, 0.06) 0%, transparent 60%);
  background-attachment: fixed;
}

/* ---------- Top neon ticker bar ---------- */
.nm-ticker {
  position: relative;
  z-index: 1001;
  background: #0a090d;
  border-bottom: 1px solid rgba(255, 214, 0, 0.18);
  overflow: hidden;
  padding: 0.4rem 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
}

.nm-ticker-track {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  padding-left: 100%;
}

.nm-ticker-track span { display: inline-flex; align-items: center; gap: 0.5rem; text-shadow: 0 0 10px rgba(255, 214, 0, 0.35); }
.nm-ticker-track i { color: var(--primary); }

/* ---------- Hanging paper lanterns ---------- */
.nm-lanterns {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  z-index: 4;
  pointer-events: none;
  padding: 0 4%;
}

.lantern {
  position: relative;
  transform-origin: top center;
  animation: lanternSway 4.5s ease-in-out infinite;
}
/* the lantern parts are spans — must be blocks for width/height to apply */
.lantern > span { display: block; }
.lantern::before {
  /* hanging string up to the top */
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255, 214, 120, 0.5));
}
.lantern-cap, .lantern-base {
  width: 22px;
  height: 6px;
  margin: 0 auto;
  background: #b8860b;
  border-radius: 2px;
}
.lantern-body {
  width: 44px;
  height: 56px;
  border-radius: 50% / 45%;
  background:
    radial-gradient(circle at 35% 30%, #ff7a5c 0%, #e53935 45%, #b3121f 100%);
  box-shadow:
    0 0 22px rgba(229, 57, 53, 0.55),
    0 0 50px rgba(229, 57, 53, 0.25),
    inset 0 -10px 18px rgba(120, 0, 0, 0.45),
    inset 0 8px 14px rgba(255, 200, 150, 0.35);
  position: relative;
  animation: lanternGlow 3s ease-in-out infinite;
}
.lantern-body::before, .lantern-body::after {
  /* vertical ribs */
  content: "";
  position: absolute;
  top: 6%;
  bottom: 6%;
  width: 1px;
  background: rgba(120, 0, 0, 0.35);
}
.lantern-body::before { left: 35%; }
.lantern-body::after  { right: 35%; }
.lantern-tassel {
  width: 3px;
  height: 16px;
  margin: 2px auto 0;
  background: linear-gradient(to bottom, #f9a825, transparent);
  border-radius: 0 0 2px 2px;
}
/* gold lantern variant */
.lantern.gold .lantern-body {
  background: radial-gradient(circle at 35% 30%, #ffe082 0%, #ffc107 45%, #f57f17 100%);
  box-shadow:
    0 0 22px rgba(255, 193, 7, 0.55),
    0 0 50px rgba(255, 193, 7, 0.22),
    inset 0 -10px 18px rgba(150, 90, 0, 0.4),
    inset 0 8px 14px rgba(255, 240, 200, 0.45);
}
.lantern:nth-child(odd)  { animation-delay: -1.2s; }
.lantern:nth-child(3n)   { animation-delay: -2.4s; }
/* standalone scale property — composes with the sway animation's transform */
.lantern.small { scale: 0.72; }

/* corner variant for sub-page heroes — lanterns only at the outer edges
   so they never overlap the centred page title */
.nm-lanterns.corners { justify-content: space-between; padding: 0 3%; }
.nm-lanterns.corners .lantern { scale: 0.8; }
@media (max-width: 880px) {
  .nm-lanterns.corners { display: none; }
}

@keyframes lanternSway {
  0%, 100% { transform: rotate(-4deg); }
  50%      { transform: rotate(4deg); }
}
@keyframes lanternGlow {
  0%, 100% { filter: brightness(1); }
  50%      { filter: brightness(1.18); }
}

/* ---------- String-light divider ---------- */
.string-lights {
  position: relative;
  height: 26px;
  background:
    repeating-linear-gradient(90deg,
      transparent 0, transparent 26px,
      rgba(255, 214, 0, 0.9) 26px, rgba(255, 214, 0, 0.9) 30px,
      transparent 30px, transparent 56px,
      rgba(229, 57, 53, 0.9) 56px, rgba(229, 57, 53, 0.9) 60px);
  background-size: 56px 8px;
  background-repeat: repeat-x;
  background-position: center 6px;
  border: 0;
  margin: 0;
}
.string-lights::before {
  /* drooping wire */
  content: "";
  position: absolute;
  top: 4px; left: 0; right: 0;
  height: 8px;
  background:
    radial-gradient(circle at 14px 8px, var(--secondary) 0 3px, transparent 4px) 0 0 / 28px 16px repeat-x,
    radial-gradient(circle at 28px 8px, var(--primary) 0 3px, transparent 4px) 0 0 / 56px 16px repeat-x;
  filter: drop-shadow(0 0 5px rgba(255, 214, 0, 0.5));
  animation: lightTwinkle 2.4s ease-in-out infinite;
}
@keyframes lightTwinkle {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}

/* ---------- Neon sign text ---------- */
.neon {
  color: #fff;
  text-shadow:
    0 0 4px #fff,
    0 0 10px var(--secondary),
    0 0 22px var(--primary),
    0 0 40px var(--primary),
    0 0 70px var(--primary);
  animation: neonFlicker 5s infinite;
}
.neon-yellow {
  color: #fff7d6;
  text-shadow:
    0 0 4px #fff,
    0 0 12px var(--secondary),
    0 0 28px var(--secondary-dark),
    0 0 48px rgba(255, 214, 0, 0.6);
}
@keyframes neonFlicker {
  0%, 19%, 21%, 23%, 80%, 100% { opacity: 1; }
  20%, 22%, 82%, 84% { opacity: 0.78; }
}

/* ---------- Night-market hero ---------- */
.nm-hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  padding: 7rem 1.5rem 5rem;
  text-align: center;
}
.nm-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  filter: brightness(0.42) saturate(1.1) blur(1px);
  transform: scale(1.05);
}
.nm-hero::after {
  /* warm vignette + bottom fade into page */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(229, 57, 53, 0.18) 0%, transparent 55%),
    linear-gradient(180deg, rgba(8, 7, 11, 0.55) 0%, rgba(8, 7, 11, 0.35) 45%, rgba(8, 7, 11, 0.95) 100%);
}
.nm-hero-inner { position: relative; z-index: 1; max-width: 880px; animation: fadeUp 1s var(--ease) 0.2s both; }

.nm-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  padding: 0.4rem 1.1rem;
  border: 1px solid rgba(255, 214, 0, 0.3);
  border-radius: 999px;
  background: rgba(255, 214, 0, 0.05);
  text-shadow: 0 0 12px rgba(255, 214, 0, 0.4);
}
.nm-kicker i { color: var(--primary); }

.nm-hero h1 {
  font-family: 'Cooper Black', 'Cooper Std', 'CooperBlack', 'Cooper BT', 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.nm-hero .jp {
  display: block;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  letter-spacing: 0.4em;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 16px rgba(255, 214, 0, 0.4);
  opacity: 0.9;
}
.nm-hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 560px;
  margin: 1.5rem auto 2.25rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
}
.nm-hero-sub strong { color: var(--secondary); }
.nm-hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.nm-scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.4rem;
  animation: floatSubtle 2s ease-in-out infinite;
}

/* ---------- Night-market stats (glowing lanterns) ---------- */
.nm-stats {
  position: relative;
  padding: 3rem 0;
  background: rgba(13, 12, 17, 0.6);
  border-top: 1px solid rgba(255, 214, 0, 0.12);
  border-bottom: 1px solid rgba(229, 57, 53, 0.12);
}
.nm-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.nm-stat {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--radius-lg);
  background: rgba(30, 28, 36, 0.5);
  border: 1px solid var(--line);
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nm-stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow-red);
  border-color: rgba(229, 57, 53, 0.35);
}
.nm-stat-value {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 900;
  color: var(--secondary);
  line-height: 1;
  text-shadow: 0 0 20px rgba(255, 214, 0, 0.45);
}
.nm-stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 0.6rem;
}

/* ---------- Section shell ---------- */
.nm-section { padding: 5rem 0; position: relative; }
.nm-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.nm-head .nm-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.85rem;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(229, 57, 53, 0.3);
  border-radius: 999px;
  text-shadow: 0 0 12px rgba(229, 57, 53, 0.35);
}
.nm-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.nm-head p { margin-top: 0.85rem; color: var(--text-light); font-size: 1.05rem; }

/* ---------- Outlet storefront CAROUSEL ---------- */
.nm-carousel {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
}
.nm-carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 2px solid rgba(255, 214, 0, 0.2);
  box-shadow: var(--shadow-xl), 0 0 50px rgba(229, 57, 53, 0.12);
  background: #000;
}
.nm-carousel-track {
  display: flex;
  transition: transform 0.6s var(--ease);
  will-change: transform;
}
.nm-slide {
  position: relative;
  min-width: 100%;
  aspect-ratio: 16 / 10;
  background: #000;
}
.nm-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nm-slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 3rem 1.75rem 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(8, 7, 11, 0.9));
  text-align: left;
}
.nm-slide-caption .tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
  box-shadow: 0 0 12px rgba(229, 57, 53, 0.5);
}
.nm-slide-caption h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: #fff;
  margin-bottom: 0.2rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.nm-slide-caption p { color: rgba(255, 255, 255, 0.8); font-size: 0.92rem; }

.nm-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(13, 12, 17, 0.8);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 214, 0, 0.3);
  color: var(--secondary);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s var(--ease);
}
.nm-arrow:hover { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: var(--glow-red); }
.nm-arrow.prev { left: -22px; }
.nm-arrow.next { right: -22px; }

.nm-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.nm-dot {
  width: 32px;
  height: 4px;
  padding: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.nm-dot.active { background: var(--secondary); width: 52px; box-shadow: 0 0 10px rgba(255, 214, 0, 0.5); }

/* ---------- Stall-awning menu cards ---------- */
.nm-stall-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.nm-stall {
  background: var(--surface-2);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 0;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}
.nm-stall:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(229, 57, 53, 0.3); }
.nm-awning {
  height: 20px;
  background: repeating-linear-gradient(90deg,
    var(--primary) 0, var(--primary) 18px,
    #fff3e0 18px, #fff3e0 36px);
  position: relative;
}
.nm-awning::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -9px;
  height: 9px;
  background: radial-gradient(circle at 9px 0, var(--primary) 0 9px, transparent 10px) repeat-x;
  background-size: 36px 9px;
}
.nm-awning::before {
  content: "";
  position: absolute;
  left: 18px; right: 0; bottom: -9px;
  height: 9px;
  background: radial-gradient(circle at 9px 0, #fff3e0 0 9px, transparent 10px) repeat-x;
  background-size: 36px 9px;
}
.nm-stall-img { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--surface-3); }
.nm-stall-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.nm-stall:hover .nm-stall-img img { transform: scale(1.08); }
.nm-stall .body { padding: 1.1rem 1.25rem 1.5rem; text-align: center; }
.nm-stall h3 { font-family: 'Playfair Display', serif; font-size: 1.12rem; color: #fff; margin-bottom: 0.35rem; }
.nm-stall p { color: var(--text-light); font-size: 0.88rem; line-height: 1.5; }

/* ---------- Signature feature (big squid) ---------- */
.nm-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.nm-feature-img {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 2px solid rgba(255, 214, 0, 0.2);
  box-shadow: var(--shadow-xl), 0 0 50px rgba(229, 57, 53, 0.12);
}
.nm-feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.nm-feature-img:hover img { transform: scale(1.05); }
.nm-feature-tag {
  position: absolute;
  top: 1.2rem; left: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(229, 57, 53, 0.92);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(229, 57, 53, 0.5);
}
.nm-feature-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.1;
}
.nm-feature-text h2 .accent { color: var(--secondary); font-style: italic; text-shadow: 0 0 20px rgba(255, 214, 0, 0.35); }
.nm-feature-text p { color: var(--text-light); font-size: 1.05rem; line-height: 1.75; margin-bottom: 1.25rem; }

/* ---------- Lantern feature cards (why us) ---------- */
.nm-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.nm-why-card {
  text-align: center;
  padding: 2.25rem 1.5rem 2rem;
  border-radius: var(--radius-lg);
  background: rgba(30, 28, 36, 0.55);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nm-why-card::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 214, 0, 0.12) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.nm-why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(255, 214, 0, 0.3); }
.nm-why-card:hover::before { opacity: 1; }
.nm-why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--secondary);
  background: rgba(255, 214, 0, 0.08);
  border: 1px solid rgba(255, 214, 0, 0.2);
  box-shadow: 0 0 20px rgba(255, 214, 0, 0.12);
  position: relative;
  z-index: 1;
}
.nm-why-card h3 { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: #fff; margin-bottom: 0.5rem; position: relative; z-index: 1; }
.nm-why-card p { color: var(--text-light); font-size: 0.92rem; line-height: 1.6; position: relative; z-index: 1; }

/* ---------- Neon "OPEN" CTA ---------- */
.nm-cta {
  position: relative;
  padding: 5rem 0;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(229, 57, 53, 0.18) 0%, transparent 60%);
  border-top: 1px solid rgba(255, 214, 0, 0.12);
  border-bottom: 1px solid rgba(229, 57, 53, 0.12);
}
.nm-cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.nm-open-sign {
  display: inline-block;
  font-family: 'Cooper Black', 'Cooper Std', 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.nm-cta h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3.5vw, 2.2rem); color: #fff; margin-bottom: 0.75rem; }
.nm-cta p { color: var(--text-light); font-size: 1.05rem; margin-bottom: 1.75rem; }
.nm-cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Night-market responsive ---------- */
@media (max-width: 1024px) {
  .nm-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .nm-stall-grid { grid-template-columns: repeat(2, 1fr); }
  .nm-why-grid { grid-template-columns: repeat(2, 1fr); }
  .nm-feature-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .nm-feature-text { text-align: center; }
  .nm-lanterns { padding: 0 2%; }
  .lantern.small { display: none; }
}
@media (max-width: 680px) {
  .nm-section { padding: 3.75rem 0; }
  .nm-arrow.prev { left: 8px; }
  .nm-arrow.next { right: 8px; }
  .nm-arrow { width: 42px; height: 42px; }
}
@media (max-width: 560px) {
  .nm-hero { min-height: 90vh; padding: 5rem 1.25rem 4rem; }
  .nm-stats-grid { gap: 0.85rem; }
  .nm-stat { padding: 1.1rem 0.75rem; }
  .nm-stall-grid { grid-template-columns: 1fr; }
  .nm-why-grid { grid-template-columns: 1fr; }
  .nm-hero-ctas { flex-direction: column; align-items: stretch; }
  .nm-hero-ctas .btn { width: 100%; }
  .nm-cta-buttons { flex-direction: column; align-items: stretch; }
  .nm-cta-buttons .btn { width: 100%; }
  .lantern { scale: 0.8; }
  .lantern.small { display: none; }
}

/* ---------- Back-to-top button ---------- */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1200;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), 0 0 18px rgba(229, 57, 53, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), var(--glow-red); }
.back-to-top:focus-visible { outline: none; box-shadow: var(--ring-primary); }

/* ---------- Neon scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 2000;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  box-shadow: 0 0 10px rgba(255, 214, 0, 0.5);
  pointer-events: none;
}

/* ---------- Rising embers in the hero ---------- */
.nm-embers {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}
.nm-embers span {
  position: absolute;
  bottom: -10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffd54f 0%, #ff8f00 60%, transparent 100%);
  opacity: 0;
  animation: emberRise 9s linear infinite;
}
.nm-embers span:nth-child(1)  { left: 8%;  animation-delay: 0s;    scale: 0.7; }
.nm-embers span:nth-child(2)  { left: 18%; animation-delay: 2.2s;  scale: 1.1; }
.nm-embers span:nth-child(3)  { left: 28%; animation-delay: 4.8s;  scale: 0.6; }
.nm-embers span:nth-child(4)  { left: 38%; animation-delay: 1.4s;  scale: 0.9; }
.nm-embers span:nth-child(5)  { left: 50%; animation-delay: 6.1s;  scale: 0.75; }
.nm-embers span:nth-child(6)  { left: 60%; animation-delay: 3.3s;  scale: 1.2; }
.nm-embers span:nth-child(7)  { left: 70%; animation-delay: 7.4s;  scale: 0.65; }
.nm-embers span:nth-child(8)  { left: 79%; animation-delay: 0.9s;  scale: 1.0; }
.nm-embers span:nth-child(9)  { left: 88%; animation-delay: 5.2s;  scale: 0.8; }
.nm-embers span:nth-child(10) { left: 95%; animation-delay: 8.0s;  scale: 0.6; }
@keyframes emberRise {
  0%   { transform: translateY(0) translateX(0);      opacity: 0; }
  8%   { opacity: 0.9; }
  50%  { transform: translateY(-46vh) translateX(14px); opacity: 0.55; }
  100% { transform: translateY(-92vh) translateX(-10px); opacity: 0; }
}

/* ---------- Hero entrance — staggered rise ---------- */
/* scoped so content is never hidden when animations are off */
@media (prefers-reduced-motion: no-preference) {
  .nm-hero-inner > * { animation: heroIn 0.7s var(--ease) both; }
  .nm-hero-inner > :nth-child(1) { animation-delay: 0.05s; }
  .nm-hero-inner > :nth-child(2) { animation-delay: 0.18s; }
  .nm-hero-inner > :nth-child(3) { animation-delay: 0.30s; }
  .nm-hero-inner > :nth-child(4) { animation-delay: 0.42s; }
  .nm-hero-inner > :nth-child(5) { animation-delay: 0.54s; }
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Image blur-up: shimmer until loaded ---------- */
.img-loading {
  opacity: 0;
}
.img-loaded {
  opacity: 1;
  transition: opacity 0.5s var(--ease);
}
.nm-stall-img, .menu-card .image-container, .nm-slide, .nm-feature-img, .signature-image {
  position: relative;
}
.nm-stall-img::before, .menu-card .image-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, var(--surface-2) 30%, var(--surface-3) 50%, var(--surface-2) 70%);
  background-size: 200% 100%;
}
/* shimmer only while the photo is still loading */
.nm-stall-img:has(> .img-loading)::before,
.menu-card .image-container:has(> .img-loading)::before {
  animation: shimmer 1.4s linear infinite;
}
.nm-stall-img img, .menu-card .image-container img { position: relative; z-index: 1; }
@keyframes shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* ---------- Staggered grid reveals ---------- */
.nm-stall-grid  .reveal:nth-child(2), .nm-why-grid .reveal:nth-child(2), .contact-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.nm-stall-grid  .reveal:nth-child(3), .nm-why-grid .reveal:nth-child(3), .contact-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.nm-stall-grid  .reveal:nth-child(4), .nm-why-grid .reveal:nth-child(4), .contact-grid .reveal:nth-child(4) { transition-delay: 0.3s; }
.nm-stats-grid  .reveal:nth-child(2) { transition-delay: 0.08s; }
.nm-stats-grid  .reveal:nth-child(3) { transition-delay: 0.16s; }
.nm-stats-grid  .reveal:nth-child(4) { transition-delay: 0.24s; }

/* ---------- Ticker pauses on hover ---------- */
.nm-ticker:hover .nm-ticker-track { animation-play-state: paused; }

/* ===== Design pass: night-market unification details ===== */

/* Navbar logo reads as an illuminated signboard */
.nav-brand img {
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255, 214, 0, 0.25), 0 0 16px rgba(255, 214, 0, 0.12);
}

/* Hero melts into the page below instead of hard-stopping */
.nm-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(8, 7, 11, 0.9));
}
.nm-scroll-hint { z-index: 1; }

/* Gold stall-awning variant */
.nm-awning.gold {
  background: repeating-linear-gradient(90deg,
    var(--secondary-dark) 0, var(--secondary-dark) 18px,
    #fff8e1 18px, #fff8e1 36px);
}
.nm-awning.gold::after {
  background: radial-gradient(circle at 9px 0, var(--secondary-dark) 0 9px, transparent 10px) repeat-x;
  background-size: 36px 9px;
}
.nm-awning.gold::before {
  background: radial-gradient(circle at 9px 0, #fff8e1 0 9px, transparent 10px) repeat-x;
  background-size: 36px 9px;
}

/* Menu cards wear stall awnings; scallops sit above the photo */
.menu-card .nm-awning { z-index: 2; }

/* Menu category headings glow like stall signs */
.menu-category-header h2 {
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.25), 0 0 32px rgba(229, 57, 53, 0.3);
}

/* Neon glow on contact platform icons */
.contact-card-icon {
  box-shadow: 0 0 18px rgba(229, 57, 53, 0.18);
  text-shadow: 0 0 12px currentColor;
}
.contact-card-icon.fb { box-shadow: 0 0 18px rgba(24, 119, 242, 0.22); }
.contact-card-icon.ig { box-shadow: 0 0 18px rgba(214, 36, 159, 0.22); }

/* Region-coloured dots in the outlet list (matches map pins) */
.outlet-dot {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px currentColor;
}
.outlet-dot.region-Klang-Valley { background: var(--primary);         color: var(--primary); }
.outlet-dot.region-Johor        { background: var(--region-johor);    color: var(--region-johor); }
.outlet-dot.region-Northern     { background: var(--region-northern); color: var(--region-northern); }
.outlet-dot.region-Central      { background: var(--region-central);  color: var(--region-central); }
