/* ============================================= */
/* ВСПЛЫВАЮЩЕЕ ОКНО "ОЦЕНИТЕ НАС"               */
/* ============================================= */

/* Затемнение фона */
#ratingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Само окно */
#ratingBox {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 50px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: popIn 0.4s ease;
}

/* Анимация появления */
@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Кнопка закрытия (крестик) */
#closeBtn {
    position: absolute;
    top: 10px;
    right: 18px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    border: none;
    background: none;
}
#closeBtn:hover {
    color: #333;
}

/* Иконка (звезда) */
.rating-icon {
    font-size: 50px;
}

/* Заголовок */
.rating-title {
    font-size: 24px;
    font-weight: 700;
    margin: 10px 0 5px;
    color: #1a1a2e;
}

/* Текст под заголовком */
.rating-text {
    font-size: 15px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Кнопка-ссылка */
.rating-link {
    display: inline-block;
    padding: 14px 45px;
    background: #4a6cf7;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    transition: background 0.3s;
}
.rating-link:hover {
    background: #3651d4;
}

/* Ссылка "Не сейчас" */
.skip-link {
    display: block;
    margin-top: 15px;
    color: #aaa;
    font-size: 14px;
    cursor: pointer;
    border: none;
    background: none;
    text-decoration: underline;
}
.skip-link:hover {
    color: #666;
}

/* Скрываем на телефонах */
@media (max-width: 768px) {
    #ratingOverlay {
        display: none !important;
    }
}