/* =========================
   PANEL OSTATNIE 30
========================= */

.dt-last30-panel {
    width: 100%;
    margin: 0 0 14px 0;
    border-radius: 25px;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(29,167,255,.16), transparent 38%),
        linear-gradient(145deg, #101927, #06101a);
    border: 1px solid rgba(120,170,255,.16);
    box-shadow:
        0 10px 24px rgba(0,0,0,.42),
        inset 0 0 18px rgba(40,130,255,.04);
}

/* HEADER - IKONA GÓRA, TEKST DÓŁ */
.dt-last30-head {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 86px;
    padding: 12px 18px;

    background:
        radial-gradient(circle at center top, rgba(35,130,255,.24), transparent 55%),
        linear-gradient(135deg, rgba(25,45,75,.95), rgba(9,18,31,.92));

    border-bottom: 1px solid rgba(120,170,255,.11);

    color: #eef5ff;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .9px;
    text-align: center;
    line-height: 1;

    text-shadow:
        0 0 10px rgba(77,166,255,.38),
        0 2px 0 rgba(0,0,0,.35);
}

.dt-last30-head:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(92,225,255,.55), transparent);
}

.dt-last30-head-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    font-size: 28px;
    line-height: 1;

    filter:
        drop-shadow(0 0 8px rgba(92,225,255,.55))
        drop-shadow(0 2px 2px rgba(0,0,0,.45));
}

/* BODY */
.dt-last30-body {
    padding: 13px;
}

/* LISTA */
.dt-last30-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dt-last30-item {
    margin-bottom: 8px;
}

.dt-last30-item:last-child {
    margin-bottom: 0;
}

/* LINK */
.dt-last30-link {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;

    padding: 10px 11px;

    border-radius: 14px;
    background:
        radial-gradient(circle at left center, rgba(31,109,255,.10), transparent 55%),
        linear-gradient(145deg, #101a29, #08101a);

    border: 1px solid rgba(120,170,255,.14);
    color: #dbe6f3 !important;
    text-decoration: none !important;
    overflow: hidden;

    box-shadow:
        inset 0 0 14px rgba(40,130,255,.035),
        0 4px 12px rgba(0,0,0,.22);

    transition:
        transform .16s ease,
        border-color .16s ease,
        box-shadow .16s ease,
        background .16s ease;
}

.dt-last30-link:before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.13), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
}

.dt-last30-link:hover {
    transform: translateY(-2px) scale(1.012);
    border-color: rgba(92,225,255,.36);
    background:
        radial-gradient(circle at left center, rgba(31,109,255,.20), transparent 55%),
        linear-gradient(145deg, #132238, #08111d);
    box-shadow:
        0 0 16px rgba(31,109,255,.22),
        inset 0 0 14px rgba(40,130,255,.06);
}

.dt-last30-link:hover:before {
    left: 140%;
    transition: .55s ease;
}

/* KATEGORIA */
.dt-last30-category {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;

    padding: 3px 8px;
    border-radius: 999px;

    background: linear-gradient(135deg, rgba(255,224,102,.16), rgba(255,157,92,.08));
    border: 1px solid rgba(255,224,102,.20);

    color: #ffe066;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: .35px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    box-shadow:
        inset 0 0 10px rgba(255,224,102,.04),
        0 0 10px rgba(255,224,102,.08);
}

/* TYTUŁ */
.dt-last30-title {
    position: relative;
    z-index: 2;

    display: block;

    color: #dceaff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;

    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
    overflow-wrap: anywhere;

    text-shadow: 0 0 8px rgba(77,166,255,.18);
}

.dt-last30-link:hover .dt-last30-title {
    color: #ffffff;
}

.dt-last30-link:hover .dt-last30-category {
    border-color: rgba(255,224,102,.36);
    color: #fff0a8;
    box-shadow:
        0 0 12px rgba(255,224,102,.14),
        inset 0 0 10px rgba(255,224,102,.06);
}