/* ═════════════════════════════════════════════════════════════════════════
   THE MĂM MĂM - ĐẶC SẢN ĐÀ LẠT & BÁNH NGON HANDMADE
   Phong cách Retro Pop, Bố cục & Hiệu ứng đỉnh cao từ CRAV Burgers
   Chuẩn hóa 100% Font chữ Tiếng Việt không lỗi hiển thị
   ═════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Coiny&family=Saira+Condensed:wght@700;800;900&family=Be+Vietnam+Pro:wght@400;500;600;700;800;900&display=swap');

:root {
  /* ═══════════════ AWARD-WINNING GOURMET PALETTE ═══════════════ */
  --beige: #FFF8EE;              /* Warm French Vanilla Cream */
  --beige-light: #FFFDF9;        /* Luminous Bakery Ivory */
  --beige-warm: #FFF2DF;         /* Golden Butter Canvas */
  --beige-dark: #F3E3CE;         /* Muted Toasted Crust */
  
  --red: #E52E2E;                /* Luscious Strawberry Cinnabar */
  --red-dark: #B81414;           /* Deep Ripe Berry */
  --red-gradient: linear-gradient(135deg, #FF4545 0%, #E52E2E 50%, #C41616 100%);
  --red-glow: 0 12px 28px -4px rgba(229, 46, 46, 0.45);
  
  --white: #ffffff;
  --black: #2B160C;              /* Deep Roasted Cocoa Espresso */
  --black-soft: #4A2B1B;         /* Warm Dark Chocolate */
  --black-muted: #7A533E;        /* Cinnamon Brown */
  
  --mustard: #FFD447;            /* Brioche Gold */
  --mustard-dark: #F5B014;       /* Caramel Honey */
  --gold-radial: radial-gradient(ellipse at 50% 28%, #FFF0B5 0%, #FFD64D 42%, #F6B81C 82%, #ECA209 100%);
  
  --burgundy: #4A121E;           /* Rich Wine Truffle */
  --green: #2E8B57;              /* Fresh Basil Green */
  --green-dark: #1E663B;
  --orange: #F26A21;             /* Warm Marmalade */
  
  /* Font Families có hỗ trợ ĐẦY ĐỦ Tiếng Việt có dấu */
  --font-modak: 'Coiny', cursive, sans-serif;
  --font-coiny: 'Coiny', cursive, sans-serif;
  --font-mouse-memoirs: 'Saira Condensed', 'Barlow Condensed', sans-serif;
  --font-saira: 'Saira Condensed', 'Barlow Condensed', sans-serif;
  --font-body: 'Be Vietnam Pro', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(43, 22, 12, 0.05);
  --shadow-md: 0 10px 30px rgba(43, 22, 12, 0.09);
  --shadow-lg: 0 20px 50px rgba(43, 22, 12, 0.15);
  --shadow-pop: 3px 4px 0px #2B160C;
  --shadow-pop-red: 3px 4px 0px #B81414;

  /* 3D Sticker Peel Properties */
  --sticker-rotate: 20deg;
  --sticker-p: 20%;
  --sticker-shadow-opacity: 0.6;
  --sticker-lighting-constant: 0.1;
  --peel-direction: 0deg;
  --peel-amount: 1;
  --sticker-start: calc(-1 * var(--sticker-p));
  --sticker-end: calc(100% + var(--sticker-p));
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--beige);
  color: var(--black);
}

body {
  font-family: var(--font-body);
  background-color: var(--beige);
  color: var(--black);
  overflow-x: hidden;
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ═══════════════ TYPOGRAPHY CLASSES ═══════════════ */
.font-modak, .font-coiny {
  font-family: var(--font-coiny);
  letter-spacing: 0.01em;
}

.font-mouse-memoirs, .font-saira {
  font-family: var(--font-saira);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.heading600 {
  font-family: var(--font-coiny);
  font-size: clamp(3.5rem, 22vw, 28vw);
  line-height: 0.85;
  letter-spacing: -0.01em;
}

.heading300 {
  font-family: var(--font-saira);
  font-weight: 900;
  font-size: clamp(2.4rem, 10vw, 13vw);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.heading180 {
  font-family: var(--font-saira);
  font-weight: 800;
  font-size: clamp(1.8rem, 6.8vw, 8.5vw);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.text96 {
  font-size: clamp(1.8rem, 4.5vw, 6rem);
}

.text60 {
  font-size: clamp(1.3rem, 2.8vw, 3.8rem);
}

.text40 {
  font-size: clamp(1.05rem, 1.7vw, 2.2rem);
}

.text-stroke {
  -webkit-text-stroke: clamp(4px, 1.6vw, 2.2vw) var(--white);
  paint-order: stroke fill;
}

.text-stroke-180 {
  -webkit-text-stroke: clamp(2.5px, 0.8vw, 1.2vw) var(--white);
  paint-order: stroke fill;
}

.text-stroke-180-mustard {
  -webkit-text-stroke: clamp(2px, 0.8vw, 1.1vw) rgba(244, 168, 4, 0.45);
  paint-order: stroke fill;
}

.text-stroke-small {
  -webkit-text-stroke: 3.5px var(--white);
  paint-order: stroke fill;
}

.text-red { color: var(--red); }
.text-beige { color: var(--beige); }
.text-mustard { color: var(--mustard); }
.text-mustard-dark { color: var(--mustard-dark); }
.text-burgundy { color: var(--burgundy); }
.text-white { color: var(--white); }
.text-black { color: var(--black); }

.bg-red { background-color: var(--red); }
.bg-beige { background-color: var(--beige); }
.bg-mustard { background-color: var(--mustard); }
.bg-burgundy { background-color: var(--burgundy); }
.bg-white { background-color: var(--white); }

/* Rotations */
.rotate-15 { transform: rotate(15deg); }
.-rotate-15 { transform: rotate(-15deg); }
.rotate-12 { transform: rotate(12deg); }
.-rotate-12 { transform: rotate(-12deg); }
.rotate-7 { transform: rotate(7deg); }
.-rotate-7 { transform: rotate(-7deg); }
.rotate-5 { transform: rotate(5deg); }
.-rotate-5 { transform: rotate(-5deg); }

/* ═══════════════ LOADING CURTAIN & SNACK STACK ═══════════════ */
#preloader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-curtains {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.loader-curtains svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

#preloader.loaded .curtain-1 { transform: translateY(-105%); }
#preloader.loaded .curtain-2 { transform: translateY(-105%); transition-delay: 0.1s; }
#preloader.loaded .curtain-3 { transform: translateY(-105%); transition-delay: 0.2s; }

.loader-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.loader-mascot-box {
  width: min(85vw, 315px);
  height: min(85vw, 315px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-brand-seal-wrap {
  width: min(72vw, 250px);
  height: min(72vw, 250px);
  background: transparent;
  border-radius: 50%;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  animation: brandPulse 1.8s infinite ease-in-out;
}

.loader-brand-seal-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.45));
}

@keyframes brandPulse {
  0%, 100% { transform: scale(1) rotate(-2deg); }
  50% { transform: scale(1.06) rotate(2deg); }
}

.loader-text {
  font-family: var(--font-saira);
  font-weight: 900;
  font-size: clamp(1.4rem, 3.5vw, 2.5rem);
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.loader-progress-wrap {
  width: min(80vw, 380px);
  height: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.loader-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--mustard);
  border-radius: var(--radius-full);
  transition: width 0.1s linear;
}

/* ═══════════════ 3D PEELING STICKER SYSTEM ═══════════════ */
.sticker-container {
  --sticker-peel-y: calc(var(--sticker-start) + var(--peel-amount) * (var(--sticker-end) - var(--sticker-start)));
  transform: rotate(var(--peel-direction));
  transform-origin: 50%;
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.sticker-container:hover {
  transform: rotate(var(--peel-direction)) scale(1.06);
}

.sticker-container * {
  -webkit-user-select: none;
  user-select: none;
}

.sticker-main {
  clip-path: polygon(
    var(--sticker-start) var(--sticker-peel-y),
    var(--sticker-end) var(--sticker-peel-y),
    var(--sticker-end) var(--sticker-end),
    var(--sticker-start) var(--sticker-end)
  );
  will-change: clip-path;
  filter: drop-shadow(2px 5px 8px rgba(0,0,0,0.35));
}

.sticker-main > * {
  transform: rotate(calc(-1 * var(--peel-direction)));
}

.sticker-image {
  transform: rotate(var(--sticker-rotate));
  width: var(--sticker-width, 100%);
  display: block;
}

.flap {
  width: 100%;
  height: 100%;
  clip-path: polygon(
    var(--sticker-start) var(--sticker-start),
    var(--sticker-end) var(--sticker-start),
    var(--sticker-end) var(--sticker-peel-y),
    var(--sticker-start) var(--sticker-peel-y)
  );
  left: 0;
  top: calc(-100% + 2 * var(--sticker-peel-y) - 1px);
  will-change: clip-path, top;
  position: absolute;
  transform: scaleY(-1);
  pointer-events: none;
}

.flap > * {
  transform: rotate(calc(-1 * var(--peel-direction)));
}

.flap-image {
  transform: rotate(var(--sticker-rotate));
  width: var(--sticker-width, 100%);
  filter: brightness(0.85) drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

/* ═══════════════ JELLY CURVED DIVIDERS ═══════════════ */
.jelly-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  position: relative;
  z-index: 25;
}

.jelly-divider svg {
  display: block;
  width: 100%;
  height: clamp(60px, 12vw, 180px);
}

.hero-section + .jelly-divider svg,
.jelly-divider.jelly-divider-compact svg,
.game-section + .jelly-divider svg,
.menu-section + .jelly-divider svg,
.about-section + .jelly-divider svg {
  height: clamp(24px, 3.5vw, 44px);
}

.hero-section + .jelly-divider {
  background: #ECA209;
}

.game-section + .jelly-divider {
  background: var(--beige);
}

.menu-section + .jelly-divider {
  background: var(--beige-light);
}

.about-section + .jelly-divider {
  background: #C41616;
}

.ingredients-section + .jelly-divider {
  background: var(--beige);
}

/* ═══════════════ ORGANIC TACTILE CTA BUTTONS ═══════════════ */
.blob-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 1.25vw, 1.15rem) clamp(2.2rem, 3.4vw, 3.5rem);
  background: var(--red-gradient);
  border: 2.5px solid #FFFFFF;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-saira);
  font-weight: 900;
  font-size: clamp(1.15rem, 1.7vw, 1.85rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #FFFFFF !important;
  white-space: nowrap;
  box-shadow: var(--red-glow), 0 3px 8px rgba(0, 0, 0, 0.12), inset 0 2px 2px rgba(255, 255, 255, 0.45);
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10;
}

.blob-btn:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 18px 38px -4px rgba(229, 46, 46, 0.58), inset 0 2px 4px rgba(255, 255, 255, 0.5);
  color: #FFFFFF !important;
}

.blob-btn:active {
  transform: scale(0.97) translateY(0);
}

.blob-btn svg {
  display: none !important;
}

.blob-btn-mustard {
  background: linear-gradient(135deg, #FFDE6A 0%, #F5B014 100%);
  color: var(--black) !important;
  border-color: #FFFFFF;
  box-shadow: 0 10px 24px -2px rgba(245, 176, 20, 0.4), inset 0 2px 2px rgba(255, 255, 255, 0.5);
}

.blob-btn-mustard:hover {
  background: linear-gradient(135deg, #FFE485 0%, #E8A209 100%);
  box-shadow: 0 16px 36px -4px rgba(245, 176, 20, 0.55);
}

/* ═══════════════ NAVBAR ═══════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  padding: 0.55rem clamp(0.75rem, 1.8vw, 2.2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 253, 247, 0.9);
  border-bottom: 1.5px solid rgba(225, 195, 155, 0.4);
  box-shadow: 0 4px 24px rgba(160, 90, 20, 0.06);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.nav-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--mustard-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  background: #ffffff;
}

.nav-brand-text {
  font-family: var(--font-coiny);
  font-size: clamp(1.2rem, 1.6vw, 1.85rem);
  color: var(--red);
  line-height: 1;
  -webkit-text-stroke: 1.5px var(--white);
  paint-order: stroke fill;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-brand:hover {
  transform: scale(1.04);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.2rem, 0.45vw, 0.6rem);
  flex-wrap: nowrap;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-pill {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(0.8rem, 0.86vw, 0.96rem);
  letter-spacing: 0.01em;
  padding: 0.38rem clamp(0.52rem, 0.7vw, 0.82rem);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.7);
  color: var(--black);
  border: 1.5px solid rgba(27, 27, 27, 0.14);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-pill:hover, .nav-pill.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.nav-pill-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 4px 12px rgba(249, 24, 20, 0.25);
  margin-right: 0.25rem;
}

.nav-pill-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
}

.cart-btn-badge {
  background: var(--mustard);
  color: var(--black);
  font-family: var(--font-saira);
  font-weight: 900;
  font-size: 0.92rem;
  border-radius: var(--radius-full);
  padding: 0.1rem 0.55rem;
  display: inline-block;
  line-height: 1.2;
}

.nav-admin-pill {
  border-color: rgba(178, 18, 34, 0.25);
  color: var(--red-dark);
  background: rgba(249, 24, 20, 0.08);
}

.nav-admin-pill:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.nav-mobile-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.mobile-cart-direct-btn {
  display: inline-flex;
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
}

.mobile-nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.75);
  border: 2px solid rgba(27, 27, 27, 0.2);
  border-radius: var(--radius-full);
  padding: 0.5rem 0.7rem;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  transition: all 0.2s ease;
}

.mobile-nav-toggle:hover {
  background: var(--white);
  border-color: var(--black);
}

@media (max-width: 1260px) {
  .nav-brand-text {
    font-size: 1.35rem;
  }
  .nav-links {
    gap: 0.3rem;
  }
  .nav-pill {
    padding: 0.35rem 0.55rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 1060px) {
  .nav-links { display: none !important; }
  .nav-mobile-actions { display: flex; }
  .mobile-nav-toggle { display: block; }
}

/* Mobile Drawer */
#mobileDrawer {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 48000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#mobileDrawer.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-sheet {
  position: absolute;
  top: 0;
  right: 0;
  width: min(85vw, 360px);
  height: 100%;
  background: var(--red);
  padding: 2.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: -5px 0 25px rgba(0,0,0,0.3);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

#mobileDrawer.open .mobile-drawer-sheet {
  transform: translateX(0);
}

.mobile-nav-item {
  font-family: var(--font-coiny);
  font-size: 1.9rem;
  color: var(--beige);
  text-transform: uppercase;
  transition: transform 0.2s, color 0.2s;
}

.mobile-nav-item:hover {
  color: var(--mustard);
  transform: translateX(8px);
}

/* ═══════════════ HERO SECTION ═══════════════ */
.hero-section {
  min-height: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: clamp(4.6rem, 5.5vw, 5.5rem);
  padding-bottom: 1.6rem;
  background: var(--gold-radial);
  overflow: hidden;
}

.hero-face-mascot {
  position: relative;
  width: min(72vw, 350px);
  margin: 0.1rem auto 0.6rem;
  cursor: pointer;
  filter: drop-shadow(0 16px 36px rgba(160, 90, 10, 0.24));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-face-mascot:hover {
  transform: scale(1.02);
}

.game-section {
  position: relative;
  background: var(--beige);
  color: var(--black);
  padding: clamp(1.4rem, 2.5vw, 2.4rem) clamp(1rem, 3.5vw, 3rem) clamp(0.4rem, 1vw, 0.8rem);
  text-align: center;
  overflow: hidden;
}

.hero-header-wrap {
  position: relative;
  text-align: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-saira);
  font-weight: 900;
  font-size: clamp(1.8rem, 8.5vw, 6.2rem);
  line-height: 1.1;
  color: var(--red);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  margin: 0 auto;
  -webkit-text-stroke: clamp(2.5px, 0.75vw, 1vw) var(--white);
  paint-order: stroke fill;
}

.hero-tag-badge {
  display: none;
}

/* Hero Centerpiece: Khoai Tây Sấy Giòn (Kích thước nhỏ lại 1 nửa) */
.hero-centerpiece-wrap {
  position: relative;
  width: clamp(140px, 21vw, 270px);
  height: clamp(140px, 21vw, 270px);
  margin: 1rem auto 1.5rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-centerpiece-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  border: 3.5px solid var(--black);
  box-shadow: 6px 8px 0px #1b1b1b, 0 15px 30px rgba(76, 0, 22, 0.2);
  overflow: hidden;
  background: var(--white);
  animation: floatBob 4s infinite ease-in-out;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s;
}

.hero-centerpiece-card:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 8px 10px 0px #1b1b1b, 0 20px 40px rgba(76, 0, 22, 0.25);
}

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

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

.hero-best-seller-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--black);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.75rem;
  font-family: var(--font-saira);
  font-weight: 900;
  font-size: clamp(0.65rem, 0.9vw, 0.85rem);
  box-shadow: 2px 2px 0px #1b1b1b;
  letter-spacing: 0.04em;
  z-index: 5;
  white-space: nowrap;
}

.hero-bg-brand {
  display: none !important;
}

.hero-bottom-grid {
  width: 100%;
  max-width: 1300px;
  padding: 0 clamp(1rem, 2.8vw, 3rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.4rem;
  position: relative;
  z-index: 20;
  margin-top: 0.5rem;
}

.hero-col {
  max-width: 380px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 1.1rem 1.4rem;
  box-shadow: 0 10px 28px rgba(180, 100, 20, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-col:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(180, 100, 20, 0.15);
}

.hero-col-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  color: #b45309;
  background: rgba(245, 158, 11, 0.15);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-col-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-weight: 800;
  font-size: 1.12rem;
  line-height: 1.3;
  color: #1C1C1E;
  margin: 0 0 6px;
}

.hero-col-desc {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #4b5563;
  margin: 0;
  font-weight: 500;
  text-transform: none;
}

.hero-trust-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.trust-chip {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(229, 46, 46, 0.08);
  color: var(--red);
  padding: 3px 8px;
  border-radius: 999px;
}

/* ═══════════════ SECTION: ABOUT / STORY ═══════════════ */
.about-section {
  position: relative;
  z-index: 20;
  padding: clamp(1.2rem, 2.2vw, 2.4rem) clamp(1rem, 3.5vw, 3.5rem);
  text-align: center;
  background: linear-gradient(180deg, #E52E2E 0%, #C41616 100%);
}

.section-label {
  display: inline-block;
  font-family: var(--font-coiny);
  font-size: clamp(0.95rem, 1.5vw, 1.35rem);
  color: var(--mustard);
  line-height: 1.1;
  margin-bottom: 0.15rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.about-hero-title {
  font-family: var(--font-saira);
  font-weight: 900;
  font-size: clamp(1.6rem, 3.6vw, 3.4rem);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-top: 0.2rem;
  margin-bottom: 0;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.about-hero-title .about-title-line-1 {
  display: block;
}

.about-hero-title .about-title-line-2 {
  display: block;
  white-space: nowrap;
}

.about-hero-title .title-dot {
  color: var(--mustard);
  margin: 0 0.35rem;
  opacity: 0.9;
}

.about-hero-title .text-mustard {
  color: var(--mustard);
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.about-hero-title .text-white {
  color: var(--white);
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

/* Redesigned Story / Subtext Card */
.about-story-card {
  position: relative;
  background: rgba(40, 5, 12, 0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 2px solid rgba(255, 215, 80, 0.4);
  border-radius: var(--radius-xl);
  padding: clamp(1rem, 2.2vw, 1.8rem);
  margin: 1.1rem auto 0;
  max-width: 860px;
  text-align: left;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.about-story-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 215, 80, 0.75);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.story-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.story-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--mustard);
  color: var(--black);
  font-family: var(--font-saira);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.story-pill-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.about-story-desc {
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 1.3vw, 1.22rem);
  line-height: 1.85;
  color: #fff9f2;
  font-weight: 400;
  margin: 0;
}

.about-story-desc strong {
  color: #ffffff;
  font-weight: 700;
}

.about-story-desc .highlight-brand {
  color: var(--mustard);
  font-weight: 800;
  font-size: 1.15em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.about-story-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.story-feature-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 215, 80, 0.3);
  border-radius: var(--radius-full);
  padding: 7px 16px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  transition: all 0.25s ease;
}

.story-feature-item:hover {
  background: var(--mustard);
  color: var(--black);
  border-color: var(--mustard);
  transform: translateY(-2px);
}

.cards-tilted-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 2.5rem);
  max-width: 1100px;
  margin: 1.6rem auto 0;
}

@media (max-width: 768px) {
  .cards-tilted-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

.tilted-media-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s;
  cursor: pointer;
}

.tilted-media-card:nth-child(1) { transform: rotate(-5deg); }
.tilted-media-card:nth-child(2) { transform: rotate(3deg) translateY(-15px); }
.tilted-media-card:nth-child(3) { transform: rotate(7deg); }

.tilted-media-card:hover {
  transform: scale(1.06) rotate(0deg) !important;
  box-shadow: var(--shadow-lg);
  z-index: 10;
}

.tilted-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tilted-card-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(20, 20, 20, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--mustard);
  font-family: var(--font-saira);
  font-weight: 800;
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  letter-spacing: 0.02em;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1.5px solid rgba(255, 215, 80, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

/* ═══════════════ SECTION: INTERACTIVE FACE / MASCOT ═══════════════ */
.face-section {
  position: relative;
  background: var(--mustard);
  color: var(--black);
  padding: clamp(4rem, 8vw, 10rem) clamp(1rem, 3vw, 4rem);
  text-align: center;
  overflow: hidden;
}

.face-mascot-box {
  position: relative;
  width: min(88vw, 620px);
  margin: 2rem auto 0;
}

.interactive-eyes {
  position: absolute;
  top: 24%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: clamp(1.8rem, 4.2vw, 4rem);
  z-index: 20;
}

.eye-socket {
  width: clamp(52px, 8.5vw, 84px);
  height: clamp(76px, 12vw, 118px);
  background: var(--white);
  border-radius: 50% / 60%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 4px #b21222, 0 10px 24px rgba(0, 0, 0, 0.28);
  border: 3.5px solid #1b1b1b;
}

.eye-pupil {
  width: clamp(24px, 4vw, 38px);
  height: clamp(30px, 5.2vw, 50px);
  background: #1b1b1b;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.05s linear;
}

.eye-pupil::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 25%;
  width: 32%;
  height: 32%;
  background: var(--white);
  border-radius: 50%;
}

.face-badges-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(0.5rem, 1.4vw, 1.2rem);
  width: 100%;
  max-width: 820px;
  margin: 1.1rem auto 0.4rem;
  padding: 0.55rem 1.4rem;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(225, 195, 155, 0.4);
  border-radius: var(--radius-full);
  box-shadow: 0 6px 18px rgba(43, 22, 12, 0.04);
  font-family: var(--font-saira);
  font-weight: 800;
  font-size: clamp(0.82rem, 1.05vw, 1.02rem);
  text-transform: uppercase;
  color: #7A533E;
  letter-spacing: 0.03em;
}

.ingredients-main-title {
  font-family: var(--font-saira);
  font-weight: 900;
  font-size: clamp(1.8rem, 4.8vw, 3.8rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--black);
  margin: 0.3rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

/* ═══════════════ SECTION: INGREDIENTS LAYERS ═══════════════ */
.ingredients-section {
  position: relative;
  background: var(--beige);
  padding: clamp(4rem, 8vw, 10rem) clamp(1.2rem, 4vw, 5rem);
  overflow: hidden;
  text-align: center;
}

.floating-layer-item {
  position: absolute;
  z-index: 10;
  transition: transform 0.4s ease;
  pointer-events: none;
}

.layer-tomato { top: 12%; right: 8%; width: clamp(80px, 16vw, 240px); }
.layer-cheese { top: 40%; left: 6%; width: clamp(90px, 18vw, 280px); }
.layer-lettuce { top: 8%; left: 8%; width: clamp(90px, 18vw, 260px); }
.layer-patty { bottom: 10%; right: 10%; width: clamp(100px, 20vw, 300px); }

/* ═══════════════ SECTION: DELIVERY MAP ═══════════════ */
.delivery-section {
  position: relative;
  background: var(--mustard);
  color: var(--black);
  padding: clamp(4rem, 8vw, 9rem) clamp(1rem, 3vw, 4rem);
  overflow: hidden;
}

.cities-route-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 1240px;
  margin: 3.5rem auto 0;
  position: relative;
  z-index: 10;
}

.city-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem 1.4rem;
  border: 3.5px solid var(--black);
  box-shadow: var(--shadow-pop);
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.city-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 6px 9px 0px #1b1b1b;
}

.city-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  object-fit: cover;
  margin-bottom: 0.9rem;
  border: 2px solid rgba(27, 27, 27, 0.12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background: #fbf7ee;
  transition: transform 0.3s ease;
}

.city-card:hover .city-card-img {
  transform: scale(1.02);
}

.city-name {
  font-family: var(--font-coiny);
  font-size: 1.45rem;
  color: var(--red);
  line-height: 1.2;
}

.city-time {
  font-family: var(--font-saira);
  font-weight: 800;
  font-size: 1.15rem;
  color: #444;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

/* ═══════════════ SECTION: MENU & SHOP ═══════════════ */
.menu-section {
  position: relative;
  background: var(--beige-light);
  padding: clamp(0.75rem, 1.8vw, 1.8rem) clamp(1rem, 3.5vw, 4rem) clamp(3.5rem, 7vw, 7rem);
  min-height: 100vh;
}

.menu-header-bar {
  max-width: 1350px;
  margin: 0 auto 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.menu-main-title {
  font-family: var(--font-saira);
  font-weight: 900;
  font-size: clamp(2.4rem, 6.4vw, 5.5rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0.4rem auto 0.8rem;
  text-align: center;
}

.menu-title-line {
  display: block;
  white-space: nowrap;
}

.category-tabs-wrap {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem 0.75rem;
  width: 100%;
}

.cat-tab {
  padding: 0.65rem 0.4rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--black);
  background: var(--white);
  color: var(--black);
  font-family: var(--font-saira);
  font-weight: 800;
  font-size: clamp(0.82rem, 0.96vw, 1.1rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 2px 3px 0px #1b1b1b;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  white-space: nowrap;
  width: 100%;
  text-align: center;
}

.cat-tab:hover {
  transform: translateY(-2px);
  box-shadow: 3px 5px 0px #1b1b1b;
}

.cat-tab.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: var(--shadow-pop-red);
}

.search-and-sort-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.search-box-wrap {
  position: relative;
  flex: 1;
  min-width: 260px;
  max-width: 520px;
}

.search-input {
  width: 100%;
  padding: 0.8rem 1.4rem 0.8rem 2.8rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--black);
  background: var(--white);
  font-size: 1rem;
  outline: none;
  box-shadow: 2px 3px 0px #1b1b1b;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus {
  border-color: var(--red);
  box-shadow: 3px 4px 0px var(--red);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  opacity: 0.6;
}

.menu-stats-text {
  font-family: var(--font-saira);
  font-weight: 800;
  font-size: 1.25rem;
  color: #555;
  text-transform: uppercase;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(1rem, 2vw, 1.8rem);
  max-width: 1350px;
  margin: 0 auto;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 3px solid var(--black);
  box-shadow: var(--shadow-pop);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 6px 8px 0px #1b1b1b;
}

.card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fbf7f2;
  margin-bottom: 1rem;
  border: 2px solid rgba(27, 27, 27, 0.08);
}

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

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

.card-badge-id {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: rgba(27, 27, 27, 0.85);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
  z-index: 3;
}

.card-badge-cat {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: var(--mustard);
  color: var(--black);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--black);
  z-index: 3;
}

/* Shipping Badge on Thumbnail */
.card-shipping-badge {
  position: absolute;
  bottom: 0.6rem;
  left: 0.6rem;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1.5px solid #1b1b1b;
  box-shadow: 2px 2px 0px #1b1b1b;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.01em;
}

.card-shipping-badge.ship-xa {
  background: #10b981;
  color: #ffffff;
}

.card-shipping-badge.ship-gan {
  background: #f97316;
  color: #ffffff;
}

/* Card Hover Information Overlay */
.card-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 22, 22, 0.88);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.45rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 6;
  border-radius: var(--radius-md);
  text-align: left;
}

.product-card:hover .card-hover-overlay,
.product-card:focus-within .card-hover-overlay {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hover-info-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.15rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.hover-info-badge.ship-xa {
  background: #10b981;
  color: #fff;
}
.hover-info-badge.ship-gan {
  background: #f97316;
  color: #fff;
}

.hover-info-row {
  font-size: 0.8rem;
  line-height: 1.35;
  color: #f3f4f6;
  display: flex;
  gap: 4px;
}
.hover-info-row strong {
  color: var(--mustard);
  font-weight: 700;
}

.hover-info-desc {
  font-size: 0.74rem;
  color: #d1d5db;
  line-height: 1.35;
  margin-top: 0.2rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  padding-top: 0.35rem;
}

.hover-click-tip {
  font-size: 0.72rem;
  color: #fef08a;
  font-weight: 700;
  margin-top: 0.2rem;
}

.card-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
}

.card-quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.2rem;
}

.quick-pill {
  font-size: 0.75rem;
  font-weight: 600;
  background: #f0ebe3;
  color: #555;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.quick-pill.pill-shipping.ship-xa {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-weight: 700;
}

.quick-pill.pill-shipping.ship-gan {
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fed7aa;
  font-weight: 700;
}

/* 4-Box Specification Grid in Product Modal */
.product-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.spec-card-box {
  background: #ffffff;
  border: 2px solid #1b1b1b;
  border-radius: 14px;
  box-shadow: 3px 3px 0px #1b1b1b;
  padding: 0.8rem 0.9rem;
  position: relative;
  text-align: left;
}

.spec-card-box.ship-xa {
  background: #f0fdf4;
  border-color: #166534;
}

.spec-card-box.ship-gan {
  background: #fffbeb;
  border-color: #b45309;
}

.spec-box-icon {
  font-size: 1.35rem;
  display: block;
  margin-bottom: 0.2rem;
}

.spec-box-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  color: #666;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.spec-box-val {
  display: block;
  font-size: 0.94rem;
  color: #1b1b1b;
  font-weight: 800;
  margin-top: 0.2rem;
  line-height: 1.3;
}

.spec-box-sub {
  font-size: 0.73rem;
  color: #666;
  margin-top: 0.25rem;
  line-height: 1.35;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 2px dashed rgba(27, 27, 27, 0.12);
  padding-top: 0.8rem;
  margin-top: auto;
}

.card-price {
  font-family: var(--font-saira);
  font-weight: 900;
  font-size: 1.75rem;
  color: var(--red);
  line-height: 1;
}

.card-add-btn {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--black);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.1rem;
  font-family: var(--font-saira);
  font-weight: 800;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 2px 3px 0px #1b1b1b;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.card-add-btn:hover {
  background: var(--black);
  transform: translateY(-2px);
}

.card-add-btn:active {
  transform: translateY(1px);
}

/* ═══════════════ MODALS & DRAWERS SYSTEM ═══════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 45000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--white);
  border: 4px solid var(--black);
  border-radius: var(--radius-xl);
  box-shadow: 10px 14px 0px #1b1b1b;
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.open .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--beige);
  border: 2px solid var(--black);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  box-shadow: 2px 3px 0px #1b1b1b;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: var(--red);
  color: var(--white);
  transform: rotate(90deg);
}

/* Cart Drawer */
#cartDrawer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 50000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#cartDrawer.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-sheet {
  position: absolute;
  top: 0;
  right: 0;
  width: min(92vw, 480px);
  height: 100%;
  background: var(--white);
  border-left: 4px solid var(--black);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 35px rgba(0,0,0,0.3);
  z-index: 50001;
}

#cartDrawer.open .cart-sheet {
  transform: translateX(0);
}

.cart-header {
  padding: max(1.2rem, env(safe-area-inset-top)) 1.4rem 1.2rem;
  background: var(--beige);
  border-bottom: 3px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 50002;
  flex-shrink: 0;
}

.cart-title {
  font-family: var(--font-coiny);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--red);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
}

.cart-header .modal-close-btn,
.cart-close-btn {
  position: static !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  border-radius: 50% !important;
  background: var(--white) !important;
  border: 2.5px solid var(--black) !important;
  font-size: 1.4rem !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 50005 !important;
  box-shadow: 2px 3px 0px #1b1b1b !important;
  color: var(--black) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

.cart-header .modal-close-btn:hover,
.cart-close-btn:hover {
  background: var(--red) !important;
  color: var(--white) !important;
  transform: rotate(90deg) scale(1.06) !important;
  box-shadow: 3px 4px 0px #1b1b1b !important;
}

.cart-header .modal-close-btn:active,
.cart-close-btn:active {
  transform: scale(0.94) !important;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  border-radius: var(--radius-md);
  border: 2px solid rgba(27, 27, 27, 0.12);
  background: #fbf9f6;
}

.cart-item-thumb {
  width: 65px;
  height: 65px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 2px solid var(--black);
}

.cart-item-details {
  flex: 1;
}

.cart-item-title {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}

.cart-item-price {
  font-weight: 700;
  color: var(--red);
  font-size: 0.95rem;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--black);
  border-radius: var(--radius-full);
  background: var(--white);
  overflow: hidden;
}

.qty-btn {
  background: transparent;
  border: none;
  width: 28px;
  height: 28px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.qty-btn:hover { background: #eee; }

.qty-val {
  padding: 0 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  min-width: 24px;
  text-align: center;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 3px solid var(--black);
  background: var(--beige);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: #555;
}

.cart-summary-total {
  font-family: var(--font-saira);
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--red);
}

/* ═══════════════ CHECKOUT & PAYMENT MODAL ═══════════════ */
.checkout-tabs {
  display: flex;
  border-bottom: 2px solid var(--black);
  background: var(--beige);
}

.checkout-tab-btn {
  flex: 1;
  padding: 1rem;
  border: none;
  background: transparent;
  font-family: var(--font-saira);
  font-weight: 800;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 4px solid transparent;
}

.checkout-tab-btn.active {
  background: var(--white);
  color: var(--red);
  border-bottom-color: var(--red);
  font-weight: 900;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--black);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--black);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  outline: none;
  background: #fdfdfd;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--red);
  box-shadow: 2px 3px 0px var(--red);
}

/* MoMo QR Display */
.momo-box {
  background: #fff0f5;
  border: 3px solid #d82d8b;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  box-shadow: 4px 5px 0px #d82d8b;
  margin-top: 1rem;
}

.momo-qr-img {
  width: 220px;
  height: 220px;
  margin: 1rem auto;
  border: 3px solid #d82d8b;
  border-radius: var(--radius-md);
  background: var(--white);
  padding: 8px;
}

.order-code-badge {
  display: inline-block;
  background: var(--black);
  color: var(--mustard);
  font-family: var(--font-saira);
  font-weight: 900;
  font-size: 2.1rem;
  padding: 0.4rem 1.4rem;
  border-radius: var(--radius-md);
  letter-spacing: 0.08em;
  box-shadow: 3px 4px 0px var(--red);
  margin: 0.6rem 0;
  user-select: all;
}

/* ═══════════════ ADMIN PORTAL ═══════════════ */
.admin-card {
  max-width: 950px;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.stat-box {
  background: var(--beige);
  border: 2px solid var(--black);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  text-align: center;
  box-shadow: 3px 4px 0px #1b1b1b;
}

.stat-box-num {
  font-family: var(--font-coiny);
  font-size: 1.9rem;
  color: var(--red);
  line-height: 1.2;
}

.stat-box-lbl {
  font-family: var(--font-saira);
  font-weight: 800;
  font-size: 1.15rem;
  color: #555;
  text-transform: uppercase;
}

.orders-table-wrap {
  overflow-x: auto;
  border: 2px solid var(--black);
  border-radius: var(--radius-md);
  margin-top: 1rem;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: var(--white);
}

.orders-table th {
  background: var(--black);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-align: left;
  font-family: var(--font-saira);
  font-weight: 800;
  font-size: 1.15rem;
  text-transform: uppercase;
}

.orders-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e0d8cc;
}

.orders-table tr:hover {
  background: #fbf7f2;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.status-pending { background: #fff3cd; color: #856404; }
.status-confirmed { background: #d4edda; color: #155724; }
.status-shipping { background: #cce5ff; color: #004085; }
.status-completed { background: #d1ecf1; color: #0c5460; }
.status-cancelled { background: #f8d7da; color: #721c24; }

.btn-confirm-momo {
  background: #d82d8b;
  color: var(--white);
  border: 2px solid var(--black);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.85rem;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  box-shadow: 2px 2px 0px #1b1b1b;
  transition: transform 0.15s;
}

.btn-confirm-momo:hover {
  transform: scale(1.05);
}

/* ═══════════════ TOAST NOTIFICATIONS ═══════════════ */
#toastContainer {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  pointer-events: none;
}

.toast-item {
  background: var(--black);
  color: var(--white);
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--white);
  box-shadow: 4px 6px 0px rgba(0,0,0,0.3);
  font-family: var(--font-saira);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: toastSlideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes toastSlideUp {
  from { opacity: 0; transform: translateY(30px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ═══════════════ FOOTER ═══════════════ */
.footer-section {
  position: relative;
  background: var(--beige-light);
  padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 3.5vw, 4rem) 2rem;
  text-align: center;
  overflow: hidden;
}

.footer-nav-row {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-link {
  font-family: var(--font-saira);
  font-weight: 800;
  font-size: clamp(1.2rem, 1.8vw, 1.8rem);
  text-transform: uppercase;
  color: var(--black);
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--red);
}

.game-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(229, 46, 46, 0.08);
  border: 1.5px solid rgba(229, 46, 46, 0.22);
  color: var(--red);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-saira);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.menu-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 176, 20, 0.14);
  border: 1.5px solid rgba(245, 176, 20, 0.35);
  color: #A06000;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-saira);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.mascot-section-title {
  font-family: var(--font-saira);
  font-weight: 900;
  font-size: clamp(2rem, 5.2vw, 4.4rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--black);
  margin-top: 0.2rem;
  display: block;
}

.card-brand-badge {
  display: none !important;
}

/* ═══════════════ FOOTER INFO CARD ═══════════════ */
.footer-info-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(225, 195, 155, 0.45);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 950px;
  margin: 2rem auto 1.5rem;
  text-align: left;
  box-shadow: 0 10px 28px rgba(43, 22, 12, 0.05);
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1.5px dashed rgba(27, 27, 27, 0.15);
}

.footer-logo-img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--mustard-dark);
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.footer-brand-name {
  font-family: var(--font-saira);
  font-weight: 900;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  color: var(--burgundy);
  text-transform: uppercase;
  margin: 0;
  line-height: 1.2;
}

.footer-brand-slogan {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #555;
  margin-top: 0.25rem;
  font-weight: 500;
}

.footer-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.9rem 1.8rem;
  font-family: var(--font-body);
  font-size: 0.96rem;
  line-height: 1.6;
  color: #333;
}

.footer-details-grid div strong {
  color: var(--black);
}

/* ═══════════════ POLICY & TECHNICAL HEALTH STANDARDS PAGE ═══════════════ */
.policy-page-header {
  padding: clamp(6rem, 10vw, 8.5rem) clamp(1.2rem, 4vw, 4rem) clamp(2.5rem, 4vw, 4rem);
  background: var(--red);
  color: var(--white);
  text-align: center;
  position: relative;
}

.policy-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--mustard);
  color: var(--black);
  font-family: var(--font-saira);
  font-weight: 900;
  font-size: 1rem;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.policy-title {
  font-family: var(--font-saira);
  font-weight: 900;
  font-size: clamp(2.2rem, 5.5vw, 4.6rem);
  text-transform: uppercase;
  line-height: 1.15;
  text-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.policy-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  max-width: 820px;
  margin: 1rem auto 0;
  opacity: 0.95;
  line-height: 1.6;
}

.policy-nav-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 2rem auto -1rem;
  max-width: 1000px;
}

.policy-tab-btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.2);
  color: var(--white);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.policy-tab-btn:hover, .policy-tab-btn.active {
  background: var(--mustard);
  color: var(--black);
  border-color: var(--mustard);
  transform: translateY(-2px);
}

.policy-container {
  max-width: 1080px;
  margin: 3rem auto 6rem;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
}

.policy-card {
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-pop);
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 2.5rem;
  transition: transform 0.25s ease;
}

.policy-card:hover {
  transform: translateY(-3px);
  box-shadow: 6px 8px 0px #1b1b1b;
}

.policy-card-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-saira);
  font-weight: 900;
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  color: var(--burgundy);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid rgba(27, 27, 27, 0.1);
}

.policy-card-content {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.8;
  color: #333;
}

.policy-card-content h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--red-dark);
  margin: 1.5rem 0 0.5rem;
}

.standards-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0;
  font-size: 0.95rem;
}

.standards-table th, .standards-table td {
  border: 1.5px solid rgba(27, 27, 27, 0.15);
  padding: 10px 14px;
  text-align: left;
}

.standards-table th {
  background: var(--beige);
  font-weight: 800;
  color: var(--burgundy);
}

.standards-table tr:nth-child(even) {
  background: #fdfaf6;
}

.official-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.official-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f5fbe8;
  border: 1.5px solid #6ab04c;
  color: #2e7d32;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

/* ═══════════════ FLOATING ACTION BUTTONS (CALL & TELEGRAM) ═══════════════ */
.floating-contact-group {
  position: fixed;
  right: 20px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 990;
  align-items: flex-end;
}

.floating-fab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 2.5px solid #1b1b1b;
  font-weight: 800;
  font-family: var(--font-saira);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 4px 5px 0px #1b1b1b;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
  cursor: pointer;
  position: relative;
}

.floating-fab:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 5px 7px 0px #1b1b1b;
}

.fab-call {
  background: #25d366;
  color: #ffffff;
}

.fab-call:hover {
  background: #1ebc59;
}

.fab-telegram {
  background: var(--red-gradient);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(229, 46, 46, 0.45);
}

.fab-telegram:hover {
  background: linear-gradient(135deg, #FF4545 0%, #D81C1C 100%);
  box-shadow: 0 14px 30px rgba(229, 46, 46, 0.6);
}

.fab-pulse-ring {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: var(--radius-full);
  border: 2px solid #25d366;
  animation: fabPulse 2s infinite cubic-bezier(0.24, 0, 0.38, 1);
  pointer-events: none;
}

@keyframes fabPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.2); opacity: 0; }
}

.floating-telegram-wrap {
  position: relative;
}

.telegram-popup-bubble {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  width: 250px;
  background: #ffffff;
  border: 2.5px solid #1b1b1b;
  border-radius: 16px;
  box-shadow: 4px 5px 0px #1b1b1b;
  padding: 12px 14px;
  z-index: 10;
  display: none;
}

.telegram-popup-bubble.active {
  display: block;
  animation: popIn 0.25s ease-out;
}

.bubble-close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  color: #888;
}

.btn-open-telegram {
  display: block;
  text-align: center;
  background: #0088cc;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1.5px solid #1b1b1b;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

/* ═══════════════ MOBILE STICKY ORDER BAR (FOOD APP STANDARD) ═══════════════ */
.mobile-sticky-order-bar {
  position: fixed;
  bottom: 66px;
  left: 12px;
  right: 12px;
  z-index: 980;
  display: none;
  animation: slideUpOrderBar 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUpOrderBar {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.sticky-bar-content {
  background: #1b1b1b;
  color: #ffffff;
  border-radius: 20px;
  padding: 8px 10px 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35), 0 2px 8px rgba(0,0,0,0.15);
  border: 2.5px solid #ffd750;
  cursor: pointer;
}

.sticky-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sticky-cart-icon-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticky-cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  border-radius: 50%;
  text-align: center;
  padding: 0 3px;
  border: 1.5px solid #1b1b1b;
}

.sticky-bar-total {
  font-family: var(--font-saira);
  font-weight: 900;
  font-size: 1.25rem;
  color: #ffd750;
  line-height: 1.1;
}

.sticky-bar-sub {
  font-size: 0.72rem;
  color: #ddd;
  line-height: 1;
}

.sticky-bar-cta-btn {
  background: var(--red);
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 14px;
  padding: 8px 14px;
  font-family: var(--font-saira);
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 2px 2px 0px rgba(0,0,0,0.5);
  transition: transform 0.15s;
}

.sticky-bar-cta-btn:active {
  transform: scale(0.96);
}

/* ═══════════════ MOBILE APP BOTTOM NAVIGATION BAR (APPLE HIG DOCK) ═══════════════ */
.mobile-app-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(60px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
  z-index: 975;
  justify-content: space-around;
  align-items: center;
  padding: 0 8px env(safe-area-inset-bottom, 0px);
}

.mobile-nav-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #8E8E93;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.15s ease, transform 0.15s ease;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

.mobile-nav-tab:active {
  transform: scale(0.94);
}

.mobile-nav-tab.active,
.mobile-nav-tab:hover {
  color: var(--red);
}

.mobile-nav-tab .tab-icon {
  font-size: 1.3rem;
  line-height: 1.2;
}

.tab-icon-wrap {
  position: relative;
  display: inline-block;
}

.tab-icon-wrap .tab-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background: var(--red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  border-radius: 50%;
  text-align: center;
  border: 1px solid #1b1b1b;
}

/* ═══════════════ RESPONSIVE ADJUSTMENTS (APPLE HIG / SAAS STANDARD) ═══════════════ */
@media (max-width: 768px) {
  /* Show mobile app bottom navigation */
  .mobile-app-bottom-nav {
    display: flex;
  }

  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  /* Completely hide floating contact buttons on mobile to avoid blocking cards & actions */
  .floating-contact-group {
    display: none !important;
  }

  /* Mobile Sticky Order Bar positioned cleanly above bottom dock */
  .mobile-sticky-order-bar {
    bottom: calc(68px + env(safe-area-inset-bottom, 0px));
    left: 10px;
    right: 10px;
  }

  /* Compact Hero Mascot & Section for fast mobile scanning */
  .face-mascot-box {
    width: min(65vw, 240px) !important;
    margin: 0.6rem auto 0 !important;
  }

  /* Mascot Tooltip neatly positioned above mascot without covering face */
  .mascot-click-challenge-hint {
    position: relative !important;
    top: 0 !important;
    left: auto !important;
    transform: none !important;
    margin: 0 auto 10px !important;
    display: inline-block !important;
    font-size: 0.76rem !important;
    padding: 0.35rem 0.9rem !important;
    max-width: 92vw !important;
    white-space: normal !important;
    text-align: center !important;
  }

  /* Single, elegant Apple Hero Card on mobile - No redundant 2nd box */
  .hero-bottom-grid {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.75rem !important;
    margin-top: 0.3rem !important;
    max-width: 390px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 10px !important;
  }

  .hero-col-sub {
    display: none !important;
  }

  .hero-col-main {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1rem 1.15rem !important;
    border-radius: 20px !important;
    text-align: center !important;
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 8px 24px rgba(180, 100, 20, 0.12) !important;
  }

  .hero-col-main .hero-col-title {
    font-size: 1.05rem !important;
    margin-bottom: 4px !important;
  }

  .hero-col-main .hero-col-desc {
    font-size: 0.83rem !important;
    line-height: 1.42 !important;
  }

  .hero-col-main .hero-trust-chips {
    justify-content: center !important;
  }

  .hero-cta-box {
    margin-top: 0.4rem !important;
    margin-bottom: 0.2rem !important;
    width: 100% !important;
  }

  .hero-cta-box .blob-btn {
    width: 100% !important;
    max-width: 330px !important;
    padding: 12px 22px !important;
    font-size: 0.95rem !important;
    border-radius: var(--radius-full) !important;
  }

  .hero-section {
    padding-bottom: 0.8rem !important;
    overflow: hidden !important;
  }

  .hero-section + .jelly-divider {
    margin-top: -1px !important;
  }

  .about-section {
    padding: 1.2rem 1rem 1.6rem !important;
  }

  .about-hero-title {
    font-size: clamp(1.15rem, 4.8vw, 1.65rem) !important;
    line-height: 1.2 !important;
  }

  /* Category Bar - Smooth Apple HIG Single-Row Horizontal Momentum Carousel */
  .category-tabs-wrap {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    gap: 8px !important;
    padding: 8px 16px 12px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    position: sticky !important;
    top: 56px !important;
    background: rgba(255, 253, 249, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    z-index: 50 !important;
    margin: 0 -1rem 1rem !important;
    border-bottom: 1px solid rgba(43, 22, 12, 0.08) !important;
  }

  .category-tabs-wrap::-webkit-scrollbar {
    display: none !important;
  }

  .cat-tab {
    flex: 0 0 auto !important;
    width: auto !important;
    padding: 8px 16px !important;
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    border-radius: var(--radius-full) !important;
    border: 1.5px solid rgba(43, 22, 12, 0.12) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--black) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
    letter-spacing: 0.01em !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .cat-tab.active {
    background: var(--red-gradient) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 14px rgba(229, 46, 46, 0.32) !important;
  }

  /* Toast notification on mobile at top */
  #toastContainer {
    top: 20px !important;
    bottom: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    max-width: 380px !important;
    align-items: center !important;
  }

  /* Hide sticky order bar when cart drawer or modal is open */
  body:has(#cartDrawer.open) .mobile-sticky-order-bar,
  body:has(#checkoutModal.open) .mobile-sticky-order-bar,
  body:has(#orderSuccessModal.open) .mobile-sticky-order-bar {
    display: none !important;
  }

  /* 2-Column Product Cards Grid on Mobile (Apple Card Grid) */
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 0 4px !important;
  }

  .product-card {
    padding: 8px !important;
    border-width: 1.5px !important;
    border-radius: 18px !important;
    border-color: rgba(43, 22, 12, 0.14) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    background: #ffffff !important;
  }

  .product-card:hover {
    transform: none !important;
  }

  .card-thumb-wrap {
    margin-bottom: 6px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
  }

  /* Touch / Mobile: Disable hover overlay completely so food photos are never obscured */
  .card-hover-overlay {
    display: none !important;
  }

  .card-badge-id {
    font-size: 0.65rem !important;
    padding: 1px 5px !important;
  }

  .card-badge-cat {
    display: none !important;
  }


  .card-info {
    margin-bottom: 6px !important;
    gap: 2px !important;
  }

  .card-title {
    font-size: 0.92rem !important;
    line-height: 1.25 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 2.3em !important;
  }

  .card-quick-pills {
    display: none !important;
  }

  .card-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: auto !important;
    padding-top: 4px !important;
  }

  .card-price {
    font-size: 1.05rem !important;
  }

  .card-add-btn {
    padding: 6px 12px !important;
    font-size: 0.88rem !important;
    border-radius: var(--radius-full) !important;
    font-weight: 800 !important;
    min-height: 34px !important;
  }

  /* Mobile App Bottom-Sheet for Modals & Cart (Standard App UX) */
  .modal-overlay {
    align-items: flex-end !important;
    padding: 0 !important;
  }

  .modal-card {
    border-width: 3px 3px 0 3px !important;
    border-radius: 28px 28px 0 0 !important;
    max-width: 100% !important;
    max-height: 88vh !important;
    margin: 0 !important;
    box-shadow: 0 -8px 30px rgba(0,0,0,0.3) !important;
    transform: translateY(100%) !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  }

  .modal-overlay.open .modal-card {
    transform: translateY(0) !important;
  }

  .cart-sheet {
    width: min(96vw, 440px) !important;
    height: 100% !important;
    max-height: 100dvh !important;
    top: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    border-radius: 22px 0 0 22px !important;
  }
}

/* ═════════════════════════════════════════════════════════════════════════
   APPLE iOS ACTION SHEET (SUPPORT & QUICK ACTIONS)
   ═════════════════════════════════════════════════════════════════════════ */
.ios-action-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  padding: 0 12px calc(14px + env(safe-area-inset-bottom, 0px));
}

.ios-action-sheet-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.ios-action-sheet-panel {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.ios-action-sheet-overlay.open .ios-action-sheet-panel {
  transform: translateY(0);
}

.ios-sheet-handle {
  width: 36px;
  height: 4px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  margin: 0 auto 4px;
}

.ios-sheet-group {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.ios-sheet-header {
  padding: 14px 18px 10px;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ios-sheet-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #1c1c1e;
  margin: 0 0 2px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

.ios-sheet-subtitle {
  font-size: 0.78rem;
  color: #8e8e93;
  margin: 0;
}

.ios-sheet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  cursor: pointer;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  transition: background 0.15s ease;
}

.ios-sheet-item:last-child {
  border-bottom: none;
}

.ios-sheet-item:active {
  background: rgba(0, 0, 0, 0.05);
}

.ios-sheet-icon {
  font-size: 1.45rem;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(229, 46, 46, 0.1);
  border-radius: 10px;
}

.ios-sheet-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ios-sheet-main {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1c1c1e;
}

.ios-sheet-sub {
  font-size: 0.76rem;
  color: #8e8e93;
  margin-top: 1px;
}

.ios-sheet-arrow {
  color: #c7c7cc;
  font-size: 0.85rem;
}

.ios-sheet-cancel-btn {
  background: #ffffff;
  border-radius: 18px;
  padding: 14px;
  width: 100%;
  border: none;
  font-size: 0.98rem;
  font-weight: 700;
  color: #007aff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  transition: background 0.15s ease;
}

.ios-sheet-cancel-btn:active {
  background: #f2f2f7;
}

/* ═════════════════════════════════════════════════════════════════════════
   POTATO DODGING MINI-GAME & LUCKY WHEEL (VÒNG QUAY MAY MẮN)
   ═════════════════════════════════════════════════════════════════════════ */

/* --- 1. HERO BANNER IN FACE SECTION --- */
.potato-game-hero-banner {
  max-width: min(92vw, 780px);
  margin: 1.4rem auto 1.2rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: linear-gradient(145deg, #38151D 0%, #200B12 100%);
  border: 2px solid rgba(255, 216, 120, 0.4);
  border-radius: 28px;
  box-shadow: 0 20px 48px rgba(43, 22, 12, 0.35), 0 0 40px rgba(235, 162, 9, 0.12);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.potato-game-hero-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 215, 80, 0.12) 0%, transparent 60%);
  pointer-events: none;
  animation: heroBannerGlow 8s linear infinite;
}

@keyframes heroBannerGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.game-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 216, 120, 0.15);
  border: 1.5px solid rgba(255, 216, 120, 0.45);
  border-radius: var(--radius-full);
  padding: 0.35rem 1rem;
  font-family: var(--font-saira);
  font-weight: 800;
  font-size: 0.95rem;
  color: #FFDE7A;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.badge-dot-live {
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: liveDotPulse 1.5s infinite;
}

@keyframes liveDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.game-hero-title {
  font-family: var(--font-saira);
  font-weight: 900;
  font-size: clamp(1.3rem, 2.8vw, 2.1rem);
  color: #FFE699;
  line-height: 1.25;
  margin-bottom: 0.8rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.game-hero-desc {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: #f1f5f9;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.game-hero-desc strong {
  color: #FFD750;
}

.game-hero-desc em {
  color: #fca5a5;
  font-style: normal;
  font-weight: 700;
}

.game-hero-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.btn-start-game-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, #FFE071 0%, #F5B014 60%, #E09805 100%);
  color: var(--black);
  border: 2px solid #FFF5D0;
  border-radius: var(--radius-full);
  padding: 0.85rem 2.2rem;
  font-family: var(--font-saira);
  font-weight: 900;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(245, 176, 20, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.btn-start-game-cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 32px rgba(245, 176, 20, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  background: linear-gradient(135deg, #FFF08A 0%, #FBB724 100%);
}

.btn-start-game-cta:active {
  transform: translateY(1px) scale(0.98);
}

.cta-spoon-icon {
  width: 32px;
  height: 32px;
  animation: spoonWobble 2s ease-in-out infinite;
}

@keyframes spoonWobble {
  0%, 100% { transform: rotate(-15deg); }
  50% { transform: rotate(15deg); }
}

.game-prize-rates {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(255, 215, 80, 0.35);
}

.rate-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-family: var(--font-saira);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  border: 1.5px solid transparent;
}

.rate-jackpot {
  background: rgba(234, 179, 8, 0.22);
  border-color: #EAB308;
  color: #FEF08A;
}

.rate-gold {
  background: rgba(220, 38, 38, 0.25);
  border-color: #DC2626;
  color: #FECACA;
}

.rate-warm {
  background: rgba(245, 158, 11, 0.22);
  border-color: #F59E0B;
  color: #FED7AA;
}

.rate-luck {
  background: rgba(148, 163, 184, 0.22);
  border-color: #94A3B8;
  color: #E2E8F0;
}

/* Tooltip on mascot */
.face-mascot-box {
  cursor: pointer;
}

.mascot-click-challenge-hint {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #1b1b1b;
  color: #FFD750;
  border: 2.5px solid #b21222;
  border-radius: var(--radius-full);
  padding: 0.45rem 1.1rem;
  font-family: var(--font-saira);
  font-weight: 800;
  font-size: 0.95rem;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  z-index: 30;
  pointer-events: none;
  animation: mascotHintBounce 2s ease-in-out infinite;
}

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

/* --- 2. FULLSCREEN POTATO GAME ARENA --- */
.potato-game-arena {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: radial-gradient(circle at center, rgba(38, 25, 20, 0.88) 0%, rgba(18, 12, 10, 0.97) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

/* Normal gameplay hides system cursor */
.potato-game-arena:not(.popup-active) {
  cursor: none !important;
}

.potato-game-arena:not(.popup-active) * {
  cursor: none !important;
}

/* When popup is active (Timeout or Victory), restore standard visible cursor */
.potato-game-arena.popup-active,
.potato-game-arena.popup-active * {
  cursor: default !important;
}

.potato-game-arena.popup-active button,
.potato-game-arena.popup-active .popup-btn {
  cursor: pointer !important;
}

.potato-game-arena.popup-active #spoonCursor {
  display: none !important;
}

.potato-game-arena.hidden {
  display: none !important;
}

/* Screen Shake Effect */
.potato-game-arena.arena-screen-shake {
  animation: arenaShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes arenaShake {
  10%, 90% { transform: translate3d(-3px, 2px, 0); }
  20%, 80% { transform: translate3d(4px, -3px, 0); }
  30%, 50%, 70% { transform: translate3d(-6px, 4px, 0); }
  40%, 60% { transform: translate3d(6px, -4px, 0); }
}

/* Top Game HUD */
.game-hud-bar {
  position: absolute;
  top: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(94vw, 860px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(27, 27, 27, 0.92);
  border: 2.5px solid #FFD750;
  border-radius: 20px;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 215, 80, 0.25);
  z-index: 100020;
}

.hud-item {
  display: flex;
  flex-direction: column;
}

.hud-timer-box {
  align-items: flex-start;
}

.hud-label {
  font-family: var(--font-saira);
  font-size: 0.82rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hud-value {
  font-family: var(--font-modak);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1;
  color: #FFD750;
  letter-spacing: 0.03em;
  transition: color 0.2s, transform 0.2s;
}

.hud-value.timer-warning {
  color: #f97316;
}

.hud-value.timer-danger {
  color: #ef4444;
  animation: timerPanic 0.5s ease-in-out infinite;
}

@keyframes timerPanic {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 6px #ef4444); }
  50% { transform: scale(1.15); filter: drop-shadow(0 0 16px #ef4444); }
}

.hud-status-box {
  flex: 1;
  text-align: center;
  padding: 0 1rem;
}

.hud-mascot-taunt {
  font-family: var(--font-saira);
  font-size: clamp(0.95rem, 1.8vw, 1.25rem);
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: 0.03em;
}

.hud-btn-quit {
  background: rgba(220, 38, 38, 0.25);
  border: 1.5px solid #DC2626;
  color: #fca5a5;
  border-radius: var(--radius-full);
  padding: 0.5rem 1.1rem;
  font-family: var(--font-saira);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: all 0.2s;
}

.hud-btn-quit:hover {
  background: #DC2626;
  color: #fff;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.5);
}

/* Dodging Potato Mascot */
.dodging-potato {
  position: absolute;
  width: clamp(110px, 15vw, 160px);
  height: clamp(110px, 15vw, 160px);
  transform: translate(-50%, -50%);
  z-index: 100010;
  will-change: transform, left, top;
  pointer-events: auto;
  user-select: none;
}

.potato-avatar-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.08s ease-out;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.45));
}

.dodging-potato-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

/* Evasion Panic Tilt */
.dodging-potato.evading .potato-avatar-wrap {
  animation: panicWobble 0.18s infinite alternate ease-in-out;
}

@keyframes panicWobble {
  0% { transform: scale(1.1, 0.9) rotate(-8deg); }
  100% { transform: scale(0.9, 1.1) rotate(8deg); }
}

/* Dizzy / Exhausted State after Frantic Dodges */
.dodging-potato.dizzy .potato-avatar-wrap {
  animation: dizzySpin 0.5s infinite linear;
  filter: drop-shadow(0 0 16px rgba(255, 215, 80, 0.95)) drop-shadow(0 12px 20px rgba(0, 0, 0, 0.45));
}

@keyframes dizzySpin {
  0% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(0.92, 1.05) rotate(12deg); }
  50% { transform: scale(1) rotate(0deg); }
  75% { transform: scale(1.05, 0.92) rotate(-12deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.dodging-potato.dizzy::before {
  content: '💫 😵 💫';
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.8rem;
  letter-spacing: 4px;
  animation: dizzyStarsFloat 0.7s infinite alternate ease-in-out;
  pointer-events: none;
  z-index: 100015;
}

@keyframes dizzyStarsFloat {
  0% { transform: translateX(-50%) translateY(0) scale(0.9); }
  100% { transform: translateX(-50%) translateY(-8px) scale(1.15); }
}

/* Speech Bubble */
.potato-speech-bubble {
  position: absolute;
  bottom: 96%;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: #1b1b1b;
  border: 2.5px solid #1b1b1b;
  border-radius: 16px;
  padding: 0.35rem 0.85rem;
  font-family: var(--font-saira);
  font-weight: 800;
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  white-space: nowrap;
  box-shadow: 3px 4px 0px #1b1b1b, 0 6px 14px rgba(0,0,0,0.25);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.2s, transform 0.2s;
}

.potato-speech-bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 7px 7px 0 7px;
  border-style: solid;
  border-color: #1b1b1b transparent transparent transparent;
}

/* Sweat Drop */
.potato-sweat-drop {
  position: absolute;
  top: 4%;
  right: -8px;
  font-size: 1.8rem;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.15s ease-out;
  pointer-events: none;
}

.dodging-potato.evading .potato-sweat-drop {
  opacity: 1;
  transform: scale(1.2) translateY(-6px);
  animation: sweatSquirt 0.4s infinite alternate;
}

@keyframes sweatSquirt {
  0% { transform: scale(1) translateY(0); }
  100% { transform: scale(1.3) translateY(-8px); }
}

/* Custom Spoon Cursor (Silky Smooth Zero-Lag GPU Tracking) */
.spoon-cursor {
  position: fixed;
  width: 75px;
  height: 75px;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 100060;
  transform: translate3d(-100px, -100px, 0) rotate(-25deg);
  transform-origin: 35% 65%;
  will-change: transform;
  filter: drop-shadow(3px 8px 12px rgba(0, 0, 0, 0.5));
}

.spoon-img {
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Striking Bonk State */
.spoon-cursor.striking {
  transition: transform 0.05s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.spoon-hit-flash {
  position: absolute;
  top: 15%;
  left: 15%;
  width: 30px;
  height: 30px;
  background: radial-gradient(circle, #fff 0%, rgba(255, 215, 80, 0.8) 50%, transparent 80%);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.spoon-cursor.striking .spoon-hit-flash {
  opacity: 1;
  animation: flashPop 0.12s ease-out;
}

@keyframes flashPop {
  0% { transform: scale(0.4); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* --- 3. SHATTER PARTICLES & IMPACT BURST --- */
.shatter-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 100015;
}

.shatter-shard {
  position: absolute;
  pointer-events: none;
  will-change: transform, opacity;
  filter: drop-shadow(2px 6px 8px rgba(0, 0, 0, 0.5));
}

.shatter-shard img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.shatter-crumb {
  position: absolute;
  pointer-events: none;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  will-change: transform, opacity;
}

/* Impact Burst Text & Wave */
.impact-burst {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 100025;
  text-align: center;
}

.impact-burst.hidden {
  display: none !important;
}

.impact-shockwave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  transform: translate(-50%, -50%);
  border: 4px solid #FFD750;
  border-radius: 50%;
  box-shadow: 0 0 30px #FFD750, inset 0 0 20px #FFD750;
  animation: shockwaveExpand 0.65s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes shockwaveExpand {
  0% { transform: translate(-50%, -50%) scale(0.2); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(3.5); opacity: 0; }
}

.burst-text {
  font-family: var(--font-modak);
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  color: #FFD750;
  -webkit-text-stroke: 3px #B21222;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  animation: burstComic 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes burstComic {
  0% { transform: scale(0.3) rotate(-12deg); opacity: 0; }
  40% { transform: scale(1.25) rotate(4deg); opacity: 1; }
  75% { transform: scale(1) translateY(-10px); opacity: 1; }
  100% { transform: scale(0.9) translateY(-35px); opacity: 0; }
}

/* --- 4. ARENA POPUPS (TIMEOUT & VICTORY) --- */
.game-arena-popup {
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 10, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100050;
  padding: 1.5rem;
  cursor: default !important;
}

.game-arena-popup:not(.hidden),
.game-arena-popup:not(.hidden) * {
  cursor: default !important;
}

.game-arena-popup:not(.hidden) button,
.game-arena-popup:not(.hidden) .popup-btn {
  cursor: pointer !important;
}

.game-arena-popup.hidden {
  display: none !important;
}

.arena-popup-card {
  max-width: 480px;
  width: 100%;
  background: #1e1b18;
  border: 3.5px solid #FFD750;
  border-radius: 28px;
  padding: 2.2rem 2rem;
  text-align: center;
  color: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 215, 80, 0.3);
  animation: popupCardIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.arena-popup-card.victory-card {
  border-color: #22c55e;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(34, 197, 94, 0.35);
}

@keyframes popupCardIn {
  0% { transform: scale(0.7) translateY(30px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.popup-badge-icon {
  font-size: 3.6rem;
  margin-bottom: 0.8rem;
  animation: badgeBounce 1.5s ease-in-out infinite;
}

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

.popup-title {
  font-family: var(--font-modak);
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  color: #FFD750;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.victory-card .popup-title {
  color: #4ade80;
}

.popup-desc {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: #e2e8f0;
  line-height: 1.5;
  margin-bottom: 1.8rem;
}

.popup-desc strong {
  color: #FFD750;
}

.popup-btn-row {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.popup-btn {
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  font-family: var(--font-saira);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary-pulse {
  background: linear-gradient(135deg, #FFD750 0%, #f59e0b 100%);
  color: #1b1b1b;
  box-shadow: 0 6px 18px rgba(255, 215, 80, 0.4);
}

.btn-primary-pulse:hover {
  transform: translateY(-2px) scale(1.03);
}

.btn-gold-pulse {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
  font-size: 1.25rem;
  padding: 1rem 2rem;
}

.btn-gold-pulse:hover {
  transform: translateY(-2px) scale(1.04);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* --- 5. LUCKY WHEEL MODAL (VÒNG QUAY MAY MẮN) --- */
.wheel-modal-card {
  max-width: 580px !important;
  max-height: 92vh !important;
  overflow-y: auto !important;
  background: #1e1b18 !important;
  border: 3.5px solid #FFD750 !important;
  color: #fff !important;
  padding: clamp(1.8rem, 3.5vw, 2.5rem) clamp(1.2rem, 3vw, 2.2rem) !important;
  text-align: center;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: #FFD750 #1e1b18;
}

.wheel-modal-header {
  margin-bottom: 1.5rem;
}

.wheel-header-tag {
  display: inline-block;
  background: rgba(255, 215, 80, 0.18);
  border: 1.5px solid #FFD750;
  border-radius: var(--radius-full);
  padding: 0.3rem 0.9rem;
  font-family: var(--font-saira);
  font-weight: 800;
  font-size: 0.88rem;
  color: #FFD750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.wheel-main-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #FFD750;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.wheel-subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #cbd5e1;
  max-width: 440px;
  margin: 0 auto;
}

/* Wheel Stage Container */
.wheel-stage-container {
  position: relative;
  width: min(88vw, 380px);
  height: min(88vw, 380px);
  margin: 1.5rem auto 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pointer Arrow at 12 o'clock */
.wheel-top-pointer {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
}

.pointer-triangle {
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 32px solid #ef4444;
  position: relative;
}

.pointer-triangle::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: -12px;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 22px solid #fecaca;
}

.pointer-jewel {
  width: 14px;
  height: 14px;
  background: #FFD750;
  border: 2px solid #b21222;
  border-radius: 50%;
  margin-top: -34px;
  box-shadow: 0 0 8px #FFD750;
}

/* Wheel Rim Wrapper */
.wheel-rim-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 0 8px #FFD750, 0 0 0 14px #1b1b1b, 0 15px 35px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  background: #1b1b1b;
}

#luckyWheelCanvas {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  transition: transform 4.8s cubic-bezier(0.12, 0.8, 0.25, 1);
  will-change: transform;
}

/* Center Spin Hub */
.wheel-center-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFD750 0%, #d97706 80%, #92400e 100%);
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 4px #b21222, 0 6px 18px rgba(0, 0, 0, 0.6);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wheel-center-hub:hover:not(:disabled) {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 0 4px #b21222, 0 10px 24px rgba(255, 215, 80, 0.6);
}

.wheel-center-hub:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  filter: grayscale(0.2);
}

.hub-inner-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.hub-spin-text {
  font-family: var(--font-modak);
  font-size: 1.35rem;
  color: #1b1b1b;
  letter-spacing: 0.04em;
}

.hub-spin-sub {
  font-family: var(--font-saira);
  font-size: 0.75rem;
  font-weight: 900;
  color: #b21222;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.hub-glow-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 215, 80, 0.6);
  animation: ringSpin 6s linear infinite;
  pointer-events: none;
}

@keyframes ringSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Legend Box */
.wheel-legend-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.legend-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.5rem 0.8rem;
  font-family: var(--font-saira);
  font-size: 0.88rem;
  font-weight: 700;
  color: #e2e8f0;
}

.legend-color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px currentColor;
}

.legend-chip strong {
  color: #FFD750;
  margin-left: 2px;
}

/* Wheel Result Card */
.wheel-result-card {
  margin-top: 1.2rem;
  padding: 1.5rem;
  background: rgba(27, 27, 27, 0.95);
  border: 2.5px solid #FFD750;
  border-radius: 20px;
  animation: resultSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wheel-result-card.hidden {
  display: none !important;
}

@keyframes resultSlideUp {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.voucher-won-ticket {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.voucher-won-badge {
  font-size: 2.8rem;
  animation: badgeBounce 1.2s infinite;
}

.voucher-won-title {
  font-family: var(--font-modak);
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  color: #FFD750;
  line-height: 1.2;
}

.voucher-won-code-box {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: #111;
  border: 2px dashed #FFD750;
  border-radius: 14px;
  padding: 0.7rem 1.4rem;
  margin: 0.4rem 0;
}

.voucher-won-code {
  font-family: var(--font-modak);
  font-size: 1.8rem;
  color: #4ade80;
  letter-spacing: 0.08em;
}

.btn-copy-voucher {
  background: #334155;
  color: #fff;
  border: 1px solid #64748b;
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-copy-voucher:hover {
  background: #475569;
}

.btn-apply-voucher-direct {
  width: 100%;
  background: linear-gradient(135deg, #FFD750 0%, #f59e0b 100%);
  color: #1b1b1b;
  border: 2px solid #b21222;
  border-radius: var(--radius-full);
  padding: 0.85rem 1.5rem;
  font-family: var(--font-saira);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 215, 80, 0.35);
  transition: all 0.2s;
}

.btn-apply-voucher-direct:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 215, 80, 0.5);
}

.luck-next-time-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.luck-next-time-title {
  font-family: var(--font-modak);
  font-size: 1.6rem;
  color: #cbd5e1;
}

.luck-next-time-desc {
  font-size: 0.95rem;
  color: #94a3b8;
  max-width: 380px;
}

.btn-retry-from-wheel {
  background: linear-gradient(135deg, #FFD750 0%, #f59e0b 100%);
  color: #1b1b1b;
  border: 2px solid #b21222;
  border-radius: var(--radius-full);
  padding: 0.8rem 1.6rem;
  font-family: var(--font-saira);
  font-weight: 900;
  font-size: 1.1rem;
  cursor: pointer;
}

/* Responsive tweaks for Mobile */
@media (max-width: 640px) {
  .potato-game-hero-banner {
    padding: 1.2rem 1rem;
    margin: 1.2rem auto 2rem;
  }
  .game-hud-bar {
    top: 0.8rem;
    padding: 0.5rem 1rem;
  }
  .hud-value {
    font-size: 1.6rem;
  }
  .hud-mascot-taunt {
    font-size: 0.88rem;
  }
  .wheel-stage-container {
    width: 290px;
    height: 290px;
    margin: 1rem auto 1.2rem;
  }
  .wheel-center-hub {
    width: 68px;
    height: 68px;
  }
  .hub-spin-text {
    font-size: 1.15rem;
  }
  .wheel-legend-box {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}

/* ═══════════════ AI ASSISTANT & FAQ SYSTEM (100 CÂU HỎI ĐÁP) ═══════════════ */
.floating-ai-wrap {
  position: relative;
}

.fab-ai {
  background: linear-gradient(135deg, #7b2cbf 0%, #9d4edd 100%);
  color: #ffffff;
}

.fab-ai:hover {
  background: linear-gradient(135deg, #6a1b9a 0%, #8e24aa 100%);
  color: #ffffff;
}

.fab-badge-pill {
  position: absolute;
  top: -8px;
  right: -6px;
  background: #ff0054;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 12px;
  border: 1.5px solid #1b1b1b;
  box-shadow: 1px 2px 0px #1b1b1b;
  animation: bounceBadge 2s infinite ease-in-out;
  pointer-events: none;
}

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

.nav-pill-ai {
  background: #f3e8ff;
  color: #6b21a8;
  border-color: rgba(123, 44, 191, 0.4);
}

.nav-pill-ai:hover {
  background: #e9d5ff;
  transform: translateY(-2px);
}

.nav-hot-tag {
  background: #7b2cbf;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 8px;
}

/* Modal Chatbot Card */
.faq-bot-card {
  max-width: 720px;
  width: 95vw;
  height: 86vh;
  max-height: 820px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border-radius: 24px;
}

.faq-bot-header {
  background: linear-gradient(135deg, #7b2cbf 0%, #5a189a 100%);
  color: #ffffff;
  padding: 1.1rem 1.4rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3.5px solid #1b1b1b;
}

.faq-header-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-mascot-avatar {
  position: relative;
  width: 48px !important;
  height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  border-radius: 50% !important;
  background: #fff;
  border: 2px solid #1b1b1b;
  box-shadow: 2px 3px 0px #1b1b1b;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}

.faq-mascot-img {
  width: 100% !important;
  height: 100% !important;
  max-width: 48px !important;
  max-height: 48px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
}

.faq-online-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: #25d366;
  border-radius: 50%;
  border: 2px solid #fff;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.faq-header-info {
  display: flex;
  flex-direction: column;
}

.faq-header-title {
  font-family: var(--font-modak);
  font-size: 1.6rem;
  letter-spacing: 0.03em;
  line-height: 1.1;
  color: #ffd166;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.faq-header-sub {
  font-size: 0.82rem;
  opacity: 0.92;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.faq-view-switch-tabs {
  display: flex;
  gap: 6px;
  background: rgba(0,0,0,0.25);
  padding: 4px;
  border-radius: 30px;
  border: 1.5px solid rgba(255,255,255,0.25);
}

.faq-switch-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.faq-switch-btn.active {
  background: #ffd166;
  color: #1b1b1b;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Category Filter Bar */
.faq-category-strip {
  background: #fbf2e6;
  border-bottom: 2px solid #1b1b1b;
  padding: 0.6rem 1rem;
  overflow-x: auto;
  white-space: nowrap;
  display: flex;
  gap: 8px;
  scrollbar-width: thin;
}

.faq-cat-pill {
  background: #ffffff;
  border: 1.5px solid #1b1b1b;
  border-radius: 18px;
  padding: 5px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1b1b1b;
  cursor: pointer;
  box-shadow: 2px 2px 0px #1b1b1b;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.faq-cat-pill:hover,
.faq-cat-pill.active {
  background: #7b2cbf;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 2px 3px 0px #1b1b1b;
}

/* Live Search Strip */
.faq-search-strip {
  background: #fff;
  padding: 0.6rem 1rem;
  border-bottom: 1.5px solid #e0e0e0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-search-input-wrap {
  position: relative;
  flex: 1;
}

.faq-search-input {
  width: 100%;
  padding: 0.55rem 0.9rem 0.55rem 2.2rem;
  border-radius: 12px;
  border: 2px solid #1b1b1b;
  font-size: 0.88rem;
  font-family: var(--font-saira);
  background: #fdfaf5;
  box-shadow: 2px 2px 0px #1b1b1b;
}

.faq-search-input:focus {
  outline: none;
  border-color: #7b2cbf;
  background: #ffffff;
}

.faq-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  pointer-events: none;
  opacity: 0.6;
}

/* Chat Messages Section */
.faq-chat-view-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #faf6f0;
}

.faq-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-chat-msg {
  display: flex;
  gap: 10px;
  max-width: 90%;
  animation: fadeInMsg 0.25s ease-out;
}

@keyframes fadeInMsg {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.faq-chat-msg.bot-msg {
  align-self: flex-start;
}

.faq-chat-msg.user-msg {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.bot-avatar-wrap {
  width: 38px !important;
  height: 38px !important;
  max-width: 38px !important;
  max-height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  border-radius: 50% !important;
  background: #ffd166;
  border: 1.5px solid #1b1b1b;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  box-shadow: 1px 2px 0px #1b1b1b;
  position: relative;
}

.bot-avatar-img {
  width: 100% !important;
  height: 100% !important;
  max-width: 38px !important;
  max-height: 38px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
}

.bot-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background: #25d366;
  border-radius: 50%;
  border: 1.5px solid #fff;
}

.msg-bubble-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.msg-sender-name {
  font-size: 0.76rem;
  font-weight: 800;
  color: #7b2cbf;
  margin-left: 4px;
}

.user-msg .msg-sender-name {
  text-align: right;
  margin-right: 4px;
  color: #555;
}

.msg-bubble {
  padding: 0.85rem 1.1rem;
  border-radius: 18px;
  font-size: 0.92rem;
  line-height: 1.55;
  border: 2px solid #1b1b1b;
  box-shadow: 2px 3px 0px #1b1b1b;
}

.bot-msg .msg-bubble {
  background: #ffffff;
  color: #1b1b1b;
  border-top-left-radius: 4px;
}

.user-msg .msg-bubble {
  background: #ffd166;
  color: #1b1b1b;
  border-top-right-radius: 4px;
  font-weight: 600;
}

/* Quick Chips */
.faq-quick-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0.4rem;
}

.faq-chip {
  background: #fdf5e6;
  border: 1.5px solid #1b1b1b;
  border-radius: 14px;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1b1b1b;
  cursor: pointer;
  box-shadow: 1px 2px 0px #1b1b1b;
  transition: all 0.15s;
  text-align: left;
}

.faq-chip:hover {
  background: #ffd166;
  transform: translateY(-2px);
  box-shadow: 2px 3px 0px #1b1b1b;
}

.faq-action-btn {
  background: #ef233c;
  color: #ffffff;
  border: 2px solid #1b1b1b;
  border-radius: 12px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 2px 2px 0px #1b1b1b;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.faq-action-btn:hover {
  background: #d90429;
  transform: translateY(-2px);
  box-shadow: 3px 4px 0px #1b1b1b;
}

/* Typing indicator */
.typing-bubble {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.7rem 1rem !important;
}

.typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7b2cbf;
  animation: typingBounce 1.2s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-6px); opacity: 1; }
}

/* Chat Input Bar */
.faq-chat-input-bar {
  background: #ffffff;
  border-top: 2.5px solid #1b1b1b;
  padding: 0.75rem 1rem;
}

.faq-bot-chat-form {
  display: flex;
  gap: 8px;
}

.faq-bot-msg-input {
  flex: 1;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  border: 2px solid #1b1b1b;
  font-size: 0.92rem;
  font-family: var(--font-saira);
  box-shadow: 2px 2px 0px #1b1b1b;
}

.faq-bot-msg-input:focus {
  outline: none;
  border-color: #7b2cbf;
}

.faq-bot-send-btn {
  background: #7b2cbf;
  color: #fff;
  border: 2px solid #1b1b1b;
  border-radius: 14px;
  padding: 0 18px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 2px 3px 0px #1b1b1b;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.faq-bot-send-btn:hover {
  background: #6a1b9a;
  transform: translateY(-2px);
  box-shadow: 3px 4px 0px #1b1b1b;
}

/* Directory 100 Questions View */
.faq-directory-view-section {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  background: #faf6f0;
}

.faq-dir-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #555;
}

.faq-directory-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-accordion-item {
  background: #ffffff;
  border: 2px solid #1b1b1b;
  border-radius: 14px;
  box-shadow: 2px 3px 0px #1b1b1b;
  overflow: hidden;
  transition: all 0.2s;
}

.faq-accordion-header {
  padding: 0.8rem 1rem;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  user-select: none;
}

.faq-accordion-header::-webkit-details-marker {
  display: none;
}

.faq-q-num {
  color: #7b2cbf;
  font-weight: 900;
  font-size: 0.82rem;
  background: #f3e8ff;
  padding: 2px 6px;
  border-radius: 6px;
  flex-shrink: 0;
}

.faq-q-title {
  flex: 1;
  color: #1b1b1b;
}

.faq-q-icon {
  font-size: 0.85rem;
  transition: transform 0.2s;
}

.faq-accordion-item[open] .faq-q-icon {
  transform: rotate(45deg);
}

.faq-accordion-body {
  padding: 0.8rem 1rem 1rem 1rem;
  background: #fdfaf5;
  border-top: 1.5px dashed #e0e0e0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.faq-ask-in-chat-wrap {
  margin-top: 0.8rem;
  padding-top: 0.6rem;
  border-top: 1px solid #f0f0f0;
}

.faq-ask-direct-btn {
  background: transparent;
  border: 1px solid #7b2cbf;
  color: #7b2cbf;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
}

.faq-ask-direct-btn:hover {
  background: #7b2cbf;
  color: #fff;
}

.faq-empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #fff;
  border: 2px dashed #ccc;
  border-radius: 16px;
  margin: 1rem 0;
}

/* Mobile responsive */
@media (max-width: 640px) {
  .faq-bot-card {
    width: 96vw;
    height: 92vh;
    border-radius: 18px;
    margin: auto;
  }
  .faq-bot-card .modal-close-btn {
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  .faq-bot-header {
    padding: 0.8rem 3.4rem 0.8rem 1rem;
  }
  .faq-header-title {
    font-size: 1.25rem;
  }
  .faq-mascot-avatar {
    width: 42px;
    height: 42px;
  }
  .faq-view-switch-tabs {
    display: none;
  }
  .faq-chat-msg {
    max-width: 100%;
  }
  .msg-bubble {
    font-size: 0.88rem;
    padding: 0.75rem 0.9rem;
  }
  .faq-bot-send-btn span:last-child {
    display: none;
  }
}




