/* ==========================================================================
   INTERACTIVE COLLECTIVE MARKETING (ICM) - DESIGN SYSTEM
   Ultra-modern glassmorphic, mobile-first design with desktop preview support
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  --bg-primary: #07090e;
  --bg-secondary: #0d121d;
  --bg-card: rgba(18, 24, 38, 0.75);
  --bg-card-hover: rgba(26, 34, 52, 0.9);
  --bg-glass: rgba(15, 23, 42, 0.65);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(16, 185, 129, 0.35);
  --border-gold: rgba(245, 158, 11, 0.4);

  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.25);
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --accent-cyan: #06b6d4;
  --accent-indigo: #6366f1;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.2);
  --shadow-gold: 0 0 30px rgba(245, 158, 11, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(16, 185, 129, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Viewport Shell Controller (Mobile / Desktop Switcher) */
.viewport-outer {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(16, 185, 129, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Desktop Preview Header Toolbar */
.desktop-toolbar {
  width: 100%;
  max-width: 1100px;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(13, 18, 29, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 99;
}

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

.brand-badge {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4);
}

.brand-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--accent-emerald);
  font-weight: 600;
}

.view-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.view-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.view-toggle-btn:hover {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
}

.view-toggle-btn.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--accent-emerald);
  color: #34d399;
}

/* ==========================================================================
   PHONE MOCKUP SHELL (DESKTOP PRESENTATION)
   Creates an ultra-realistic smartphone frame on desktop monitors
   ========================================================================== */
.phone-mockup-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 24px 16px 40px;
}

.phone-frame-mockup {
  width: 100%;
  max-width: 430px;
  height: 880px;
  max-height: calc(100vh - 110px);
  background: var(--bg-secondary);
  border-radius: 46px;
  border: 4px solid #232938;
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 25px 65px -10px rgba(0, 0, 0, 0.85),
    0 0 45px rgba(16, 185, 129, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: max-width var(--transition-smooth), height var(--transition-smooth), border-radius var(--transition-smooth);
}

/* Phone Status Bar (Simulated Mobile Screen on Desktop) */
.phone-top-bar {
  height: 42px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  z-index: 100;
  flex-shrink: 0;
  font-family: var(--font-heading);
  user-select: none;
}

.phone-status-time {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.phone-dynamic-island {
  width: 94px;
  height: 22px;
  background: #000;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 8px;
  gap: 6px;
  box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.15);
}

.island-camera {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0c1427;
  border: 1px solid #1e293b;
}

.island-sensor {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #111827;
}

.phone-status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* Phone Bottom Bar (Home Indicator) */
.phone-bottom-bar {
  height: 22px;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  flex-shrink: 0;
}

.phone-home-indicator {
  width: 120px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
}

/* App Canvas Shell */
.app-container {
  width: 100%;
  max-width: 100%;
  flex: 1;
  min-height: 0;
  background: var(--bg-secondary);
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.app-container::-webkit-scrollbar {
  display: none;
}

/* Expanded Desktop Mode (When user clicks 'Expanded Grid') */
.phone-frame-mockup.expanded-desktop {
  max-width: 1100px;
  height: auto;
  max-height: none;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  overflow: visible;
}

.phone-frame-mockup.expanded-desktop .phone-top-bar,
.phone-frame-mockup.expanded-desktop .phone-bottom-bar {
  display: none;
}

.phone-frame-mockup.expanded-desktop .app-container {
  overflow: visible;
  padding-bottom: 90px;
}

.phone-frame-mockup.expanded-desktop .vip-cards-grid,
.phone-frame-mockup.expanded-desktop .collective-cards-grid {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

/* Physical Mailer Gateway Banner */
.postcard-gateway-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(16, 185, 129, 0.15));
  border-bottom: 1px solid var(--border-gold);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}

.gateway-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gateway-tag {
  background: var(--accent-amber);
  color: #000;
  font-weight: 800;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gateway-text {
  color: #fef3c7;
  font-weight: 600;
}

.gateway-badge {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* App Header & Hero */
.app-hero {
  padding: 20px 18px 16px;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, transparent 100%);
}

.hero-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--border-glow);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  color: #34d399;
  letter-spacing: 0.02em;
}

.hero-stats-quick {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.hero-official-banner {
  width: 100%;
  margin: 12px 0 16px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #090d16;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-official-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  border-color: rgba(99, 102, 241, 0.4);
}

.hero-official-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Consumer App Dayton Deals Delivery - Spend in the 937! Banner */
.hero-consumer-banner {
  width: 100%;
  margin: 12px 0 16px 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.18), 0 8px 24px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: #140d04;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hero-consumer-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(245, 158, 11, 0.28), 0 10px 28px rgba(0, 0, 0, 0.65);
  border-color: #f59e0b;
}

.hero-consumer-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-stats-quick span {
  color: var(--accent-emerald);
  font-weight: 700;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.hero-headline .text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #34d399 70%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subhead {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.45;
}

/* Search & Route Controls */
.search-box-wrap {
  position: relative;
  margin-bottom: 16px;
}

.search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 12px 14px 12px 42px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-fast);
}

.search-input:focus {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.25);
  background: rgba(22, 30, 48, 0.9);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 1rem;
  pointer-events: none;
}

/* Neighborhood Selector Carousel */
.section-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding: 0 2px;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.neighborhood-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.neighborhood-scroll::-webkit-scrollbar {
  display: none;
}

.hood-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.hood-chip:hover {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
}

.hood-chip.active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.1));
  border-color: var(--accent-emerald);
  color: #34d399;
  box-shadow: 0 2px 12px rgba(16, 185, 129, 0.25);
}

.hood-chip .chip-count {
  background: rgba(255, 255, 255, 0.1);
  padding: 1px 6px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
}

.hood-chip.active .chip-count {
  background: var(--accent-emerald);
  color: #000;
  font-weight: 700;
}

/* Category Filter Chips */
.categories-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 18px 14px;
  scrollbar-width: none;
}

.categories-scroll::-webkit-scrollbar {
  display: none;
}

.category-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.category-chip:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

.category-chip.active {
  background: var(--text-main);
  color: #0a0e17;
  border-color: #fff;
  font-weight: 700;
}

/* Content Area */
.app-content {
  padding: 0 18px 24px;
}

/* VIP Print Card Sponsors Section */
.vip-section {
  margin-bottom: 28px;
}

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

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

.vip-badge-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.vip-section-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fef3c7;
  letter-spacing: -0.01em;
}

.vip-badge-hint {
  font-size: 0.72rem;
  color: var(--accent-amber);
  font-weight: 600;
}

/* Cards Grid */
.vip-cards-grid, .collective-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.app-container.full-width .vip-cards-grid,
.app-container.full-width .collective-cards-grid {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.vip-deal-card {
  position: relative;
  background: linear-gradient(145deg, rgba(28, 35, 54, 0.85) 0%, rgba(18, 22, 34, 0.95) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-gold);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.vip-deal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.3);
}

.vip-ribbon {
  position: absolute;
  top: 14px;
  right: -32px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #f59e0b, #b45309);
  color: #000;
  font-weight: 900;
  font-size: 0.58rem;
  padding: 3px 35px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.vip-card-top, .card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.merchant-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  overflow: hidden;
}

.merchant-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.merchant-meta {
  flex: 1;
}

.merchant-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

.merchant-subline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.rating-pill {
  color: #fbbf24;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Coupon Headline Ticket Box */
.coupon-ticket-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px dashed var(--accent-emerald);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 14px;
  position: relative;
}

.coupon-ticket-headline {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: #a7f3d0;
  line-height: 1.35;
  margin-bottom: 4px;
}

.coupon-ticket-valid {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.coupon-ticket-code-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #6ee7b7;
  margin-top: 6px;
}

/* Deal Card Action Row */
.deal-actions-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-redeem {
  flex: 1;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  padding: 11px 16px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: var(--transition-fast);
}

.btn-redeem:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-1px);
}

.btn-redeem:active {
  transform: scale(0.98);
}

.btn-call-icon, .btn-save-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.btn-call-icon:hover, .btn-save-icon:hover {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.btn-save-icon.saved {
  color: #f43f5e;
  border-color: rgba(244, 63, 94, 0.4);
  background: rgba(244, 63, 94, 0.1);
}

/* Collective Business Offers Grid */
.collective-section {
  margin-top: 10px;
}

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

.collective-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
}

.collective-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
  backdrop-filter: blur(12px);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.collective-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  background: var(--bg-card-hover);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 48px 20px;
  background: var(--bg-card);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
  margin: 20px 0;
}

.empty-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.empty-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.empty-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 320px;
  margin: 0 auto 16px;
}

/* Interactive Redemption Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open {
  display: flex !important;
  opacity: 1;
  pointer-events: auto;
}

.redemption-sheet {
  width: 100%;
  max-width: 500px;
  background: #0f1523;
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
  padding: 24px 20px 32px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .redemption-sheet {
  transform: translateY(0);
}

.sheet-handle {
  width: 44px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin: 0 auto 18px;
}

.sheet-header {
  text-align: center;
  margin-bottom: 16px;
}

.sheet-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--accent-emerald);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.sheet-merchant-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
}

.sheet-deal-title {
  font-size: 0.95rem;
  color: #a7f3d0;
  margin-top: 4px;
  font-weight: 600;
}

/* Live Timer Box */
.timer-container {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  margin: 16px 0;
  transition: all 0.3s ease;
}

.active-burn-timer {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.45);
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.2);
}

.active-burn-timer.urgent {
  background: rgba(239, 68, 68, 0.16) !important;
  border-color: rgba(239, 68, 68, 0.6) !important;
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.3) !important;
  animation: pulse-urgent 0.8s infinite alternate;
}

@keyframes pulse-urgent {
  0% { transform: scale(1); }
  100% { transform: scale(1.02); }
}

.timer-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #34d399;
  font-weight: 700;
}

.active-burn-timer.urgent .timer-label {
  color: #fca5a5 !important;
}

.timer-digits {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 900;
  color: #10b981;
  letter-spacing: 0.05em;
  margin: 4px 0;
  line-height: 1;
}

.active-burn-timer.urgent .timer-digits {
  color: #f87171 !important;
}

.burn-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  margin: 10px 0 6px;
  overflow: hidden;
}

.burn-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #34d399);
  border-radius: var(--radius-full);
  transition: width 1s linear;
}

.burn-progress-bar.urgent {
  background: linear-gradient(90deg, #f59e0b, #ef4444) !important;
}

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

/* Pre-Activation Warning Alert */
.pre-activate-alert {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
}

.pre-activate-alert .alert-icon {
  font-size: 2rem;
  line-height: 1;
}

.pre-activate-alert h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #fbbf24;
  margin-bottom: 4px;
}

.pre-activate-alert p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Decommissioned / Burned Box */
.decommissioned-box {
  background: rgba(239, 68, 68, 0.08);
  border: 2px dashed rgba(239, 68, 68, 0.45);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 10px;
}

.decommissioned-stamp {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  color: #ef4444;
  border: 2.5px solid #ef4444;
  border-radius: var(--radius-sm);
  padding: 4px 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transform: rotate(-3deg);
  margin-bottom: 12px;
  background: rgba(239, 68, 68, 0.12);
}

.burn-receipt-details {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

/* Card Button & Tag Disabled States on Feed */
.btn-redeem.redeemed-btn {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #94a3b8 !important;
  cursor: not-allowed !important;
}

.coupon-ticket-code-tag.code-burned {
  background: rgba(239, 68, 68, 0.1) !important;
  border-color: rgba(239, 68, 68, 0.3) !important;
  color: #f87171 !important;
}

/* Coupon Pass Code Block */
.coupon-code-card {
  background: #182030;
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 18px;
  text-align: center;
  margin-bottom: 18px;
}

.coupon-code-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.coupon-code-val {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.1em;
}

.btn-copy-code {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  margin-top: 10px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-copy-code:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.12);
}

/* Simulated Barcode */
.simulated-barcode {
  height: 52px;
  background: repeating-linear-gradient(
    90deg,
    #fff 0,
    #fff 2px,
    transparent 2px,
    transparent 4px,
    #fff 4px,
    #fff 7px,
    transparent 7px,
    transparent 9px,
    #fff 9px,
    #fff 13px,
    transparent 13px,
    transparent 16px
  );
  border-radius: 4px;
  margin: 12px 16px 6px;
  opacity: 0.85;
}

.sheet-terms {
  font-size: 0.72rem;
  color: var(--text-dim);
  line-height: 1.4;
  margin-bottom: 20px;
  text-align: center;
}

/* Modal Bottom Actions */
.sheet-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-confirm-redeem {
  width: 100%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-sheet-close {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 11px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

/* Bottom Navigation Bar */
.bottom-nav,
.bottom-nav-bar {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  height: 68px;
  background: rgba(10, 14, 23, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: center;
  z-index: 90;
  width: 100%;
}

.bottom-nav-inner {
  width: 100%;
  max-width: 480px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 16px;
}

.phone-frame-mockup.expanded-desktop .bottom-nav,
.phone-frame-mockup.expanded-desktop .bottom-nav-bar,
.app-container.full-width ~ .bottom-nav .bottom-nav-inner,
.app-container.full-width ~ .bottom-nav-bar .bottom-nav-inner {
  max-width: 1100px;
}

.nav-item {
  background: none;
  border: none;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 600;
  transition: var(--transition-fast);
  padding: 6px 12px;
}

.nav-item .nav-icon {
  font-size: 1.25rem;
}

.nav-item:hover {
  color: var(--text-muted);
}

.nav-item.active {
  color: var(--accent-emerald);
}

/* Merchant Join Modal / Drawer */
.merchant-join-card {
  margin-top: 24px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(16, 185, 129, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
}

.merchant-join-badge {
  display: inline-block;
  background: var(--accent-indigo);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.merchant-join-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.merchant-join-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.45;
}

.btn-merchant-inquire {
  background: #fff;
  color: #000;
  border: none;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-merchant-inquire:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
}

/* Toast Notification */
.toast-msg {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: #1e293b;
  border: 1px solid var(--accent-emerald);
  color: #f8fafc;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast-msg.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   CUSTOMER APP: FLASH DEALS & SLOW-HOUR RUSH PASSES
   ========================================================================== */
.flash-deals-section {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.09) 0%, rgba(245, 158, 11, 0.06) 100%);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-xl);
  padding: 16px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.12);
}

.flash-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

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

.flash-pulse-beacon {
  width: 10px;
  height: 10px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 10px #ef4444;
  animation: pulseBeacon 1.5s infinite;
}

@keyframes pulseBeacon {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.flash-section-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fecaca;
  letter-spacing: -0.01em;
}

.flash-badge-counter {
  background: #ef4444;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.flash-section-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.flash-cards-carousel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.flash-deal-card {
  background: #141b2b;
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: var(--radius-lg);
  padding: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-fast);
}

.flash-deal-card:hover {
  transform: translateY(-2px);
  border-color: #ef4444;
}

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

.flash-biz-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.flash-biz-avatar {
  font-size: 1.4rem;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  overflow: hidden;
}

.flash-biz-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flash-biz-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

.flash-expires-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #f87171;
  background: rgba(239, 68, 68, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.flash-card-headline {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #fef08a;
  line-height: 1.35;
  margin-bottom: 10px;
}

.flash-scarcity-meter {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  padding: 8px 10px;
  margin-bottom: 12px;
}

.flash-scarcity-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fca5a5;
  margin-bottom: 4px;
}

.flash-track-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.flash-fill-bar {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  border-radius: 3px;
}

.btn-claim-flash {
  width: 100%;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  border: none;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 10px;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-claim-flash:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  transform: translateY(-1px);
}

/* ==========================================================================
   HAMBURGER MENU BUTTON & SLIDE-OUT DRAWER
   ========================================================================== */
.btn-hamburger {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
  transition: var(--transition-fast);
}

.btn-hamburger:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
}

.hamburger-bar {
  width: 18px;
  height: 2px;
  background: #f8fafc;
  border-radius: 2px;
  transition: var(--transition-fast);
}

.btn-hamburger:hover .hamburger-bar {
  background: #34d399;
}

/* Drawer Backdrop */
.drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  justify-content: flex-end;
}

.drawer-backdrop.open {
  display: flex !important;
  opacity: 1;
  pointer-events: auto;
}

/* Drawer Content Panel */
.drawer-content {
  width: 100%;
  max-width: 380px;
  height: 100%;
  background: #0d131f;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
  overflow-y: auto;
}

.drawer-backdrop.open .drawer-content {
  transform: translateX(0);
}

.drawer-header {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: #0d131f;
  z-index: 10;
}

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

.btn-close-drawer {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-close-drawer:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #fff;
}

.drawer-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-flash-banner {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(245, 158, 11, 0.1));
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  margin-bottom: 14px;
  transition: var(--transition-fast);
}

.drawer-flash-banner:hover {
  border-color: #ef4444;
  transform: translateY(-1px);
}

.drawer-flash-tag {
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.drawer-section-title {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
}

.drawer-nav-item:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.drawer-nav-item.active {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.5);
  color: #34d399;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.drawer-nav-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.drawer-nav-label {
  flex: 1;
}

.drawer-nav-count {
  font-size: 0.72rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.drawer-nav-item.active .drawer-nav-count {
  background: rgba(16, 185, 129, 0.25);
  color: #34d399;
}

.drawer-zone-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.drawer-zone-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 12px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.drawer-zone-btn:hover {
  border-color: var(--text-main);
  color: var(--text-main);
}

.drawer-zone-btn.active {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.5);
  color: #fbbf24;
}

.drawer-footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-link-card {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.drawer-link-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   CATEGORIZED DEAL GROUPING IN FEED
   ========================================================================== */
.category-group-block {
  margin-bottom: 28px;
}

.category-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.category-group-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-group-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.btn-clear-category-filter {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}

.btn-clear-category-filter:hover {
  background: rgba(16, 185, 129, 0.25);
}

/* ==========================================================================
   DESKTOP INTRO LANDING GATEWAY (QR CODE SCAN TO MOBILE)
   ========================================================================== */
.desktop-intro-gateway {
  width: 100%;
  max-width: 820px;
  margin: 30px auto;
  padding: 0 16px;
  animation: fadeIn 0.4s ease;
}

.intro-glass-card {
  background: rgba(13, 18, 29, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: 
    0 25px 60px -15px rgba(0, 0, 0, 0.8),
    0 0 50px rgba(16, 185, 129, 0.15);
  text-align: center;
}

.intro-badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.intro-badge {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000;
  font-weight: 900;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.intro-route-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.intro-hero-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.intro-hero-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 28px;
  line-height: 1.5;
}

.intro-qr-spotlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 28px;
  text-align: left;
}

.qr-glow-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  background: #ffffff;
  padding: 12px;
  border-radius: 20px;
  box-shadow: 
    0 0 0 3px #10b981,
    0 10px 30px rgba(16, 185, 129, 0.35);
}

.intro-qr-image {
  width: 170px;
  height: 170px;
  display: block;
  border-radius: 8px;
}

.qr-scan-badge {
  font-size: 0.68rem;
  font-weight: 800;
  color: #064e3b;
  background: #d1fae5;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.intro-instructions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.instruction-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.inst-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.inst-text strong {
  display: block;
  font-size: 0.92rem;
  color: #fff;
  margin-bottom: 2px;
}

.inst-text p {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.4;
  margin: 0;
}

.intro-buttons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-continue-desktop {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.4);
  transition: var(--transition-fast);
}

.btn-continue-desktop:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.55);
}

.btn-intro-vendor {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 158, 11, 0.35);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.btn-intro-vendor:hover {
  background: rgba(245, 158, 11, 0.25);
  border-color: #f59e0b;
}

/* ==========================================================================
   SHARE APP CARD (VIRAL IN-APP SHARING)
   ========================================================================== */
.share-app-card {
  margin: 24px 0 20px;
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.12) 0%, rgba(13, 18, 29, 0.95) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.share-card-badge {
  display: inline-block;
  margin-bottom: 8px;
}

.share-card-badge span {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.share-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.share-card-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 16px;
}

.share-qr-box {
  background: #ffffff;
  padding: 10px;
  border-radius: 14px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  border: 2px solid #10b981;
}

.share-qr-img {
  width: 140px;
  height: 140px;
  display: block;
  border-radius: 6px;
}

.share-qr-caption {
  font-size: 0.65rem;
  font-weight: 700;
  color: #064e3b;
  margin-top: 4px;
}

.share-actions-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-share-copy,
.btn-share-native {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.btn-share-copy:hover,
.btn-share-native:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.btn-share-native {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(5, 150, 105, 0.3));
  border-color: var(--accent-emerald);
  color: #34d399;
}

/* ==========================================================================
   MOBILE MEDIA QUERY: REAL SMARTPHONES & TABLETS (<= 768px)
   Collapses desktop frame and provides 100% full-bleed native PWA feel
   ========================================================================== */
@media (max-width: 768px) {
  .desktop-toolbar {
    display: none !important;
  }

  .desktop-intro-gateway {
    display: none !important;
  }

  .phone-mockup-wrapper {
    display: flex !important;
    padding: 0 !important;
  }

  .phone-frame-mockup {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    overflow: visible !important;
  }

  .phone-top-bar,
  .phone-bottom-bar {
    display: none !important;
  }

  .app-container {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100vh !important;
    padding-bottom: 90px !important;
    overflow: visible !important;
  }

  .bottom-nav,
  .bottom-nav-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 900 !important;
  }
}

/* Web Push Notification Banner & Bell */
.push-alert-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.16) 0%, rgba(6, 182, 212, 0.12) 100%);
  border: 1.5px solid rgba(16, 185, 129, 0.4);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 25px rgba(16, 185, 129, 0.2);
  animation: slideDownFade 0.4s ease;
}

@keyframes slideDownFade {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.push-alert-icon {
  font-size: 1.6rem;
  background: rgba(16, 185, 129, 0.2);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.push-alert-text {
  flex-grow: 1;
  text-align: left;
}

.push-alert-text strong {
  display: block;
  font-size: 0.92rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.push-alert-text p {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.35;
  margin: 0;
}

.push-alert-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-push-allow {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.35);
  transition: all 0.15s ease;
}

.btn-push-allow:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.5);
}

.btn-push-dismiss {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all 0.15s ease;
}

.btn-push-dismiss:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.btn-push-alert-toggle {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 1rem;
}

.btn-push-alert-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-push-alert-toggle.active {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}


