/* styles.css - Core Styling & Layout */
:root {
    --bg-pure-black: #000000;
    --text-primary: #ffffff;
    --text-secondary: #71767b;
    --glass-border: #16181c;
    --neon-green: #39ff14;
}

body { 
    background-color: var(--bg-pure-black); 
    color: var(--text-primary); 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Base Layout */
.app-container {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100vh;
}

@media (min-width: 1024px) {
    .app-container {
        grid-template-columns: 1fr 275px 700px 300px 1fr;
    }
}

.x-feed { grid-column: 1; min-height: 100vh; }
@media (min-width: 1024px) {
    .x-feed { grid-column: 3; border-right: 1px solid var(--glass-border); border-left: 1px solid var(--glass-border); }
}

/* Navigation */
.nav-item {
    display: flex; align-items: center; gap: 20px;
    padding: 12px 20px 12px 12px; border-radius: 9999px;
    font-size: 1.25rem; font-weight: 500; color: var(--text-primary);
    text-decoration: none; transition: all 0.2s ease;
    width: fit-content;
}

.nav-item:hover { background-color: var(--glass-border); }

/* Neon Active State */
.nav-item.active {
    font-weight: 700;
    color: var(--neon-green);
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.4);
}
.nav-item.active svg {
    stroke: var(--neon-green);
    filter: drop-shadow(0 0 4px rgba(57, 255, 20, 0.4));
}

/* Mobile Bottom Tab */
.bottom-tab-bar { display: none; }
@media (max-width: 1023px) {
    .bottom-tab-bar {
        display: flex; justify-content: space-around; align-items: center;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
        background: rgba(0,0,0,0.97); backdrop-filter: blur(12px);
        border-top: 1px solid #262626; padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    }
    body { padding-bottom: 60px; }
}

.bottom-tab { display: flex; flex-direction: column; align-items: center; color: var(--text-secondary); padding: 6px 10px; }
.bottom-tab.active { 
    color: var(--neon-green); 
    filter: drop-shadow(0 0 4px rgba(57, 255, 20, 0.4));
}

/* Global Board Switcher Overlay */
.board-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    z-index: 100; display: none; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.2s ease;
}
.board-overlay.visible { display: flex; opacity: 1; }
.board-grid-container {
    width: 90%; max-width: 800px; max-height: 80vh; overflow-y: auto;
    background: #0a0a0a; border: 1px solid #262626; border-radius: 16px; padding: 24px;
}