/* Header / Navbar */
.header {
    --header-bar-height: 64px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 144px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    z-index: 1000;
    backdrop-filter: blur(60px);
    -webkit-backdrop-filter: blur(60px);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    transition: transform 0.25s ease;
    will-change: transform;
}

.header.header-hidden {
    transform: translateY(calc(-100% - 12px));
}

.header-logo {
    width: 30px;
    height: 40px;
    overflow: visible;
    text-decoration: none;
    display: inline-block;
}

.header-logo img, .header-logo svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transform: scale(1.75);
    transform-origin: center center;
}

.header-logo:hover,
.header-logo:active,
.header-logo:focus-visible {
    filter: none;
}

.header-logo:hover img,
.header-logo:hover svg,
.header-logo:active img,
.header-logo:active svg,
.header-logo:focus-visible img,
.header-logo:focus-visible svg {
    filter: drop-shadow(0 0 9px rgba(22, 223, 253, 0.85)) drop-shadow(0 0 22px rgba(22, 223, 253, 0.68));
}

.header-nav {
    display: flex;
    gap: 4px;
    align-items: center;
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-item {
    padding: 8px 12px;
    border-radius: 8px;
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: var(--text-primary);
    text-decoration: none;
    transition: background-color 0.3s;
}

.nav-item.active {
    position: relative;
    color: var(--white-100);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--white-100);
}

.header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-brand-dark);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    border: none;
    cursor: pointer;
    position: relative;
    box-shadow: inset 6px 8px 9px 0px #ff1597, inset -6px -8px 9px 0px #ff1597;
    text-decoration: none;
}

/* White frame outline style — hover matches event-schedule Today button */
.header-btn.header-btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
    box-shadow: none;
    transition: color 0.3s, text-shadow 0.3s, border-color 0.3s, background-color 0.3s;
}

.header-btn.header-btn-outline:hover,
.header-btn.header-btn-outline:active,
.header-btn.header-btn-outline:focus-visible {
    color: var(--white-100);
    border-color: var(--white-100);
    background-color: rgba(255, 255, 255, 0.05);
    text-shadow: 0 0 10px rgba(22, 223, 253, 0.85), 0 0 22px rgba(22, 223, 253, 0.6), 0 0 36px rgba(22, 223, 253, 0.4);
}

@media (prefers-reduced-motion: reduce) {
    .header,
    .header-btn,
    .header-logo,
    .header-logo img,
    .header-logo svg {
        transition: none;
    }
}

/* Responsive */
@media (max-width: 1440px) {
    .header {
        padding: 12px 80px;
    }
}

@media (max-width: 1024px) {
    .header {
        padding: 12px 40px;
        flex-wrap: wrap;
    }
}
