/* Shared Navigation Styles for MassPredict */
/* Include this file in any page to get mobile hamburger menu support */

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    padding: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-menu-btn:hover {
    background: rgba(255,255,255,0.1);
}

/* Mobile Menu Dropdown */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 24px;
    background: rgba(12, 12, 28, 0.98);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 8px;
    min-width: 220px;
    z-index: 1001;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 16px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.2s;
}

.mobile-menu a:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.mobile-menu-separator {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    margin: 8px 8px;
}

.mobile-menu-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 4px 0;
}

/* Mobile Raven AI Text Glow */
.mobile-menu .mobile-raven-ai span {
    color: #c4b5fd;
    text-shadow: 0 0 8px rgba(168, 85, 247, 0.8), 0 0 20px rgba(168, 85, 247, 0.6);
}

/* Mobile Account Section */
.mobile-menu-account {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px;
    padding: 12px 16px;
    width: calc(100% - 8px);
    margin: 4px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    text-align: left !important;
    cursor: pointer;
}

.mobile-menu-account:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
}

.mobile-menu-account svg {
    flex-shrink: 0;
    opacity: 0.5;
}

.mobile-menu-account:hover svg {
    opacity: 0.7;
}

.mobile-menu-account.logged-in {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(134, 239, 172, 0.3);
    color: #fff;
}

.mobile-menu-account.logged-in svg {
    opacity: 1;
    stroke: #86efac;
}

.mobile-menu-account.logged-in .status-dot-mobile {
    display: block;
}

.mobile-menu-account.logged-in:hover {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(134, 239, 172, 0.4);
}

.status-dot-mobile {
    display: none;
    width: 8px;
    height: 8px;
    background: #86efac;
    border-radius: 50%;
    margin-left: auto;
}

/* Auth Submenu */
.mobile-auth-submenu {
    display: none;
    padding: 4px 0 4px 24px;
}

.mobile-auth-submenu.active {
    display: block;
}

.mobile-auth-submenu a {
    padding: 10px 16px;
    font-size: 14px;
}

/* Menu Icons */
.menu-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.menu-icon.purple {
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.3);
    color: #a78bfa;
}

.menu-icon.cyan {
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: #22d3ee;
}

/* Get App Button in Mobile Menu */
.mobile-menu-getapp {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px;
    width: calc(100% - 8px);
    margin: 4px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(139, 92, 246, 0.15));
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 10px;
    color: #d8b4fe;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    text-shadow: 0 0 12px rgba(168, 85, 247, 0.8), 0 0 24px rgba(168, 85, 247, 0.5), 0 0 36px rgba(168, 85, 247, 0.3);
    box-shadow: inset 0 0 20px rgba(168, 85, 247, 0.1), 0 0 15px rgba(168, 85, 247, 0.2);
    text-align: left !important;
}

.mobile-menu-getapp:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(139, 92, 246, 0.22));
    border-color: rgba(168, 85, 247, 0.6);
    color: #e9d5ff;
    text-shadow: 0 0 14px rgba(168, 85, 247, 1), 0 0 28px rgba(168, 85, 247, 0.7), 0 0 42px rgba(168, 85, 247, 0.4);
    box-shadow: inset 0 0 24px rgba(168, 85, 247, 0.15), 0 0 20px rgba(168, 85, 247, 0.3);
}

.mobile-menu-getapp svg {
    flex-shrink: 0;
    filter: drop-shadow(0 0 4px rgba(168, 85, 247, 0.6));
}

.mobile-menu-getapp .arrow-down {
    animation: pulseDown 1.2s ease-in-out infinite;
}

@keyframes pulseDown {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(3px);
        opacity: 0.6;
    }
}

/* ── BOOMBIRD NAV ── */
.nav-link.boombird,
.nav-link-btn.nav-boombird-btn {
    position: relative;
    overflow: visible;
    gap: 2px;
    padding: 8px 10px;
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    font-size: 13px;
    color: #FF2D55;
    display: inline-flex;
    align-items: center;
}
.nav-link.boombird > *,
.nav-link-btn.nav-boombird-btn > * {
    position: relative;
    z-index: 1;
}

/* ── BB Eye dots (replace the O's) ── */
.bb-eye {
    display: inline-block;
    position: relative;
    color: transparent;
    width: 0.65em;
    height: 0.65em;
    text-align: center;
    background: radial-gradient(circle at 55% 45%, #111 28%, #ff2d55 30%, #ff2d55 55%, transparent 57%);
    border-radius: 50%;
    vertical-align: middle;
    margin: 0 -0.02em;
    transition: background 0.2s;
}
.nav-link.boombird:hover .bb-eye,
.nav-link-btn.nav-boombird-btn:hover .bb-eye {
    background: radial-gradient(circle at 55% 45%, #fff 28%, #ff2d55 30%, #ff2d55 55%, transparent 57%);
    box-shadow: 0 0 4px rgba(255,45,85,0.6);
}

/* ── Data flow indicator (animated green bars after text) ── */
@keyframes data-stream {
    0%, 100% { height: 3px; opacity: 0.5; }
    50% { height: 7px; opacity: 1; }
}
.boombird-data-indicator {
    display: inline-flex;
    align-items: flex-end;
    gap: 1.5px;
    margin-left: 3px;
    height: 9px;
    flex-shrink: 0;
}
.boombird-data-indicator span {
    display: block;
    width: 2px;
    border-radius: 1px;
    background: #00ff88;
    animation: data-stream 1.2s ease-in-out infinite;
}
.boombird-data-indicator span:nth-child(1) { animation-delay: 0s; height: 4px; }
.boombird-data-indicator span:nth-child(2) { animation-delay: 0.2s; height: 6px; }
.boombird-data-indicator span:nth-child(3) { animation-delay: 0.4s; height: 3px; }

/* Responsive Breakpoints */
@media (max-width: 900px) {
    .nav-links { display: none !important; }
    .mobile-menu-btn { display: block; }
    .nav-right .auth-signup-pill { display: none; }
    .nav-right .auth-dropdown-wrapper { display: none; }
    .nav-right .theme-dropdown-corner { display: none; }
    .nav-right .app-btn { display: none; }
}

@media (max-width: 768px) {
    .mobile-menu {
        right: 16px;
        left: 16px;
        min-width: unset;
    }
}

/* Nav Right Container */
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
