/* ===== FOOTER ===== */
.footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    font-size: 14px;
    color: #667eea;
}

/* ===== COPYRIGHT ===== */
.footer-copyright {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== LINKS ===== */
.footer-links {
    display: flex;
    gap: 30px;
}

.footer-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: #764ba2;
}

.footer-link:hover::after {
    width: 100%;
}

/* ===== HELP BUTTON (SVG ?) ===== */
.footer-help {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.footer-help:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.4);
}

.footer-help:active {
    transform: scale(1.05);
}

/* SVG знак питання */
.footer-help svg {
    width: 28px;
    height: 28px;
    fill: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Tooltip */
.footer-help::before {
    content: 'Довідка';
    position: absolute;
    bottom: 110%;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.footer-help::after {
    content: '';
    position: absolute;
    bottom: 100%;
    right: 20px;
    border: 6px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.footer-help:hover::before,
.footer-help:hover::after {
    opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .footer {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-copyright {
        order: 2;
        font-size: 12px;
    }
    
    .footer-links {
        order: 1;
        gap: 20px;
        font-size: 13px;
    }
    
    .footer-help {
        order: 3;
        margin-top: 10px;
    }
}

