/* ===============================================
   SHARED GLOBAL THEME  (NextMic)
   Used by: Events, Hosts, DJs, Clubs, About
   =============================================== */

/* RESET */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: system-ui, sans-serif;
    background: radial-gradient(circle at top, #1d103a 0%, #05030a 55%);
    color: #f7f5ff;
}

/* Page wrapper */
.page-wrapper {
    padding-bottom: 80px; /* space for footer nav */
}

/* ===============================================
   FOOTER NAVIGATION (GLOBAL)
   =============================================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0; right: 0;
    height: 62px;

    background: rgba(15, 10, 35, 0.95);
    border-top: 1px solid rgba(150,120,255,0.45);
    backdrop-filter: blur(14px);

    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 999;
}

.nav-item {
    background: none;
    border: none;
    color: #cbbaff;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    cursor: pointer;
    padding: 6px;
    transition: .2s;
}

.nav-item:hover {
    opacity: 0.85;
    transform: scale(0.95);
}

.nav-item.active {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 0 6px #a97dff, 0 0 14px #d2b4ff;
}

.nav-icon {
    font-size: 20px;
}

/* ===============================================
   GLOBAL SEARCH PANEL (BOTTOM SLIDE)
   =============================================== */
.bottom-search-panel {
    position: fixed;
    bottom: 62px; /* sits above footer nav */
    left: 0; right: 0;

    background: rgba(10, 5, 25, 0.96);
    border-top: 1px solid rgba(120, 90, 255, 0.5);
    backdrop-filter: blur(14px);

    padding: 14px;
    transform: translateY(100%);
    transition: transform .35s ease;
    z-index: 998;
}

.bottom-search-panel.open {
    transform: translateY(0);
}

.search-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(150,120,255,0.6);
    background: rgba(20,12,50,0.9);
    color: white;
    font-size: 14px;
}

/* Filter pills */
.search-filters {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.filter-pill {
    padding: 7px 12px;
    background: rgba(30,20,70,0.85);
    border-radius: 999px;
    border: 1px solid rgba(150,120,255,0.6);
    font-size: 12px;
    cursor: pointer;
}

.filter-pill.active {
    background: #7d3cff;
    border-color: #a47dff;
}

/* ===============================================
   EVENT CARD GLOWS (GLOBAL)
   =============================================== */
.event-card {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 10px;
    break-inside: avoid;
    transition: .25s ease;
}

/* Normal event glow */
.event-normal {
    border: 1px solid #262039;
    animation: pulseNormal 4s infinite ease-in-out;
}

@keyframes pulseNormal {
    0% { box-shadow: 0 0 6px #6a4dff33; }
    50% { box-shadow: 0 0 16px #6a4dff55; }
    100% { box-shadow: 0 0 6px #6a4dff33; }
}

/* Promoted glow */
.event-promoted {
    border: 1px solid #ff9a00;
    animation: pulsePromoted 3s infinite ease-in-out;
}

@keyframes pulsePromoted {
    0% { box-shadow: 0 0 8px #ff9a0044; }
    50% { box-shadow: 0 0 22px #ff9a0088; }
    100% { box-shadow: 0 0 8px #ff9a0044; }
}

/* Brand card glow */
.event-brand {
    border: 1px solid #ffd700;
    animation: pulseBrand 5s infinite ease-in-out;
}

@keyframes pulseBrand {
    0% { box-shadow: 0 0 10px #ffd70033; }
    50% { box-shadow: 0 0 26px #ffd70066; }
    100% { box-shadow: 0 0 10px #ffd70033; }
}

/* ==============================================
   SHARED HEADER
================================================= */

.shared-header {
    width: 100%;
    padding: 10px 16px 0 16px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-shadow:
        0 0 4px #7f4dff,
        0 0 8px #9b6cff,
        0 0 14px #b98aff;
}

.header-tagline {
    font-size: 9px;
    opacity: 0.7;
    color: #d9d2ff;
    white-space: nowrap;
}

.header-divider {
    width: 100%;
    height: 1px;
    margin-top: 6px;
    margin-bottom: 10px;
    background: linear-gradient(
        to right,
        rgba(124, 84, 255, 0),
        rgba(124, 84, 255, 0.7),
        rgba(124, 84, 255, 0)
    );
}

/* ============================================================
   STICKY GLOBAL HEADER (SHARED ACROSS ALL PAGES)
============================================================ */

.nm-header {
    position: sticky;
    top: 0;
    z-index: 2000;
    background: rgba(10, 6, 25, 0.72);
    backdrop-filter: blur(12px);
    padding: 10px 14px 2px 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.55);
}

/* Title Row */
.title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Neon Title */
.title-left {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    text-shadow:
        0 0 4px #7f4dff,
        0 0 8px #9b6cff,
        0 0 14px #b98aff;
}

/* Small Right Subtitle */
.title-right {
    font-size: 8px;
    font-weight: 400;
    color: #d8cfff;
    opacity: 0.9;
    white-space: nowrap;
}

/* Divider Under Title */
.title-divider {
    height: 1px;
    margin-top: 6px;
    background: linear-gradient(
        to right,
        rgba(124, 84, 255, 0),
        rgba(124, 84, 255, 0.8),
        rgba(124, 84, 255, 0)
    );
}
