:root {
  /* Mery Jane Instagram Noir & Ruby Aesthetic Tokens */
  --q-bg: #080708;
  --q-surface: #110d0f;
  --q-card: rgba(18, 12, 14, 0.75);
  --q-cream: #fbf7ee;
  --q-cream-muted: rgba(251, 247, 238, 0.72);

  /* Mery Jane Signature Colors: Crimson, Ruby and Neon Glow */
  --q-red: #e02434;
  --q-red-hover: #ff2e40;
  --q-red-dark: #880b15;
  --q-red-glow: rgba(224, 36, 52, 0.45);
  --q-red-subtle: rgba(224, 36, 52, 0.12);

  /* Primary Brand Accent (Replaces generic muted gold with Mery Jane Ruby) */
  --q-gold: #e02434;
  --q-gold-metallic: #cfbe91;
  --q-border: rgba(224, 36, 52, 0.22);
  --q-border-strong: rgba(224, 36, 52, 0.48);

  /* Official Section Headlines Display Serif: Forum (Classical Roman Serif) */
  --font-forum: 'Forum', Georgia, serif;
  --font-display: 'Forum', Georgia, serif;
  --font-sans: 'Satoshi', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --q-radius-outer: 16px;
  --q-radius-inner: 12px;
  --q-gap: 16px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

[hidden] {
  display: none !important;
}

::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--q-bg);
  background-image: 
    radial-gradient(ellipse 65% 45% at 85% 12%, rgba(224, 36, 52, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 10% 88%, rgba(136, 11, 21, 0.14) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--q-cream);
  font-family: var(--font-sans);
  overflow: hidden;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   1. NEON INTRO CURTAIN (STAYS UNTIL USER CLICKS ENTER + MOBILE RESPONSIVE)
   ========================================================================== */
.neon-intro-curtain {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: #000000;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 32px 20px 56px;
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.85s ease;
}

.neon-intro-curtain.dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.neon-intro-curtain video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

/* Heavy shading / vignette overlay so the horizontal video merges 100% seamlessly into pure black */
.neon-vignette-blend {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 36% at 50% 50%, transparent 20%, rgba(0, 0, 0, 0.65) 48%, #000000 82%),
    linear-gradient(to bottom, #000000 0%, #000000 24%, transparent 38%, transparent 62%, #000000 76%, #000000 100%),
    linear-gradient(to right, #000000 0%, #000000 5%, transparent 18%, transparent 82%, #000000 95%, #000000 100%);
}

/* Floating Sound Pill for Mobile / Autoplay-Blocked Audio */
.intro-sound-pill {
  position: absolute;
  top: 42px;
  z-index: 10;
  appearance: none;
  border: 1px solid var(--q-border-strong);
  background: rgba(14, 15, 14, 0.9);
  backdrop-filter: blur(14px);
  color: var(--q-gold);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 99px;
  cursor: pointer;
  display: none;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.75);
  transition: all 0.25s ease;
  animation: pulse-sound-pill 2s infinite ease-in-out;
}

@keyframes pulse-sound-pill {
  0%, 100% {
    transform: scale(1);
    border-color: var(--q-border-strong);
  }
  50% {
    transform: scale(1.04);
    border-color: var(--q-gold);
    box-shadow: 0 0 18px rgba(207, 190, 145, 0.25);
  }
}

.intro-sound-pill.visible {
  display: inline-flex;
}

.intro-sound-pill .pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff2216;
  box-shadow: 0 0 8px #ff2216;
  animation: blink 1.2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.intro-sound-pill .pill-speaker {
  font-size: 0.85rem;
}

/* Qitchen-styled Enter Control (Hidden during neon video, smoothly fades in on finish) */
.intro-enter-wrap {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.intro-enter-wrap.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.intro-enter-btn {
  appearance: none;
  border: 1px solid var(--q-border-strong);
  background: rgba(10, 11, 10, 0.88);
  backdrop-filter: blur(14px);
  color: var(--q-cream);
  font-family: var(--font-forum);
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 15px 34px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.intro-enter-btn:hover {
  background: var(--q-cream);
  color: var(--q-bg);
  border-color: var(--q-cream);
  transform: translateY(-2px);
}

.intro-diamond {
  width: 6px;
  height: 6px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
  display: inline-block;
}

/* ==========================================================================
   2. FULLSCREEN QITCHEN HAMBURGER MENU OVERLAY (Screenshot 1 Exact Match)
   ========================================================================== */
.qitchen-menu-overlay {
  position: fixed;
  inset: 16px;
  z-index: 180;
  background: #0d0e0d;
  border: 1px solid var(--q-border);
  border-radius: var(--q-radius-outer);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.985);
  transition:
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.38s ease;
}

.qitchen-menu-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

.q-overlay-close-btn {
  position: absolute;
  top: 28px;
  left: 28px;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--q-border);
  background: rgba(239, 231, 210, 0.03);
  color: var(--q-cream);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.q-overlay-close-btn:hover {
  background: rgba(239, 231, 210, 0.12);
  border-color: var(--q-cream);
}

.q-overlay-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.q-overlay-ornament {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 12px 0;
  opacity: 0.65;
}

.q-overlay-ornament .diamond {
  width: 6px;
  height: 6px;
  border: 1px solid var(--q-border-strong);
  transform: rotate(45deg);
}

.q-overlay-ornament .line {
  width: 24px;
  height: 1px;
  background: var(--q-border-strong);
}

.q-overlay-link {
  appearance: none;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.35;
  letter-spacing: 0.03em;
  text-transform: none;
  color: var(--q-cream);
  cursor: pointer;
  padding: 8px 24px;
  transition:
    color 0.25s ease,
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    letter-spacing 0.25s ease;
}

/* Hover dim siblings & highlight hovered item just like Qitchen Framer */
.q-overlay-nav:hover .q-overlay-link {
  color: rgba(247, 242, 231, 0.35);
}

.q-overlay-nav .q-overlay-link:hover {
  color: var(--q-red);
  transform: scale(1.04);
}

/* ==========================================================================
   3. EXACT QITCHEN FRAMER APPEAR TRANSITION (Subtle 10px Vertical Rise + Fade)
   ========================================================================== */
::view-transition-group(root) {
  animation-duration: 0.4s;
  animation-timing-function: cubic-bezier(0.44, 0, 0.56, 1);
  @media (prefers-reduced-motion: reduce) {
    animation-duration: 0.15s;
  }
}

@keyframes qitchen-fade-out {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-6px); }
}

@keyframes qitchen-fade-up {
  from { opacity: 0.001; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

::view-transition-old(root) {
  animation: qitchen-fade-out 0.32s cubic-bezier(0.5, 0, 0.88, 0.77) forwards;
}

::view-transition-new(root) {
  animation: qitchen-fade-up 0.42s cubic-bezier(0.44, 0, 0.56, 1) forwards;
}

.q-view.active > * {
  animation: qitchen-fade-up 0.42s cubic-bezier(0.44, 0, 0.56, 1) both;
  @media (prefers-reduced-motion: reduce) {
    animation: none;
  }
}

.q-home-stack.active > .q-bento-card:nth-child(1) { animation-delay: 0.02s; }
.q-home-stack.active > .q-bento-card:nth-child(2) { animation-delay: 0.09s; }
.q-home-stack.active > .q-bento-card:nth-child(3) { animation-delay: 0.16s; }

/* ==========================================================================
   4. QITCHEN BENTO MASTER SHELL (24PX OUTER PADDING, SPLIT LEFT/RIGHT)
   ========================================================================== */
.qitchen-app {
  width: 100vw;
  height: 100vh;
  padding: 24px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--q-gap);
}

.qitchen-app[data-view="home"] {
  grid-template-columns: 1.85fr 1fr;
}

/* ==========================================================================
   5. LEFT BENTO COLUMN: STICKY VIDEO (BOTTLE 360 OR ICE CUBE 13/11) + NAVBAR
   ========================================================================== */
.qitchen-left-showcase {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--q-radius-outer);
  overflow: hidden;
  border: 1px solid var(--q-border);
  background: #050605;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 40px;
}

.qitchen-left-showcase video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.84) contrast(1.08);
  transition: opacity 0.45s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.qitchen-left-showcase video.is-top-layer {
  z-index: 1;
}

.qitchen-left-showcase video.is-instant-hidden {
  opacity: 0;
  pointer-events: none;
  transition: none;
}

.qitchen-left-showcase::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(10, 11, 10, 0.45) 0%,
    rgba(10, 11, 10, 0.05) 45%,
    rgba(10, 11, 10, 0.86) 100%
  );
}

/* Qitchen Floating Top-Left Pill Navbar */
.qitchen-pill-navbar {
  position: relative;
  z-index: 5;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(10, 11, 10, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid var(--q-border);
  border-radius: 12px;
  max-width: 100%;
}

.q-Menu-icon-btn {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 1px solid var(--q-border);
  background: rgba(239, 231, 210, 0.04);
  color: var(--q-cream);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.q-Menu-icon-btn:hover,
.q-Menu-icon-btn.is-active {
  background: rgba(239, 231, 210, 0.14);
  border-color: var(--q-cream);
}

.q-brand-logo {
  display: inline-flex;
  align-items: center;
  padding: 0 10px 0 6px;
  cursor: pointer;
  background: none;
  border: none;
}

.q-nav-brand-img {
  height: 26px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 10px rgba(224, 36, 52, 0.5));
  transition: transform 0.25s ease;
}

.q-brand-logo:hover .q-nav-brand-img {
  transform: scale(1.05);
}

.q-overlay-brand-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.q-overlay-brand-img {
  max-width: 190px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(224, 36, 52, 0.6));
}

.q-nav-link {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  color: var(--q-cream);
  font-family: var(--font-sans);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 13px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.q-nav-link:hover,
.q-nav-link.active {
  background: rgba(239, 231, 210, 0.08);
  border-color: var(--q-border);
}

.q-nav-book {
  border-color: var(--q-border-strong);
  background: rgba(239, 231, 210, 0.06);
}

.q-nav-book:hover {
  background: var(--q-cream);
  color: var(--q-bg);
}

/* Subtle glassmorphism sound toggle over the hero video (top-right, below navbar) */
.q-showcase-sound-btn {
  position: absolute;
  top: 100px;
  right: 36px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(239, 231, 210, 0.16);
  background: rgba(10, 11, 10, 0.42);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  color: rgba(239, 231, 210, 0.78);
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.q-showcase-sound-btn:hover {
  color: var(--q-cream);
  border-color: rgba(239, 231, 210, 0.34);
  background: rgba(10, 11, 10, 0.62);
  transform: translateY(-1px);
}

.q-showcase-sound-btn:active {
  transform: translateY(0) scale(0.98);
}

.q-showcase-sound-btn:focus-visible {
  outline: 2px solid rgba(224, 36, 52, 0.75);
  outline-offset: 2px;
}

.q-showcase-sound-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.q-showcase-sound-icon--on {
  display: none;
}

.q-showcase-sound-btn.is-active {
  color: #fff;
  border-color: rgba(224, 36, 52, 0.68);
  background: rgba(224, 36, 52, 0.2);
  box-shadow: 0 0 0 1px rgba(224, 36, 52, 0.28), 0 10px 32px rgba(224, 36, 52, 0.32);
}

.q-showcase-sound-btn.is-active .q-showcase-sound-icon--muted {
  display: none;
}

.q-showcase-sound-btn.is-active .q-showcase-sound-icon--on {
  display: inline-flex;
  filter: drop-shadow(0 0 6px rgba(224, 36, 52, 0.8));
}

.q-showcase-sound-btn.is-active .q-showcase-sound-label::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 7px;
  border-radius: 50%;
  background: var(--q-red);
  box-shadow: 0 0 8px rgba(224, 36, 52, 0.9);
  vertical-align: middle;
  animation: q-sound-pulse 1.6s ease-in-out infinite;
}

@keyframes q-sound-pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

@media (max-width: 1024px) {
  .q-showcase-sound-btn {
    top: 16px;
    right: 16px;
    padding: 7px 12px 7px 10px;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
  }
}

@media (max-width: 720px) {
  .q-showcase-sound-btn {
    top: 14px;
    right: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .q-showcase-sound-btn.is-active .q-showcase-sound-label::after {
    animation: none;
  }
}

/* Bottom-Left Giant Forum Display Title inside Video Panel */
.qitchen-hero-bottom {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  width: 100%;
  margin-top: auto;
}

.qitchen-hero-bottom .qitchen-giant-title,
.qitchen-hero-bottom .q-hero-subtag {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: no-preference) {
  .qitchen-hero-bottom .qitchen-giant-title,
  .qitchen-hero-bottom .q-hero-subtag {
    transform: translate3d(0, 10px, 0) scale(0.985);
    filter: blur(8px);
    will-change: opacity, transform, filter;
    transition:
      opacity 1.15s cubic-bezier(0.22, 1, 0.36, 1),
      transform 1.25s cubic-bezier(0.22, 1, 0.36, 1),
      filter 1.15s cubic-bezier(0.22, 1, 0.36, 1);
  }
}

.qitchen-hero-bottom.is-revealed .qitchen-giant-title,
.qitchen-hero-bottom.is-revealed .q-hero-subtag {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  filter: none;
  will-change: auto;
}

.qitchen-hero-bottom.is-revealed .q-hero-subtag {
  transition-delay: 0.16s;
}

.qitchen-giant-title {
  font-family: var(--font-forum);
  font-weight: 400;
  font-size: clamp(3rem, 6.2vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--q-cream);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.85);
}

.q-hero-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  color: var(--q-red);
  text-shadow: 0 0 28px var(--q-red-glow);
}

.q-hero-subtag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(14, 10, 12, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid var(--q-border);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--q-cream-muted);
  white-space: nowrap;
}

.q-hero-subtag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--q-red);
  box-shadow: 0 0 10px var(--q-red);
  animation: q-pulse-dot 2s infinite ease-in-out;
}

.q-hero-subtag-icon {
  display: inline-flex;
  align-items: center;
  color: var(--q-red);
}

@keyframes q-pulse-dot {
  0%, 100% { opacity: 0.7; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* ==========================================================================
   6. RIGHT BENTO COLUMN: SWITCHABLE VIEWS
   ========================================================================== */
.qitchen-right-column {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.q-view {
  display: none !important;
  width: 100%;
  height: 100%;
  scroll-margin-top: 86px;
}

.q-view.active {
  display: flex !important;
}

/* --- VIEW 0: HOME CARD STACK (Scrollable Bento Column) --- */
.q-home-stack {
  flex-direction: column;
  gap: var(--q-gap);
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
  padding-bottom: 28px;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.q-home-stack::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
}

.q-bento-card {
  position: relative;
  flex: 0 0 230px;
  min-height: 210px;
  border-radius: var(--q-radius-outer);
  overflow: hidden;
  border: 1px solid var(--q-border);
  cursor: pointer;
  background: #100d0f;
  text-align: left;
  padding: 0;
}

.q-bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78) contrast(1.08);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.q-bento-card:hover img {
  transform: scale(1.06);
  filter: brightness(0.95) contrast(1.12);
}

.q-card-corner-tab {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--q-bg);
  padding: 10px 0 0 20px;
  border-top-left-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--q-cream);
}

.q-card-corner-tab::before {
  content: '';
  position: absolute;
  top: -18px;
  right: 0;
  width: 18px;
  height: 18px;
  border-bottom-right-radius: 14px;
  box-shadow: 5px 5px 0 5px var(--q-bg);
  pointer-events: none;
}

.q-card-corner-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -18px;
  width: 18px;
  height: 18px;
  border-bottom-right-radius: 14px;
  box-shadow: 5px 5px 0 5px var(--q-bg);
  pointer-events: none;
}

.q-corner-label {
  font-family: var(--font-forum);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--q-cream);
}

.q-corner-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--q-border-strong);
  background: rgba(239, 231, 210, 0.05);
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  transition: all 0.25s ease;
}

.q-bento-card:hover .q-corner-circle {
  background: var(--q-red);
  border-color: var(--q-red);
  color: #ffffff;
  box-shadow: 0 0 16px var(--q-red-glow);
  transform: translateX(3px);
}

/* --- INNER SCROLLABLE PANEL SHELL --- */
.q-panel-bordered {
  width: 100%;
  height: 100%;
  border: 1px solid var(--q-border);
  border-radius: var(--q-radius-outer);
  background: var(--q-bg);
  overflow-y: auto;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  padding: 36px 42px 48px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.q-panel-bordered::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
}

.q-panel-back-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: -16px;
}

.q-back-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--q-border-subtle);
  background: rgba(255, 255, 255, 0.03);
  color: var(--q-cream-muted);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.q-back-btn:hover {
  border-color: var(--q-red);
  background: rgba(224, 36, 52, 0.14);
  color: #ffffff;
  transform: translateX(-2px);
}

.q-back-btn svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.q-back-btn:hover svg {
  transform: translateX(-2px);
}

/* Reserve bottom clearance and focus scroll clearance on panels with the floating back button */
#view-drinks .q-panel-bordered,
#view-menu .q-panel-bordered,
#view-about .q-panel-bordered {
  padding-bottom: 96px;
  scroll-padding-bottom: 88px;
}

/* Floating bottom "Volver" pill (Drinks, Menu & About; hidden on Home & Reservation) */
.q-floating-back-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 140;
  display: flex;
  justify-content: center;
  padding: 0 16px 20px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  translate: 0 10px;
  transition:
    opacity 0.28s ease,
    translate 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.28s ease;
}

.q-floating-back-wrap::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(300px, 78%);
  height: 84px;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse 68% 85% at 50% 92%,
    rgba(224, 36, 52, 0.22) 0%,
    rgba(136, 11, 21, 0.1) 46%,
    transparent 76%
  );
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

.q-floating-back-btn {
  position: relative;
  z-index: 1;
  pointer-events: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-block-size: 44px;
  min-inline-size: 44px;
  padding: 10px 22px 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(224, 36, 52, 0.36);
  background: rgba(14, 10, 12, 0.86);
  backdrop-filter: blur(16px) saturate(145%);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
  color: var(--q-cream);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.68),
    0 0 22px rgba(224, 36, 52, 0.16);
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    scale 0.15s ease-out;
}

.q-floating-back-btn::before {
  content: '';
  position: absolute;
  inset: -6px -14px;
  border-radius: 999px;
  background: radial-gradient(
    ellipse at center,
    rgba(224, 36, 52, 0.2) 0%,
    rgba(224, 36, 52, 0.06) 55%,
    transparent 78%
  );
  filter: blur(8px);
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.q-floating-back-btn svg {
  flex-shrink: 0;
  color: var(--q-red);
  transition: transform 0.2s ease, color 0.2s ease;
}

.qitchen-app:is([data-view="drinks"], [data-view="menu"], [data-view="about"]) .q-floating-back-wrap {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
}

.qitchen-app:is([data-view="drinks"], [data-view="menu"], [data-view="about"]) .q-floating-back-btn {
  pointer-events: auto;
}

.q-floating-back-btn:hover {
  border-color: rgba(224, 36, 52, 0.72);
  background: rgba(24, 11, 15, 0.94);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.75),
    0 0 28px rgba(224, 36, 52, 0.28);
}

.q-floating-back-btn:hover svg {
  transform: translateX(-2px);
  color: var(--q-red-hover);
}

.q-floating-back-btn:active {
  scale: 0.97;
}

.q-floating-back-btn:focus-visible {
  outline: 2px solid var(--q-red);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .q-floating-back-wrap,
  .q-floating-back-btn,
  .q-floating-back-btn svg {
    transition: opacity 0.15s ease;
  }
}

.q-menu-container {
  display: flex;
  flex-direction: column;
  gap: 68px;
}

.q-filter-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.q-pill-btn {
  appearance: none;
  border: 1px solid var(--q-border);
  background: transparent;
  color: var(--q-cream);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.q-pill-btn:hover {
  border-color: var(--q-red);
  background: rgba(224, 36, 52, 0.08);
}

.q-pill-btn.active {
  border-color: var(--q-red);
  background: rgba(224, 36, 52, 0.18);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(224, 36, 52, 0.3);
}

.q-diamond-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 16px 0 10px;
}

.q-diamond-line {
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--q-red), transparent);
}

.q-diamond-symbol {
  width: 8px;
  height: 8px;
  background: var(--q-red);
  border: 1px solid #ff4455;
  box-shadow: 0 0 10px var(--q-red-glow);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.q-diamond-heading h2 {
  font-family: var(--font-forum);
  font-weight: 400;
  font-size: 2.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--q-cream);
  text-align: center;
}

.q-menu-group {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.q-dish-row {
  display: grid;
  grid-template-columns: 115px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  width: 100%;
  max-width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(239, 231, 210, 0.08);
  background: rgba(18, 19, 17, 0.42);
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
  cursor: pointer;
}

.q-dish-row:hover {
  background: rgba(239, 231, 210, 0.055);
  border-color: var(--q-border-strong);
  transform: translateY(-1px);
}

.q-dish-thumb-wrap {
  width: 115px;
  height: 86px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--q-border);
  background: #0c0d0c;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.q-dish-thumb-wrap .q-dish-thumb,
.q-dish-thumb {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  border: none;
  background: #0c0d0c;
  display: block;
}

.q-dish-body {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.q-dish-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.q-dish-title-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  flex: 0 1 auto;
}

.q-dish-name {
  font-family: var(--font-forum);
  font-weight: 400;
  font-size: clamp(1.08rem, 1.32vw, 1.32rem);
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--q-cream);
  overflow-wrap: break-word;
  min-width: 0;
}

.q-leaf-badge {
  font-size: 0.72rem;
  color: var(--q-gold);
  flex-shrink: 0;
}

.q-dotted-leader {
  flex: 1 1 18px;
  border-bottom: 1px dotted var(--q-border-strong);
  min-width: 14px;
  transform: translateY(-4px);
}

.q-dish-price {
  font-family: var(--font-forum);
  font-size: 1.28rem;
  letter-spacing: 0.05em;
  color: var(--q-gold);
  white-space: nowrap;
  flex-shrink: 0;
}

.q-dish-desc {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--q-cream-muted);
}

.q-dish-cta-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--q-gold);
  opacity: 0.82;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.q-dish-row:hover .q-dish-cta-hint {
  opacity: 1;
  transform: translateX(3px);
}

/* --- VIEW 2: ABOUT / LA PREVIA 13/11 & CUMPLEAÑOS BENTO GRID --- */
.q-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--q-gap);
}

.q-about-box {
  border: 1px solid var(--q-border);
  border-radius: var(--q-radius-outer);
  padding: 28px;
  background: rgba(24, 24, 24, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.q-about-box h3 {
  font-family: var(--font-forum);
  font-weight: 400;
  font-size: 1.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
}

.q-about-box p {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--q-cream-muted);
}

.q-award-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.q-award-card {
  border: 1px solid var(--q-border);
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
  background: rgba(24, 24, 24, 0.3);
}

.q-award-stars {
  color: var(--q-cream);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  margin-bottom: 6px;
}

.q-award-card h4 {
  font-family: var(--font-forum);
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.q-award-card span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--q-cream-muted);
}

/* --- VIEW 3: RESERVATION & BIRTHDAY FORM --- */
.q-res-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.q-input,
.q-select {
  width: 100%;
  padding: 15px 18px;
  border-radius: 10px;
  border: 1px solid var(--q-border);
  background: rgba(24, 24, 24, 0.5);
  color: var(--q-cream);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s ease;
}

/* --- CUSTOM HIGH-END BRANDED SELECT (Matches Qitchen Landing Aesthetics) --- */
.q-custom-select {
  position: relative;
  width: 100%;
}

.q-select-trigger {
  width: 100%;
  padding: 15px 18px;
  border-radius: 10px;
  border: 1px solid var(--q-border);
  background: rgba(24, 24, 24, 0.55);
  color: var(--q-cream);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  outline: none;
  transition: all 0.22s ease;
  user-select: none;
}

.q-select-trigger:hover {
  border-color: var(--q-border-strong);
  background: rgba(30, 30, 28, 0.7);
}

.q-custom-select.open .q-select-trigger {
  border-color: var(--q-cream);
  background: rgba(30, 30, 28, 0.85);
  box-shadow: 0 0 0 1px var(--q-cream);
}

.q-select-value {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.q-select-arrow {
  display: grid;
  place-items: center;
  color: var(--q-gold);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  flex-shrink: 0;
}

.q-custom-select.open .q-select-arrow {
  transform: rotate(180deg);
}

.q-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 90;
  background: #111210;
  border: 1px solid var(--q-border-strong);
  border-radius: 10px;
  padding: 6px;
  list-style: none;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition:
    opacity 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.24s ease;
}

.q-custom-select.open .q-select-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.q-select-option {
  padding: 12px 14px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  color: var(--q-cream-muted);
  transition: all 0.18s ease;
}

.q-select-option:hover {
  background: rgba(239, 231, 210, 0.08);
  color: var(--q-gold);
}

.q-select-option.selected {
  color: var(--q-cream);
  font-weight: 600;
  background: rgba(239, 231, 210, 0.05);
}

.q-option-diamond {
  font-size: 0.68rem;
  color: var(--q-gold);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.q-select-option.selected .q-option-diamond {
  opacity: 1;
}

.q-select-option.is-sold-out {
  opacity: 0.42;
  cursor: not-allowed !important;
  pointer-events: none;
  background: rgba(239, 68, 68, 0.04);
}

.q-option-avail-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid rgba(74, 222, 128, 0.3);
  background: rgba(74, 222, 128, 0.1);
  color: #4ade80;
  margin-left: auto;
}

.q-select-option.is-sold-out .q-option-avail-pill {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.35);
}

.q-res-avail-notice {
  font-size: 0.78rem;
  color: var(--q-gold);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.q-res-avail-notice.is-warning {
  color: #f87171;
}

.q-select-native {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Base-select and native select dark styling fallback */
select.q-select,
.q-select-native,
.q-select-native::picker(select) {
  appearance: base-select;
  color-scheme: dark;
}

select.q-select option,
.q-select-native option {
  background: #111210;
  color: var(--q-cream);
  padding: 10px;
}

.q-input::placeholder {
  color: var(--q-cream-muted);
}

.q-input:focus,
.q-select:focus {
  border-color: var(--q-cream);
}

.q-form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 600px) {
  .q-form-row-2,
  .q-form-row-3 {
    grid-template-columns: 1fr;
  }
}

/* Deposit Mode Selector Cards */
.q-deposit-mode-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.q-form-label {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--q-cream-muted);
  font-weight: 500;
}

.q-deposit-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 680px) {
  .q-deposit-cards-grid {
    grid-template-columns: 1fr;
  }
}

.q-deposit-card {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--q-border);
  background: rgba(18, 12, 14, 0.75);
  cursor: pointer;
  transition: all 0.22s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.q-deposit-card:hover {
  border-color: var(--q-border-strong);
  background: rgba(28, 16, 20, 0.85);
}

.q-deposit-card.active {
  border-color: var(--q-red);
  background: rgba(224, 36, 52, 0.1);
  box-shadow: 0 0 20px rgba(224, 36, 52, 0.18);
}

.q-deposit-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.q-deposit-card-badge {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(224, 36, 52, 0.18);
  border: 1px solid rgba(224, 36, 52, 0.35);
  color: #ff4d5a;
  font-weight: 700;
}

.q-deposit-card-badge.q-badge-simple {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--q-cream-muted);
}

.q-deposit-card-check {
  font-size: 0.9rem;
  color: var(--q-cream-muted);
}

.q-deposit-card.active .q-deposit-card-check {
  color: var(--q-gold);
}

.q-deposit-card-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--q-cream);
}

.q-deposit-card-desc {
  font-size: 0.76rem;
  color: var(--q-cream-muted);
  line-height: 1.4;
  margin: 0;
}

/* ==========================================================================
   AIRPORT BOARDING PASS MODAL STYLES (S9)
   ========================================================================== */
.bp-modal-backdrop {
  z-index: 1050;
}

.bp-modal-card {
  max-width: 580px;
  background: #0f1110;
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 0;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(212, 175, 55, 0.08);
  overflow-y: auto;
  max-height: 92vh;
}

.bp-ticket {
  display: flex;
  flex-direction: column;
}

.bp-header {
  padding: 28px 26px 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.12) 0%, rgba(15, 17, 16, 0) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bp-tagline {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--q-gold);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.bp-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  letter-spacing: 0.18em;
  color: var(--q-cream);
  margin: 0;
}

.bp-code-wrap {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bp-label {
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  color: var(--q-cream-muted);
  font-weight: 500;
  text-transform: uppercase;
  display: block;
}

.bp-code {
  font-family: monospace;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--q-gold);
}

.bp-status-bar {
  padding: 8px 26px 14px;
}

.bp-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  font-weight: 600;
  text-transform: uppercase;
}

.bp-status-confirmed {
  background: rgba(46, 204, 113, 0.16);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.35);
}

.bp-status-pending {
  background: rgba(243, 156, 18, 0.16);
  color: #f39c12;
  border: 1px solid rgba(243, 156, 18, 0.35);
}

.bp-status-review {
  background: rgba(52, 152, 219, 0.16);
  color: #3498db;
  border: 1px solid rgba(52, 152, 219, 0.35);
}

.bp-status-simple {
  background: rgba(255, 255, 255, 0.08);
  color: var(--q-cream-muted);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.bp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
  padding: 12px 26px 20px;
}

@media (max-width: 500px) {
  .bp-grid {
    grid-template-columns: 1fr;
  }
}

.bp-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bp-cell-full {
  grid-column: 1 / -1;
  background: rgba(212, 175, 55, 0.07);
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px dashed rgba(212, 175, 55, 0.3);
}

.bp-val {
  font-size: 0.88rem;
  color: var(--q-cream);
  line-height: 1.4;
}

/* Perforated tear line */
.bp-tear-line {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px 0;
  height: 20px;
}

.bp-notch {
  position: absolute;
  width: 22px;
  height: 22px;
  background: var(--q-bg);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.9);
}

.bp-notch-left {
  left: -12px;
}

.bp-notch-right {
  right: -12px;
}

.bp-dashed {
  width: calc(100% - 36px);
  border-bottom: 2px dashed rgba(255, 255, 255, 0.15);
}

/* Scannable QR code section */
.bp-qr-section {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 26px;
  background: rgba(20, 22, 20, 0.45);
}

@media (max-width: 540px) {
  .bp-qr-section {
    flex-direction: column;
    text-align: center;
  }
}

.bp-qr-box {
  background: #f7f4ed;
  padding: 12px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.bp-qr-canvas {
  display: block;
  width: 150px;
  height: 150px;
}

.bp-qr-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bp-qr-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--q-cream);
}

.bp-qr-desc {
  font-size: 0.78rem;
  color: var(--q-cream-muted);
  line-height: 1.45;
  margin: 0;
}

.bp-door-badge {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: var(--q-gold);
  font-weight: 600;
  margin-top: 4px;
}

/* Deposit and Proof section */
.bp-deposit-section {
  padding: 22px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bp-deposit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bp-deposit-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bp-deposit-icon {
  color: var(--q-gold);
  font-size: 0.9rem;
}

.bp-deposit-header h4 {
  margin: 0;
  font-size: 0.98rem;
  color: var(--q-cream);
  font-weight: 600;
}

.bp-deposit-amount {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--q-gold);
}

.bp-deposit-intro {
  font-size: 0.8rem;
  color: var(--q-cream-muted);
  line-height: 1.5;
  margin: 0;
}

.bp-bank-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(25, 27, 25, 0.6);
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.bp-bank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bp-bank-label {
  font-size: 0.76rem;
  color: var(--q-cream-muted);
}

.bp-bank-val {
  font-family: monospace;
  font-size: 0.86rem;
  color: var(--q-cream);
  word-break: break-all;
}

.bp-btn-copy {
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--q-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--q-cream);
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.bp-btn-copy:hover {
  background: var(--q-gold);
  color: #0d0e0d;
  border-color: var(--q-gold);
}

.bp-paylink-wrap {
  text-align: center;
}

.bp-btn-mp {
  display: block;
  text-align: center;
  padding: 12px 18px;
  border-radius: 10px;
  background: #009ee3;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s ease;
}

.bp-btn-mp:hover {
  background: #0087c2;
}

.bp-portal-link-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.06);
  border: 1px dashed rgba(212, 175, 55, 0.25);
}

.bp-portal-link-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.bp-portal-input {
  flex: 1;
  background: rgba(10, 11, 10, 0.7);
  border: 1px solid var(--q-border);
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--q-cream-muted);
  font-size: 0.74rem;
  font-family: monospace;
  outline: none;
}

.bp-portal-note {
  font-size: 0.72rem;
  color: var(--q-cream-muted);
  line-height: 1.4;
  margin: 0;
}

.bp-proof-zone {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bp-proof-upload-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bp-btn-proof {
  background: var(--q-gold);
  border-color: var(--q-gold);
  color: #0d0e0d;
}

.bp-btn-proof:hover {
  background: #e6c875;
  border-color: #e6c875;
}

.bp-proof-preview-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(46, 204, 113, 0.08);
  border: 1px solid rgba(46, 204, 113, 0.25);
  padding: 8px 12px;
  border-radius: 8px;
}

.bp-proof-preview-wrap[hidden],
#bpProofPreviewWrap[hidden] {
  display: none !important;
}

.bp-proof-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.bp-proof-status-msg {
  font-size: 0.78rem;
  color: #2ecc71;
  font-weight: 500;
}

.bp-footer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 26px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}


.q-btn-submit {
  appearance: none;
  width: 100%;
  padding: 16px 24px;
  border-radius: 10px;
  border: 1px solid var(--q-cream);
  background: var(--q-cream);
  color: var(--q-bg);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.22s ease;
}

.q-btn-submit:hover {
  background: var(--q-gold);
  border-color: var(--q-gold);
}

.q-panel-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--q-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  color: var(--q-cream-muted);
}

/* ==========================================================================
   7. MOBILE & TABLET RESPONSIVE PERFECTION (Fixes Mobile Crop & Overflow)
   ========================================================================== */
@media (max-width: 1024px) {
  html, body {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .qitchen-app,
  .qitchen-app[data-view="home"] {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    grid-template-columns: 1fr;
    padding: 16px;
    padding-top: 76px;
  }

  /* Fixed Mobile & Tablet Pill Navbar */
  .qitchen-pill-navbar {
    position: fixed;
    top: 14px;
    left: 16px;
    right: 16px;
    z-index: 210;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .q-brand-logo {
    order: 1;
    padding: 0 4px;
  }

  .q-nav-book {
    order: 2;
    margin-left: auto;
    margin-right: 8px;
  }

  .q-Menu-icon-btn {
    order: 3; /* Hamburger button on the far right on mobile! */
  }

  .q-nav-link:not(.q-nav-book) {
    display: none;
  }

  .qitchen-left-showcase {
    min-height: 48vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .qitchen-hero-bottom {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .qitchen-giant-title {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

  .q-hero-subtag {
    font-size: 0.68rem;
    padding: 5px 12px;
  }

  /* Mobile Fullscreen Backdrop Overlay */
  .qitchen-menu-overlay {
    z-index: 200;
    position: fixed;
    inset: 0;
    background: rgba(5, 6, 5, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: none;
    border-radius: 0;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Centered/Floating Menu Window Card */
  .q-overlay-nav {
    background: #0d0e0d;
    border: 1px solid var(--q-border-strong);
    border-radius: 16px;
    padding: 36px 40px;
    max-width: 440px;
    width: calc(100% - 32px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.9);
    position: relative;
    z-index: 1;
  }

  .q-overlay-close-btn {
    top: 20px;
    right: 20px;
    left: auto;
  }

  .qitchen-left-showcase {
    height: auto;
    min-height: 52dvh;
    padding: 24px;
  }

  /* Portrait phones/tablets: expand the 9:16 hero video grid cell so the full video renders uncropped */
  @media (orientation: portrait) {
    .qitchen-app:is([data-view="home"], [data-view="drinks"], [data-view="about"]) .qitchen-left-showcase {
      width: 100%;
      height: auto;
      aspect-ratio: 9 / 16;
      min-height: 0;
      max-height: none;
    }
  }

  .q-home-stack {
    min-height: 620px;
  }

  .q-panel-bordered {
    height: auto;
    overflow-y: visible;
    padding: 28px 24px;
  }

  .q-panel-back-row {
    margin-bottom: -12px;
  }

  #view-drinks .q-panel-bordered,
  #view-menu .q-panel-bordered,
  #view-about .q-panel-bordered {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }

  html:has(.qitchen-app:is([data-view="drinks"], [data-view="menu"], [data-view="about"])) {
    scroll-padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
  }

  .q-floating-back-wrap {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0 16px max(16px, calc(12px + env(safe-area-inset-bottom, 0px)));
  }
}

@media (max-width: 720px) {
  /* Heavy feathered mask so the horizontal video box dissolves completely into pure black */
  .neon-intro-curtain video {
    object-fit: contain;
    width: 100%;
    height: 100%;
    padding: 0;
    -webkit-mask-image: radial-gradient(ellipse 85% 30% at 50% 50%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0.65) 45%, transparent 75%);
    mask-image: radial-gradient(ellipse 85% 30% at 50% 50%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0.65) 45%, transparent 75%);
  }

  .intro-sound-pill {
    top: 26px;
    font-size: 0.7rem;
    padding: 9px 18px;
    letter-spacing: 0.14em;
  }

  .intro-enter-btn {
    padding: 14px 22px;
    font-size: 0.9rem;
    letter-spacing: 0.16em;
  }

  .qitchen-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
  }

  /* Compact Navbar on Mobile: Hamburger + MERY + Primary Action (Other links in Hamburger Overlay) */
  .qitchen-pill-navbar {
    position: fixed;
    top: 14px;
    left: 16px;
    right: 16px;
    z-index: 210;
    width: auto;
    justify-content: space-between;
  }

  .q-nav-link:not(.q-nav-book) {
    display: none;
  }

  .qitchen-app,
  .qitchen-app[data-view="home"] {
    padding: 10px;
    padding-top: 72px;
    gap: 14px;
  }

  .qitchen-left-showcase {
    min-height: 46dvh;
    padding: 18px;
  }

  .qitchen-giant-title {
    font-size: clamp(2.35rem, 10vw, 3.4rem);
  }

  .q-menu-container {
    gap: 44px;
  }

  .q-diamond-heading {
    gap: 12px;
  }

  .q-diamond-line {
    width: 32px;
  }

  .q-diamond-heading h2 {
    font-size: clamp(1.38rem, 5.4vw, 1.75rem);
  }

  .q-menu-group {
    gap: 16px;
  }

  .q-dish-row {
    grid-template-columns: 86px minmax(0, 1fr);
    align-items: flex-start;
    gap: 14px;
    padding: 12px;
  }

  .q-dish-thumb-wrap {
    width: 86px;
    height: 86px;
  }

  .q-dish-thumb {
    width: 100%;
    height: 100%;
  }

  .q-dish-header {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
  }

  .q-dish-title-wrap {
    flex: 1 1 auto;
    min-width: 0;
  }

  .q-dish-name {
    white-space: normal;
    font-size: 1.04rem;
    line-height: 1.2;
  }

  .q-dotted-leader {
    display: none;
  }

  .q-dish-price {
    margin-left: 4px;
    font-size: 1.08rem;
    line-height: 1.2;
  }

  .q-dish-desc {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .q-about-grid,
  .q-award-row,
  .q-form-row-3 {
    grid-template-columns: 1fr;
  }

  /* Compact elegant overlay navigation on mobile */
  .q-overlay-nav {
    padding: 24px 18px;
    gap: 6px;
    max-width: 320px;
  }

  .q-overlay-link {
    font-size: 1.22rem;
    padding: 6px 12px;
    letter-spacing: 0.02em;
  }
}

/* ==========================================================================
   8. QITCHEN DISH DETAIL MODAL (Rich Story, Pairing & Quick Reserve)
   ========================================================================== */
.q-dish-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(5, 6, 5, 0.82);
  backdrop-filter: blur(14px);
  overscroll-behavior: contain;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.32s ease;
}

.q-dish-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.q-dish-modal-card {
  position: relative;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  background: #0e0f0e;
  border: 1px solid var(--q-border-strong);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.9);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.q-dish-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--q-border-strong);
  background: rgba(10, 11, 10, 0.82);
  backdrop-filter: blur(10px);
  color: var(--q-cream);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.q-dish-modal-close:hover {
  background: var(--q-cream);
  color: var(--q-bg);
}

.q-dish-modal-media {
  position: relative;
  width: 100%;
  height: 315px;
  flex-shrink: 0;
  overflow: hidden;
  background: #060706;
}

.q-dish-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.03) saturate(1.04);
}

.q-dish-modal-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 15, 14, 0) 0%, rgba(14, 15, 14, 0) 64%, rgba(14, 15, 14, 0.56) 86%, #0e0f0e 100%);
  pointer-events: none;
}

.q-dish-modal-media-overlay {
  position: absolute;
  bottom: 14px;
  left: 24px;
  right: 24px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.q-dish-modal-cat-pill,
.q-dish-modal-badge-pill {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 99px;
}

.q-dish-modal-cat-pill {
  background: rgba(10, 11, 10, 0.85);
  border: 1px solid var(--q-border-strong);
  color: var(--q-cream);
}

.q-dish-modal-badge-pill {
  background: rgba(14, 15, 14, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(207, 190, 145, 0.45);
  color: var(--q-gold);
}

.q-dish-modal-badge-pill[hidden],
.q-dish-modal-badge-pill:empty {
  display: none !important;
}

.q-dish-modal-content {
  padding: 20px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.q-dish-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.q-dish-modal-title {
  font-family: var(--font-forum);
  font-weight: 400;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  line-height: 1.12;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--q-cream);
}

.q-dish-modal-price {
  font-family: var(--font-forum);
  font-size: clamp(1.4rem, 2.8vw, 1.75rem);
  color: var(--q-gold);
  white-space: nowrap;
  flex-shrink: 0;
}

.q-dish-modal-lead {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--q-cream);
}

.q-dish-modal-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0.7;
}

.q-dish-modal-story-box {
  background: rgba(239, 231, 210, 0.035);
  border: 1px solid var(--q-border);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.q-dish-modal-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--q-gold);
}

.q-dish-modal-story {
  font-size: 0.85rem;
  line-height: 1.62;
  color: var(--q-cream-muted);
}

.q-dish-modal-pairing {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--q-cream-muted);
  padding: 4px 2px;
}

.q-pairing-icon {
  color: var(--q-gold);
  font-size: 0.85rem;
  line-height: 1.4;
}

.q-dish-modal-pairing strong {
  color: var(--q-cream);
  font-weight: 600;
  margin-right: 4px;
}

.q-dish-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.q-dish-tag {
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--q-border);
  background: rgba(24, 24, 24, 0.65);
  color: var(--q-cream-muted);
}

.q-dish-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.q-btn-secondary {
  appearance: none;
  width: 100%;
  padding: 13px 20px;
  border-radius: 10px;
  border: 1px solid var(--q-border);
  background: transparent;
  color: var(--q-cream-muted);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.q-btn-secondary:hover {
  border-color: var(--q-cream);
  color: var(--q-cream);
  background: rgba(239, 231, 210, 0.06);
}

@media (max-width: 720px) {
  .q-dish-modal-backdrop {
    padding: 14px;
    align-items: center;
    justify-content: center;
  }

  /* Roulette stays strictly centered on mobile screens */
  .q-dish-modal-backdrop.roulette-modal-backdrop {
    align-items: center !important;
    justify-content: center !important;
    padding: 16px 12px !important;
  }

  .q-dish-modal-card {
    max-height: 92dvh;
    border-radius: 16px;
  }

  .q-dish-modal-media {
    height: clamp(245px, 35dvh, 300px);
    flex-shrink: 0;
  }

  .q-dish-modal-content {
    padding: 16px 18px 20px;
    gap: 13px;
  }
}

/* ==========================================================================
   8. RESERVATION CONFIRMATION & SUCCESS MODALS (S10)
   ========================================================================== */
.res-modal-backdrop {
  z-index: 450;
}

.res-modal-card {
  max-width: 520px;
  width: 100%;
  border-radius: 20px;
  background: #111311;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(212, 175, 55, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.res-confirm-content {
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.res-confirm-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.res-badge-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--q-gold);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  font-weight: 700;
  text-transform: uppercase;
}

.res-confirm-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--q-cream);
  font-weight: 500;
  margin: 0;
  line-height: 1.25;
}

.res-confirm-subtitle {
  font-size: 0.85rem;
  color: var(--q-cream-muted);
  margin: 0;
  line-height: 1.4;
}

.res-confirm-grid {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.res-confirm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  gap: 12px;
}

.res-confirm-label {
  color: var(--q-cream-muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.res-confirm-val {
  color: var(--q-cream);
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

.res-confirm-row-full {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
}

.res-confirm-row-full .res-confirm-val {
  text-align: left;
}

.res-confirm-deposit-box {
  margin-top: 4px;
  padding: 10px 12px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 10px;
}

.res-confirm-deposit-val {
  color: var(--q-gold);
}

.res-confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.res-btn-confirm {
  background: var(--q-gold);
  border-color: var(--q-gold);
  color: #0d0e0d;
}

.res-btn-confirm:hover {
  background: #e6c875;
  border-color: #e6c875;
}

.res-btn-edit {
  text-align: center;
}

/* Success Modal */
.res-success-card {
  max-width: 480px;
  text-align: center;
}

.res-success-content {
  padding: 38px 30px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.res-success-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  border: 2px solid rgba(212, 175, 55, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.2);
}

.res-success-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--q-cream);
  margin: 0;
  font-weight: 500;
  line-height: 1.25;
}

.res-success-code-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed rgba(212, 175, 55, 0.45);
  border-radius: 12px;
  padding: 12px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.res-success-code-label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--q-cream-muted);
  text-transform: uppercase;
}

.res-success-code {
  font-family: monospace;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--q-gold);
}

.res-success-desc {
  font-size: 0.9rem;
  color: var(--q-cream-muted);
  line-height: 1.5;
  margin: 0;
  max-width: 380px;
}

.res-success-desc strong {
  color: var(--q-cream);
}

.res-success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 6px;
}

.res-btn-open-pass {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  background: var(--q-gold);
  border-color: var(--q-gold);
  color: #0d0e0d;
}

.res-btn-open-pass:hover {
  background: #e6c875;
  border-color: #e6c875;
  color: #0d0e0d;
}

/* ==========================================================================
   9. INTERACTIVE PROMOTIONS & ROULETTE ENGINE (S4)
   ========================================================================== */

/* Floating Ruleta Trigger Pill (Hidden so it does not overlap cards; accessed directly via bento card and menu) */
.roulette-floating-trigger {
  display: none !important;
}

.roulette-trigger-pulse-glow {
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  border: 2px solid var(--q-red);
  opacity: 0;
  animation: rouletteGlowRing 2.8s infinite ease-out;
  pointer-events: none;
}

@keyframes rouletteGlowRing {
  0% { transform: scale(0.96); opacity: 0.85; }
  60% { transform: scale(1.16); opacity: 0; }
  100% { transform: scale(1.16); opacity: 0; }
}

.roulette-trigger-icon {
  font-size: 1.15rem;
  filter: drop-shadow(0 0 6px var(--q-red));
}

.roulette-trigger-stock-pill {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  font-weight: 800;
  text-transform: uppercase;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.45);
  padding: 3px 8px;
  border-radius: 999px;
}

/* Hide floating trigger while neon curtain is active */
.neon-intro-curtain:not(.dismissed) ~ .roulette-floating-trigger {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

/* Overlay Navigation Link for Roulette */
.roulette-overlay-link {
  color: var(--q-red) !important;
  text-shadow: 0 0 16px var(--q-red-glow);
}

/* Bento Card in Home Stack */
.q-bento-roulette-card {
  position: relative;
  background: linear-gradient(135deg, rgba(224, 36, 52, 0.16) 0%, rgba(18, 12, 14, 0.92) 100%);
  border: 1px solid var(--q-border-strong);
  overflow: hidden;
  text-align: left;
  padding: 24px 22px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.q-bento-roulette-card:hover {
  border-color: var(--q-red);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7), 0 0 24px var(--q-red-glow);
}

.q-bento-roulette-pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--q-red);
  background: rgba(224, 36, 52, 0.15);
  border: 1px solid rgba(224, 36, 52, 0.4);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  width: fit-content;
}

.q-bento-roulette-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--q-cream);
  margin: 0 0 4px;
}

.q-bento-roulette-desc {
  font-size: 0.85rem;
  color: var(--q-cream-muted);
  line-height: 1.4;
  margin: 0;
  max-width: 280px;
}

/* Roulette Modal Backdrop & Card */
.roulette-modal-backdrop,
.q-dish-modal-backdrop.roulette-modal-backdrop {
  z-index: 500;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.roulette-modal-card {
  max-width: 480px;
  width: 100%;
  max-height: 92vh;
  margin: auto !important;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 20px;
  background: linear-gradient(180deg, #160d11 0%, #0a0809 100%);
  border: 1px solid var(--q-border-strong);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.95), 0 0 45px rgba(224, 36, 52, 0.25);
  padding: 28px 22px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: var(--q-red) rgba(0, 0, 0, 0.3);
}

.roulette-modal-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.roulette-badges-row {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.roulette-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}

.roulette-badge.stock-badge {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

.roulette-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  animation: q-pulse-dot 2s infinite ease-in-out;
}

.roulette-badge.spins-badge {
  background: rgba(224, 36, 52, 0.18);
  border: 1px solid var(--q-red);
  color: var(--q-cream);
  box-shadow: 0 0 10px rgba(224, 36, 52, 0.3);
}

.roulette-modal-title {
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 4.8vw, 2rem);
  font-weight: 700;
  color: var(--q-cream);
  text-shadow: 0 0 25px rgba(224, 36, 52, 0.45);
  margin: 0;
  line-height: 1.15;
}

.roulette-modal-subtitle {
  font-size: 0.86rem;
  color: var(--q-cream-muted);
  margin: 0;
  line-height: 1.45;
  max-width: 380px;
}

/* Stage 0: Access Code Gate */
.roulette-code-gate {
  width: 100%;
  max-width: 400px;
  background: rgba(24, 14, 18, 0.92);
  border: 1px solid var(--q-border-strong);
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.85), 0 0 28px rgba(224, 36, 52, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.roulette-gate-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(224, 36, 52, 0.14);
  border: 1px solid var(--q-border-strong);
  color: var(--q-red);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(224, 36, 52, 0.25);
}

.roulette-gate-title {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--q-cream);
  margin: 0;
}

.roulette-gate-desc {
  font-size: 0.86rem;
  color: var(--q-cream-muted);
  line-height: 1.5;
  margin: 0 0 4px;
  max-width: 340px;
}

.roulette-gate-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.roulette-gate-input {
  text-align: center;
  font-size: 1.35rem !important;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.roulette-gate-error {
  margin: 0;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(224, 36, 52, 0.14);
  border: 1px solid rgba(224, 36, 52, 0.45);
  color: #ffb3ba;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
}

.roulette-venue-note {
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--q-border);
  font-size: 0.86rem;
  color: var(--q-cream);
  line-height: 1.45;
}

/* Wheel Stage */
.roulette-wheel-stage {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.roulette-canvas-wrapper {
  position: relative;
  width: 370px;
  height: 370px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  margin: 10px auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 28px rgba(224, 36, 52, 0.3));
}

.roulette-canvas {
  width: 370px;
  height: 370px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: block;
}

.roulette-pointer {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  filter: drop-shadow(0 0 12px var(--q-red)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.8));
  transform-origin: 50% 10%;
  pointer-events: none;
}

@keyframes pointerKickAnim {
  0% { transform: translateX(-50%) rotate(0deg); }
  40% { transform: translateX(-50%) rotate(-14deg); }
  100% { transform: translateX(-50%) rotate(0deg); }
}

.roulette-pointer.kicking {
  animation: pointerKickAnim 0.09s ease;
}

/* Spin Button */
.roulette-spin-btn {
  position: relative;
  width: 100%;
  max-width: 320px;
  padding: 15px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e02434 0%, #a80f1e 100%);
  border: 1px solid #ff4455;
  box-shadow: 0 6px 26px var(--q-red-glow), 0 2px 10px rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.26s ease;
  animation: spinBtnPulse 2.4s infinite ease-in-out;
}

@keyframes spinBtnPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 6px 26px var(--q-red-glow), 0 2px 10px rgba(0, 0, 0, 0.6);
  }
  50% {
    transform: scale(1.025);
    box-shadow: 0 8px 34px rgba(224, 36, 52, 0.7), 0 2px 12px rgba(0, 0, 0, 0.8);
  }
}

.roulette-spin-btn:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.03);
  background: linear-gradient(135deg, #ff2e40 0%, #c41828 100%);
  border-color: #ff6675;
}

.roulette-spin-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  animation: none;
  transform: none;
  box-shadow: none;
}

.roulette-my-vouchers-wrap {
  margin-top: 14px;
}

.roulette-link-btn {
  background: none;
  border: none;
  color: var(--q-cream-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s ease;
}

.roulette-link-btn:hover {
  color: var(--q-red);
}

/* Result & Claim Stage */
.roulette-result-card {
  width: 100%;
  max-width: 420px;
  background: rgba(24, 14, 18, 0.95);
  border: 1px solid var(--q-border-strong);
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(224, 36, 52, 0.35);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.roulette-congrats-banner {
  text-align: center;
  border-bottom: 1px solid rgba(224, 36, 52, 0.25);
  padding-bottom: 16px;
}

.congrats-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--q-red);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.roulette-prize-name {
  font-family: var(--font-sans);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--q-cream);
  text-shadow: 0 0 20px var(--q-red-glow);
  margin: 4px 0 6px;
}

.roulette-prize-condition {
  font-size: 0.88rem;
  color: var(--q-cream-muted);
  line-height: 1.45;
  margin: 0;
}

.roulette-claim-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.claim-form-prompt {
  font-size: 0.82rem;
  color: var(--q-cream-muted);
  line-height: 1.4;
  margin: 0 0 4px;
  text-align: center;
}

.roulette-form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.roulette-form-field label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--q-cream-muted);
}

.roulette-form-field input {
  padding: 12px 14px;
  background: rgba(8, 7, 8, 0.85);
  border: 1px solid var(--q-border);
  border-radius: 8px;
  color: var(--q-cream);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  outline: none;
  transition: all 0.2s ease;
}

.roulette-form-field input:focus {
  border-color: var(--q-red);
  box-shadow: 0 0 12px var(--q-red-glow);
}

.roulette-submit-btn {
  width: 100%;
  margin-top: 6px;
}

.roulette-no-prize-view {
  text-align: center;
  padding: 8px 0;
}

.roulette-again-btn {
  width: 100%;
}

/* Voucher Ticket Card */
.roulette-voucher-card {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.voucher-ticket {
  background: linear-gradient(145deg, #180f13 0%, #0c080a 100%);
  border: 1px solid var(--q-red);
  border-radius: 14px;
  padding: 24px 20px 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 35px var(--q-red-glow);
  position: relative;
  text-align: center;
}

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

.voucher-brand {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--q-cream);
}

.voucher-tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--q-red);
  background: rgba(224, 36, 52, 0.18);
  border: 1px solid var(--q-red);
  padding: 2px 8px;
  border-radius: 999px;
}

.voucher-code-block {
  background: rgba(0, 0, 0, 0.55);
  border: 1px dashed rgba(224, 36, 52, 0.5);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.voucher-code-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--q-cream-muted);
}

.voucher-code-val {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--q-red);
  text-shadow: 0 0 18px var(--q-red-glow);
}

.voucher-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  text-align: left;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.vd-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vd-item-full {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 8px;
}

.vd-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--q-cream-muted);
}

.vd-val {
  font-size: 0.88rem;
  color: var(--q-cream);
  font-weight: 600;
}

.vd-condition {
  font-size: 0.82rem;
  color: var(--q-red);
  line-height: 1.35;
}

.voucher-tear-line {
  position: relative;
  display: flex;
  align-items: center;
  margin: 16px -20px 14px;
}

.voucher-notch {
  width: 18px;
  height: 18px;
  background: #160d11;
  border: 1px solid var(--q-red);
  border-radius: 50%;
  flex-shrink: 0;
}

.voucher-notch-left {
  margin-left: -9px;
}

.voucher-notch-right {
  margin-right: -9px;
}

.voucher-dashed {
  flex: 1;
  height: 1px;
  border-top: 1px dashed rgba(224, 36, 52, 0.45);
}

.voucher-footer {
  font-size: 0.74rem;
  color: var(--q-cream-muted);
  line-height: 1.35;
}

.voucher-wa-notice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 99px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
  font-size: 0.76rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.voucher-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.voucher-btn-whatsapp {
  background: #25d366 !important;
  border-color: #25d366 !important;
  color: #0b2212 !important;
  font-weight: 700;
}

.voucher-btn-whatsapp:hover {
  background: #2ee673 !important;
  border-color: #2ee673 !important;
}

/* Cooldown Card */
.roulette-cooldown-card {
  width: 100%;
  max-width: 420px;
  background: rgba(22, 13, 16, 0.95);
  border: 1px solid var(--q-border);
  border-radius: 16px;
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.cooldown-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(224, 36, 52, 0.12);
  border: 1px solid var(--q-border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.cooldown-title {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--q-cream);
  margin: 0;
}

.cooldown-message {
  font-size: 0.88rem;
  color: var(--q-cream-muted);
  line-height: 1.5;
  margin: 0;
  max-width: 360px;
}

.cooldown-vouchers-list {
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--q-border);
  border-radius: 12px;
  padding: 14px;
  text-align: left;
}

.cooldown-list-title {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--q-red);
  margin: 0 0 10px;
}

.cooldown-vouchers-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cooldown-voucher-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
}

.cooldown-voucher-code {
  font-family: monospace;
  font-weight: 700;
  color: var(--q-red);
}

.cooldown-voucher-prize {
  color: var(--q-cream);
  font-weight: 500;
}

.cooldown-actions {
  width: 100%;
  margin-top: 6px;
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .roulette-floating-trigger {
    bottom: 16px;
    right: 14px;
    left: 14px;
    padding: 10px 16px;
    font-size: 0.78rem;
    justify-content: center;
  }

  .roulette-modal-card {
    padding: 20px 16px 22px;
    max-height: 92vh;
    margin: auto !important;
    width: min(420px, calc(100vw - 24px));
  }

  .roulette-canvas-wrapper {
    width: min(330px, 80vw);
    height: min(330px, 80vw);
    margin: 8px auto 16px;
  }

  .roulette-canvas {
    width: min(330px, 80vw);
    height: min(330px, 80vw);
  }

  .roulette-modal-title {
    font-size: 1.45rem;
  }

  .roulette-modal-subtitle {
    font-size: 0.8rem;
    max-width: 300px;
  }

  .roulette-spin-btn {
    padding: 12px 18px;
    font-size: 0.88rem;
  }

  .voucher-details-grid {
    grid-template-columns: 1fr;
  }
}


