/* Основные стили для сайта Автожурнал */
body {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #FFFFFF;
}

.text {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #000000;
}

a {
    color: #0000FF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2 {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    color: #2D435B;
}

p {
    line-height: 1.6;
    margin: 10px 0;
}

/* Баннер для нового сайта */
.redirect-banner {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    max-width: 320px;
    font-family: Arial, sans-serif;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.redirect-banner h3 {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

.redirect-banner p {
    margin: 0 0 15px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #f0f0f0;
}

.redirect-banner .btn-redirect {
    display: inline-block;
    background-color: #fff;
    color: #667eea;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.redirect-banner .btn-redirect:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.redirect-banner .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    transition: background 0.3s ease;
}

.redirect-banner .close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .redirect-banner {
        position: fixed;
        top: 10px;
        left: 10px;
        right: 10px;
        max-width: none;
        padding: 15px 20px;
    }
}
