/* ============================================================
   COMPONENTS.CSS - Universo Underdog
   Componentes: mega-menu, virus-web, cards, filtros, busca
   ============================================================ */

/* === NAV DROPDOWN (Desktop) === */
.nav-dropdown {
    position: relative;
}

.nav-dropdown__trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.nav-dropdown__trigger svg {
    transition: transform var(--transition-fast);
}

.nav-dropdown:hover .nav-dropdown__trigger svg {
    transform: rotate(180deg);
}

.nav-dropdown__menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 0.75rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 100;
    box-shadow: var(--shadow-lg);
}

.nav-dropdown:hover .nav-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown__menu a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    border-radius: 6px;
    transition: all var(--transition-fast);
}

.nav-dropdown__menu a:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

/* === HAMBURGER (Mobile) === */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* === MOBILE MENU === */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
    padding: 1rem 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.open {
    max-height: 500px;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-subtle);
}

.mobile-menu a:hover {
    color: var(--text-primary);
}

.mobile-menu__divider {
    height: 1px;
    background: var(--aura-vermelho);
    opacity: 0.3;
    margin: 0.5rem 0;
}

@media (max-width: 1024px) {
    .nav { display: none !important; }
    .hamburger { display: flex; }
    .mobile-menu { display: flex; }
}

/* === BREADCRUMB === */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1.5rem 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-secondary);
}

.breadcrumb a:hover {
    color: var(--text-primary);
}

.breadcrumb__separator {
    color: var(--text-muted);
    font-size: 0.7rem;
}

.breadcrumb__current {
    color: var(--text-primary);
    font-weight: 500;
}

/* === ENTITY LINKS (Virus Web inline) === */
.entity-link {
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dotted;
    transition: all var(--transition-fast);
}

.entity-link:hover {
    border-bottom-style: solid;
    filter: brightness(1.2);
}

.entity-link--vermelho { color: var(--aura-vermelho); border-color: var(--aura-vermelho); }
.entity-link--verde { color: var(--aura-verde); border-color: var(--aura-verde); }
.entity-link--azul { color: var(--aura-azul); border-color: var(--aura-azul); }
.entity-link--amarelo { color: var(--aura-amarelo); border-color: var(--aura-amarelo); }
.entity-link--ciano { color: var(--aura-ciano); border-color: var(--aura-ciano); }
.entity-link--magenta { color: var(--aura-magenta); border-color: var(--aura-magenta); }
.entity-link--branco { color: var(--aura-branco); border-color: var(--aura-branco); }

/* === COLOR DOT === */
.color-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.color-dot--lg { width: 16px; height: 16px; }
.color-dot--xl { width: 24px; height: 24px; }

.color-dot--vermelho { background: var(--aura-vermelho); }
.color-dot--verde { background: var(--aura-verde); }
.color-dot--azul { background: var(--aura-azul); }
.color-dot--amarelo { background: var(--aura-amarelo); }
.color-dot--ciano { background: var(--aura-ciano); }
.color-dot--magenta { background: var(--aura-magenta); }
.color-dot--branco { background: var(--aura-branco); }

/* === INFOBOX (Wikipedia-style sidebar) === */
.infobox {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.infobox__header {
    padding: 1.25rem;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
}

.infobox__image {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.infobox__rows {
    padding: 0.75rem;
}

.infobox__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.5rem;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.85rem;
}

.infobox__row:last-child {
    border-bottom: none;
}

.infobox__label {
    color: var(--text-secondary);
}

.infobox__value {
    color: var(--text-primary);
    font-weight: 600;
    text-align: right;
}

/* === RELATED SIDEBAR === */
.related-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.related-sidebar__title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.related-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-subtle);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.related-card:last-child {
    border-bottom: none;
}

.related-card:hover {
    padding-left: 0.5rem;
}

.related-card__name {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    flex: 1;
}

.related-card__type {
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* === CONNECTIONS COUNTER === */
.connections-counter {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

.connections-counter__number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.connections-counter__label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* === DISCOVER WIDGET (floating) === */
.discover-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 900;
}

.discover-widget__btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--aura-vermelho);
    color: white;
    border: none;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
    transition: all var(--transition-normal);
    text-decoration: none;
}

.discover-widget__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(220, 38, 38, 0.5);
    color: white;
}

/* === SEE ALSO === */
.see-also {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.see-also__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.see-also__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

/* === ENTITY CARD === */
.entity-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.25rem;
    text-decoration: none;
    transition: all var(--transition-normal);
    display: block;
}

.entity-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.entity-card--vermelho:hover { box-shadow: 0 8px 30px rgba(220, 38, 38, 0.2); border-color: rgba(220, 38, 38, 0.3); }
.entity-card--verde:hover { box-shadow: 0 8px 30px rgba(34, 197, 94, 0.2); border-color: rgba(34, 197, 94, 0.3); }
.entity-card--azul:hover { box-shadow: 0 8px 30px rgba(59, 130, 246, 0.2); border-color: rgba(59, 130, 246, 0.3); }
.entity-card--amarelo:hover { box-shadow: 0 8px 30px rgba(234, 179, 8, 0.2); border-color: rgba(234, 179, 8, 0.3); }
.entity-card--ciano:hover { box-shadow: 0 8px 30px rgba(6, 182, 212, 0.2); border-color: rgba(6, 182, 212, 0.3); }
.entity-card--magenta:hover { box-shadow: 0 8px 30px rgba(168, 85, 247, 0.2); border-color: rgba(168, 85, 247, 0.3); }
.entity-card--branco:hover { box-shadow: 0 8px 30px rgba(244, 244, 245, 0.15); border-color: rgba(244, 244, 245, 0.2); }

.entity-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.entity-card__name {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.entity-card__meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.entity-card__desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === FILTER PILLS === */
.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 500;
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.filter-pill:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.filter-pill--active {
    background: var(--aura-vermelho);
    color: white;
    border-color: var(--aura-vermelho);
}

.filter-pill__count {
    font-size: 0.7rem;
    opacity: 0.7;
}

/* === COLOR FILTER DOTS === */
.color-filters {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.color-filters__label {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.color-filter-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
}

.color-filter-dot:hover,
.color-filter-dot--active {
    border-color: white;
    transform: scale(1.2);
}

/* === SEARCH BAR === */
.search-bar {
    position: relative;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.search-bar__icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.search-bar__input {
    width: 100%;
    padding: 1rem 1.25rem 1rem 3rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-body);
    outline: none;
    transition: all var(--transition-fast);
}

.search-bar__input::placeholder {
    color: var(--text-muted);
}

.search-bar__input:focus {
    border-color: var(--aura-vermelho);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* === SEARCH BAR NO HEADER === */
.nav .search-bar {
    max-width: 220px;
    margin: 0;
    flex-shrink: 0;
}

.nav .search-bar__input {
    padding: 0.5rem 0.75rem 0.5rem 2.25rem;
    font-size: 0.875rem;
    border-radius: 8px;
}

.nav .search-bar__icon {
    left: 0.75rem;
    font-size: 0.85rem;
}

.nav .search-results {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    width: 360px;
    z-index: 200;
}

@media (max-width: 1100px) {
    .nav .search-bar { display: none; }
}

/* === STATS GRID === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    text-align: center;
    padding: 3rem 0;
}

.stat-item {
    padding: 1rem;
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* === ENTITY GRID === */
.entity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

/* === HERO SECTION === */
.hero {
    text-align: center;
    padding: 8rem 0 4rem;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(transparent, var(--bg-deep));
    pointer-events: none;
}

.hero__badge {
    display: inline-block;
    padding: 0.4rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--aura-vermelho);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.hero__title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--aura-vermelho) 0%, var(--text-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.hero__subtitle {
    color: var(--text-secondary);
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.hero__actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.hero__stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero__stats strong {
    color: var(--text-primary);
}

/* === TIMELINE (Historia) === */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-subtle);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
    padding-right: calc(50% + 2rem);
    text-align: right;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    padding-left: calc(50% + 2rem);
}

.timeline-item__dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
    border: 3px solid var(--bg-deep);
}

.timeline-item__content {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.5rem;
    width: 100%;
}

.timeline-item__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.timeline-item__period {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.timeline-item__desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .timeline::before { left: 1rem; }
    .timeline-item { padding-left: 3rem !important; padding-right: 0 !important; text-align: left !important; flex-direction: row !important; }
    .timeline-item__dot { left: 1rem; }
}

/* === FOOTER V2 === */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-motto {
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-style: italic;
}

/* === PLACEHOLDERS === */
.placeholder-image {
    background: var(--bg-secondary);
    border: 1px dashed var(--border-subtle);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.placeholder-image--square { aspect-ratio: 1; }
.placeholder-image--wide { aspect-ratio: 16/9; }
.placeholder-image--portrait { aspect-ratio: 3/4; }

/* === COMING SOON === */
.coming-soon {
    position: relative;
    overflow: hidden;
}

.coming-soon::after {
    content: 'Em breve';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 5, 7, 0.7);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    backdrop-filter: blur(2px);
    border-radius: inherit;
}

/* === UTILITIES === */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.text-gradient {
    background: linear-gradient(135deg, var(--aura-vermelho), var(--aura-amarelo));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-4 { margin-top: 4rem; }
.mb-4 { margin-bottom: 4rem; }

/* === SEARCH RESULTS DROPDOWN === */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    margin-top: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    box-shadow: var(--shadow-lg);
}

.search-results__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    transition: background var(--transition-fast);
    border-bottom: 1px solid var(--border-subtle);
}

.search-results__item:last-child { border-bottom: none; }
.search-results__item:hover { background: var(--bg-hover); }

.search-results__icon { font-size: 1.25rem; flex-shrink: 0; }
.search-results__name { color: var(--text-primary); font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 0.4rem; }
.search-results__meta { color: var(--text-muted); font-size: 0.75rem; }

.search-results__empty {
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* === DISCOVER WIDGET (floating) === */
.discover-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 240px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    z-index: 900;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.discover-widget.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.discover-widget__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--bg-hover);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.discover-widget__close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.discover-widget__close:hover { color: var(--text-primary); }

.discover-widget__content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    text-decoration: none;
    transition: background var(--transition-fast);
}

.discover-widget__content:hover { background: var(--bg-hover); }

.discover-widget__icon { font-size: 1.5rem; flex-shrink: 0; }
.discover-widget__name { color: var(--text-primary); font-weight: 600; font-size: 0.9rem; display: block; }
.discover-widget__type { color: var(--text-muted); font-size: 0.75rem; display: block; }

@media (max-width: 768px) {
    .discover-widget { display: none; }
}

/* === SEE ALSO (virus web footer) === */
.see-also {
    padding: 3rem 0;
}

.see-also__title {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.see-also__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.entity-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.25rem;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.entity-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.entity-card__name {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.entity-card__desc {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: block; }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border-subtle);
        padding: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav--open { display: flex; }

    .nav a {
        padding: 0.75rem 1rem;
        border-radius: 8px;
    }

    .nav a:hover { background: var(--bg-hover); }
}
