/* ══ ANA Voting – głosowanie + Gorące dziś ════════════════ */

/* ── Przycisk głosowania ─────────────────────────────────── */
.ana-vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.35);
    border-radius: 20px;
    padding: 5px 12px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #a0b0cc;
    transition: all 0.18s ease;
    user-select: none;
    line-height: 1;
}
.ana-vote-btn:hover {
    background: rgba(124, 58, 237, 0.22);
    border-color: #7c3aed;
    color: #fff;
}
.ana-vote-btn.ana-voted {
    background: linear-gradient(135deg, #7c3aed, #ff4d00);
    border-color: transparent;
    color: #fff;
}
.ana-vote-btn .ana-vote-icon {
    font-size: 15px;
    line-height: 1;
}
.ana-vote-btn .ana-vote-count {
    font-variant-numeric: tabular-nums;
    min-width: 12px;
    text-align: center;
}
.ana-vote-btn.ana-vote-loading {
    opacity: 0.55;
    pointer-events: none;
}
.ana-vote-btn.ana-vote-pop {
    animation: anaVotePop 0.4s ease;
}
@keyframes anaVotePop {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.18); }
    100% { transform: scale(1); }
}

/* ── Blok "Gorące dziś" ──────────────────────────────────── */
.ana-hot-block {
    background: linear-gradient(135deg, #14102b 0%, #0d1322 100%);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 16px;
    padding: 20px 22px;
    margin: 0 0 28px;
}
.ana-hot-header {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
}
.ana-hot-icon {
    font-size: 22px;
    line-height: 1;
}
.ana-hot-title {
    margin: 0;
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.3px;
}
.ana-hot-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ana-hot-loading,
.ana-hot-empty {
    color: #5a6a8a;
    font-size: 13px;
    padding: 8px 0;
}

/* ── Pozycja na liście ───────────────────────────────────── */
.ana-hot-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 10px;
    border-radius: 10px;
    text-decoration: none !important;
    transition: background 0.15s ease;
}
.ana-hot-item:hover {
    background: rgba(124, 58, 237, 0.12);
}
.ana-hot-rank {
    flex-shrink: 0;
    width: 22px;
    text-align: center;
    font-size: 15px;
    font-weight: 800;
    color: #7c3aed;
    font-variant-numeric: tabular-nums;
}
.ana-hot-item:nth-child(1) .ana-hot-rank { color: #ff4d00; }
.ana-hot-item:nth-child(2) .ana-hot-rank { color: #ff8c00; }
.ana-hot-item:nth-child(3) .ana-hot-rank { color: #ffd600; }

.ana-hot-thumb {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-color: #1e1b40;
}
.ana-hot-thumb-empty {
    background: linear-gradient(135deg, #1e1b40, #2a2550);
}
.ana-hot-text {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    color: #e8eaf6;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ana-hot-item:hover .ana-hot-text {
    color: #fff;
}
.ana-hot-votes {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
    color: #ff8c00;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* ── Responsywność ───────────────────────────────────────── */
@media ( max-width: 600px ) {
    .ana-hot-block { padding: 16px; border-radius: 12px; }
    .ana-hot-thumb { width: 38px; height: 38px; }
    .ana-hot-text { font-size: 13px; }
    .ana-hot-title { font-size: 17px; }
    /* Większy obszar dotykowy dla palca (min 44px) */
    .ana-vote-btn {
        min-height: 40px;
        padding: 8px 14px;
        font-size: 14px;
    }
    .ana-vote-btn .ana-vote-icon { font-size: 17px; }
    .ana-hot-item { padding: 11px 8px; }
}
