/* ==========================================================================
   TOP UTILITY BAR STYLES
   ========================================================================== */
.top-utility-bar {
    background-color: #ffffff;
    border-bottom: 1px solid #f1e5e7;
    padding: 10px 0;
    font-size: 13px;
}
.utility-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.trending-tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}
.tag-label {
    font-weight: 700;
    color: #ff527b;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}
.tags-scroller {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 2px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.tags-scroller::-webkit-scrollbar {
    display: none;
}
.utility-right {
    color: #95a5a6;
    font-size: 12px;
    white-space: nowrap;
    font-weight: 500;
}

/* ==========================================================================
   SITE HEADER & NAVIGATION (Sticky & Glassmorphism)
   ========================================================================== */
.main-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(255, 82, 123, 0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(248, 235, 237, 0.7);
    transition: all 0.3s ease;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}
.site-brand {
    transition: transform 0.3s ease;
}
.site-brand:hover {
    transform: scale(1.03);
}
.logo-text {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #2c3e50;
}
.logo-text span {
    color: #ff527b;
    position: relative;
}
.main-navigation {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-link {
    font-weight: 600;
    font-size: 15px;
    color: #57606f;
    padding: 8px 0;
    position: relative;
}
.nav-link:hover, .nav-link.active {
    color: #ff527b;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; width: 0; height: 3px;
    background-color: #ff527b;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: translateX(-50%);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 60%;
}
.nav-link.highlight-board { color: #1e90ff; }
.nav-link.highlight-board::after { background-color: #1e90ff; }
.nav-link.highlight-market { color: #2ed573; }
.nav-link.highlight-market::after { background-color: #2ed573; }

.header-action-group {
    display: flex;
    align-items: center;
    gap: 16px;
}
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: #2c3e50;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background 0.2s;
}
.mobile-menu-toggle:hover {
    background: #fff2f5;
}

/* ==========================================================================
   STRUCTURAL LAYOUT GRID
   ========================================================================== */
.responsive-main-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 30px;
    align-items: start;
    margin-top: 20px;
    width: 100%;
}
.main-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px; 
    margin-top: 40px;
    margin-bottom: 60px;
    width: 100%;
}
.primary-feed {
    min-width: 0; 
    width: 100%;
}
.secondary-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    min-width: 0; 
}

/* ==========================================================================
   PREMIUM FOOTER SYSTEM
   ========================================================================== */
.main-footer-system {
    background: #1e272e;
    color: #a4b0be;
    padding: 60px 0 0 0;
    margin-top: 60px;
    font-size: 14px;
}
.footer-grid-layout {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-brand-col .logo-text {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
}
.footer-brand-col .logo-text span { color: #ff527b; }
.footer-brand-desc { line-height: 1.6; margin-bottom: 20px; color: #cbd5e1; }

.footer-links-col h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}
.footer-links-col ul { list-style: none; padding: 0; margin: 0; }
.footer-links-col ul li { margin-bottom: 12px; }
.footer-links-col ul li a { color: #a4b0be; text-decoration: none; transition: color 0.2s ease; }
.footer-links-col ul li a:hover { color: #ff527b; padding-left: 4px; }

.footer-bottom-bar { background: #151d24; padding: 20px 0; font-size: 12.5px; }
.footer-bottom-flex { display: flex; justify-content: space-between; align-items: center; }
.footer-policy-nav { display: flex; gap: 20px; }
.footer-policy-nav a { color: #a4b0be; text-decoration: none; }
.footer-policy-nav a:hover { color: #ff527b; }