/* Clean Header - einziger Header-Code */
.clean-main-header {
    position: relative;
    width: 100%;
    height: 132px;
    min-height: 132px;
    margin: 0 0 18px 0;
    overflow: hidden;
    background-image: url("images/header/bundesliga-header-title.png");
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #020914;
    border-top: 1px solid rgba(82, 179, 255, 0.62);
    border-bottom: 1px solid rgba(82, 179, 255, 0.78);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 0 0 1px rgba(111, 204, 255, 0.14) inset, 0 0 24px rgba(45, 158, 255, 0.20), 0 12px 28px rgba(0,0,0,.34);
}

.clean-main-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(77,184,255,.96), rgba(255,82,56,.72), transparent);
    box-shadow: 0 0 13px rgba(75,181,255,.7);
}

.back-btn,
.header-profile-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 32px;
    border-radius: 10px;
    border: 1px solid rgba(104,199,255,.78);
    background: linear-gradient(180deg, rgba(8,35,70,.78), rgba(4,16,34,.90));
    color: #f4fbff;
    box-shadow: 0 0 13px rgba(65,174,255,.24), inset 0 0 10px rgba(102,205,255,.07);
    font-size: .74rem;
    font-weight: 900;
    z-index: 10;
}

.back-btn {
    left: 16px;
    min-width: 72px;
    padding: 0 11px;
}

.header-right-controls {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.header-profile-button {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 142px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 6px;
    cursor: pointer;
    overflow: hidden;
}

.header-profile-avatar {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(9,27,52,.9);
    border: 1px solid rgba(91,185,255,.45);
}

.user-info {
    min-width: 0;
    max-width: 78px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .68rem;
    font-weight: 900;
}

.header-profile-logout-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    margin-left: auto;
    border-radius: 50%;
    border: 1px solid rgba(132,215,255,.68);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 35% 25%, rgba(121,213,255,.22), rgba(5,18,36,.98));
}

@media (max-width: 900px) {
    .clean-main-header { height: 92px; min-height: 92px; }
    .back-btn { left: 10px; height: 28px; min-width: 58px; font-size: .66rem; }
    .header-right-controls { right: 10px; }
    .header-profile-button { width: 58px; height: 28px; }
    .user-info { display: none; }
    .header-profile-avatar { width: 21px; height: 21px; min-width: 21px; }
    .header-profile-logout-icon { width: 19px; height: 19px; min-width: 19px; }
}
