/* Header Styles */
.header {
    background: rgba(10, 22, 40, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(94, 189, 249, 0.2);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.header__logo {
    font-size: 27px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s;
    text-shadow: 0 0 20px rgba(94, 189, 249, 0.5);
    letter-spacing: -0.5px;
}

.header__logo:hover {
    color: #5ebdf9;
    text-shadow: 0 0 30px rgba(94, 189, 249, 0.8);
    transform: translateY(-2px);
}

.header__nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.header__link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    padding: 8px 16px;
    border-radius: 8px;
    position: relative;
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #5ebdf9, #1a90da);
    transition: width 0.3s;
    border-radius: 2px;
}

.header__link:hover {
    color: #5ebdf9;
    background: rgba(94, 189, 249, 0.1);
}

.header__link:hover::after {
    width: 80%;
}

/* Мобильная оптимизация */
@media (max-width: 768px) {
    .header {
        padding: 12px 0;
    }
    
    .header__logo {
        font-size: 22px;
    }
    
    .header__link {
        font-size: 15px;
        padding: 10px 14px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px 0;
    }
    
    .header__logo {
        font-size: 20px;
    }
    
    .header__link {
        font-size: 14px;
        padding: 10px 12px;
    }
}