:root {
    --primary-color: #00ff88;
    --secondary-color: #00ccff;
    --accent-color: #ff0055;
    --glass-bg: rgba(20, 20, 25, 0.65);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-color: #ffffff;
    --text-muted: #aaaaaa;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: #1a1a1a;
    color: var(--text-color);
    height: 100vh;
    overflow: hidden;
}

#app-container {
    display: flex;
    height: 100vh;
    width: 100vw;
    position: relative;
}

/* Map Styling */
#map {
    width: 100%;
    height: 100%;
    z-index: 1;
    background: #0a0a0a;
    /* Fallback */
}

/* Glassmorphism Sidebar */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-right: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

#sidebar {
    width: 380px;
    height: 100vh;
    flex-shrink: 0;
    z-index: 1000;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    top: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-right: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-header {
    flex-shrink: 0;
}

#sidebar-content {
    flex: 1;
    overflow-y: auto !important;
    overflow-x: hidden;
    padding-right: 5px;
    margin-bottom: 0.5rem;
}

/* Custom Scrollbar for Sidebar */
#sidebar-content::-webkit-scrollbar {
    width: 4px;
}

#sidebar-content::-webkit-scrollbar-track {
    background: transparent;
}

#sidebar-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

#sidebar-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.flex-grow {
    flex-grow: 1;
}

/* Social Links Pop */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 0.8rem;
}

.social-icon {
    color: var(--text-muted);
    font-size: 1.3rem;
    background: rgba(255, 255, 255, 0.05);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
}

.social-icon:hover {
    color: #fff;
    background: var(--primary-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Loud Current Location Marker */
/* Loud Current Location Marker */
.current-location-marker {
    z-index: 9999 !important;
    overflow: visible !important;
}

.current-location-marker .glowing-center {
    fill: #00ff88;
    animation: markerPulseCurrent 0.8s infinite alternate;
}

.current-location-marker path {
    stroke: #00ff88;
    fill: #00ff88;
    fill-opacity: 0.2;
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 1));
}

/* Massive Glowing Ripple Effect */
.current-location-marker::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25px;
    height: 25px;
    background: rgba(0, 255, 136, 0.4);
    border: 2px solid #00ff88;
    border-radius: 50%;
    z-index: -1;
    animation: rippleWave 1.5s infinite ease-out;
}

.current-location-marker::after {
    content: 'STAGING AREA';
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    background: #00ff88;
    color: #000;
    font-weight: 800;
    font-size: 0.55rem;
    padding: 3px 10px;
    border-radius: 4px;
    white-space: nowrap;
    letter-spacing: 1.5px;
    box-shadow: 0 0 20px rgba(0, 255, 136, 1);
    animation: badgeFloat 2s infinite ease-in-out;
}

@keyframes badgeFloat {

    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, -5px);
    }
}

@keyframes rippleWave {
    0% {
        width: 15px;
        height: 15px;
        opacity: 0.8;
    }

    100% {
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}

@keyframes markerPulseCurrent {
    from {
        opacity: 0.7;
        filter: drop-shadow(0 0 5px #00ff88);
    }

    to {
        opacity: 1;
        filter: drop-shadow(0 0 25px #00ff88);
        transform: scale(1.4);
    }
}

.legend-item.current-highlight {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.05);
}

.legend-item.current-highlight span:last-child {
    font-weight: 700;
    color: #fff;
}

.sidebar-header h1 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.top-brand {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100;
    pointer-events: none;
    text-align: center;
}

.brand-text {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(45deg, #fff, #00ff88);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

#greeting-container {
    margin-bottom: 1.5rem;
}

#dynamic-greeting {
    font-size: 2.5rem;
    /* Slightly larger again but not huge */
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary-color);
    margin: 0;
    transition: opacity 0.5s ease;
}

.user-name {
    font-size: 1.2rem;
    font-weight: 400;
    color: #fff;
    margin-top: 0.2rem;
    opacity: 0.7;
    letter-spacing: 1px;
}

.sidebar-narrative {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #f0f0f0;
    margin: 1.8rem 0;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.sidebar-narrative p {
    margin-bottom: 1.2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.legend-section h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.5rem;
}

/* Blur the opportunities list as requested */
.opportunities-list {
    filter: blur(5px);
    transition: filter 0.4s ease;
    opacity: 0.6;
}

.opportunities-list:hover {
    filter: blur(0);
    opacity: 1;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

/* Tech Marker Styles */
.tech-marker {
    transition: all 0.3s ease;
}

.tech-marker:hover svg {
    filter: drop-shadow(0 0 8px currentColor);
    transform: scale(1.2);
}

.glowing-center {
    animation: markerPulse 2s infinite alternate;
}

@keyframes markerPulse {
    from {
        opacity: 0.6;
        r: 3;
    }

    to {
        opacity: 1;
        r: 5;
    }
}

/* Tech Route Line Styling */
/* The main dashed line moving */
.route-line-anim {
    stroke-dasharray: 10, 15;
    animation: dashFlow 30s linear infinite;
}

/* The glow underneath */
.route-glow {
    opacity: 0.5;
    filter: blur(3px);
}

@keyframes dashFlow {
    from {
        stroke-dashoffset: 0;
    }

    to {
        stroke-dashoffset: -1000;
    }
}

/* Fullscreen Button removed from HTML, keeping styles in case needed later or just cleanup */
#fullscreen-btn {
    display: none;
}

.glass-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.4);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Loud but not so loud label */
.coming-soon-label {
    position: absolute;
    top: 50%;
    left: 55%;
    /* Offset slightly due to sidebar */
    transform: translate(-50%, -50%) rotate(-10deg);
    font-size: 4vw;
    /* Reduced from 8vw */
    font-weight: 900;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.05);
    /* Very subtle fill */
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.3);
    /* Outline makes it readable but airy */
    z-index: 400;
    /* Above markers? Maybe below controls but visible */
    pointer-events: none;
    /* Let clicks pass through */
    white-space: nowrap;
    letter-spacing: 10px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.2));
    animation: breathe 5s infinite alternate;
}

@keyframes breathe {
    from {
        transform: translate(-50%, -50%) rotate(-10deg) scale(1);
    }

    to {
        transform: translate(-50%, -50%) rotate(-10deg) scale(1.05);
    }
}

.color-box {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.home-base {
    background-color: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-color);
}

.route-line {
    background-color: var(--secondary-color);
    box-shadow: 0 0 5px var(--secondary-color);
}

.current-loc {
    background-color: #00ff88;
    box-shadow: 0 0 8px #00ff88;
    animation: pulse 1.5s infinite;
}

/* Nav Tabs */
.nav-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
    flex-shrink: 0;
}

.nav-tab {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-family: var(--font-main);
    font-weight: 600;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
}

.nav-tab:hover {
    color: #fff;
}

.nav-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.gallery-item {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.8rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

.gallery-info span {
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gallery-info small {
    font-size: 0.6rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
}

/* Stats */
.stats-mini {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.stat-box {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.8rem;
    border-radius: 10px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Info Panel for Interactivity */
#info-panel {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    margin-top: auto;
    /* Push to bottom of content area */
    opacity: 1;
    transition: opacity 0.3s ease;
}

#info-panel.hidden {
    opacity: 0.5;
    pointer-events: none;
}

#info-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

#info-desc {
    font-size: 0.9rem;
    color: #ddd;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

#info-stats {
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-muted);
}

#info-stats li {
    margin-bottom: 0.3rem;
}

.sidebar-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
    margin-top: auto;
}

.social-handles {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.handle-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.handle-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.handle-link i {
    width: 20px;
}

/* Floating Overlay Title */
.overlay-title {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 999;
    background: var(--glass-bg);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.overlay-title span {
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: #fff;
}

/* Leaflet Customizations for Dark Mode/Realistic feel */
.leaflet-container {
    background: #0e0e0e !important;
}

.custom-popup .leaflet-popup-content-wrapper {
    background: rgba(20, 20, 25, 0.9);
    backdrop-filter: blur(10px);
    color: #fff;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
}

.custom-popup .leaflet-popup-tip {
    background: rgba(20, 20, 25, 0.9);
}

.custom-popup .leaflet-popup-close-button {
    color: #fff;
}

/* Marker Animations */
.contact-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-link {
    color: var(--primary-color);
    text-decoration: none;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.3s;
}

.phone-link:hover {
    opacity: 0.8;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 0, 85, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 0, 85, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 0, 85, 0);
    }
}

/* Modals & Overlays */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: all 0.4s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.glass-card {
    background: rgba(30, 30, 35, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 2rem;
    max-width: 90%;
    width: 500px;
    position: relative;
    text-align: center;
    color: #fff;
    transform: scale(1);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.hidden .glass-card {
    transform: scale(0.9);
}

/* Intro Card Specifics */
.intro-card h2 {
    font-size: 2rem;
    margin: 1rem 0 0.5rem;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.intro-card h3 {
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

/* Sidebar Profile Styles */
.profile-mini {
    margin-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.intro-text {
    font-size: 1.1rem;
    /* Increased */
    color: #eee;
    line-height: 1.6;
}

.modal-narrative {
    margin: 1.5rem 0;
    text-align: left;
    font-size: 1rem;
    line-height: 1.6;
    color: #eee;
}

.modal-narrative p {
    margin-bottom: 1rem;
}

.handle-highlight {
    font-family: 'Courier New', Courier, monospace;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    margin: 1rem 0;
}

.intro-text strong {
    color: var(--primary-color);
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--secondary-color);
    background: rgba(0, 204, 255, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-color);
    animation: statusPulse 1.5s infinite;
}

@keyframes statusPulse {
    0% {
        opacity: 0.5;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }

    100% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.profile-section {
    position: relative;
    margin-bottom: 1rem;
}

.profile-img-placeholder {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.profile-img-placeholder i {
    font-size: 2.5rem;
    color: #fff;
}

.action-btn {
    margin-top: 2rem;
    background: var(--primary-color);
    color: #000;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.4);
    background: #fff;
}

.close-modal-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal-btn:hover {
    color: #fff;
}

/* Location Card / Carousel */
.location-card {
    width: 800px;
    /* Wider for carousel */
    text-align: left;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    height: 300px;
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #222 0%, #000 100%);
    color: #555;
}

.placeholder-image i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.location-info-expanded {
    padding: 2rem;
}

.badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 204, 255, 0.2);
    color: #00ccff;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tags-container {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #eee;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tag:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Mobile Friendly Adjustments - Bottom Sheet Style */
@media (max-width: 768px) {
    .top-brand {
        top: 1rem;
    }

    .brand-text {
        font-size: 1.5rem;
    }

    #app-container {
        flex-direction: row;
    }

    #map {
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }

    #sidebar {
        width: 100%;
        height: 75vh;
        top: auto;
        bottom: 0;
        left: 0;
        position: absolute;
        border-right: none;
        border-top: 3px solid var(--primary-color);
        border-radius: 30px 30px 0 0;
        background: rgba(10, 10, 15, 0.98);
        padding: 1.5rem 1rem;
        padding-top: 2rem;
        z-index: 2000;
        transform: translateY(0);
        overflow: hidden;
    }

    /* Compress header on mobile to show content earlier */
    .sidebar-header {
        flex-shrink: 0;
    }

    #greeting-container {
        margin-bottom: 0.5rem;
    }

    #dynamic-greeting {
        font-size: 1.8rem;
    }

    .sidebar-narrative {
        font-size: 0.95rem;
        margin: 0.8rem 0;
        overflow: visible;
    }



    .nav-tabs {
        margin-bottom: 0.8rem;
        flex-shrink: 0;
    }

    #sidebar-content {
        flex-grow: 1;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        padding-right: 0;
        margin-bottom: 0.5rem;
    }

    .sidebar-footer {
        flex-shrink: 0;
        padding-top: 0.5rem;
        margin-top: 0;
    }

    #sidebar:not(.active) {
        transform: translateY(calc(100% - 60px));
        /* Pull bar peek */
    }

    #sidebar::after {
        content: '';
        position: absolute;
        top: 12px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 5px;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 10px;
    }

    #sidebar.active {
        transform: translateY(0);
    }

    #sidebar {
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    #sidebar.dragging {
        transition: none;
    }

    .glass-card {
        width: 90%;
        padding: 1rem;
    }

    .location-card {
        max-height: 90vh;
    }

    .carousel-container {
        height: 200px;
    }

    /* Reveal mobile toggle */
    .mobile-only {
        display: flex !important;
    }

    /* Position sidebar toggle */
    #sidebar-toggle {
        position: absolute;
        top: 2rem;
        left: 2rem;
        z-index: 1100;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Default hidden for desktop */
.mobile-only {
    display: none;
}

/* Coming Soon Modal Styles */
.coming-soon-placeholder {
    position: relative;
    width: 100%;
    height: 300px;
    background: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.coming-soon-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) blur(6px);
    opacity: 0.3;
}

.coming-soon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--primary-color);
    width: 100%;
    z-index: 2;
}

.coming-soon-overlay i {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--primary-color));
}

.coming-soon-overlay p {
    font-weight: 800;
    letter-spacing: 5px;
    margin: 0;
    color: #fff;
    text-shadow: 0 0 10px var(--primary-color);
}

/* Empty Gallery State */
.empty-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    opacity: 0.6;
}

.empty-gallery i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.empty-gallery p {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.empty-gallery span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Projects Tab Styling */
.projects-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0.5rem 0;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.2rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 0, 255, 0.4);
    transform: translateX(5px);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: #ff00ff;
    opacity: 0;
    transition: opacity 0.3s;
}

.project-card:hover::before {
    opacity: 1;
}

.project-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.project-icon {
    font-size: 1.2rem;
    color: #ff00ff;
    background: rgba(255, 0, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.project-meta {
    display: flex;
    flex-direction: column;
}

.project-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
}

.project-type {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.project-summary {
    font-size: 0.85rem;
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.project-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #00ff88;
    background: rgba(0, 255, 136, 0.05);
    padding: 4px 12px;
    border-radius: 50px;
    width: fit-content;
}

.project-site-marker .glowing-center {
    fill: #ff00ff !important;
    animation: markerPulseSite 1.5s infinite alternate !important;
}

@keyframes markerPulseSite {
    from {
        filter: drop-shadow(0 0 2px #ff00ff);
    }

    to {
        filter: drop-shadow(0 0 10px #ff00ff);
        transform: scale(1.2);
    }
}

/* Building Badge */
.active-building-badge {
    background: rgba(255, 0, 255, 0.2);
    border: 1px solid #ff00ff;
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.4);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    animation: badgeGlow 2s infinite alternate;
}

@keyframes badgeGlow {
    from {
        box-shadow: 0 0 5px rgba(255, 0, 255, 0.4);
    }

    to {
        box-shadow: 0 0 20px rgba(255, 0, 255, 0.8);
    }
}

.nandi-activity-zone {
    pointer-events: none;
}