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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0f1117;
    color: #e2e8f0;
    min-height: 100vh;
    padding: 2rem;
}

header {
    margin-bottom: 2rem;
}

h1 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.05em;
}

.layout {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

/* Sidebar */
#sidebar {
    width: 160px;
    flex-shrink: 0;
    background: #1e2130;
    border-radius: 10px;
    padding: 0.75rem 0;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.55rem 1rem;
    text-align: left;
    transition: background 0.15s, color 0.15s;
}

.sidebar-item:hover {
    background: #2d3148;
    color: #e2e8f0;
}

.sidebar-item.active {
    background: #2d3148;
    color: #e2e8f0;
}

.sidebar-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-investing    { background: #fbbf24; }
.dot-sports       { background: #34d399; }
.dot-books        { background: #f59e0b; }
.dot-occult       { background: #c084fc; }
.dot-psychedelics { background: #f472b6; }
.dot-programming  { background: #60a5fa; }
.dot-design       { background: #fb923c; }
.dot-taxi         { background: #94a3b8; }
.dot-business     { background: #6366f1; }
.dot-housing      { background: #4ade80; }
.dot-music        { background: #e879f9; }
.dot-tech         { background: #38bdf8; }
.dot-health       { background: #f87171; }

/* Main content */
#main {
    flex: 1;
    background: #1e2130;
    border-radius: 10px;
    padding: 1.5rem;
}

.main-header {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #2d3148;
}

.main-header.investing    { color: #fbbf24; }
.main-header.sports       { color: #34d399; }
.main-header.books        { color: #f59e0b; }
.main-header.occult       { color: #c084fc; }
.main-header.psychedelics { color: #f472b6; }
.main-header.programming  { color: #60a5fa; }
.main-header.design       { color: #fb923c; }
.main-header.taxi         { color: #94a3b8; }
.main-header.business     { color: #6366f1; }
.main-header.housing      { color: #4ade80; }
.main-header.music        { color: #e879f9; }
.main-header.tech         { color: #38bdf8; }
.main-header.health       { color: #f87171; }

#main ul {
    list-style: none;
}

#main ul li {
    display: flex;
    align-items: center;
    margin-bottom: 0.35rem;
}

#main ul li a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    flex: 1;
    padding: 0.2rem 0.3rem;
    border-radius: 4px;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#main ul li a:hover {
    background: #2d3148;
    color: #f1f5f9;
}

