/* NDS Watch – Katalogseiten v6.6.2 */
:root {
    --nds-bg: #121212;
    --nds-card: #1b1b1b;
    --nds-card-2: #202020;
    --nds-border: #303030;
    --nds-text: #f5f5f5;
    --nds-muted: #9b9b9b;
    --nds-red: #ff3333;
    --nds-red-2: #ff334f;
}

body.nds-catalog-body {
    margin: 0;
    background: var(--nds-bg);
    color: var(--nds-text);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.nds-catalog-hero {
    padding: 64px 0 30px;
    background:
        linear-gradient(rgba(0,0,0,.72), rgba(0,0,0,.82)),
        radial-gradient(circle at 50% 0%, rgba(255,51,79,.22), transparent 52%);
    border-bottom: 1px solid rgba(255,51,51,.15);
}

.nds-catalog-hero .container { max-width: 1380px; }
.nds-catalog-back {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #bbb;
    text-decoration: none;
    font-size: .92rem;
    margin-bottom: 1rem;
}
.nds-catalog-back:hover { color: var(--nds-red); }
.nds-catalog-title {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0;
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.5rem);
}
.nds-catalog-title i { color: var(--nds-red); }
.nds-catalog-subtitle {
    margin: .75rem 0 0;
    color: #c9c9c9;
    font-size: 1rem;
}

.nds-catalog-main { padding: 28px 0 52px; }
.nds-catalog-main .container { max-width: 1380px; }

.nds-catalog-toolbar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.3rem;
}

.nds-catalog-search {
    display: flex;
    align-items: center;
    min-width: 0;
    background: #1a1a1a;
    border: 1px solid #323232;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.nds-catalog-search:focus-within {
    border-color: rgba(255,51,51,.75);
    box-shadow: 0 0 0 3px rgba(255,51,51,.11);
}
.nds-catalog-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: .88rem 1rem;
    background: transparent;
    color: #fff;
    font-size: .96rem;
}
.nds-catalog-search input::placeholder { color: #777; }
.nds-catalog-search button {
    border: 0;
    background: transparent;
    color: #bbb;
    width: 48px;
    align-self: stretch;
}
.nds-catalog-search button:hover { color: var(--nds-red); }

.nds-catalog-filters {
    display: flex;
    gap: .45rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.nds-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .66rem .88rem;
    border-radius: 999px;
    background: #1c1c1c;
    border: 1px solid #333;
    color: #bdbdbd;
    text-decoration: none;
    font-size: .86rem;
    font-weight: 700;
    white-space: nowrap;
}
.nds-filter-pill:hover,
.nds-filter-pill.active {
    background: rgba(255,51,51,.13);
    border-color: rgba(255,51,51,.55);
    color: #fff;
}
.nds-filter-pill.active { color: #ff6666; }

.nds-catalog-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: #8f8f8f;
    font-size: .9rem;
    margin: 0 0 1.2rem;
}
.nds-catalog-status strong { color: #d5d5d5; }
.nds-clear-search {
    color: var(--nds-red);
    text-decoration: none;
    font-weight: 700;
}
.nds-clear-search:hover { color: #ff7777; }

.nds-video-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}
.nds-video-catalog-card {
    position: relative;
    overflow: hidden;
    background: var(--nds-card);
    border: 1px solid var(--nds-border);
    border-radius: 16px;
    color: #fff;
    text-decoration: none;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.nds-video-catalog-card:hover {
    color: #fff;
    transform: translateY(-4px);
    border-color: rgba(255,51,51,.55);
    box-shadow: 0 14px 30px rgba(0,0,0,.32);
}
.nds-video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #090909;
}
.nds-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}
.nds-video-catalog-card:hover .nds-video-thumb img { transform: scale(1.025); }
.nds-video-duration,
.nds-catalog-new {
    position: absolute;
    z-index: 2;
    top: .7rem;
    padding: .25rem .48rem;
    border-radius: 7px;
    font-size: .72rem;
    font-weight: 800;
}
.nds-video-duration { right: .7rem; background: rgba(0,0,0,.82); color: #fff; }
.nds-catalog-new { left: .7rem; background: var(--nds-red); color: #fff; }
.nds-video-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0,0,0,0);
    transition: background .2s ease;
}
.nds-video-play span {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,51,51,.94);
    opacity: 0;
    transform: scale(.9);
    transition: all .2s ease;
}
.nds-video-catalog-card:hover .nds-video-play { background: rgba(0,0,0,.18); }
.nds-video-catalog-card:hover .nds-video-play span { opacity: 1; transform: scale(1); }
.nds-video-card-body { padding: 1rem 1rem 1.05rem; }
.nds-video-card-title {
    margin: 0;
    font-size: 1.04rem;
    font-weight: 750;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.nds-video-card-description {
    color: #929292;
    margin: .55rem 0 .75rem;
    font-size: .86rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 2.5em;
}
.nds-video-meta {
    display: flex;
    gap: .9rem;
    flex-wrap: wrap;
    color: #8e8e8e;
    font-size: .78rem;
}
.nds-video-meta span { display: inline-flex; align-items: center; gap: .32rem; }
.nds-video-meta i { color: #b8b8b8; }

.nds-shorts-catalog-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
}
.nds-short-catalog-card {
    position: relative;
    min-width: 0;
    aspect-ratio: 9/16;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--nds-border);
    background: #0b0b0b;
    color: #fff;
    text-decoration: none;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.nds-short-catalog-card:hover {
    color: #fff;
    transform: translateY(-4px);
    border-color: rgba(255,51,51,.6);
    box-shadow: 0 14px 28px rgba(0,0,0,.34);
}
.nds-short-catalog-card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}
.nds-short-catalog-card:hover > img { transform: scale(1.025); }
.nds-short-catalog-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 2.8rem .8rem .8rem;
    background: linear-gradient(transparent, rgba(0,0,0,.94));
}
.nds-short-catalog-title {
    margin: 0 0 .45rem;
    font-size: .9rem;
    line-height: 1.3;
    font-weight: 750;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nds-short-meta {
    display: flex;
    justify-content: space-between;
    gap: .45rem;
    color: #d2d2d2;
    font-size: .72rem;
}
.nds-short-duration {
    position: absolute;
    top: .65rem;
    right: .65rem;
    z-index: 2;
    padding: .23rem .43rem;
    border-radius: 6px;
    background: rgba(0,0,0,.78);
    color: #fff;
    font-size: .69rem;
    font-weight: 800;
}

.nds-catalog-empty {
    border: 1px dashed #383838;
    border-radius: 18px;
    padding: 4rem 1rem;
    text-align: center;
    color: #8c8c8c;
    background: rgba(255,255,255,.015);
}
.nds-catalog-empty i { font-size: 2.5rem; color: #555; margin-bottom: .8rem; }
.nds-catalog-empty h3 { color: #d5d5d5; font-size: 1.2rem; }

.nds-catalog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .42rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.nds-page-link,
.nds-page-gap {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0 .72rem;
    border-radius: 10px;
    border: 1px solid #333;
    background: #1b1b1b;
    color: #aaa;
    text-decoration: none;
    font-size: .88rem;
    font-weight: 700;
}
.nds-page-link:hover,
.nds-page-link.active {
    color: #fff;
    background: var(--nds-red);
    border-color: var(--nds-red);
}
.nds-page-link.disabled {
    opacity: .35;
    pointer-events: none;
}
.nds-page-gap { border-color: transparent; background: transparent; }

@media (max-width: 1180px) {
    .nds-shorts-catalog-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 992px) {
    .nds-catalog-hero { padding-top: 48px; }
    .nds-catalog-toolbar { grid-template-columns: 1fr; }
    .nds-catalog-filters { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: .15rem; }
    .nds-video-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nds-shorts-catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .nds-catalog-main { padding-top: 20px; }
    .nds-catalog-status { align-items: flex-start; flex-direction: column; gap: .35rem; }
    .nds-shorts-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
}
@media (max-width: 560px) {
    .nds-catalog-hero { padding: 36px 0 22px; }
    .nds-catalog-title { font-size: 2rem; }
    .nds-video-catalog-grid { grid-template-columns: 1fr; gap: .9rem; }
    .nds-shorts-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
    .nds-short-catalog-card { border-radius: 13px; }
    .nds-short-catalog-overlay { padding: 2rem .6rem .6rem; }
    .nds-short-catalog-title { font-size: .82rem; }
    .nds-short-meta { font-size: .66rem; }
    .nds-page-link, .nds-page-gap { min-width: 38px; height: 38px; padding: 0 .58rem; }
}

/* =========================================================
   v6.6.3 – Katalog-Header zentrieren
   ========================================================= */
.nds-catalog-hero .nds-catalog-title {
    justify-content: center;
    text-align: center;
}

.nds-catalog-hero .nds-catalog-subtitle {
    text-align: center;
}
