/* Header-specific layout */
.site-header {
    border-bottom: 1px solid var(--color-purple-light);
    background: linear-gradient(135deg, rgba(28, 20, 44, 0.92), rgba(33, 6, 80, 0.85));
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 32px -8px rgba(124, 58, 237, 0.45), 0 2px 0 0 rgba(247, 167, 54, 0.35) inset;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    padding: 0.85rem 0 0.9rem;
}


.primary-nav {
    flex: 1 1 100%;
}

.primary-nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.25rem 0;
    font-weight: 600;
    color: var(--color-text-primary);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    border-bottom: 2px solid transparent;
}

.primary-nav a:focus,
.primary-nav a:hover {
    color: var(--color-gold-bright);
    border-bottom-color: var(--color-gold-bright);
    transform: translateY(-2px);
    text-shadow: 0 0 6px var(--color-gold-bright), 0 0 12px var(--color-purple-light);
}

/* Ensure all nav links have consistent base color */
.primary-nav a {
    color: var(--color-text-primary) !important;
}

.primary-nav a:focus,
.primary-nav a:hover,
.primary-nav a:active,
.primary-nav a:visited {
    color: var(--color-gold-bright) !important;
}
