/* ==========================================================================
   Maison du Choux — Luxury French Artisan Pastry Design System (2026)
   ========================================================================== */

:root {
  --bg-warm: #FAF7F2;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #F5EFEB;
  --text-dark: #1E1B18;
  --text-muted: #6C665F;
  --text-light: #9B948B;
  
  --primary-gold: #C68E38;
  --primary-gold-hover: #AF7B28;
  --gold-glow: rgba(198, 142, 56, 0.25);
  
  --french-blue: #1E3A8A;
  --accent-ruby: #BE185D;
  --accent-emerald: #047857;
  --accent-chocolate: #451A03;
  --accent-caramel: #B45309;

  --border-light: #EBE3D7;
  --border-focus: #C68E38;
  
  --shadow-sm: 0 2px 8px rgba(30, 27, 24, 0.04);
  --shadow-md: 0 8px 24px rgba(30, 27, 24, 0.08);
  --shadow-lg: 0 16px 40px rgba(30, 27, 24, 0.12);
  --shadow-3d: 0 6px 0 #9E6F22, 0 12px 20px rgba(0,0,0,0.15);
  --shadow-3d-pressed: 0 2px 0 #9E6F22, 0 4px 8px rgba(0,0,0,0.1);

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --header-cream: #FFFDF9;
  --header-highlight: #FFF4DF;
  --header-border: #E8D5B8;
  --header-ink-soft: #756C62;
  --header-shadow: 0 14px 34px rgba(91, 58, 25, 0.09);
  --hero-video-backdrop: #16120E;
  --hero-copy-surface: rgba(22, 18, 14, 0.92);
  --hero-copy-surface-soft: rgba(22, 18, 14, 0.68);
  --hero-copy-border: rgba(253, 230, 138, 0.18);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-warm);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================================================================
   Navbar
   ========================================================================== */
.navbar-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-dark);
}

.logo-icon-wrapper {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #FFF7ED 0%, #FED7AA 100%);
  border: 1px solid #FDBA74;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 10px rgba(251, 146, 60, 0.2);
}

.brand-mascot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1px;
  transform-origin: 65% 85%;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  animation: mascotNavWave 4.8s ease-in-out infinite;
}

.brand-logo:hover .brand-mascot,
.brand-logo:focus-visible .brand-mascot {
  animation: mascotExcitedWave 0.75s ease-in-out infinite;
  filter: drop-shadow(0 4px 10px rgba(245, 158, 11, 0.45));
}

.brand-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.1;
}

.brand-subtitle {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-gold);
  font-weight: 700;
}

/* ==========================================================================
   Colorful Category Navigation Pills (Desktop & Tablet)
   ========================================================================== */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.nav-pill:hover {
  transform: translateY(-2px);
}

.pill-icon {
  font-size: 0.95rem;
}

.pill-text {
  line-height: 1;
}

/* 1. Purple - Rahasia Layer */
.pill-purple {
  background: #F5EEFD;
  border: 1.5px solid #D8B4FE;
  color: #7E22CE;
}
.pill-purple:hover {
  background: #EEDDFB;
  border-color: #A855F7;
  box-shadow: 0 4px 12px rgba(126, 34, 206, 0.18);
}

/* 2. Orange - Chef Choux */
.pill-orange {
  background: #FFF3E6;
  border: 1.5px solid #FDBA74;
  color: #C2410C;
}
.pill-orange:hover {
  background: #FFE4CC;
  border-color: #EA580C;
  box-shadow: 0 4px 12px rgba(194, 65, 12, 0.18);
}

/* 3. Indigo - Mini Game & Hadiah */
.pill-indigo {
  background: #F0EDFF;
  border: 1.5px solid #C4B5FD;
  color: #6D28D9;
  position: relative;
}
.pill-indigo:hover {
  background: #E4DEFF;
  border-color: #8B5CF6;
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.22);
}

.pill-badge-spark {
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);
  color: #FFFFFF;
  font-size: 0.62rem;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  animation: pulse-ring 2s infinite;
}

/* 4. Rose - Menu Rasa */
.pill-rose {
  background: #FFF1F2;
  border: 1.5px solid #FDA4AF;
  color: #BE123C;
}
.pill-rose:hover {
  background: #FFE4E6;
  border-color: #F43F5E;
  box-shadow: 0 4px 12px rgba(190, 18, 60, 0.18);
}

/* 5. Emerald - Custom Box */
.pill-emerald {
  background: #F0FDF4;
  border: 1.5px solid #86EFAC;
  color: #15803D;
}
.pill-emerald:hover {
  background: #DCFCE7;
  border-color: #22C55E;
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.18);
}

/* 6. Gold - Ulasan */
.pill-gold {
  background: #FEF9EE;
  border: 1.5px solid #FCD34D;
  color: #B45309;
}
.pill-gold:hover {
  background: #FEF3C7;
  border-color: #F59E0B;
  box-shadow: 0 4px 12px rgba(180, 83, 9, 0.18);
}

/* Mobile Menu Hamburger Button (Hidden on Desktop) */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  cursor: pointer;
  padding: 8px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.mobile-menu-btn:hover {
  border-color: var(--primary-gold);
  background: #FFFBF5;
}

.hamburger-bar {
  width: 20px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: all 0.25s ease;
}

.mobile-menu-btn.active .hamburger-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-pill-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.cart-pill-btn:hover {
  border-color: var(--primary-gold);
  background: #FFFBF5;
}

.cart-count-badge {
  background: var(--primary-gold);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 20px;
}

/* ==========================================================================
   Cozy 8-Bit Bakery BGM Player Widget (Zero File Download)
   ========================================================================== */
.bgm-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.bgm-pill-btn:hover {
  border-color: var(--primary-gold);
  background: #FFFBF5;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.bgm-pill-btn.playing {
  border-color: var(--primary-gold);
  background: linear-gradient(135deg, #FFF9F0 0%, #FEF3C7 100%);
  color: #B45309;
}

.bgm-pill-btn.playing strong {
  color: #059669;
}

.bgm-icon {
  font-size: 1rem;
}

.bgm-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
  width: 14px;
}

.bgm-bars span {
  width: 3px;
  height: 4px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: height 0.2s ease;
}

.bgm-pill-btn.playing .bgm-bars span {
  background: var(--primary-gold);
  animation: equalize 1.2s infinite ease-in-out;
}

.bgm-pill-btn.playing .bgm-bars span:nth-child(1) { animation-delay: 0.0s; }
.bgm-pill-btn.playing .bgm-bars span:nth-child(2) { animation-delay: 0.3s; }
.bgm-pill-btn.playing .bgm-bars span:nth-child(3) { animation-delay: 0.6s; }

@keyframes equalize {
  0%, 100% { height: 3px; }
  50% { height: 12px; }
}

/* ==========================================================================
   3D Tactile Buttons
   ========================================================================== */
.btn-primary-3d {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, #D49C42 0%, #B87C24 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-3d);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-primary-3d:hover {
  background: linear-gradient(180deg, #DEAA50 0%, #C68E38 100%);
}

.btn-primary-3d:active {
  transform: translateY(4px);
  box-shadow: var(--shadow-3d-pressed);
}

.btn-secondary-3d {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FFFFFF;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1.5px solid var(--border-light);
  cursor: pointer;
  box-shadow: 0 4px 0 #D9CFC4, 0 6px 12px rgba(0,0,0,0.06);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-secondary-3d:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #D9CFC4, 0 2px 4px rgba(0,0,0,0.06);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* ==========================================================================
   Hero Section: Clean Cinematic Luxury Showcase
   ========================================================================== */
.hero-fullscreen-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #16120E;
  padding: 60px 0 70px 0;
}

.hero-video-bg-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  filter: brightness(0.82) contrast(1.1);
}

.hero-video-gradient-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, rgba(20, 16, 12, 0.96) 0%, rgba(20, 16, 12, 0.85) 45%, rgba(20, 16, 12, 0.35) 75%, rgba(20, 16, 12, 0.65) 100%),
    linear-gradient(180deg, rgba(20, 16, 12, 0.3) 0%, rgba(20, 16, 12, 0) 60%, var(--bg-warm) 100%);
  pointer-events: none;
}

.hero-content-relative {
  position: relative;
  z-index: 5;
  width: 100%;
}

.hero-grid-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
}

/* Left Hero Narrative Column */
.hero-main-narrative {
  max-width: 640px;
}

.badge-pill-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #FDE68A;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}

.badge-dot-gold {
  width: 8px;
  height: 8px;
  background: #F59E0B;
  border-radius: 50%;
  box-shadow: 0 0 10px #F59E0B;
}

.hero-headline-light {
  font-family: var(--font-sans);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin-bottom: 18px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.highlight-serif-gold {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 50%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.btn-sound-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #FDE68A;
  border: 1px solid rgba(251, 191, 36, 0.3);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.btn-sound-pill:hover {
  background: rgba(245, 158, 11, 0.25);
  border-color: #F59E0B;
  transform: translateY(-2px);
}

.btn-secondary-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.15s ease;
}

.btn-secondary-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #D8CEBF;
  font-size: 0.82rem;
  font-weight: 600;
}

.trust-icon {
  font-size: 1rem;
}

/* Right Hero Showcase Column */
.hero-showcase-col {
  display: flex;
  justify-content: flex-end;
}

.hero-glass-badge-card {
  background: rgba(26, 21, 17, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(245, 158, 11, 0.3);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  max-width: 360px;
  width: 100%;
}

.card-badge-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #FDFBF7;
  font-weight: 700;
}

.rating-tag {
  background: rgba(245, 158, 11, 0.2);
  color: #FDE68A;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
}

.badge-quote {
  font-size: 0.95rem;
  color: #E8DFD3;
  line-height: 1.55;
  font-style: italic;
  margin-bottom: 18px;
}

.badge-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 12px;
}

.badge-author strong {
  display: block;
  font-size: 0.82rem;
  color: #FFFFFF;
}

.badge-author small {
  font-size: 0.72rem;
  color: #FDE68A;
}

.badge-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: #F59E0B;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.badge-link:hover {
  text-decoration: underline;
  transform: translateX(3px);
}

/* ==========================================================================
   Anatomy Section: Dedicated Interactive 4-Layer Pastry Lab
   ========================================================================== */
.anatomy-section {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--bg-warm) 0%, #F5EFEB 100%);
  border-bottom: 1px solid var(--border-light);
}

.anatomy-interactive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.anatomy-visual-card {
  position: relative;
  background: #FFFFFF;
  border: 2px solid var(--border-light);
  border-radius: 28px;
  padding: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.anatomy-main-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  transition: transform 0.5s ease;
}

.anatomy-visual-card:hover .anatomy-main-img {
  transform: scale(1.02);
}

/* Hotspot Pins */
.hotspot-pin {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 27, 24, 0.88);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 6px 12px;
  border-radius: 30px;
  border: 1.5px solid #F59E0B;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
}

.hotspot-pin:hover {
  background: #F59E0B;
  color: #1E1B18;
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

.hotspot-pin .pin-dot {
  width: 22px;
  height: 22px;
  background: #F59E0B;
  color: #1E1B18;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 900;
}

.hotspot-pin:hover .pin-dot {
  background: #1E1B18;
  color: #FFFFFF;
}

.hotspot-pin .pin-label {
  font-size: 0.75rem;
  font-weight: 700;
}

.pin-1 { top: 14%; left: 6%; }
.pin-2 { top: 36%; right: 6%; }
.pin-3 { top: 58%; left: 6%; }
.pin-4 { bottom: 16%; right: 6%; }

.visual-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.btn-sound-mini {
  background: #FFF9F0;
  border: 1px solid var(--primary-gold);
  color: var(--text-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-sound-mini:hover {
  background: var(--primary-gold);
  color: #FFFFFF;
}

/* Layer Tabs Modern */
.layer-tabs-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.layer-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  color: var(--text-muted);
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.layer-tab-btn:hover {
  border-color: var(--primary-gold);
  color: var(--text-dark);
  transform: translateY(-2px);
}

.layer-tab-btn.active {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #1E1B18;
  border-color: #F59E0B;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

.tab-badge {
  font-size: 0.8rem;
}

/* Layer Detail Card */
.layer-detail-card {
  background: #FFFFFF;
  border: 2px solid var(--border-light);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.layer-detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #F59E0B 0%, #D97706 100%);
}

.detail-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.detail-icon {
  font-size: 2rem;
  width: 48px;
  height: 48px;
  background: #FFF9F0;
  border: 1px solid #FDE68A;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.detail-tagline {
  font-size: 0.82rem;
  color: var(--primary-gold);
  font-weight: 700;
}

.detail-desc {
  font-size: 0.92rem;
  color: #4B5563;
  line-height: 1.6;
  margin-bottom: 20px;
}

.detail-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

.stat-box {
  background: #FAF7F2;
  border: 1.5px solid var(--border-light);
  padding: 10px 14px;
  border-radius: 10px;
}

.stat-title {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 2px;
}

.stat-value {
  display: block;
  font-size: 0.9rem;
  color: #B45309;
  font-weight: 800;
}

.detail-card-actions {
  display: flex;
  gap: 12px;
}

/* ==========================================================================
   Mascot Interactive Section
   ========================================================================== */
.mascot-section {
  padding: 60px 0;
  background: linear-gradient(180deg, var(--bg-warm) 0%, #F5EFEB 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.mascot-wrapper {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: center;
}

.mascot-frame {
  position: relative;
  background: radial-gradient(circle at 50% 35%, #FFFDF5 0%, #FFF7ED 100%);
  border: 2px solid #FED7AA;
  border-radius: 28px;
  padding: 24px 20px;
  box-shadow: 0 12px 32px rgba(251, 146, 60, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  user-select: none;
}

.mascot-frame:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(251, 146, 60, 0.22), 0 6px 16px rgba(0, 0, 0, 0.06);
}

.mascot-img {
  width: 100%;
  height: auto;
  display: block;
  transform-origin: 65% 88%;
  filter: drop-shadow(0 8px 18px rgba(180, 83, 9, 0.16));
  animation: mascotSectionWave 3.6s ease-in-out infinite;
  transition: filter 0.3s ease;
  user-select: none;
}

.mascot-frame:hover .mascot-img {
  animation: mascotExcitedWave 0.75s ease-in-out infinite;
  filter: drop-shadow(0 14px 26px rgba(245, 158, 11, 0.35));
}

.mascot-img.mascot-react {
  animation: mascotJumpWave 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* Waving Hand & Mascot Animations */
@keyframes mascotNavWave {
  0%, 70%, 100% {
    transform: translateY(0) rotate(0deg) scale(1.05);
  }
  74% {
    transform: translateY(-2px) rotate(4deg) scale(1.08);
  }
  78% {
    transform: translateY(-4px) rotate(-11deg) scale(1.1);
  }
  83% {
    transform: translateY(-4px) rotate(7deg) scale(1.1);
  }
  88% {
    transform: translateY(-4px) rotate(-12deg) scale(1.1);
  }
  93% {
    transform: translateY(-1px) rotate(3deg) scale(1.06);
  }
}

@keyframes mascotSectionWave {
  0%, 65%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  70% {
    transform: translateY(-5px) rotate(4deg) scale(1.02);
  }
  75% {
    transform: translateY(-10px) rotate(-13deg) scale(1.05);
  }
  80% {
    transform: translateY(-10px) rotate(9deg) scale(1.05);
  }
  85% {
    transform: translateY(-10px) rotate(-14deg) scale(1.06);
  }
  90% {
    transform: translateY(-5px) rotate(4deg) scale(1.02);
  }
  95% {
    transform: translateY(-2px) rotate(-2deg);
  }
}

@keyframes mascotExcitedWave {
  0%, 100% {
    transform: translateY(-6px) rotate(-13deg) scale(1.06);
  }
  50% {
    transform: translateY(-10px) rotate(9deg) scale(1.08);
  }
}

@keyframes mascotJumpWave {
  0% { transform: scale(1) translateY(0) rotate(0deg); }
  25% { transform: scale(0.92, 1.08) translateY(-26px) rotate(-16deg); }
  55% { transform: scale(1.06, 0.94) translateY(-12px) rotate(12deg); }
  80% { transform: scale(0.98, 1.02) translateY(-3px) rotate(-4deg); }
  100% { transform: scale(1) translateY(0) rotate(0deg); }
}

/* Floating Sparkle / Emoji burst on touch */
.mascot-sparkle {
  position: absolute;
  pointer-events: none;
  font-size: 1.5rem;
  z-index: 99;
  animation: floatSparkle 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes floatSparkle {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(0.5) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(var(--dx, 0px), var(--dy, -60px)) scale(1.35) rotate(var(--dr, 25deg));
  }
}

.mascot-touch-hint {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-dark);
  color: #FBBF24;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  white-space: nowrap;
}

.mascot-bubble {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  position: relative;
}

.bubble-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.chef-badge {
  background: #FEF3C7;
  color: #92400E;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
}

.status-live {
  font-size: 0.75rem;
  color: #059669;
  font-weight: 700;
}

.mascot-name {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.mascot-speech {
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.6;
}

.mascot-questions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.questions-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.questions-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.question-chip {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  padding: 10px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.question-chip:hover {
  background: #FFF9F0;
  border-color: var(--primary-gold);
  transform: translateY(-2px);
}

/* ==========================================================================
   Catalog & Product Grid
   ========================================================================== */
.catalog-section {
  padding: 80px 0;
}

.section-header-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px auto;
}

.section-badge {
  display: inline-block;
  background: #FEF3C7;
  color: #92400E;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--primary-gold);
  color: var(--text-dark);
}

.filter-btn.active {
  background: var(--text-dark);
  color: #FFFFFF;
  border-color: var(--text-dark);
}

/* Product Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.product-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #E2D3BE;
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 50px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.card-badge.bestseller { background: #D97706; color: #FFFFFF; }
.card-badge.dark { background: #291811; color: #FFFFFF; }
.card-badge.matcha { background: #047857; color: #FFFFFF; }
.card-badge.caramel { background: #B45309; color: #FFFFFF; }
.card-badge.ruby { background: #BE185D; color: #FFFFFF; }

.card-img-wrap {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #FDFBF7;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .card-img {
  transform: scale(1.06);
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
}

.card-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-gold);
  white-space: nowrap;
}

.card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.flavor-gauge {
  background: #FAF7F2;
  border: 1px solid var(--border-light);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.flavor-gauge strong {
  color: var(--text-dark);
}

.btn-add-box {
  width: 100%;
  background: #FAF7F2;
  border: 1.5px solid #E5D5C0;
  padding: 10px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-add-box:hover {
  background: var(--text-dark);
  color: #FFFFFF;
  border-color: var(--text-dark);
}

/* ==========================================================================
   Custom Box Builder Section
   ========================================================================== */
.box-builder-section {
  padding: 80px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.builder-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: flex-start;
}

.builder-box-card {
  background: #FAF7F2;
  border: 2px solid var(--border-light);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 100px;
}

.box-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.box-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary-gold);
  text-transform: uppercase;
}

.box-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
}

.box-price-tag {
  font-size: 1.25rem;
  font-weight: 800;
  color: #B45309;
  background: #FEF3C7;
  padding: 4px 12px;
  border-radius: 8px;
}

.box-preview-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--border-light);
}

.box-preview-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.box-overlay-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(30, 27, 24, 0.85);
  backdrop-filter: blur(6px);
  color: #FDE68A;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 8px;
  text-align: center;
}

.box-slots-container {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  padding: 16px;
}

.slots-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.82rem;
  font-weight: 700;
}

.btn-clear-slots {
  background: none;
  border: none;
  color: #DC2626;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.slot-item {
  aspect-ratio: 1;
  border: 2px dashed #D5C9BA;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px;
  text-align: center;
  background: #FAF7F2;
  position: relative;
  transition: all 0.2s ease;
}

.slot-item.filled {
  border: 1.5px solid var(--primary-gold);
  background: #FFFDF9;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.slot-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 4px;
}

.slot-name {
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-dark);
}

.slot-remove-btn {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  background: #EF4444;
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Builder Form Card */
.builder-form-card {
  background: #FAF7F2;
  border: 2px solid var(--border-light);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.form-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-step {
  margin-bottom: 24px;
}

.step-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.package-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pkg-btn {
  background: #FFFFFF;
  border: 2px solid var(--border-light);
  border-radius: 12px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pkg-btn:hover {
  border-color: var(--primary-gold);
}

.pkg-btn.active {
  border-color: var(--primary-gold);
  background: #FFFBF5;
  box-shadow: 0 4px 12px var(--gold-glow);
}

.pkg-icon {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.pkg-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-dark);
}

.pkg-price {
  font-size: 0.75rem;
  font-weight: 700;
  color: #B45309;
}

.preset-buttons-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-preset {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-preset:hover {
  background: #FFF9F0;
  border-color: var(--primary-gold);
}

.input-group {
  margin-bottom: 10px;
}

.form-input {
  width: 100%;
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  border-color: var(--primary-gold);
}

.form-textarea {
  min-height: 70px;
  resize: vertical;
}

/* Order Summary Box */
.order-summary-box {
  background: #FFFFFF;
  border: 2px solid #F1E5D5;
  border-radius: 16px;
  padding: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.summary-flavors-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 60%;
  text-align: right;
}

.total-row {
  border-top: 1.5px dashed var(--border-light);
  padding-top: 12px;
  margin-top: 12px;
  margin-bottom: 16px;
}

.total-price-large {
  font-size: 1.4rem;
  font-weight: 800;
  color: #B45309;
}

.btn-whatsapp-order {
  width: 100%;
  background: linear-gradient(180deg, #22C55E 0%, #16A34A 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 14px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  box-shadow: 0 6px 0 #15803D, 0 10px 20px rgba(34, 197, 94, 0.25);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-whatsapp-order:hover {
  background: linear-gradient(180deg, #34D399 0%, #059669 100%);
}

.btn-whatsapp-order:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #15803D, 0 4px 8px rgba(0,0,0,0.1);
}

.wa-icon {
  font-size: 1.8rem;
}

.wa-btn-text {
  text-align: left;
}

.wa-btn-text strong {
  display: block;
  font-size: 1rem;
}

.wa-btn-text small {
  display: block;
  font-size: 0.72rem;
  opacity: 0.9;
}

.wa-guarantee-note {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 12px;
}

/* ==========================================================================
   Pillars & Quality
   ========================================================================== */
.pillars-section {
  padding: 60px 0;
  background: #FAF7F2;
}

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

.pillar-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.pillar-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.pillar-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.pillar-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Reviews Section
   ========================================================================== */
.reviews-section {
  padding: 80px 0;
  background: #FFFFFF;
}

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

.review-card {
  background: #FAF7F2;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px;
}

.stars {
  font-size: 1rem;
  margin-bottom: 12px;
}

.review-quote {
  font-size: 0.92rem;
  font-style: italic;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 16px;
}

.reviewer-info strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-dark);
}

.reviewer-info small {
  font-size: 0.75rem;
  color: var(--primary-gold);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-pastry {
  background: #1A1815;
  color: #FDFBF7;
  padding: 60px 0 30px 0;
  border-top: 1px solid #332E28;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-brand .brand-title {
  color: #FFFFFF;
}

.footer-tagline {
  font-size: 0.88rem;
  color: #A39B90;
  margin-top: 10px;
  max-width: 320px;
}

.footer-contact h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #FBBF24;
}

.footer-contact p {
  font-size: 0.85rem;
  color: #D1CBC3;
  margin-bottom: 6px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #2B2620;
  padding-top: 24px;
  font-size: 0.78rem;
  color: #78716A;
}

/* ==========================================================================
   Isolated Mobile Navigation Drawer (Phone Mode)
   ========================================================================== */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 3000;
  overflow: clip;
  contain: paint;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.3s ease;
}

.mobile-nav-drawer.open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 18, 14, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-drawer.open .mobile-drawer-overlay {
  opacity: 1;
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 88%;
  max-width: 380px;
  height: 100%;
  background: #FAF7F2;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  z-index: 3001;
}

.mobile-nav-drawer.open .mobile-drawer-panel {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border-light);
  background: #FFFFFF;
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon-wrapper.mini {
  width: 36px;
  height: 36px;
  font-size: 1.2rem;
  border-radius: 10px;
}

.drawer-brand strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-dark);
}

.drawer-brand small {
  display: block;
  font-size: 0.68rem;
  color: var(--primary-gold);
  text-transform: uppercase;
  font-weight: 700;
}

.drawer-close-btn {
  width: 36px;
  height: 36px;
  background: #F3EFEA;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.drawer-close-btn:hover {
  background: var(--text-dark);
  color: #FFFFFF;
}

.mobile-drawer-links {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.mobile-drawer-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  text-decoration: none;
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.mobile-drawer-item:hover {
  transform: translateX(4px);
}

.drawer-item-icon {
  font-size: 1.4rem;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-item-text {
  flex: 1;
}

.drawer-item-text strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.drawer-item-text small {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.drawer-arrow {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Drawer Item Color Accents */
.mobile-drawer-item.item-purple .drawer-item-icon { background: #F5EEFD; border: 1px solid #D8B4FE; }
.mobile-drawer-item.item-purple:hover { border-color: #A855F7; }

.mobile-drawer-item.item-orange .drawer-item-icon { background: #FFF3E6; border: 1px solid #FDBA74; }
.mobile-drawer-item.item-orange:hover { border-color: #EA580C; }

.mobile-drawer-item.item-indigo .drawer-item-icon { background: #F0EDFF; border: 1px solid #C4B5FD; }
.mobile-drawer-item.item-indigo:hover { border-color: #8B5CF6; }

.mobile-drawer-item.item-rose .drawer-item-icon { background: #FFF1F2; border: 1px solid #FDA4AF; }
.mobile-drawer-item.item-rose:hover { border-color: #F43F5E; }

.mobile-drawer-item.item-emerald .drawer-item-icon { background: #F0FDF4; border: 1px solid #86EFAC; }
.mobile-drawer-item.item-emerald:hover { border-color: #22C55E; }

.mobile-drawer-item.item-gold .drawer-item-icon { background: #FEF9EE; border: 1px solid #FCD34D; }
.mobile-drawer-item.item-gold:hover { border-color: #F59E0B; }

.drawer-badge-win {
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 12px;
}

.mobile-drawer-footer {
  padding: 20px;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
}

.mobile-drawer-cta {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* ==========================================================================
   Responsive Adaptations & Layout Isolation
   ========================================================================== */
@media (max-width: 1240px) {
  .nav-links {
    gap: 6px;
  }
  .nav-pill {
    padding: 5px 9px;
    font-size: 0.78rem;
  }
}

@media (max-width: 1024px) {
  .nav-links {
    display: none !important;
  }

  .nav-cta-desktop {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex !important;
  }
}

@media (max-width: 960px) {
  .hero-grid-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-showcase-col {
    justify-content: flex-start;
  }

  .hero-glass-badge-card {
    max-width: 100%;
  }

  .anatomy-interactive-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .mascot-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mascot-avatar-col {
    max-width: 260px;
    margin: 0 auto;
  }

  .bubble-header {
    justify-content: center;
    gap: 12px;
  }

  .mascot-questions {
    align-items: center;
  }

  .questions-chips {
    justify-content: center;
  }

  .builder-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .navbar-header {
    padding: 10px 0;
  }

  .brand-subtitle {
    display: none;
  }

  .brand-title {
    font-size: 1.15rem;
  }

  .nav-actions {
    gap: 6px;
  }

  .bgm-pill-btn {
    padding: 6px 10px;
    font-size: 0.78rem;
  }

  .bgm-label {
    display: none;
  }

  .cart-pill-btn {
    padding: 6px 8px;
    font-size: 0.78rem;
  }

  .cart-label {
    display: none;
  }

  .hero-headline-light {
    font-size: 2.3rem;
  }

  .hero-fullscreen-section {
    padding: 40px 0;
    min-height: auto;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-trust-bar {
    gap: 12px;
  }

  .layer-tabs-modern {
    gap: 6px;
  }

  .layer-tab-btn {
    padding: 8px 12px;
    font-size: 0.75rem;
  }

  .hotspot-pin .pin-label {
    display: none;
  }

  .hotspot-pin {
    padding: 3px;
    border-radius: 50%;
  }

  .package-options-grid {
    grid-template-columns: 1fr;
  }

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

  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Arcade Teaser Banner (In index.html before footer)
   ========================================================================== */
.arcade-teaser-section {
  padding: 60px 0;
  background: var(--bg-cream);
}

.arcade-teaser-card {
  background: radial-gradient(circle at 80% 20%, #2D1F17 0%, #15100D 100%);
  border: 2px solid rgba(245, 158, 11, 0.35);
  border-radius: 28px;
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.arcade-teaser-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.arcade-teaser-content {
  flex: 1;
  max-width: 600px;
}

.arcade-teaser-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.2;
}

.arcade-teaser-desc {
  font-size: 0.95rem;
  color: #D1C7BA;
  line-height: 1.6;
  margin-bottom: 24px;
}

.arcade-teaser-desc strong {
  color: #FDE68A;
}

.btn-arcade-glow {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.btn-arcade-glow:hover {
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.65);
}

.arcade-teaser-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.teaser-trophy-badge {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #FDE68A;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.teaser-emojis-cluster {
  position: relative;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emoji-main {
  font-size: 4.5rem;
  animation: float-gentle 3s ease-in-out infinite;
}

.emoji-float-1 {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 2.2rem;
  animation: float-gentle 4s ease-in-out infinite reverse;
}

.emoji-float-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 2rem;
  animation: float-gentle 3.5s ease-in-out infinite 0.5s;
}

/* Standalone arcade.html Page Styling */
.arcade-body-page {
  background: #120E0B;
  color: #FDFBF7;
  min-height: 100vh;
}

.arcade-body-page .navbar-header {
  background: rgba(18, 14, 11, 0.94);
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}

.arcade-body-page .brand-title {
  color: #FFFFFF;
}

.btn-back-store {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #E5DCD0;
  transition: all 0.2s ease;
}

.btn-back-store:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.arcade-page-main {
  padding: 50px 0 80px 0;
}

.text-white {
  color: #FFFFFF !important;
}

.arcade-layout-split {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
  align-items: start;
  margin-top: 36px;
}

.arcade-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.arcade-side-card {
  background: rgba(30, 22, 17, 0.85);
  border: 1.5px solid rgba(245, 158, 11, 0.3);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(12px);
}

.side-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 14px;
}

.side-icon {
  font-size: 1.6rem;
}

.side-title {
  font-size: 1rem;
  font-weight: 800;
  color: #FFFFFF;
}

.side-sub {
  font-size: 0.72rem;
  color: #FBBF24;
  text-transform: uppercase;
  font-weight: 700;
}

.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.leader-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-size: 0.84rem;
}

.leader-item.top-1 {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.25) 0%, rgba(245, 158, 11, 0.05) 100%);
  border-color: rgba(245, 158, 11, 0.4);
}

.rank-badge {
  font-weight: 800;
  font-size: 0.85rem;
  min-width: 24px;
}

.player-name {
  flex: 1;
  margin-left: 8px;
  font-weight: 600;
  color: #E5DCD0;
}

.player-score {
  font-weight: 800;
  color: #FDE68A;
  font-family: monospace;
}

.promo-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.2);
  color: #FBBF24;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 10px;
  margin-bottom: 8px;
}

.promo-title {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.promo-desc {
  font-size: 0.82rem;
  color: #BDB4A8;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* ==========================================================================
   Choux Arcade Pastry Arena (Gaming Experience)
   ========================================================================== */
.arcade-section {
  padding: 80px 0;
  background: radial-gradient(circle at center top, #241A14 0%, #15100D 100%);
  border-top: 2px solid rgba(245, 158, 11, 0.2);
  border-bottom: 2px solid rgba(245, 158, 11, 0.2);
  position: relative;
  overflow: hidden;
}

.arcade-section .section-title {
  color: #FFFFFF;
}

.arcade-section .section-sub {
  color: #D1C7BA;
}

.arcade-badge-neon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.2);
  border: 1.5px solid rgba(245, 158, 11, 0.5);
  color: #FDE68A;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.35);
}

.neon-dot {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 8px #22C55E;
  animation: pulse-ring 2s infinite;
}

.arcade-mode-switcher {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  gap: 8px;
  margin-top: 24px;
}

.arcade-tab-btn {
  background: transparent;
  border: none;
  color: #E5DCD0;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.arcade-tab-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.arcade-tab-btn.active {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #1A120B;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
}

.arcade-cabinet-wrapper {
  max-width: 820px;
  margin: 40px auto 0 auto;
}

.arcade-game-card {
  background: rgba(30, 22, 17, 0.85);
  backdrop-filter: blur(16px);
  border: 2px solid rgba(245, 158, 11, 0.35);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  position: relative;
}

/* Cabinet Top HUD */
.cabinet-top-hud {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 12px 16px;
  margin-bottom: 18px;
}

.hud-stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hud-stat-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: #A89F91;
  letter-spacing: 0.05em;
}

.hud-lives-display {
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.hud-score-display {
  font-size: 1.25rem;
  font-weight: 900;
  color: #FDE68A;
  font-family: monospace;
}

.hud-combo-display {
  font-size: 1.25rem;
  font-weight: 900;
  color: #F59E0B;
}

.hud-time-display {
  font-size: 1.25rem;
  font-weight: 900;
  color: #22C55E;
}

/* Game Canvas & Overlay */
.game-canvas-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  max-height: 440px;
  background: #110D0A;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid rgba(245, 158, 11, 0.2);
}

.arcade-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: crosshair;
}

.arcade-overlay-screen {
  position: absolute;
  inset: 0;
  background: rgba(18, 13, 10, 0.88);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  padding: 24px;
  text-align: center;
}

.overlay-modal-box {
  max-width: 480px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.modal-icon-bounce {
  font-size: 3rem;
  animation: hand-sway 1.5s infinite ease-in-out;
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: #FFFFFF;
  margin: 0;
}

.modal-desc {
  font-size: 0.92rem;
  color: #D8CEBF;
  line-height: 1.5;
  margin: 0;
}

.modal-prizes-preview {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 8px 0 14px 0;
}

.prize-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FDFBF7;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.prize-pill.danger {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #FCA5A5;
}

.btn-arcade-play {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #1A120B;
  border: none;
  font-size: 1.05rem;
  font-weight: 900;
  padding: 14px 32px;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-arcade-play:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.6);
}

.btn-arcade-play:active {
  transform: translateY(2px);
}

.final-score-badge {
  background: rgba(245, 158, 11, 0.2);
  border: 1.5px solid #F59E0B;
  color: #FDE68A;
  font-size: 1.2rem;
  font-weight: 900;
  padding: 8px 20px;
  border-radius: 50px;
}

.unlocked-voucher-card {
  background: rgba(0, 0, 0, 0.65);
  border: 1.5px dashed #F59E0B;
  border-radius: 16px;
  padding: 16px 24px;
  width: 100%;
  margin: 10px 0;
}

.voucher-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: #A89F91;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.voucher-code-copy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #F59E0B;
  color: #1A120B;
  font-size: 1.4rem;
  font-weight: 900;
  font-family: monospace;
  padding: 6px 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.voucher-code-copy:hover {
  transform: scale(1.05);
}

.copy-hint {
  font-size: 0.8rem;
  font-family: var(--font-sans);
  background: rgba(0,0,0,0.15);
  padding: 2px 6px;
  border-radius: 6px;
}

.voucher-discount-tag {
  font-size: 0.85rem;
  color: #FDE68A;
  font-weight: 700;
  margin-top: 8px;
}

.modal-actions-row {
  display: flex;
  gap: 12px;
  width: 100%;
  justify-content: center;
}

.btn-arcade-restart {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-arcade-restart:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Touch Control Bar */
.arcade-touch-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  gap: 12px;
}

.touch-ctrl-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(245, 158, 11, 0.3);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 14px 16px;
  border-radius: 14px;
  cursor: pointer;
  user-select: none;
  transition: all 0.1s ease;
}

.touch-ctrl-btn:active {
  background: #F59E0B;
  color: #1A120B;
  transform: scale(0.96);
}

.touch-hint-center {
  font-size: 0.78rem;
  color: #A89F91;
  text-align: center;
}

/* Gacha Wheel Layout */
.gacha-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.wheel-stage-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.wheel-outer-ring {
  position: relative;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, #2A1F17 0%, #15100D 100%);
  border: 8px solid #D97706;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.4), inset 0 0 20px rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wheel-indicator-pin {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  z-index: 10;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
}

.gacha-wheel-canvas {
  width: 300px;
  height: 300px;
  border-radius: 50%;
}

.wheel-center-cap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #FDE68A 0%, #D97706 100%);
  border: 3px solid #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  color: #1A120B;
  cursor: pointer;
  z-index: 8;
  transition: transform 0.15s ease;
}

.wheel-center-cap:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.gacha-info-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gacha-banner-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 18px;
}

.gacha-badge-tag {
  background: rgba(245, 158, 11, 0.2);
  color: #FDE68A;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 8px;
}

.gacha-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 6px 0;
}

.gacha-card-desc {
  font-size: 0.85rem;
  color: #D1C7BA;
  line-height: 1.5;
  margin: 0;
}

.gacha-prizes-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.gacha-prize-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 10px 12px;
}

.prize-ico {
  font-size: 1.4rem;
}

.prize-txt strong {
  display: block;
  font-size: 0.78rem;
  color: #FFFFFF;
}

.prize-txt small {
  font-size: 0.68rem;
  color: #FDE68A;
  font-family: monospace;
}

.gacha-won-result-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.3) 100%);
  border: 1.5px solid #F59E0B;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}

.won-header {
  font-size: 0.82rem;
  font-weight: 800;
  color: #FDE68A;
  margin-bottom: 4px;
}

.won-prize-name {
  font-size: 1.2rem;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.btn-claim-gacha {
  background: #F59E0B;
  color: #1A120B;
  border: none;
  font-weight: 900;
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
}

.arcade-nav-link {
  color: #F59E0B !important;
  font-weight: 800 !important;
}

@media (max-width: 960px) {
  .gacha-layout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .cabinet-top-hud {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .wheel-outer-ring {
    width: 280px;
    height: 280px;
  }

  .gacha-wheel-canvas {
    width: 240px;
    height: 240px;
  }

  .gacha-prizes-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Modern Animation System — Scroll Reveal, Micro-interactions, Keyframes
   (2026 Premium Pastry Design — "Luxury is Restraint")
   ========================================================================== */

/* --- Keyframe Definitions --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes hand-sway {
  0%, 100% { transform: rotate(0deg); }
  25%      { transform: rotate(14deg); }
  75%      { transform: rotate(-14deg); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes subtlePulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.7; }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Scroll Reveal System (IntersectionObserver-driven) --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered Children — parent gets class, children animate sequentially */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.06s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.12s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.18s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.24s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.30s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.36s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.42s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.48s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- Premium Micro-interactions (Override earlier basic transitions) --- */
.product-card {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(198, 142, 56, 0.12),
              0 8px 24px rgba(30, 27, 24, 0.06);
  border-color: rgba(198, 142, 56, 0.35);
}

.card-img {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.pillar-card {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(30, 27, 24, 0.1);
}

.review-card {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(30, 27, 24, 0.08);
}

/* --- Gold Shimmer Text Effect --- */
.highlight-serif-gold {
  background-size: 200% auto;
  animation: shimmer 4s linear infinite;
}

/* --- Gentle Float for Hero Badges --- */
.badge-pill-gold {
  animation: float-gentle 5s ease-in-out infinite;
}

/* --- Hero Entrance Animations --- */
.hero-glass-panel {
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-hud-col {
  animation: fadeInRight 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.hero-cta-row {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both;
}

/* --- Navbar Scroll State --- */
.navbar-header.scrolled {
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(30, 27, 24, 0.06);
  background: rgba(250, 247, 242, 0.96);
}

/* --- Enhanced Button Interactions --- */
.btn-primary-3d {
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.15s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.25s ease;
}

.btn-add-box {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-add-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(30, 27, 24, 0.08);
}

/* --- Mascot Smooth Interactions --- */
.mascot-img {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mascot-frame {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mascot-frame:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 64px rgba(30, 27, 24, 0.14);
}

.mascot-speech {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.question-chip {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.question-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(198, 142, 56, 0.15);
  border-color: var(--primary-gold);
}

/* --- Glass Info Card Smooth State --- */
.glass-info-card {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* --- Reduced Motion Accessibility --- */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale,
  .stagger-children > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .highlight-serif-gold,
  .badge-pill-gold,
  .hero-glass-panel,
  .hero-hud-col,
  .hero-cta-row {
    animation: none !important;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================================
   Header refresh v2 — isolated desktop / tablet / phone compositions
   ========================================================================== */
.navbar-header {
  background: rgba(255, 253, 249, 0.94);
  box-shadow: 0 1px 0 rgba(91, 58, 25, 0.04);
  padding: 12px 0;
}

.navbar-header > .container {
  max-width: 1280px;
}

.nav-container {
  display: grid;
  grid-template-columns: minmax(176px, 0.8fr) minmax(0, 1.8fr) auto;
  gap: 16px;
  min-height: 54px;
}

.brand-logo {
  min-width: 0;
  gap: 10px;
}

.logo-icon-wrapper {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border-radius: 15px;
  background: var(--header-highlight);
  border-color: var(--header-border);
  box-shadow: 0 7px 16px rgba(198, 142, 56, 0.16);
}

.brand-title {
  font-size: 1.18rem;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.59rem;
  letter-spacing: 0.15em;
  color: var(--primary-gold-hover);
}

.nav-links {
  min-width: 0;
  justify-content: flex-start;
  gap: 2px;
  overflow: hidden;
}

.nav-pill {
  flex: 0 1 auto;
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid transparent !important;
  border-radius: 13px;
  background: transparent !important;
  color: var(--header-ink-soft) !important;
  box-shadow: none;
  font-size: 0.74rem;
  letter-spacing: -0.01em;
}

.nav-pill:hover,
.nav-pill:focus-visible {
  color: var(--text-dark) !important;
  border-color: var(--border-light) !important;
  background: var(--bg-card) !important;
  box-shadow: 0 6px 16px rgba(91, 58, 25, 0.08);
  transform: translateY(-1px);
}

.nav-pill.pill-indigo {
  color: var(--primary-gold-hover) !important;
  border-color: var(--header-border) !important;
  background: var(--header-highlight) !important;
}

.pill-icon {
  font-size: 0.88rem;
}

.nav-actions {
  gap: 7px;
  justify-content: flex-end;
}

.bgm-pill-btn,
.cart-pill-btn {
  min-height: 42px;
  border-color: var(--border-light);
  background: var(--bg-card);
}

.bgm-pill-btn {
  width: 42px;
  padding-inline: 0;
  justify-content: center;
}

.bgm-label,
.bgm-bars {
  display: none;
}

.bgm-pill-btn:hover,
.cart-pill-btn:hover {
  border-color: var(--header-border);
  background: var(--header-cream);
  box-shadow: var(--header-shadow);
}

.btn-primary-3d {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 14px;
  box-shadow: 0 4px 0 #9E6F22, 0 10px 18px rgba(146, 91, 20, 0.18);
}

.mobile-menu-btn:focus-visible,
.bgm-pill-btn:focus-visible,
.cart-pill-btn:focus-visible,
.btn-primary-3d:focus-visible,
.drawer-close-btn:focus-visible {
  outline: 3px solid rgba(198, 142, 56, 0.32);
  outline-offset: 3px;
}

/* Tablet: keep a horizontal icon rail; do not inherit phone drawer behavior. */
@media (min-width: 641px) and (max-width: 1100px) {
  .nav-container {
    grid-template-columns: minmax(158px, 0.7fr) minmax(0, 1fr) auto;
    gap: 10px;
  }

  .nav-links {
    display: flex !important;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-pill {
    flex: 0 0 auto;
    padding-inline: 7px;
  }

  .nav-pill:nth-child(n + 4) .pill-text {
    display: none;
  }

  .nav-cta-desktop,
  .mobile-menu-btn {
    display: none !important;
  }

  .bgm-label,
  .cart-label {
    display: none;
  }

  .bgm-pill-btn,
  .cart-pill-btn {
    width: 42px;
    padding-inline: 0;
    justify-content: center;
  }

}

@media (max-width: 960px) {
  .arcade-layout-split {
    grid-template-columns: 1fr;
  }
}

/* Phone: compact brand + three tactile controls, with the existing drawer isolated. */
@media (max-width: 640px) {
  .navbar-header {
    padding: 9px 0;
  }

  .nav-container {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
  }

  .brand-logo {
    flex: 1 1 auto;
    min-width: 0;
  }

  .logo-icon-wrapper {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .brand-title {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.02rem;
  }

  .brand-subtitle,
  .nav-links,
  .bgm-label,
  .bgm-bars,
  .cart-label,
  .nav-cta-desktop {
    display: none !important;
  }

  .nav-actions {
    flex: 0 0 auto;
    gap: 6px;
  }

  .bgm-pill-btn,
  .cart-pill-btn,
  .mobile-menu-btn {
    width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    justify-content: center;
    border-radius: 13px;
  }

  .cart-pill-btn {
    position: relative;
  }

  .cart-count-badge {
    position: absolute;
    top: -5px;
    right: -4px;
    min-width: 18px;
    padding: 1px 5px;
    font-size: 0.64rem;
    border: 2px solid var(--header-cream);
  }

  .mobile-menu-btn {
    display: flex !important;
  }

  .arcade-nav .btn-back-store {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 13px;
  }

  .arcade-nav .btn-back-store span {
    display: block;
    font-size: 0;
  }

  .arcade-nav .btn-back-store span::before {
    content: '←';
    font-size: 1.1rem;
  }

  .arcade-nav .btn-primary-3d {
    width: 40px;
    padding: 0;
    font-size: 0;
  }

  .arcade-nav .btn-primary-3d span {
    display: none;
  }

  .arcade-nav .btn-primary-3d::before {
    content: '🎁';
    font-size: 1rem;
  }

  /* Mobile video framing: preserve the full landscape shot instead of cropping
     it into an oversized portrait close-up. The dark backdrop hides the
     natural letterbox while the overlay keeps text contrast intact. */
  .hero-video-bg-container {
    background: var(--hero-video-backdrop);
  }

  .hero-video-bg-container::before {
    content: '';
    position: absolute;
    inset: -18px;
    background: url('assets/images/exploded_choux.jpg') center / cover no-repeat;
    filter: blur(12px) brightness(0.44) saturate(0.88);
    opacity: 0.72;
    transform: scale(1.04);
  }

  .hero-bg-video {
    position: relative;
    z-index: 1;
    object-fit: contain;
    object-position: center 28%;
    filter: brightness(0.88) contrast(1.06) saturate(0.98);
  }

  .hero-video-gradient-overlay {
    z-index: 2;
    background:
      linear-gradient(180deg, rgba(20, 16, 12, 0.3) 0%, rgba(20, 16, 12, 0.2) 42%, rgba(20, 16, 12, 0.72) 100%),
      linear-gradient(90deg, rgba(20, 16, 12, 0.55) 0%, rgba(20, 16, 12, 0.18) 52%, rgba(20, 16, 12, 0.48) 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-mascot {
    transition: none;
  }
}

/* Hero composition: keep the video as the visual subject and move copy into
   its own readable rail on large screens and its own media stage on smaller ones. */
@media (min-width: 961px) {
  .hero-main-narrative {
    position: relative;
    isolation: isolate;
    max-width: 600px;
    padding: 32px 34px 32px 0;
  }

  .hero-main-narrative::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0 -34px 0 -56px;
    background: linear-gradient(90deg, var(--hero-copy-surface) 0%, var(--hero-copy-surface-soft) 78%, rgba(22, 18, 14, 0) 100%);
    border-right: 1px solid var(--hero-copy-border);
    border-radius: 0 28px 28px 0;
    pointer-events: none;
  }

  .hero-bg-video {
    filter: brightness(0.92) contrast(1.06) saturate(1.03);
  }
}

@media (min-width: 641px) and (max-width: 960px) {
  .hero-fullscreen-section {
    display: block;
    min-height: auto;
    padding: 0;
  }

  .hero-video-bg-container {
    position: relative;
    inset: auto;
    height: min(56.25vw, 480px);
    min-height: 300px;
  }

  .hero-bg-video {
    object-fit: contain;
    object-position: center;
    filter: brightness(0.9) contrast(1.04) saturate(1.02);
  }

  .hero-video-gradient-overlay {
    background: linear-gradient(180deg, rgba(20, 16, 12, 0.08) 0%, rgba(20, 16, 12, 0.16) 70%, rgba(20, 16, 12, 0.46) 100%);
  }

  .hero-content-relative {
    background: var(--hero-video-backdrop);
    padding: 40px 24px 52px;
  }

  .hero-main-narrative {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .hero-fullscreen-section {
    display: block;
    min-height: auto;
    padding: 0;
  }

  .hero-video-bg-container {
    position: relative;
    inset: auto;
    height: min(56.25vw, 300px);
    min-height: 210px;
  }

  .hero-bg-video {
    object-fit: contain;
    object-position: center;
    filter: brightness(0.96) contrast(1.04) saturate(1.02);
  }

  .hero-video-gradient-overlay {
    background: linear-gradient(180deg, rgba(20, 16, 12, 0.04) 0%, rgba(20, 16, 12, 0.08) 72%, rgba(20, 16, 12, 0.38) 100%);
  }

  .hero-content-relative {
    background: var(--hero-video-backdrop);
    padding: 30px 24px 44px;
  }

  .hero-main-narrative {
    max-width: none;
  }

  .hero-headline-light {
    margin-bottom: 24px;
    text-wrap: balance;
  }

  .hero-cta-row {
    margin-bottom: 28px;
  }

  .hero-showcase-col {
    margin-top: 28px;
  }
}
