/* ============================================================================
   content.css — дополнительные стили контента
   ============================================================================ */

/* ============================================================================
   Иконки избранного (♥) и уведомлений (🔔) — неоновый стиль
   ============================================================================ */

/* Сердечко — базовое: тусклый контур */
.fav-heart {
    color: rgba(156, 163, 175, 0.5); /* gray-400/50 */
    transition: color 0.3s, filter 0.3s, stroke-width 0.3s;
    fill: none !important;
    stroke-width: 2.5 !important; /* Делаем контур чуть толще по умолчанию */
}

/* Сердечко — активное: неоновый красный контур */
.fav-heart.active {
    color: #f43f5e; /* rose-500 */
    /* Усиливаем неоновое свечение (3 слоя разной плотности) */
    filter: drop-shadow(0 0 4px rgba(244, 63, 94, 0.9))
            drop-shadow(0 0 10px rgba(244, 63, 94, 0.7))
            drop-shadow(0 0 20px rgba(244, 63, 94, 0.4));
    fill: none !important;
    stroke-width: 2.5 !important;
}

/* Hover для неактивного сердечка */
.fav-heart:not(.active):hover,
button:hover .fav-heart:not(.active),
.group:hover .fav-heart:not(.active) {
    color: rgba(244, 63, 94, 0.8);
    filter: drop-shadow(0 0 4px rgba(244, 63, 94, 0.5));
}

/* Колокольчик — базовый: тусклый контур */
.notice-bell {
    color: rgba(156, 163, 175, 0.4); /* gray-400/40 */
    transition: color 0.3s, filter 0.3s, stroke-width 0.3s;
    stroke-width: 2.5 !important; /* Утолщаем базовый контур */
}

/* Колокольчик — активный: неоновый пурпурный контур */
.notice-bell.active {
    color: #c084fc; /* purple-400 */
    /* Экстра-яркое свечение для пурпурного цвета */
    filter: drop-shadow(0 0 4px rgba(192, 132, 252, 0.9))
            drop-shadow(0 0 10px rgba(192, 132, 252, 0.7))
            drop-shadow(0 0 20px rgba(192, 132, 252, 0.4));
    stroke-width: 2.5 !important;
}

/* Hover для неактивного колокольчика */
.notice-bell:not(.active):hover,
button:hover .notice-bell:not(.active),
.group:hover .notice-bell:not(.active),
.group\/bell:hover .notice-bell:not(.active) {
    color: rgba(192, 132, 252, 0.6);
}

/* ============================================================================
   Popup «Привяжите Telegram» — для уведомлений без привязки
   ============================================================================ */

.tg-prompt-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    transition: background 0.3s, backdrop-filter 0.3s;
    padding: 16px;
}

.tg-prompt-overlay.visible {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.tg-prompt-card {
    background: #1a1a1e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 0 60px rgba(168, 85, 247, 0.15),
                0 0 120px rgba(34, 211, 238, 0.08);
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
}

.tg-prompt-overlay.visible .tg-prompt-card {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.tg-prompt-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(34, 211, 238, 0.15));
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #c084fc;
    animation: tg-prompt-pulse 2s ease-in-out infinite;
}

@keyframes tg-prompt-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(168, 85, 247, 0.2); }
    50%      { box-shadow: 0 0 30px rgba(168, 85, 247, 0.4), 0 0 60px rgba(34, 211, 238, 0.15); }
}

.tg-prompt-title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tg-prompt-text {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.6;
    margin: 0 0 24px;
}

.tg-prompt-steps {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.tg-prompt-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(15, 15, 17, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    font-size: 14px;
    color: #e5e7eb;
    transition: border-color 0.2s;
}

.tg-prompt-step:hover {
    border-color: rgba(168, 85, 247, 0.3);
}

.tg-prompt-step b {
    color: #c084fc;
}

.tg-prompt-step-num {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #22d3ee);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.tg-prompt-link {
    color: #22d3ee;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s, filter 0.2s;
}

.tg-prompt-link:hover {
    color: #67e8f9;
    filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.5));
}

.tg-prompt-btn {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.tg-prompt-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.5),
                0 0 60px rgba(168, 85, 247, 0.2);
}