:root {
    --bg: #020617;
    --bg-inner: rgba(15, 23, 42, 0.95);
    --card: rgba(15, 23, 42, 0.7);
    --card-strong: #0f172a;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --text: #f8fafc;
    --text-main: #f8fafc;
    --muted: #94a3b8;
    --border: rgba(255,255,255,0.08);
    --border-color: rgba(255,255,255,0.08);
}


.navigation-content {
    display: flex;
    gap: 25px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
}

/* Links */
.navigation-content a {
    position: relative;
    text-decoration: none;
    font-weight: 500;
    padding: 6px 0;
}

.navigation-content a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: 0.3s;
}

.navigation-content a:hover::after,
.navigation-content a.active::after {
    width: 100%;
}
/* =========================
   GLOBAL RESET
========================= */

* {
    box-sizing: border-box;
}

a {
    color: inherit;
}

h1, h2, h3, h4 {
    margin: 0 0 15px 0;
}

/* =========================
   SEARCH SUGGESTIONS STYLE
========================= */

.suggestions {
    position: absolute;
    top: 42px;
    left: 0;
    width: 100%;
    background: var(--bg-inner);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: none;
    z-index: 10000;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    text-decoration: none;
    color: var(--text-main);
}

.suggestion-item img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
}

.suggestion-item:hover {
    background: var(--bg-card);
}

.suggestion-all {
    display: block;
    padding: 8px 10px;
    text-decoration: none;
    color: var(--accent-blue);
    font-size: 14px;
    border-top: 1px solid var(--border-color);
}

.suggestion-all:hover {
    background: var(--bg-card);
}





/* =========================
   TOP BAR
========================= */
.topbar {
    background: rgba(2, 6, 23, 0.9);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
}

.topbar-container {
    max-width: 1400px;
    margin: auto;
    padding: 6px 20px;
    display: flex;
    gap: 15px;
}

.topbar a {
    color: #94a3b8;
    font-size: 0.8rem;
    text-decoration: none;
    transition: 0.2s;
}

.topbar a:hover {
    color: white;
}

/* =========================
   MAIN HEADER
========================= */
.main-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-inner {
    max-width: 1400px;
    margin: auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* =========================
   LOGO
========================= */
.logo a {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

/* =========================
   HAMBURGER
========================= */
.header-menu {
    position: relative;
}

.hamburger {
    background: rgba(255,255,255,0.05);
    border: none;
    color: white;
    font-size: 1.2rem;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
}

.hamburger:hover {
    background: var(--accent);
}

/* DROPDOWN */
.hamburger-dropdown {
    display: none;
    position: absolute;
    top: 45px;
    left: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(14px);
    border-radius: 12px;
    overflow: hidden;
    min-width: 180px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.hamburger-dropdown a {
    display: block;
    padding: 10px 15px;
    color: var(--text);
    text-decoration: none;
    transition: 0.2s;
}

.hamburger-dropdown a:hover {
    background: var(--accent);
}

/* =========================
   SEARCH
========================= */
.header-search {
    flex: 1;
    position: relative;
}

.header-search input {
    width: 100%;
    padding: 10px 15px;
    border-radius: 12px;
    border: 1px solid var(--border);
    outline: none;
    background: rgba(15, 23, 42, 0.7);
    color: white;
    transition: 0.2s;
}

.header-search input:focus {
    border-color: var(--accent);
}

.header-search input::placeholder {
    color: #64748b;
}

/* SUGGESTIONS */
.suggestions {
    position: absolute;
    top: 45px;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    border-radius: 12px;
    overflow: hidden;
    display: none;
    z-index: 100;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    text-decoration: none;
    color: white;
    transition: 0.2s;
}

.suggestion-item img {
    width: 40px;
    border-radius: 6px;
}

.suggestion-item:hover {
    background: var(--accent);
}

.suggestion-all {
    display: block;
    padding: 10px;
    text-align: center;
    background: rgba(255,255,255,0.05);
    color: var(--muted);
}

/* =========================
   PROFILE
========================= */
.header-profile {
    position: relative;
}

.profile-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.profile-pic {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.1);
}

.username {
    font-size: 0.9rem;
}

/* DROPDOWN */
.profile-dropdown {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(14px);
    border-radius: 12px;
    min-width: 180px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.profile-dropdown a {
    display: block;
    padding: 10px 15px;
    color: var(--text);
    text-decoration: none;
}

.profile-dropdown a:hover {
    background: var(--accent);
}

/* =========================
   ACTIVE STATES (JS)
========================= */
.hamburger-dropdown.show {
    display: block;
}

.profile-dropdown.show {
    display: block;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 900px) {

    .header-inner {
        gap: 10px;
    }

    .username {
        display: none;
    }

    .topbar-container {
        overflow-x: auto;
    }
}