/* Плашка о переезде сайта */
.site-migration-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 15px 20px;
    text-align: center;
    z-index: 99999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-family: Arial, sans-serif;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.site-migration-banner__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.site-migration-banner__icon {
    font-size: 24px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.site-migration-banner__text {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

.site-migration-banner__link {
    display: inline-block;
    background: #fff;
    color: #667eea;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.site-migration-banner__link:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.site-migration-banner__close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    transition: background 0.3s ease;
}

.site-migration-banner__close:hover {
    background: rgba(255,255,255,0.3);
}

/* Компенсация отступа для основного контента */
body.has-migration-banner {
    padding-top: 80px;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .site-migration-banner {
        padding: 12px 15px;
    }

    .site-migration-banner__content {
        gap: 10px;
    }

    .site-migration-banner__text {
        font-size: 14px;
    }

    .site-migration-banner__link {
        padding: 8px 20px;
        font-size: 14px;
    }

    .site-migration-banner__icon {
        font-size: 20px;
    }

    .site-migration-banner__close {
        right: 10px;
        width: 25px;
        height: 25px;
        font-size: 18px;
    }

    body.has-migration-banner {
        padding-top: 100px;
    }
}

@media (max-width: 480px) {
    .site-migration-banner__content {
        flex-direction: column;
        gap: 8px;
    }

    .site-migration-banner__text {
        font-size: 13px;
    }
}
