/* =========================================================
   TOP 10 PRODUKTÓW TEGO MIESIĄCA
   ========================================================= */
.top-month-section {
    max-width: 1100px;
    margin: 10px auto 60px;
    padding: 0 20px;
}
.top-month-header {
    text-align: center;
    margin-bottom: 28px;
}
.top-month-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #FFD24A;
    background: rgba(255, 196, 0, 0.1);
    border: 1px solid rgba(255, 196, 0, 0.3);
    padding: 6px 14px;
    border-radius: 999px;
}
.top-month-title {
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    margin: 14px 0 8px;
}
.top-month-title .text-red { color: #E60000; }
.top-month-desc {
    color: #9a9a9a;
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Wyróżniony riser ===== */
.top-riser-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
    background: linear-gradient(135deg, #1d1207 0%, #160d0d 55%, #0e0e0e 100%);
    border: 1px solid rgba(255, 120, 0, 0.35);
    border-radius: 20px;
    padding: 16px 20px;
    margin-bottom: 26px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(.175,.885,.32,1.275), border-color 0.3s, box-shadow 0.3s;
}
.top-riser-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 150, 0, 0.7);
    box-shadow: 0 22px 50px rgba(255, 110, 0, 0.22);
}
.top-riser-glow {
    position: absolute; inset: -40% -10%;
    background: radial-gradient(circle at 12% 30%, rgba(255,120,0,.28), transparent 55%);
    pointer-events: none;
}
.top-riser-rank {
    position: relative; z-index: 1; flex: 0 0 auto;
    width: 46px; height: 46px; border-radius: 12px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, #ff3b00, #ffb300);
    color: #1a0a00; font-size: 1.2rem;
    box-shadow: 0 6px 18px rgba(255,120,0,.5);
}
.top-riser-img {
    position: relative; z-index: 1; flex: 0 0 auto;
    width: 72px; height: 72px; border-radius: 14px; overflow: hidden;
    border: 2px solid rgba(255,160,0,.4); background: #1a1a1a;
}
.top-riser-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.top-riser-info { position: relative; z-index: 1; flex: 1; min-width: 0; }
.top-riser-eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
    color: #ffb259;
}
.top-riser-name {
    font-size: 1.15rem; font-weight: 700; color: #fff; margin: 4px 0 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.top-riser-cat { font-size: 0.8rem; color: #9a9a9a; text-transform: uppercase; letter-spacing: .5px; }
.top-riser-stats {
    position: relative; z-index: 1; flex: 0 0 auto;
    display: flex; flex-direction: column; align-items: flex-end; gap: 7px;
}
.top-riser-views, .top-riser-velocity {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.82rem; font-weight: 700; white-space: nowrap;
}
.top-riser-views { color: #fff; }
.top-riser-velocity {
    color: #fff; background: linear-gradient(135deg, #ff3b00, #ffae00);
    padding: 5px 11px; border-radius: 999px; box-shadow: 0 4px 14px rgba(255,120,0,.4);
}

/* ===== Lista TOP 10 (mini-spreadsheet) ===== */
.top-month-list {
    list-style: none; margin: 0; padding: 0;
    background: #111;
    border: 1px solid #262626;
    border-radius: 18px;
    overflow: hidden;
}
.tm-row {
    display: flex; align-items: center; gap: 14px;
    padding: 11px 16px;
    border-bottom: 1px solid #1e1e1e;
    cursor: pointer;
    transition: background 0.2s ease;
}
.tm-row:last-child { border-bottom: none; }
.tm-row:hover { background: rgba(230, 0, 0, 0.06); }
.tm-row.is-riser { background: rgba(255, 120, 0, 0.07); }
.tm-row.is-riser:hover { background: rgba(255, 120, 0, 0.12); }

.tm-rank {
    flex: 0 0 auto; width: 28px; text-align: center;
    font-weight: 800; font-size: 0.95rem; color: #777;
}
.tm-rank--top { color: #fff; }
.tm-rank--1 { color: #FFD24A; text-shadow: 0 0 12px rgba(255,196,0,.5); }
.tm-rank--2 { color: #d6d6d6; }
.tm-rank--3 { color: #e6915a; }

.tm-thumb {
    flex: 0 0 auto; width: 46px; height: 46px; border-radius: 10px; overflow: hidden;
    background: #1a1a1a; border: 1px solid #2a2a2a;
}
.tm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.tm-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tm-name {
    color: #fff; font-weight: 600; font-size: 0.9rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tm-cat {
    font-size: 0.72rem; color: #888; text-transform: uppercase; letter-spacing: .4px;
    display: inline-flex; align-items: center; gap: 8px;
}
.tm-riser-tag {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 0.62rem; font-weight: 800; letter-spacing: .3px;
    color: #1a0a00; background: linear-gradient(135deg, #ff3b00, #ffae00);
    padding: 2px 7px; border-radius: 999px; text-transform: uppercase;
}

.tm-meta { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }
.tm-views {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.74rem; font-weight: 800; letter-spacing: .5px;
    color: #fff; padding: 4px 9px; border-radius: 7px;
    border: 1px solid rgba(255,255,255,0.12);
}
.tm-views i { font-size: 0.82em; opacity: .95; }
.tm-views--none { background: #1a1a1a; color: #666; border-color: #262626; }
/* te same tiery co na spreadsheecie */
.tm-views.views-badge--t1 { background: rgba(120,30,30,.72); color: #f0c9c9; }
.tm-views.views-badge--t2 { background: rgba(150,30,30,.78); color: #ffdada; }
.tm-views.views-badge--t3 { background: rgba(185,25,25,.82); }
.tm-views.views-badge--t4 { background: rgba(210,20,20,.88); }
.tm-views.views-badge--t5 { background: linear-gradient(135deg,#E60000,#ff2d2d); }
.tm-views.views-badge--t6 { background: linear-gradient(135deg,#ff1f1f,#ff5a2d); }
.tm-views.views-badge--t7 { background: linear-gradient(135deg,#ff3b00,#ffb300); color: #1a0a00; box-shadow: 0 0 16px rgba(255,120,0,.6); }

.tm-rating {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.74rem; font-weight: 700; color: #FFD24A;
    background: rgba(0,0,0,.5); border: 1px solid #2a2a2a;
    padding: 4px 9px; border-radius: 7px;
}
.tm-arrow { color: #555; font-size: 0.8rem; flex: 0 0 auto; transition: transform .2s, color .2s; }
.tm-row:hover .tm-arrow { color: #E60000; transform: translateX(3px); }

@media (max-width: 640px) {
    .top-riser-card { flex-wrap: wrap; gap: 12px; padding: 14px; }
    .top-riser-stats { flex-direction: row; width: 100%; justify-content: space-between; }
    .tm-rating { display: none; }
    .tm-cat { font-size: 0.66rem; }
    .tm-meta { gap: 6px; }
}
