/* Уведомление о переезде на новый сайт */
.relocation-notice {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    text-align: center;
    z-index: 10000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.relocation-notice__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.relocation-notice__text {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
}

.relocation-notice__text strong {
    font-weight: 700;
    font-size: 20px;
}

.relocation-notice__button {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.relocation-notice__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
}

.relocation-notice__close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 5px 10px;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.relocation-notice__close:hover {
    opacity: 1;
}

/* Отступ для body когда показано уведомление */
body.has-relocation-notice {
    padding-top: 100px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .relocation-notice {
        padding: 15px;
    }

    .relocation-notice__content {
        flex-direction: column;
        gap: 15px;
    }

    .relocation-notice__text {
        font-size: 16px;
    }

    .relocation-notice__text strong {
        font-size: 18px;
    }

    .relocation-notice__button {
        padding: 10px 25px;
        font-size: 15px;
    }

    body.has-relocation-notice {
        padding-top: 140px;
    }
}

@media (max-width: 480px) {
    .relocation-notice__text {
        font-size: 14px;
    }

    .relocation-notice__text strong {
        font-size: 16px;
    }

    body.has-relocation-notice {
        padding-top: 160px;
    }
}
