.home-view-all.home-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    min-height: 44px;
    padding: 7px 8px 7px 16px;
    border: 1px solid #6d28d9;
    border-radius: 10px;
    background: linear-gradient(135deg, #8b35e8 0%, #6d1bd1 48%, #450b91 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 3px 10px rgb(76 29 149 / 20%);
    transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.home-view-all.home-view-all span:not(.home-view-all-icon) {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}
.home-view-all .home-view-all-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgb(255 255 255 / 18%);
    color: #fff;
    font-size: 12px;
    transition: transform 180ms ease;
}
.home-view-all.home-view-all:hover {
    border-color: #5b21b6;
    background: linear-gradient(135deg, #7c2bd6 0%, #5b16b5 48%, #35076f 100%);
    color: #fff;
    box-shadow: 0 5px 14px rgb(76 29 149 / 30%);
    text-decoration: none;
}
.home-view-all:hover .home-view-all-icon { transform: translateX(2px); }
.home-view-all.home-view-all:focus-visible {
    outline: 3px solid #9333ea;
    outline-offset: 3px;
}
.home-view-all.home-view-all:active { box-shadow: none; }
body.dark .home-view-all.home-view-all {
    border-color: #a855f7;
    color: #fff;
}
body.dark .home-view-all.home-view-all:hover { border-color: #c084fc; }
body.dark .home-view-all.home-view-all:focus-visible { outline-color: #d8b4fe; }
@media (max-width: 575px) {
    .home-view-all.home-view-all { gap: 6px; padding-left: 12px; font-size: 13px; }
}
/* Mobile section headings: bold title paired with a compact pill button */
@media (max-width: 767px) {
    .mobile-home-section-heading,
    .home-popular-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 40px;
        margin-bottom: 12px;
    }
    .mobile-home-section-heading > h2,
    .home-popular-header > h2.home-popular-heading {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
        margin: 0;
        color: #0f172a;
        font-size: 16px;
        font-weight: 700 !important;
        line-height: 1.35;
        letter-spacing: -0.01em;
    }
    .mobile-home-section-heading > h2 > span {
        color: inherit;
        font-size: inherit;
        font-weight: inherit;
    }
    .home-popular-header > h2.home-popular-heading::before {
        content: "";
        flex-shrink: 0;
        width: 4px;
        height: 18px;
        border-radius: 999px;
        background: linear-gradient(180deg, #8b35e8, #450b91);
    }
    body.dark .mobile-home-section-heading > h2,
    body.dark .home-popular-header > h2.home-popular-heading { color: #f1f5f9; }

    .mobile-home-section-heading .home-view-all.home-view-all,
    .home-popular-header .home-view-all.home-view-all {
        position: relative;
        gap: 6px;
        min-height: 34px;
        padding: 3px 3px 3px 12px;
        border-radius: 8px;
        font-size: 12.5px;
        font-weight: 700;
        line-height: 1;
        box-shadow: 0 2px 8px rgb(76 29 149 / 18%);
    }
    /* Keeps a 44px tap target while the pill stays visually compact */
    .mobile-home-section-heading .home-view-all.home-view-all::after,
    .home-popular-header .home-view-all.home-view-all::after {
        content: "";
        position: absolute;
        inset: -5px -2px;
    }
    .mobile-home-section-heading .home-view-all .home-view-all-icon,
    .home-popular-header .home-view-all .home-view-all-icon {
        width: 26px;
        height: 26px;
        font-size: 11px;
        background: rgb(255 255 255 / 22%);
    }
}
@media (prefers-reduced-motion: reduce) {
    .home-view-all.home-view-all,
    .home-view-all .home-view-all-icon { transition: none; }
    .home-view-all:hover .home-view-all-icon { transform: none; }
}
