/* ============================================================
   FEASTFLOW — THEME 1: MIDNIGHT EMERALD
   Deep Navy (#0a0f1e) + Neon Emerald (#00c896)
   ============================================================ */

:root {
    --theme-bg:           #0a0f1e;
    --theme-bg-alt:       #0d1526;
    --theme-bg-card:      #111827;
    --theme-surface:      rgba(255,255,255,0.05);
    --theme-border:       rgba(255,255,255,0.1);
    --theme-primary:      #00c896;
    --theme-primary-2:    #00a87e;
    --theme-primary-grad: linear-gradient(135deg, #00c896 0%, #00a87e 100%);
    --theme-accent:       #f5c842;
    --theme-text:         #f8fafc;
    --theme-text-muted:   #94a3b8;
    --theme-text-sub:     #cbd5e1;
    --theme-glow:         0 0 40px rgba(0, 200, 150, 0.25);
    --theme-card-shadow:  0 20px 60px rgba(0,0,0,0.4);
    --theme-hero-overlay: linear-gradient(135deg, #0a0f1e 55%, rgba(0,200,150,0.08) 100%);
    --theme-navbar-bg:    #080c18;
    --theme-navbar-border:#1e293b;

    /* RGB channel values for rgba() usage in app.css */
    --theme-primary-rgb:  0, 200, 150;
    --theme-bg-rgb:       10, 15, 30;
}

/* Base Public */
body:not(.admin-body):not(:has(.admin-layout-wrapper)) {
    background-color: var(--theme-bg);
    color: var(--theme-text);
}

/* Dashboard Overrides — Midnight Emerald */
.dash-welcome {
    background: linear-gradient(135deg, var(--theme-bg-card) 0%, rgba(0, 200, 150, 0.08) 100%);
}

.dash-stat-card {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.auth-brand {
    background-image: url('../../images/frontend-media/hero-gourmet-feast.jpg');
}

/* Badge & Pill Visibility Overrides — Midnight Emerald */
body[data-theme="midnight-emerald"] .badge.bg-light,
body[data-theme="midnight-emerald"] .badge.bg-light.text-dark,
.badge.bg-light {
    background-color: rgba(0, 200, 150, 0.14) !important;
    color: #5eead4 !important;
    border: 1px solid rgba(0, 200, 150, 0.3) !important;
}

/* Success Badges — Luminous Mint Green */
body[data-theme="midnight-emerald"] .badge.bg-success,
body[data-theme="midnight-emerald"] .badge.bg-success *,
body[data-theme="midnight-emerald"] .badge.bg-success-subtle,
body[data-theme="midnight-emerald"] .badge.bg-success-subtle *,
body[data-theme="midnight-emerald"] .badge-success,
body[data-theme="midnight-emerald"] .badge-success * {
    background-color: rgba(16, 185, 129, 0.22) !important;
    color: #6ee7b7 !important;
    border: 1px solid rgba(16, 185, 129, 0.45) !important;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.15) !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
}

/* Danger Badges — Luminous Coral Red */
body[data-theme="midnight-emerald"] .badge.bg-danger,
body[data-theme="midnight-emerald"] .badge.bg-danger *,
body[data-theme="midnight-emerald"] .badge.bg-danger-subtle,
body[data-theme="midnight-emerald"] .badge.bg-danger-subtle *,
body[data-theme="midnight-emerald"] .badge-danger,
body[data-theme="midnight-emerald"] .badge-danger * {
    background-color: rgba(239, 68, 68, 0.22) !important;
    color: #fca5a5 !important;
    border: 1px solid rgba(239, 68, 68, 0.45) !important;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.15) !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
}

/* Warning / Pending Badges & Text — Luminous Amber & High Contrast */
body[data-theme="midnight-emerald"] .badge.bg-warning,
body[data-theme="midnight-emerald"] .badge.bg-warning.text-dark,
body[data-theme="midnight-emerald"] .badge.bg-warning *,
body[data-theme="midnight-emerald"] .badge.bg-warning-subtle,
body[data-theme="midnight-emerald"] .badge.bg-warning-subtle *,
body[data-theme="midnight-emerald"] .badge-warning,
body[data-theme="midnight-emerald"] .badge-warning *,
body[data-theme="midnight-emerald"] .vendor-badge.warning,
body[data-theme="midnight-emerald"] .vendor-badge.warning *,
body[data-theme="midnight-emerald"] .dash-badge-pending,
body[data-theme="midnight-emerald"] .dash-badge-pending *,
body[data-theme="midnight-emerald"] .sub-plan-badge.bg-warning,
body[data-theme="midnight-emerald"] .sub-plan-badge.bg-warning *,
body[data-theme="midnight-emerald"] .sub-plan-badge.bg-warning.text-dark,
body[data-theme="midnight-emerald"] .sub-plan-badge.bg-warning.text-dark *,
body[data-theme="midnight-emerald"] .badge-pending,
body[data-theme="midnight-emerald"] .badge-pending *,
body[data-theme="midnight-emerald"] .ff-pricing-popular-tag.bg-warning,
body[data-theme="midnight-emerald"] .reservation-status-icon.bg-warning,
.badge.bg-warning {
    background-color: rgba(245, 158, 11, 0.22) !important;
    color: #fcd34d !important;
    border: 1px solid rgba(245, 158, 11, 0.45) !important;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.15) !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
}

body[data-theme="midnight-emerald"] .text-warning,
body[data-theme="midnight-emerald"] .text-warning-emphasis {
    color: #fbbf24 !important;
}

/* Container, Surface & Button Visibility Defenses */
body[data-theme="midnight-emerald"] .bg-light,
body[data-theme="midnight-emerald"] .bg-light-subtle,
body[data-theme="midnight-emerald"] .bg-white {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--theme-text, #f8fafc) !important;
}

body[data-theme="midnight-emerald"] .bg-light *:not(.badge):not(.btn):not(.text-success):not(.text-danger):not(.text-warning):not(.text-info):not(.text-muted),
body[data-theme="midnight-emerald"] .bg-light-subtle *:not(.badge):not(.btn):not(.text-success):not(.text-danger):not(.text-warning):not(.text-info):not(.text-muted),
body[data-theme="midnight-emerald"] .bg-white *:not(.badge):not(.btn):not(.text-success):not(.text-danger):not(.text-warning):not(.text-info):not(.text-muted) {
    color: var(--theme-text, #f8fafc);
}

body[data-theme="midnight-emerald"] .bg-light .text-muted,
body[data-theme="midnight-emerald"] .bg-light-subtle .text-muted,
body[data-theme="midnight-emerald"] .bg-white .text-muted {
    color: var(--theme-text-muted, #94a3b8) !important;
}

body[data-theme="midnight-emerald"] .btn-outline-secondary {
    color: var(--theme-text, #f8fafc) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    background-color: rgba(255, 255, 255, 0.04) !important;
}

body[data-theme="midnight-emerald"] .btn-outline-secondary:hover {
    background-color: rgba(0, 200, 150, 0.15) !important;
    border-color: #00c896 !important;
    color: #00c896 !important;
}



/* ── Emerald Hero Logo ── */
.ff-emerald-hero-logo {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    object-fit: cover !important;
    border-radius: 18px !important;
    border: 3px solid rgba(0, 200, 150, 0.6) !important;
    background: #0d171d !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 16px rgba(0, 200, 150, 0.25) !important;
    flex-shrink: 0 !important;
    display: block !important;
}
.ff-emerald-hero-logo-fallback {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    border-radius: 18px !important;
    border: 3px solid rgba(0, 200, 150, 0.6) !important;
    background: linear-gradient(135deg, #0d2822, #071512) !important;
    color: var(--theme-primary, #00c896) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 2rem !important;
    font-weight: 800 !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 16px rgba(0, 200, 150, 0.25) !important;
    flex-shrink: 0 !important;
}
@media (max-width: 767px) {
    .ff-emerald-hero-logo,
    .ff-emerald-hero-logo-fallback {
        width: 64px !important;
        height: 64px !important;
        min-width: 64px !important;
        min-height: 64px !important;
        max-width: 64px !important;
        max-height: 64px !important;
        border-radius: 14px !important;
        font-size: 1.6rem !important;
    }
}

/* ================================================================ */
/* ── MIDNIGHT EMERALD: FLOATING ISLAND GLASS CONSOLE (PC/MOBILE) ── */
/* ================================================================ */
.ff-emerald-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1040;
    width: 100%;
    pointer-events: none;
    transition: padding 0.3s ease;
}

@media (min-width: 992px) {
    .ff-emerald-header-wrapper {
        padding: 10px 16px 0 16px;
    }
    
    .ff-emerald-island-nav {
        pointer-events: auto;
        max-width: 1440px;
        width: calc(100% - 24px);
        margin: 0 auto;
        background: rgba(10, 16, 30, 0.88);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border: 1px solid rgba(16, 185, 129, 0.28);
        border-radius: 999px;
        padding: 6px 18px;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(16, 185, 129, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
        transition: all 0.3s ease;
    }
}

@media (max-width: 991.98px) {
    .ff-emerald-header-wrapper {
        padding: 8px 12px 0 12px;
    }
    
    .ff-emerald-island-nav {
        pointer-events: auto;
        background: rgba(10, 16, 30, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(16, 185, 129, 0.25);
        border-radius: 18px;
        padding: 10px 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    }
}

.text-emerald {
    color: #10b981 !important;
}

.ff-emerald-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #10b981, #059669);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.ff-emerald-badge-tag {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #10b981;
    padding: 2px 7px;
    border-radius: 6px;
    vertical-align: middle;
    margin-left: 6px;
}

/* Nav Links inside Emerald Island */
.ff-emerald-island-nav .navbar-nav {
    flex-wrap: nowrap !important;
    gap: 2px !important;
}

.ff-emerald-island-nav .nav-item {
    white-space: nowrap !important;
    flex-shrink: 0;
}

.ff-emerald-island-nav .nav-link {
    color: #cbd5e1 !important;
    font-weight: 500;
    font-size: 0.825rem !important;
    padding: 6px 10px !important;
    border-radius: 999px;
    white-space: nowrap !important;
    word-break: keep-all !important;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.ff-emerald-island-nav .nav-link:hover {
    color: #ffffff !important;
    background: rgba(16, 185, 129, 0.12);
}

.ff-emerald-island-nav .nav-link.active {
    color: #10b981 !important;
    font-weight: 700;
    background: rgba(16, 185, 129, 0.16);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
}

/* Integrated Support / Hotline Widget */
.ff-emerald-support-badge {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.24);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.775rem;
    white-space: nowrap;
    color: #f1f5f9;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.ff-emerald-support-badge:hover {
    background: rgba(16, 185, 129, 0.18);
    border-color: #10b981;
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.3);
    color: #ffffff;
}

.ff-emerald-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: ff-emerald-pulse 2s infinite ease-in-out;
    margin-right: 4px;
    display: inline-block;
}

@keyframes ff-emerald-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Auth / Sign In Button */
.ff-btn-emerald-auth {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #06101e !important;
    font-weight: 700 !important;
    font-size: 0.825rem !important;
    border-radius: 999px !important;
    padding: 6px 18px !important;
    border: 1px solid #10b981 !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    transition: all 0.25s ease !important;
}

.ff-btn-emerald-auth:hover {
    background: #34d399 !important;
    color: #06101e !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.55);
    transform: translateY(-1px);
}

/* Mobile Quick Dial Button */
.ff-emerald-mobile-call-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #10b981;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ff-emerald-mobile-call-btn:hover {
    background: #10b981;
    color: #06101e;
}

/* Emerald Header Dropdowns */
.ff-emerald-island-nav .dropdown-menu,
.ff-emerald-island-nav .ff-lang-menu {
    background: #0b1524 !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6) !important;
    border-radius: 14px;
    z-index: 1050 !important;
}

.ff-emerald-island-nav .dropdown-item {
    color: #cbd5e1 !important;
}

.ff-emerald-island-nav .dropdown-item:hover {
    background: rgba(16, 185, 129, 0.14) !important;
    color: #ffffff !important;
}

.ff-emerald-island-nav .dropdown-item.active {
    background: rgba(16, 185, 129, 0.25) !important;
    color: #10b981 !important;
}

/* ── Emerald Spotlight: 3D Floating Garden Bowl with Aura ── */
.ff-emerald-spotlight-wrapper {
    position: relative;
    width: 100%;
}

.ff-featured-banner-emerald {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(16, 185, 129, 0.22);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(16, 185, 129, 0.08);
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.ff-featured-banner-emerald .ff-featured-banner-overlay {
    background: linear-gradient(90deg, #070e1c 0%, rgba(7, 14, 28, 0.94) 45%, rgba(7, 14, 28, 0.62) 80%, rgba(7, 14, 28, 0.35) 100%);
}

.ff-emerald-spotlight-wrapper:hover .ff-featured-banner-emerald {
    border-color: rgba(16, 185, 129, 0.48);
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.65), 0 0 45px rgba(16, 185, 129, 0.2);
}

.ff-emerald-floating-bowl-wrap {
    position: absolute;
    top: 50%;
    right: clamp(-30px, -2vw, -10px);
    transform: translateY(-50%);
    z-index: 5;
    pointer-events: none;
    will-change: transform;
    animation: ff-emerald-bowl-float 7s ease-in-out infinite alternate;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.ff-emerald-floating-bowl-img {
    width: clamp(340px, 31vw, 430px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 30px 55px rgba(0, 0, 0, 0.92)) drop-shadow(0 0 45px rgba(16, 185, 129, 0.42));
    transition: filter 0.45s ease;
}

.ff-emerald-bowl-glow {
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.45) 0%, rgba(16, 185, 129, 0.15) 50%, transparent 72%);
    filter: blur(32px);
    z-index: -1;
    pointer-events: none;
    animation: ff-emerald-glow-pulse 6s ease-in-out infinite alternate;
}

@keyframes ff-emerald-bowl-float {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }
    100% {
        transform: translateY(calc(-50% - 18px)) rotate(-3deg);
    }
}

@keyframes ff-emerald-glow-pulse {
    0% {
        transform: scale(0.92);
        opacity: 0.65;
    }
    100% {
        transform: scale(1.18);
        opacity: 1;
    }
}

/* On Card Hover: Elevate & Intensify */
.ff-emerald-spotlight-wrapper:hover .ff-emerald-floating-bowl-wrap {
    transform: translateY(calc(-50% - 24px)) scale(1.045) rotate(-2deg);
}

.ff-emerald-spotlight-wrapper:hover .ff-emerald-floating-bowl-img {
    filter: drop-shadow(0 38px 70px rgba(0, 0, 0, 0.98)) drop-shadow(0 0 60px rgba(16, 185, 129, 0.6));
}

/* Tablet Layout (max-width: 991.98px) */
@media (max-width: 991.98px) {
    .ff-emerald-floating-bowl-wrap {
        right: -10px;
    }
    .ff-emerald-floating-bowl-img {
        width: clamp(230px, 32vw, 290px);
    }
    .ff-featured-banner-emerald .ff-featured-banner-content {
        max-width: 60%;
        padding: 2.2rem 1.6rem;
    }
}

/* Mobile Screens (max-width: 767.98px) */
@media (max-width: 767.98px) {
    .ff-emerald-floating-bowl-wrap {
        right: -25px;
        top: auto;
        bottom: -20px;
        transform: none !important;
        opacity: 0.22;
        pointer-events: none;
        animation: none !important;
    }
    .ff-emerald-floating-bowl-img {
        width: 210px;
        filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.95));
    }
    .ff-emerald-bowl-glow {
        display: none;
    }
    .ff-featured-banner-emerald .ff-featured-banner-content {
        max-width: 100%;
        padding: 2rem 1.25rem;
    }
}

/* ── Emerald Cuisines: Live Kitchen Table & Raining Spices ── */
.ff-cuisines-emerald-section {
    position: relative;
    overflow: hidden;
    background: #060e1a;
    padding: 6rem 0;
}

/* Layer 1: Kitchen Counter & Delicacy Plates Canvas */
.ff-emerald-kitchen-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.ff-emerald-kitchen-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    transform: scale(1.04);
    filter: brightness(0.65) saturate(1.15);
    transition: transform 10s ease;
}

.ff-cuisines-emerald-section:hover .ff-emerald-kitchen-img {
    transform: scale(1.08);
}

.ff-emerald-kitchen-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(6, 14, 26, 0.78) 0%, rgba(6, 14, 26, 0.92) 58%, #060e1a 100%),
                linear-gradient(180deg, #060e1a 0%, rgba(6, 14, 26, 0.2) 25%, rgba(6, 14, 26, 0.25) 75%, #060e1a 100%);
    box-shadow: inset 0 0 100px rgba(6, 14, 26, 0.95);
}

/* Layer 2: Raining Spice Dust Particles */
.ff-emerald-spice-rain {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.ff-spice-particle {
    position: absolute;
    top: -20px;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform, opacity;
    animation: ff-spice-fall linear infinite;
}

/* 12 Randomly Scattered Falling Spice Specks */
.ff-sp-1  { left: 8%;  width: 5px; height: 5px; background: #f59e0b; box-shadow: 0 0 8px rgba(245, 158, 11, 0.8); animation-duration: 6.2s; animation-delay: 0.2s; }
.ff-sp-2  { left: 16%; width: 4px; height: 4px; background: #ef4444; box-shadow: 0 0 6px rgba(239, 68, 68, 0.8);  animation-duration: 7.5s; animation-delay: 1.8s; }
.ff-sp-3  { left: 24%; width: 6px; height: 6px; background: #10b981; box-shadow: 0 0 10px rgba(16, 185, 129, 0.9); animation-duration: 5.8s; animation-delay: 0.8s; }
.ff-sp-4  { left: 33%; width: 3px; height: 3px; background: #fbbf24; box-shadow: 0 0 6px rgba(251, 191, 36, 0.7); animation-duration: 8.2s; animation-delay: 2.5s; }
.ff-sp-5  { left: 42%; width: 5px; height: 5px; background: #f97316; box-shadow: 0 0 8px rgba(249, 115, 22, 0.8); animation-duration: 6.8s; animation-delay: 3.2s; }
.ff-sp-6  { left: 51%; width: 6px; height: 6px; background: #10b981; box-shadow: 0 0 10px rgba(16, 185, 129, 0.8); animation-duration: 5.4s; animation-delay: 1.1s; }
.ff-sp-7  { left: 59%; width: 4px; height: 4px; background: #fbbf24; box-shadow: 0 0 6px rgba(251, 191, 36, 0.8); animation-duration: 7.1s; animation-delay: 0.4s; }
.ff-sp-8  { left: 68%; width: 5px; height: 5px; background: #ef4444; box-shadow: 0 0 8px rgba(239, 68, 68, 0.8);  animation-duration: 6.4s; animation-delay: 2.1s; }
.ff-sp-9  { left: 77%; width: 6px; height: 6px; background: #f59e0b; box-shadow: 0 0 10px rgba(245, 158, 11, 0.9); animation-duration: 5.9s; animation-delay: 3.8s; }
.ff-sp-10 { left: 85%; width: 3px; height: 3px; background: #10b981; box-shadow: 0 0 6px rgba(16, 185, 129, 0.7); animation-duration: 8.5s; animation-delay: 1.4s; }
.ff-sp-11 { left: 91%; width: 5px; height: 5px; background: #fbbf24; box-shadow: 0 0 8px rgba(251, 191, 36, 0.8); animation-duration: 6.6s; animation-delay: 2.9s; }
.ff-sp-12 { left: 96%; width: 4px; height: 4px; background: #f97316; box-shadow: 0 0 6px rgba(249, 115, 22, 0.7); animation-duration: 7.8s; animation-delay: 0.6s; }

@keyframes ff-spice-fall {
    0% {
        transform: translateY(-20px) translateX(0) scale(0.8);
        opacity: 0;
    }
    15% {
        opacity: 0.85;
    }
    85% {
        opacity: 0.85;
    }
    100% {
        transform: translateY(105vh) translateX(35px) scale(1.1);
        opacity: 0;
    }
}

/* Flank Floating Spice Accents */
.ff-emerald-cuisine-flank {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    will-change: transform;
}

.ff-emerald-cuisine-flank.ff-flank-left {
    left: clamp(-40px, -2vw, -10px);
    top: 40%;
    animation: ff-flank-sway-left 8s ease-in-out infinite alternate;
}

.ff-emerald-cuisine-flank.ff-flank-right {
    right: clamp(-40px, -2vw, -10px);
    top: 60%;
    animation: ff-flank-sway-right 9s ease-in-out infinite alternate-reverse;
}

.ff-flank-spice-img {
    width: clamp(75px, 7vw, 115px);
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 25px rgba(16, 185, 129, 0.35));
}

.ff-anise-spin {
    animation: ff-anise-spin-float 14s linear infinite;
}

@keyframes ff-anise-spin-float {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ff-mint-float {
    animation: ff-mint-drift 6s ease-in-out infinite alternate;
}

@keyframes ff-mint-drift {
    0% { transform: translateY(0) rotate(0deg) scale(0.95); }
    100% { transform: translateY(-16px) rotate(8deg) scale(1.05); }
}

@keyframes ff-flank-sway-left {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-22px) translateX(12px); }
}

@keyframes ff-flank-sway-right {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-26px) translateX(-12px); }
}

/* Layer 3: Foreground Content & Cuisine Cards */
.ff-cuisines-emerald-content {
    position: relative;
    z-index: 3;
}

.ff-cuisines-emerald-section .ff-cuisine-card {
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.ff-cuisines-emerald-section .ff-cuisine-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(16, 185, 129, 0.35);
}

/* Tablet & Mobile Responsiveness */
@media (max-width: 991.98px) {
    .ff-emerald-cuisine-flank {
        display: none !important;
    }
    .ff-emerald-kitchen-img {
        filter: brightness(0.55);
    }
}

@media (max-width: 767.98px) {
    .ff-spice-particle {
        display: none !important;
    }
}

/* ================================================================ */
/* ── MIDNIGHT EMERALD: COURIER FLEET RECRUITMENT SECTION ────────── */
/* ================================================================ */

.ff-emerald-driver-section {
    background: linear-gradient(180deg, #070b14 0%, #0a1122 50%, #070b14 100%);
    border-top: 1px solid rgba(16, 185, 129, 0.15);
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
    padding: 85px 0 95px;
    overflow: hidden;
    position: relative;
}

.ff-emerald-driver-glow {
    position: absolute;
    width: 650px;
    height: 650px;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, rgba(16, 185, 129, 0.05) 50%, transparent 75%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 1;
}

.ff-emerald-driver-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.28);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.ff-emerald-pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: ff-emerald-dot-pulse 2s infinite ease-in-out;
}

@keyframes ff-emerald-dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 12px #10b981; }
    50% { opacity: 0.4; transform: scale(0.85); box-shadow: 0 0 4px #10b981; }
}

.ff-emerald-driver-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.18;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.ff-emerald-driver-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 2rem;
    max-width: 620px;
}

/* 4 Cyber-Glass Perks */
.ff-emerald-driver-perk-card {
    background: rgba(11, 19, 36, 0.65);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    backdrop-filter: blur(16px);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.ff-emerald-driver-perk-card:hover {
    transform: translateY(-3px);
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.15);
}

.ff-emerald-driver-perk-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.ff-emerald-driver-perk-title {
    font-size: 0.925rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 4px;
}

.ff-emerald-driver-perk-desc {
    font-size: 0.785rem;
    line-height: 1.45;
    color: #94a3b8;
    margin-bottom: 0;
}

/* Action Buttons */
.ff-emerald-driver-btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 14px 26px;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
}

.ff-emerald-driver-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.5);
    color: #ffffff !important;
}

.ff-emerald-driver-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1 !important;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 13px 22px;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ff-emerald-driver-btn-secondary:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.35);
    color: #10b981 !important;
}

/* Right Column: Cyber-Glass Telemetry HUD & 3D Rider */
.ff-emerald-driver-hud-card {
    background: rgba(11, 19, 36, 0.85);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(16, 185, 129, 0.15);
    backdrop-filter: blur(24px);
    position: relative;
    overflow: hidden;
}

.ff-emerald-driver-hud-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
}

.ff-emerald-driver-hud-ping {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
}

.ff-emerald-driver-hud-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #10b981;
    font-family: monospace;
}

.ff-emerald-driver-hud-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    padding: 3px 10px;
    border-radius: 999px;
}

/* 3D Visual Wrap */
.ff-emerald-driver-visual-wrap {
    position: relative;
    text-align: center;
    padding: 24px 0 16px;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ff-emerald-driver-visual-aura {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, rgba(16, 185, 129, 0.08) 60%, transparent 80%);
    filter: blur(35px);
    z-index: 1;
    animation: ff-emerald-aura-pulse 4s infinite ease-in-out alternate;
}

@keyframes ff-emerald-aura-pulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    100% { transform: scale(1.15); opacity: 1; }
}

.ff-emerald-driver-visual-img {
    max-height: 290px;
    width: auto;
    max-width: 95%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 25px rgba(16, 185, 129, 0.3));
    animation: ff-emerald-rider-float 4.5s infinite ease-in-out;
}

@keyframes ff-emerald-rider-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Floating Chips */
.ff-emerald-driver-floating-chip {
    position: absolute;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 12px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    z-index: 3;
    text-align: left;
    backdrop-filter: blur(12px);
}

.ff-emerald-driver-floating-chip.chip-route {
    top: 25px;
    left: 0;
    animation: ff-chip-float-left 5s infinite ease-in-out;
}

.ff-emerald-driver-floating-chip.chip-earnings {
    bottom: 20px;
    right: 0;
    animation: ff-chip-float-right 5.5s infinite ease-in-out;
}

@keyframes ff-chip-float-left {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes ff-chip-float-right {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

.chip-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.chip-sub {
    font-size: 0.68rem;
    color: #94a3b8;
    line-height: 1.2;
}

/* HUD Metrics Strip */
.ff-emerald-driver-hud-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding-top: 18px;
    border-top: 1px solid rgba(16, 185, 129, 0.15);
    text-align: center;
}

.ff-emerald-driver-stat-col {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 10px;
    padding: 8px 4px;
}

.stat-num {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
}

.stat-lbl {
    font-size: 0.65rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

/* Responsive */
@media (max-width: 991.98px) {
    .ff-emerald-driver-title {
        font-size: 2rem;
    }
    .ff-emerald-driver-section {
        padding: 60px 0 70px;
    }
}

@media (max-width: 575.98px) {
    .ff-emerald-driver-hud-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .ff-emerald-driver-floating-chip {
        display: none;
    }
}

/* ==========================================================================
   MIDNIGHT EMERALD: RESTAURANT PARTNER RECRUITMENT SECTION
   ========================================================================== */

.ff-emerald-vendor-section {
    padding: 95px 0 105px;
    background: linear-gradient(180deg, #090e1a 0%, #060b14 100%);
    border-top: 1px solid rgba(16, 185, 129, 0.12);
    overflow: hidden;
}

.ff-emerald-vendor-glow {
    position: absolute;
    top: 25%;
    left: -8%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.13) 0%, transparent 70%);
    filter: blur(55px);
    pointer-events: none;
    z-index: 1;
}

/* Master Laptop & Multi-Screen Console Wrap */
.ff-emerald-vendor-console-wrap {
    position: relative;
    z-index: 2;
}

/* Interactive Top Tabs Switcher */
.ff-emerald-console-nav-bar {
    position: relative;
}

.ff-emerald-console-pills {
    gap: 8px;
}

.ff-emerald-console-tab {
    background: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid rgba(16, 185, 129, 0.22) !important;
    color: #94a3b8 !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    padding: 7px 16px !important;
    border-radius: 999px !important;
    transition: all 0.25s ease !important;
    cursor: pointer;
}

.ff-emerald-console-tab:hover {
    border-color: rgba(16, 185, 129, 0.45) !important;
    color: #e2e8f0 !important;
}

.ff-emerald-console-tab.active {
    background: rgba(16, 185, 129, 0.18) !important;
    border-color: #10b981 !important;
    color: #10b981 !important;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.28) !important;
}

.ff-emerald-console-live-ping {
    font-size: 0.75rem;
    font-weight: 600;
    color: #10b981;
}

.ff-ping-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: ff-emerald-dot-pulse 1.8s infinite;
}

.ff-ping-text {
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Master Laptop Chassis */
.ff-emerald-vendor-laptop-chassis {
    background: #0d1527;
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: 16px;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.75), 0 0 35px rgba(16, 185, 129, 0.12);
    position: relative;
    overflow: visible;
}

.ff-emerald-laptop-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 18px;
    background: rgba(10, 16, 30, 0.96);
    border-bottom: 1px solid rgba(16, 185, 129, 0.18);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.ff-mac-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ff-mac-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.ff-mac-dots .dot-red {
    background: #ff5f56;
}

.ff-mac-dots .dot-yellow {
    background: #ffbd2e;
}

.ff-mac-dots .dot-green {
    background: #27c93f;
}

.ff-laptop-title {
    color: #cbd5e1;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.74rem;
    letter-spacing: 0.03em;
}

.ff-laptop-status {
    color: #10b981;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ff-status-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    display: inline-block;
}

.ff-emerald-laptop-screen {
    background: #070d19;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    overflow: visible;
    position: relative;
}

.ff-emerald-laptop-screen .tab-pane {
    position: relative;
}

.ff-emerald-screen-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

/* Floating Overlapping Phone */
.ff-emerald-vendor-floating-phone {
    position: absolute;
    right: -20px;
    bottom: -28px;
    width: 145px;
    z-index: 5;
    background: #090e1a;
    border: 2.5px solid rgba(16, 185, 129, 0.45);
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.82), 0 0 22px rgba(16, 185, 129, 0.22);
    overflow: hidden;
    animation: ff-phone-float 6s infinite ease-in-out;
}

.ff-phone-notch {
    width: 38px;
    height: 5px;
    background: #1e293b;
    border-radius: 4px;
    margin: 6px auto 4px;
}

.ff-phone-screen-img {
    width: 100%;
    height: auto;
    display: block;
}

.ff-phone-home-indicator {
    width: 36px;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    margin: 4px auto 5px;
}

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

/* Floating Notification Toasts */
.ff-emerald-vendor-floating-toast {
    position: absolute;
    background: rgba(15, 23, 42, 0.94);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 12px;
    padding: 8px 14px;
    align-items: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65);
    z-index: 6;
    backdrop-filter: blur(12px);
    text-align: left;
}

.ff-emerald-vendor-floating-toast.toast-kds {
    top: -18px;
    right: 20px;
    animation: ff-toast-float-1 5s infinite ease-in-out;
}

.ff-emerald-vendor-floating-toast.toast-promo {
    bottom: 12px;
    left: -20px;
    animation: ff-toast-float-2 6s infinite ease-in-out;
}

@keyframes ff-toast-float-1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes ff-toast-float-2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

.toast-head {
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.toast-sub {
    font-size: 0.68rem;
    color: #94a3b8;
    line-height: 1.2;
}

/* Vendor Bottom Metric Strip */
.ff-emerald-vendor-metric-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.ff-emerald-vendor-stat-cell {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.16);
    border-radius: 12px;
    padding: 10px 6px;
    text-align: center;
}

.stat-number {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.2;
}

.stat-caption {
    font-size: 0.66rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

/* Right Column: Copy & Perks */
.ff-emerald-vendor-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 999px;
    padding: 6px 14px;
    margin-bottom: 18px;
}

.ff-emerald-vendor-title {
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.ff-emerald-vendor-lead {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 24px;
}

.ff-emerald-vendor-perks-row {
    margin-bottom: 24px;
}

.ff-emerald-vendor-perk-card {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    backdrop-filter: blur(10px);
}

.ff-emerald-vendor-perk-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.45);
    background: rgba(15, 23, 42, 0.92);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(16, 185, 129, 0.15);
}

.ff-emerald-vendor-perk-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.ff-emerald-vendor-perk-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.ff-emerald-vendor-perk-desc {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-bottom: 0;
    line-height: 1.5;
}

.ff-emerald-vendor-actions-row {
    margin-top: 4px;
}

.ff-emerald-vendor-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #041017 !important;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: -0.01em;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.38);
    transition: all 0.3s ease;
    text-align: center;
    border: none;
}

.ff-emerald-vendor-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(16, 185, 129, 0.55);
    color: #000000 !important;
}

.ff-emerald-vendor-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #e2e8f0 !important;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: -0.01em;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.ff-emerald-vendor-btn-secondary:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: #10b981;
    color: #10b981 !important;
}

/* Responsive */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .ff-emerald-vendor-btn-primary,
    .ff-emerald-vendor-btn-secondary {
        font-size: 0.82rem;
        padding: 10px 8px;
    }
}

@media (max-width: 991.98px) {
    .ff-emerald-vendor-title {
        font-size: 2rem;
    }
    .ff-emerald-vendor-section {
        padding: 60px 0 70px;
    }
    .ff-emerald-vendor-floating-phone {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .ff-emerald-vendor-metric-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .ff-emerald-vendor-floating-toast {
        display: none;
    }
}

/* ==========================================================================
   MIDNIGHT EMERALD: REVIEWS & TESTIMONIALS SECTION ("VOICES OF FEASTFLOW")
   ========================================================================== */

.ff-emerald-reviews-section {
    padding: 95px 0 105px;
    background: #070d19;
    border-top: 1px solid rgba(16, 185, 129, 0.12);
    position: relative;
    overflow: hidden;
}

.ff-emerald-reviews-glow {
    position: absolute;
    right: -6%;
    top: 20%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.11) 0%, transparent 70%);
    filter: blur(55px);
    pointer-events: none;
    z-index: 1;
}

.ff-emerald-reviews-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 999px;
    padding: 6px 14px;
    margin-bottom: 16px;
}

.ff-emerald-reviews-title {
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.ff-emerald-reviews-lead {
    font-size: 0.98rem;
    line-height: 1.65;
    color: #94a3b8;
    max-width: 680px;
}

/* Trust Rating Pill */
.ff-emerald-trust-rating-pill {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: 16px;
    padding: 12px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    text-align: left;
    backdrop-filter: blur(12px);
}

.stars-gold {
    color: #f59e0b;
    font-size: 0.88rem;
    letter-spacing: 2px;
}

.rating-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-left: 4px;
}

.rating-meta {
    font-size: 0.72rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.live-dot-mini {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
    animation: ff-emerald-dot-pulse 1.8s infinite;
}

/* Filter Pills Navigation */
.ff-emerald-filter-pills {
    gap: 8px;
    background: rgba(10, 16, 30, 0.85);
    border: 1px solid rgba(16, 185, 129, 0.18);
    border-radius: 999px;
    padding: 6px;
    backdrop-filter: blur(12px);
}

.ff-emerald-filter-tab {
    border-radius: 999px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    padding: 8px 20px !important;
    transition: all 0.25s ease !important;
    background: transparent !important;
    border: 1px solid transparent !important;
}

.ff-emerald-filter-tab:hover {
    color: #ffffff !important;
    border-color: rgba(16, 185, 129, 0.25) !important;
}

.ff-emerald-filter-tab.active {
    background: rgba(16, 185, 129, 0.18) !important;
    color: #10b981 !important;
    border-color: #10b981 !important;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.28) !important;
}

.ff-tab-live-badge {
    font-size: 0.65rem;
    background: #10b981;
    color: #041017;
    font-weight: 700;
    border-radius: 6px;
    padding: 2px 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Cyber-Glass Review Cards */
.ff-emerald-review-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
}

.ff-emerald-review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.48);
    background: rgba(15, 23, 42, 0.92);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(16, 185, 129, 0.16);
}

.review-rating-num {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
}

.ff-review-verified-badge {
    font-size: 0.7rem;
    font-weight: 600;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 999px;
    padding: 3px 10px;
    display: inline-flex;
    align-items: center;
}

.ff-review-comment {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #cbd5e1;
    font-style: italic;
}

.ff-review-resto-chip {
    font-size: 0.76rem;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 8px;
    padding: 4px 10px;
    align-self: flex-start;
}

.resto-link {
    color: #10b981;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.resto-link:hover {
    color: #34d399;
    text-decoration: underline;
}

.author-avatar-initial {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(5, 150, 105, 0.45) 100%);
    border: 1px solid rgba(16, 185, 129, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: #10b981;
    flex-shrink: 0;
}

.author-img-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(16, 185, 129, 0.4);
    flex-shrink: 0;
}

.author-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.author-sub {
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.2;
    margin-top: 2px;
}

.review-timestamp {
    font-size: 0.72rem;
    color: #64748b;
}

/* Metric Badges for Partners & Couriers */
.ff-emerald-metric-badge {
    font-size: 0.74rem;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    padding: 4px 10px;
    display: inline-flex;
    align-items: center;
}

.ff-emerald-metric-badge.badge-courier {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.3);
}

/* Responsive */
@media (max-width: 991.98px) {
    .ff-emerald-reviews-title {
        font-size: 2rem;
    }
    .ff-emerald-reviews-section {
        padding: 60px 0 70px;
    }
}

@media (max-width: 575.98px) {
    .ff-emerald-filter-pills {
        flex-direction: column;
        border-radius: 16px;
        width: 100%;
    }
    .ff-emerald-filter-tab {
        width: 100%;
        text-align: center;
    }
}



