/* Header Styles */
header {
    background: linear-gradient(135deg, #2d1b4e 0%, #1a1f2e 100%);
    color: #fff;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.header-logo {
    flex-shrink: 0;
}

.header-logo a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    font-family: var(--font-logo);
}

.header-logo a:hover {
    color: var(--accent-hover);
}

.header-search {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.header-search form {
    display: flex;
    gap: 8px;
}

.header-search input {
    flex: 1;
    padding: 10px 14px;
    font-size: 14px;
    font-family: var(--font-code);
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.header-search input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.header-search button {
    padding: 10px 20px;
    font-size: 14px;
    font-family: var(--font-ui);
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.header-search button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
}
.header-search button:active {
    transform: translateY(0px);
}

.header-link {
    flex-shrink: 0;
}

.header-link a {
    color: var(--gold-primary);
    text-decoration: underline;
    font-size: 16px;
    font-weight: 500;
}

.header-link a:hover {
    color: var(--accent-hover);
}

/* Responsive Header */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .header-search {
        max-width: 100%;
    }

    .header-link {
        text-align: center;
    }
}
