/* ==========================================================================
   AI HUB SOCIAL - ORIGINAL CLUSTER VISUAL DESIGN
   ========================================================================== */

:root {
    --bg-main: #060913;
    --bg-card: #0f1626;
    --border-subtle: #1c2638;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --primary: #3b82f6;
    --accent-green: #059669;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
}

.app-container {
    display: grid;
    grid-template-columns: 280px 1fr 340px;
    min-height: 100vh;
}

/* SIDEBAR REAKCIJA */
.sidebar {
    background-color: #090d1a;
    padding: 30px 20px;
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar h2 {
    color: #3b82f6;
    font-size: 1.8rem;
    margin: 0;
    font-weight: 800;
}

/* NAVIGACIJA - SVI BUTTONI VIDLJIVI */
.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-item {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 14px 18px;
    text-align: left;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 8px;
    width: 100%;
    transition: all 0.2s;
}

.nav-item:hover, .nav-item.active {
    background-color: var(--bg-card);
    color: white;
}

/* GOOGLE LOGIN BOKS SA SLIKE */
.auth-box {
    margin-top: auto;
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 20px;
    border-radius: 12px;
}

.auth-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 16px 0;
}

.google-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: white;
    color: black;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* SREDNJI MAIN SADRŽAJ */
.main-content {
    padding: 40px;
    background-color: var(--bg-main);
}

.main-content h2 {
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 24px;
}

/* INFOBAR SA DESNE STRANE */
.infobar {
    background-color: #090d1a;
    padding: 30px 20px;
    border-left: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.live-ticker {
    background-color: rgba(5, 150, 105, 0.1);
    color: #10b981;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
}

.trending-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 20px;
}

.trending-container h3 {
    margin-top: 0;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.text-muted {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* RUTER PRAVILO KOJE NE KVARI SREDNJI FEED */
.spa-view {
    display: none;
}
.spa-view.active {
    display: block !important;
}
