:root {
    --nt-bg: #0f0f10;
    --nt-panel: #161618;
    --nt-border: #26262a;
    --nt-text: #ececf1;
    --nt-muted: #a7a7b3;

    --nt-success: #25c27a;
    --nt-info: #3aa1ff;
    --nt-warning: #ffb020;
    --nt-error: #ff4d4f;

    --nt-accent: #ff0a54; /* przycisk konturowy */
    --nt-radius: 14px;
    --nt-softshadow: 0 6px 24px rgba(0, 0, 0, .35), 0 2px 6px rgba(0, 0, 0, .2);
}

.nt-main {
    background: var(--nt-bg);
    min-height: 60vh;
}

.nt-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 20px;
}

.nt-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.nt-head h1 {
    margin: 0;
    font-size: clamp(22px, 3vw, 32px);
    letter-spacing: .3px;
}

.nt-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nt-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.nt-filter label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.nt-filter input {
    width: 18px;
    height: 18px;
    accent-color: var(--nt-info);
}

.nt-select select {
    background: var(--nt-panel);
    color: var(--nt-text);
    border: 1px solid var(--nt-border);
    border-radius: 10px;
    padding: 10px 12px;
    outline: none;
}

.nt-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nt-item {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    background: var(--nt-panel);
    border: 1px solid var(--nt-border);
    border-radius: var(--nt-radius);
    padding: 16px 16px 14px 16px;
    box-shadow: var(--nt-softshadow);
    transition: transform .18s ease, border-color .2s ease, background .2s ease;
}

.nt-item:hover {
    transform: translateY(-1px);
    border-color: #34343a;
}

.nt-left {
    min-width: 0;
}

.nt-title {
    margin: 0;
    font-weight: 600;
    line-height: 1.25;
    word-break: break-word;
}

.nt-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0 8px;
}

.nt-pill {
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .2px;
    background: #222228;
    border: 1px solid var(--nt-border);
}

.nt-pill[data-type="filmy"] {
    color: #ff6f61;
    border-color: color-mix(in oklab, #ff6f61 40%, #222);
}

.nt-pill[data-type="zdjecia"] {
    color: #3aa1ff;
    border-color: color-mix(in oklab, #3aa1ff 40%, #222);
}

.nt-pill[data-type="sklep"] {
    color: #25c27a;
    border-color: color-mix(in oklab, #25c27a 40%, #222);
}

.nt-pill[data-type="forum"] {
    color: #ffb020;
    border-color: color-mix(in oklab, #ffb020 40%, #222);
}

.nt-pill[data-type="spolecznosci"] {
    color: #c586ff;
    border-color: color-mix(in oklab, #c586ff 40%, #222);
}

.nt-pill[data-type="administracja"] {
    color: #ff4d4f;
    border-color: color-mix(in oklab, #ff4d4f 40%, #222);
}


.nt-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--nt-info);
    box-shadow: 0 0 0 3px rgba(58, 161, 255, .15);
}

.nt-item.is-read .nt-dot {
    background: transparent;
    box-shadow: none;
    border: 1px solid var(--nt-border);
}

.nt-body {
    color: var(--nt-muted);
    line-height: 1.45;
    word-break: break-word;
}

.nt-time {
    color: var(--nt-muted);
    font-size: 12px;
    margin-top: 8px;
}

.nt-actions-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nt-actions-item .nt-btn-icon {
    opacity: .85;
}

.nt-item:hover .nt-actions-item .nt-btn-icon {
    opacity: 1;
}

.nt-empty {
    border: 1px dashed var(--nt-border);
    border-radius: var(--nt-radius);
    padding: 28px;
    text-align: center;
    color: var(--nt-muted);
    background: linear-gradient(180deg, #151517, #141416);
}

/* Buttons */
.nt-btn, .nt-btn-icon, .nt-btn-link, .nt-btn-outline {
    appearance: none;
    border: 1px solid var(--nt-border);
    background: var(--nt-panel);
    color: var(--nt-text);
    padding: 10px 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.nt-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.nt-btn:hover {
    background: #1b1b1f;
    transform: translateY(-1px);
}

.nt-btn-outline {
    border: 2px solid var(--nt-accent);
    color: var(--nt-text);
    background: transparent;
}

.nt-btn-outline:hover {
    background: color-mix(in oklab, var(--nt-accent) 12%, transparent);
}

.nt-btn-icon {
    padding: 8px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nt-btn-danger {
    border-color: color-mix(in oklab, var(--nt-error) 40%, #333);
}

.nt-btn-danger:hover {
    background: color-mix(in oklab, var(--nt-error) 12%, transparent);
}

.nt-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    text-decoration: none;
    color: var(--nt-info);
    border: 1px solid transparent;
    padding: 6px 8px;
    border-radius: 10px;
}

.nt-link:hover {
    border-color: color-mix(in oklab, var(--nt-info) 40%, #333);
    background: #17181b;
}

/* Pager */
.nt-pager {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.nt-muted {
    color: var(--nt-muted);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 640px) {
    .nt-actions-item {
        flex-direction: row;
    }

    .nt-head {
        align-items: flex-start;
        gap: 10px;
        flex-direction: column;
    }
}

/* --- MOBILE FIXES --- */
@media (max-width: 768px) {
    .nt-wrap {
        padding: 20px 14px;
    }

    .nt-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .nt-head h1 {
        font-size: clamp(20px, 5vw, 26px);
    }

    .nt-toolbar {
        flex-wrap: wrap;
        gap: 10px;
    }

    .nt-filter {
        width: 100%;
        order: 2;
    }

    .nt-select {
        width: 100%;
        order: 1;
    }

    .nt-select select {
        width: 100%;
        padding: 10px 12px;
    }

    .nt-list {
        gap: 12px;
    }

    .nt-item {
        flex-direction: column; /* lewa/prawa sekcja w kolumnie */
        padding: 14px;
        border-radius: 12px;
        gap: 12px;
    }

    .nt-meta {
        flex-wrap: wrap;
        gap: 8px;
    }

    .nt-pill {
        padding: 3px 8px;
        font-size: 11px;
    }

    .nt-time {
        margin-left: auto;
        font-size: 11px;
    }

    .nt-title {
        font-size: clamp(17px, 5vw, 22px);
    }

    .nt-body {
        font-size: 14px;
    }

    .nt-link {
        width: 100%;
        justify-content: center;
        padding: 8px 10px;
    }

    .nt-actions-item {
        width: 100%;
        justify-content: stretch;
        gap: 8px;
    }

    .nt-actions-item .nt-btn-icon {
        flex: 1 1 0; /* przyciski po 1/2 szerokości */
        justify-content: center;
        padding: 10px 12px;
    }

    .nt-pager {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .nt-pager .nt-btn {
        width: 100%;
    }

    #pager-info {
        text-align: center;
    }
}

/* bardzo wąskie ekrany */
@media (max-width: 380px) {
    .nt-title {
        font-size: 18px;
    }

    .nt-body {
        font-size: 13px;
    }

    .nt-actions-item .nt-btn-icon {
        padding: 9px 10px;
    }
}

/* płynne przejścia elementów po zmianie stanu */
.nt-item {
    transition: transform .18s ease,
    border-color .25s ease,
    background .25s ease,
    opacity .3s ease,
    filter .3s ease;
}

/* kropka i pastylka też miękko gasną */
.nt-dot {
    transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.nt-pill {
    transition: color .25s ease, border-color .25s ease, background .25s ease;
}

/* efekt "wyciszenia" po oznaczeniu jako przeczytane */
.nt-item.is-read {
    background: #141416;
    filter: saturate(.75);
}

.nt-item.is-read .nt-title,
.nt-item.is-read .nt-body {
    opacity: .9;
    transition: opacity .25s ease;
}

/* --- PRZYCISK "Przeczytane": ripple + pop + kolor sukcesu --- */
.nt-btn-icon {
    position: relative;
    overflow: hidden; /* potrzebne do ripple */
    will-change: transform, background, border-color;
}

.nt-btn-icon::after {
    /* ripple */
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    transform: scale(0);
    opacity: 0;
    background: currentColor;
    transition: transform .45s ease, opacity .6s ease;
    pointer-events: none;
}

/* stan w trakcie (po kliknięciu, przed odpowiedzią) */
.nt-btn-icon.is-busy {
    border-color: color-mix(in oklab, var(--nt-info) 50%, #333);
}

.nt-btn-icon.is-busy::after {
    transform: scale(1.2);
    opacity: .12;
}

/* stan sukcesu – lekkie "popnięcie" i zielenie */
.nt-btn-icon.is-ok {
    color: var(--nt-success);
    border-color: color-mix(in oklab, var(--nt-success) 50%, #333);
    animation: nt-pop .24s ease;
}

@keyframes nt-pop {
    0% {
        transform: scale(1);
    }
    60% {
        transform: scale(1.06);
    }
    100% {
        transform: scale(1);
    }
}

/* rysowanie haczyka w SVG (tylko przy sukcesie) */
.nt-btn-icon.is-ok svg path {
    stroke-dasharray: 36;
    stroke-dashoffset: 36;
    animation: nt-check-draw .5s ease forwards;
}

@keyframes nt-check-draw {
    to {
        stroke-dashoffset: 0;
    }
}

/* disabled po sukcesie – zostawiamy zielony, ale wygaszamy interakcję */
.nt-btn-icon:disabled {
    opacity: .9;
    cursor: default;
}

/* subtelne flashnięcie tła kafelka przy sukcesie */
.nt-item.nt-flash {
    animation: nt-flash-bg .5s ease;
}

@keyframes nt-flash-bg {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 194, 122, .25);
    }
    100% {
        box-shadow: 0 0 0 12px rgba(37, 194, 122, 0);
    }
}

.nt-btn-icon.is-ok {
    background: color-mix(in oklab, var(--nt-success) 18%, transparent);
    color: var(--nt-success);
    border-color: color-mix(in oklab, var(--nt-success) 50%, #333);
}

.nt-btn-icon.is-ok:disabled {
    opacity: 1; /* pełna widoczność */
    cursor: default;
}

/* przeczytane przyciski na zielono */
.nt-btn-icon.is-ok {
    background: color-mix(in oklab, var(--nt-success) 18%, transparent);
    color: var(--nt-success);
    border-color: color-mix(in oklab, var(--nt-success) 50%, #333);
}

.nt-btn-icon.is-ok:disabled {
    opacity: 1;
    cursor: default;
}

.nt-input {
    width: 100%;
    background: var(--nt-panel);
    color: var(--nt-text);
    border: 1px solid var(--nt-border);
    border-radius: 12px;
    padding: 10px 12px;
    outline: none;
    transition: border-color .2s ease, background .2s ease;
}

.nt-input:focus {
    border-color: var(--nt-info);
    background: #1b1b1f;
}

.selfie-actions {
    display: flex;
    justify-content: center;
    align-items: center;   /* WYRÓWNA w pionie */
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.selfie-actions .nt-btn,
.selfie-actions .file-btn {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 230px;
}





.selfie-actions .nt-input {
    max-width: 320px;
}

.nt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.nt-scrollbox {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--nt-border);
    border-radius: var(--nt-radius);
    padding: 12px;
    background: #141416;
}

.nt-scrollbox::-webkit-scrollbar {
    width: 8px;
}

.nt-scrollbox::-webkit-scrollbar-thumb {
    background: var(--nt-border);
    border-radius: 8px;
}

.selfie-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 14px;
}

/* Stylizacja przycisku pliku */
.file-upload {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 12px;
    background: var(--nt-panel);
    border: 1px solid var(--nt-border);
    cursor: pointer;
    color: var(--nt-text);
    font-weight: 500;
    transition: background .2s ease, border-color .2s ease;
}

.file-upload:hover {
    background: #1b1b1f;
    border-color: var(--nt-info);
    color: var(--nt-info);
}

.file-upload input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.file-upload span {
    pointer-events: none;
}

.selfie-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 14px;
}

/* Stylizowany przycisk do uploadu */
.file-btn {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.file-btn input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

/* Podgląd */
.selfie-preview {
    margin-top: 16px;
    text-align: center;
}

.selfie-preview img {
    max-width: 260px;
    border-radius: 12px;
    border: 1px solid var(--nt-border);
    box-shadow: var(--nt-softshadow);
}

/* subtelny podtytuł */
.nt-subtitle{ color:var(--nt-muted); font-size:15px; margin:4px 0 0; }

/* mniejsze, eleganckie tytuły sekcji (zamiast dużego .nt-title) */
.nt-title-sm{
    font-size:18px; font-weight:700; letter-spacing:.2px; margin:0 0 8px;
}

/* siatka dla social mediów */
.nt-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:12px; margin-top:8px; }

/* styl inputów (spójnie z nt-*) */
.nt-input{
    width:100%; background:var(--nt-panel); color:var(--nt-text);
    border:1px solid var(--nt-border); border-radius:12px;
    padding:10px 12px; outline:none; transition:border-color .2s, background .2s;
}
.nt-input:focus{ border-color:var(--nt-info); background:#1b1b1f; }

/* radio – „Osoba prywatna / Firma” */
.nt-radio-group{ display:flex; gap:22px; align-items:center; margin-top:6px; }
.nt-radio-group label{ display:flex; align-items:center; gap:8px; cursor:pointer; color:var(--nt-text); }

/* selfie: PDF + upload wyśrodkowane */
.selfie-actions{ display:flex; justify-content:center; align-items:center; gap:14px; flex-wrap:wrap; margin-top:12px; }
.selfie-actions .nt-btn{ min-width:240px; justify-content:center; }

/* custom button dla file input */
.file-btn{ position:relative; overflow:hidden; cursor:pointer; }
.file-btn input[type="file"]{ position:absolute; inset:0; opacity:0; cursor:pointer; }

/* podgląd selfie */
.selfie-preview{ margin-top:14px; text-align:center; }
.selfie-preview img{
    max-width:280px; border-radius:14px; border:1px solid var(--nt-border); box-shadow:var(--nt-softshadow);
}

/* lekko mniejsze marginesy w kafelkach na desktopie */
@media (min-width: 900px){
    .nt-item{ padding:16px 18px 14px; }
}

.nt-note {
    font-size: 13px;
    color: var(--nt-muted);
    margin-top: 10px;
    line-height: 1.4;
}

.nt-success-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    margin: 0 auto;
    max-width: 700px;
}

.nt-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 🔥 szeroka wersja – pełna szerokość, ale z marginesami wewnętrznymi */
.nt-container-wide {
    width: 100%;
    max-width: 100%;
    padding: 40px clamp(20px, 5vw, 60px); /* elastyczny padding */
    margin: 0 auto;
    box-sizing: border-box;
}

.nt-layout-grid {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 32px;
}

.nt-col-main, .nt-col-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Karty sekcji */
.nt-card {
    background: var(--nt-panel);
    border: 1px solid var(--nt-border);
    border-radius: var(--nt-radius);
    box-shadow: var(--nt-softshadow);
    padding: 22px;
    transition: transform .2s ease;
}
.nt-card:hover { transform: translateY(-2px); }

.nt-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--nt-text);
}

.nt-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nt-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

/* Responsywność */
@media (max-width: 1024px) {
    .nt-layout-grid { grid-template-columns: 1fr; }
    .nt-card { padding: 18px; }
}

/* HERO */
.nt-hero {
    background: linear-gradient(135deg, #18181c, #0f0f10);
    border-radius: var(--nt-radius);
    padding: 60px 40px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: var(--nt-softshadow);
}
.nt-hero-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--nt-text);
}
.nt-hero-sub {
    color: var(--nt-muted);
    font-size: 18px;
    margin-top: 8px;
}

/* SEKCJA FILMÓW */
.nt-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 16px;
}

.nt-video-card {
    background: #161618;
    border: 1px solid var(--nt-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--nt-softshadow);
    transition: transform .2s ease, box-shadow .2s ease;
}
.nt-video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.4);
}

.nt-thumb img {
    display: block;
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.nt-video-info {
    padding: 10px 14px 14px;
}
.nt-video-title {
    font-size: 16px;
    font-weight: 600;
    margin: 4px 0;
    color: var(--nt-text);
}
.nt-video-meta {
    color: var(--nt-muted);
    font-size: 13px;
}

/* Główne sekcje pod filmami */
.nt-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.nt-section-head .nt-link {
    font-size: 14px;
}

/* Kontener */
.nt-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 40px 20px 100px;
}

/* Siatka dolna */
.nt-layout-grid {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 32px;
    margin-top: 50px;
}

@media (max-width: 1024px) {
    .nt-layout-grid { grid-template-columns: 1fr; }
    .nt-video-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
    .nt-hero { padding: 40px 20px; }
}


.nt-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--nt-border);
}

.nt-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--nt-text);
}

.nt-section-title i {
    font-size: 18px;
    color: var(--nt-info);
    margin-top: 2px;
}

.nt-section-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--nt-info);
    text-decoration: none;
    transition: color .2s ease;
}

.nt-section-link:hover {
    color: var(--nt-text);
    text-decoration: underline;
}
/* 🔥 Pasek z filmami – pełna szerokość */
.video-strip {
    width: 100%;
    background: linear-gradient(90deg, #3d0c1f 0%, #7A0028 100%);
    padding: 40px 0 50px;
    margin: 0;
    overflow: hidden;
    color: #fff;
}

/* Nagłówek sekcji */
.video-strip-header {
    max-width: 1500px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}
.video-strip-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
}
.video-strip-title i {
    color: #fff;
    font-size: 22px;
}
.video-strip-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: opacity .3s ease;
}
.video-strip-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Pasek przewijanych miniaturek */
.video-strip-container {
    overflow-x: auto;
    padding: 0 40px;
    scroll-behavior: smooth;
}
.video-strip-scroll {
    display: flex;
    gap: 20px;
}

/* Karta filmu */
.video-card {
    flex: 0 0 320px;
    background: #141416;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,.3);
    transition: transform .2s ease, box-shadow .2s ease;
}
.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.video-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.video-info {
    padding: 10px 14px 14px;
    color: #fff;
}
.video-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}
.video-info p {
    font-size: 13px;
    opacity: 0.8;
}

/* Pasek przewijania */
.video-strip-container::-webkit-scrollbar {
    height: 10px;
}
.video-strip-container::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.25);
    border-radius: 5px;
}

/* Responsywność */
@media (max-width: 900px) {
    .video-card { flex: 0 0 260px; }
    .video-strip-header { padding: 0 20px; }
}


/* 🔥 Pasek z filmami */
.video-strip {
    width: 100%;
    background: linear-gradient(90deg, #470f25 0%, #7A0028 100%);
    padding: 40px 0 60px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.video-strip-header {
    max-width: 1500px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 2;
    position: relative;
}
.video-strip-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
}
.video-strip-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: opacity .3s ease;
}
.video-strip-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ⚡ Scroll-container */
.video-strip-container {
    overflow: hidden;
    scroll-behavior: smooth;
}
.video-strip-scroll {
    display: flex;
    gap: 20px;
    padding: 0 40px;
    transition: transform .3s ease;
}

/* 🎬 Kafle */
.video-card {
    flex: 0 0 320px;
    background: #141416;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,.3);
    transition: transform .2s ease, box-shadow .2s ease;
}
.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.video-thumb {
    position: relative;
    display: block;
}
.video-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* 📺 Overlay (czas + wyświetlenia) */
.video-overlay {
    position: absolute;
    bottom: 8px;
    right: 8px;
    left: 8px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: #fff;
    font-size: 13px;
    text-shadow: 0 0 5px rgba(0,0,0,.6);
}
.video-duration {
    background: rgba(0,0,0,.6);
    padding: 2px 6px;
    border-radius: 6px;
}
.video-views {
    background: rgba(0,0,0,.5);
    padding: 2px 6px;
    border-radius: 6px;
}

.video-info {
    padding: 10px 14px 14px;
}
.video-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}
.video-meta {
    font-size: 13px;
    opacity: 0.85;
}

/* ⚙️ Przyciski przewijania */
.scroll-btn {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.4);
    border: none;
    color: #fff;
    font-size: 22px;
    width: 40px;
    height: 60px;
    border-radius: 10px;
    cursor: pointer;
    z-index: 5;
    transition: background .2s ease;
}
.scroll-btn {
    background: rgba(255,255,255,.15);
    border: 2px solid rgba(255,255,255,.3);
    color: #fff;
}
.scroll-btn:hover {
    background: rgba(255,255,255,.3);
}


.scroll-btn.left {
    left: 10px;
}
.scroll-btn.right {
    right: 10px;
}

/* 🧩 Responsywność */
@media (max-width: 900px) {
    .video-card { flex: 0 0 260px; }
    .video-strip-header { padding: 0 20px; }
    .scroll-btn { display: none; }
}
.video-strip-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: auto !important; /* wyłącz smooth scroll dla drag */
}
.video-strip-scroll {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    width: max-content;
}

/* 📱 Usprawnienia dla widoku mobilnego */
@media (max-width: 768px) {

    /* sekcja filmów */
    .video-strip {
        padding: 28px 0 46px;
    }

    .video-strip-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 16px;
        padding: 0 18px;
    }

    .video-strip-title {
        font-size: 20px;
        line-height: 1.2;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .video-strip-title i {
        font-size: 18px;
    }

    .video-strip-link {
        align-self: flex-end;
        font-size: 14px;
        font-weight: 600;
    }

    /* przyciski przewijania – ukrywamy na mobile */
    .scroll-btn {
        display: none !important;
    }

    /* karuzela */
    .video-strip-scroll {
        gap: 14px;
        padding: 0 16px;
    }

    .video-card {
        flex: 0 0 240px;
        border-radius: 12px;
    }

    .video-thumb img {
        height: 140px;
    }

    .video-info {
        padding: 10px 12px 14px;
    }

    .video-title {
        font-size: 14px;
        line-height: 1.3;
    }

    .video-meta {
        font-size: 12px;
    }
}


.hero-section {
    background: radial-gradient(circle at top, #111 0%, #0b0b0b 100%);
    padding-bottom: 20px;
}

.video-strip {
    border-top: 3px solid rgba(255,255,255,0.05);
}

/* HERO – mniej pustego miejsca */
.nt-hero {
    padding: 40px 20px 32px;
    margin-bottom: 20px;
    border-radius: 16px;
}

/* Główne kontenery – ciaśniejsze */
.nt-container,
.nt-container-wide {
    padding-top: 20px;
    padding-bottom: 40px;
}

/* Pasek z filmami – mniej odstępu nad i pod */
.video-strip {
    padding: 28px 0 38px;
    border-top: none;
}

/* Siatka główna sekcji (blog/forum) – ciaśniejsza */
.nt-layout-grid {
    gap: 24px;
    margin-top: 30px;
}

/* Karty – mniejsze odstępy wewnętrzne */
.nt-card {
    padding: 18px;
}

/* Dostosowanie mobilne – jeszcze ciaśniej */
@media (max-width: 768px) {
    .nt-hero {
        padding: 28px 16px 24px;
        margin-bottom: 16px;
    }
    .nt-container,
    .nt-container-wide {
        padding: 14px 16px 28px;
    }
    .video-strip {
        padding: 20px 0 30px;
    }
}


/* 🎬 Kompaktowy wygląd kafli wideo */
.video-info {
    padding: 8px 12px 10px !important; /* mniej pionowych odstępów */
}

.video-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto; /* automatyczna wysokość zamiast sztywnej */
}

.video-title {
    margin-bottom: 4px;
}

.video-meta {
    margin-bottom: 0;
    padding-bottom: 0;
}


.video-strip-container.dragging {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

.video-strip-container {
    cursor: grab;
    cursor: -webkit-grab;
    user-select: none; /* nie zaznacza tekstu podczas przeciągania */
}

/* 🧑‍🎨 Top Twórcy z avatarami i statusami */
.top-creators-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}

.creator-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #141414;
    border-radius: 10px;
    padding: 8px 12px;
    transition: background .2s ease;
}

.creator-item:hover {
    background: #1b1b1b;
}

.creator-avatar {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.creator-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.creator-status {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    border: 2px solid #141414;
    border-radius: 50%;
}

.creator-status.online {
    background: #00c853; /* zielony – online */
}

.creator-status.offline {
    background: #777; /* szary – offline */
}

.creator-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.creator-info strong {
    color: #fff;
    font-size: 14px;
}

.creator-info span {
    font-size: 12px;
    color: #aaa;
}


.creator-avatar {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.creator-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1; /* ustawia obrazek poniżej statusu */
}

.creator-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 10px;
    height: 10px;
    border: 2px solid #141414;
    border-radius: 50%;
    z-index: 2; /* 🔝 kropka zawsze nad zdjęciem */
}

.creator-status.online {
    background: #00c853;
    box-shadow: 0 0 6px rgba(0, 200, 83, 0.8);
}

.creator-status.offline {
    background: #666;
}


/* 🔥 Top Twórcy — kafelki z tłem i avatarem */
.top-creators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 14px;
}

.creator-tile {
    position: relative;
    background: #111;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 0 8px rgba(0,0,0,0.4);
    transition: transform .2s ease, box-shadow .2s ease;
}
.creator-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.6);
}

/* tło profilu */
.creator-cover {
    height: 80px;
    background-size: cover;
    background-position: center;
    filter: brightness(0.8);
}

/* avatar */
.creator-avatar {
    position: absolute;
    top: 46px;
    left: 12px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #111;
    z-index: 2;
}
.creator-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.creator-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 15px;
    height: 15px;
    border: 2px solid #111;
    border-radius: 50%;
    z-index: 3;
}
.creator-status.online {
    background: #00c853;
    box-shadow: 0 0 8px rgba(0, 200, 83, 0.8);
}
.creator-status.offline {
    background: #777;
}

/* nazwa twórcy */
.creator-name {
    margin-top: 40px;
    padding: 8px 12px 12px;
    text-align: left;
}
.creator-name strong {
    display: block;
    font-size: 14px;
    color: #fff;
}
.creator-name span {
    font-size: 12px;
    color: #aaa;
}

/* responsywność */
@media (max-width: 768px) {
    .top-creators-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}


/* 🔴 Pulsujący znacznik Admin */
.creator-admin {
    color: #e4005a;
    font-weight: 600;
    animation: adminPulse 1.6s infinite ease-in-out;
    display: inline-block;
    margin-right: 6px;
    text-shadow: 0 0 6px rgba(228, 0, 90, 0.6);
}

@keyframes adminPulse {
    0% {
        color: #e4005a;
        text-shadow: 0 0 6px rgba(228, 0, 90, 0.6);
    }
    50% {
        color: #7a0028;
        text-shadow: 0 0 10px rgba(122, 0, 40, 0.9);
    }
    100% {
        color: #e4005a;
        text-shadow: 0 0 6px rgba(228, 0, 90, 0.6);
    }
}


/* 🎬 Top Studia – kafle z logiem i okładką */
.top-studios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 14px;
}

.studio-tile {
    background: #111;
    border-radius: 14px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
}
.studio-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.6);
}

/* tło - ostatni film */
.studio-cover {
    position: relative;
    height: 120px;
    background-size: cover;
    background-position: center;
    filter: brightness(0.9);
}

/* logo studia */
.studio-logo {
    position: absolute;
    bottom: -28px;
    left: 14px;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid #111;
    background: #000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.studio-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* informacje */
.studio-info {
    padding: 36px 14px 14px;
}
.studio-info strong {
    display: block;
    font-size: 15px;
    color: #fff;
    margin-bottom: 6px;
}
.studio-meta {
    font-size: 13px;
    color: #aaa;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.studio-meta i {
    color: #e4005a;
    margin-right: 6px;
}

/* mobile */
@media (max-width: 768px) {
    .top-studios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .studio-cover { height: 100px; }
    .studio-logo { width: 48px; height: 48px; }
}


/* 🎥 Aktywne pokoje z kamerkami */
.active-rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 14px;
}

.room-tile {
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    transition: transform .25s ease, box-shadow .25s ease;
}
.room-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.6);
}

/* miniatura / kamera */
.room-thumb {
    position: relative;
    height: 130px;
    background-size: cover;
    background-position: center;
}

/* plakietka LIVE */
.room-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #e4005a;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(228,0,90,0.8);
    animation: livePulse 1.4s infinite ease-in-out;
}
@keyframes livePulse {
    0% { box-shadow: 0 0 6px rgba(228,0,90,0.6); }
    50% { box-shadow: 0 0 14px rgba(228,0,90,0.9); }
    100% { box-shadow: 0 0 6px rgba(228,0,90,0.6); }
}

/* informacje pod kamerą */
.room-info {
    padding: 10px 12px 14px;
}
.room-user {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.room-user img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #222;
}
.room-user strong {
    font-size: 14px;
    color: #fff;
}

.room-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #aaa;
}
.room-meta i {
    color: #e4005a;
    margin-right: 5px;
}

/* wersja live */
.room-tile.live .room-thumb {
    filter: brightness(1);
    border-bottom: 2px solid #e4005a;
}

/* mobile */
@media (max-width: 768px) {
    .active-rooms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .room-thumb { height: 110px; }
}


/* 🔔 Aktualności Twórców (feed) */
.creator-feed {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feed-item {
    display: flex;
    align-items: flex-start;
    background: #141414;
    border-radius: 10px;
    padding: 10px 12px;
    transition: background .2s ease;
}
.feed-item:hover {
    background: #1a1a1a;
}

.feed-avatar {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
}
.feed-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feed-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feed-content p {
    color: #fff;
    font-size: 14px;
    margin: 0;
}

.feed-content strong {
    color: #fff;
    font-weight: 600;
}

.feed-meta {
    font-size: 12px;
    color: #aaa;
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
}

.feed-type i {
    color: #e4005a;
    margin-right: 4px;
}
.feed-time {
    opacity: 0.8;
}

/* Responsywność */
@media (max-width: 768px) {
    .feed-item {
        padding: 8px 10px;
    }
    .feed-avatar {
        width: 36px;
        height: 36px;
    }
}

/* 🔔 Aktualności Twórców (z miniaturami) */
.media-feed {
    list-style: none;
    padding: 0;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feed-item {
    display: flex;
    align-items: center;
    background: #141414;
    border-radius: 10px;
    padding: 10px 12px;
    transition: background .25s ease, transform .25s ease;
}
.feed-item:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
}

/* podgląd zdjęcia lub filmu */
.feed-media {
    flex-shrink: 0;
    width: 100px;
    height: 65px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    margin-right: 12px;
}
.feed-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: transform .3s ease;
}
.feed-thumb:hover img {
    transform: scale(1.05);
}

/* ikona odtwarzania dla wideo */
.feed-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 18px;
    padding: 6px 9px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity .25s ease;
}
.feed-thumb.video:hover .feed-play-icon {
    opacity: 1;
}

/* tekst i meta */
.feed-content {
    flex-grow: 1;
}
.feed-content p {
    color: #fff;
    font-size: 14px;
    margin: 0;
}
.feed-content strong {
    font-weight: 600;
    color: #fff;
}

.feed-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #aaa;
    margin-top: 4px;
}
.feed-type i {
    color: #e4005a;
    margin-right: 4px;
}
.feed-time {
    opacity: .8;
}

/* mobile */
@media (max-width: 768px) {
    .feed-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .feed-media {
        width: 100%;
        height: 180px;
        margin-right: 0;
        margin-bottom: 10px;
    }
}


/* 💬 Sekcja forum */
.forum-list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.forum-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #141414;
    border-radius: 10px;
    padding: 12px 14px;
    transition: background 0.25s ease, transform 0.2s ease;
}
.forum-item:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
}

/* lewa strona: ikona + tytuł */
.forum-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.forum-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #e4005a, #87002b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    box-shadow: 0 0 10px rgba(228, 0, 90, 0.4);
}
.forum-title {
    font-size: 15px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}
.forum-title:hover {
    color: #e4005a;
}
.forum-meta {
    font-size: 12px;
    color: #aaa;
    margin-top: 3px;
}

/* prawa strona (liczba odpowiedzi) */
.forum-right {
    display: flex;
    align-items: center;
    color: #ccc;
    font-size: 13px;
}
.forum-replies {
    background: #1f1f1f;
    border-radius: 20px;
    padding: 4px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.forum-replies i {
    color: #e4005a;
}

/* mobile */
@media (max-width: 768px) {
    .forum-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .forum-right {
        align-self: flex-end;
    }
}


/* 📰 Sekcja Blog */
.blog-list {
    list-style: none;
    padding: 0;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.blog-item {
    display: flex;
    align-items: flex-start;
    background: #141414;
    border-radius: 12px;
    overflow: hidden;
    transition: background 0.25s ease, transform 0.2s ease;
}
.blog-item:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
}

/* miniatura */
.blog-thumb {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    overflow: hidden;
    border-radius: 10px;
    margin: 12px;
}
.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.blog-item:hover .blog-thumb img {
    transform: scale(1.05);
}

/* treść */
.blog-content {
    flex-grow: 1;
    padding: 12px 14px 12px 0;
}
.blog-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}
.blog-title:hover {
    color: #e4005a;
}
.blog-meta {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 6px;
    display: flex;
    gap: 12px;
}
.blog-meta i {
    color: #e4005a;
    margin-right: 4px;
}
.blog-excerpt {
    font-size: 13px;
    color: #bbb;
    line-height: 1.4;
    margin: 0;
}

/* responsywność */
@media (max-width: 768px) {
    .blog-item {
        flex-direction: column;
    }
    .blog-thumb {
        width: 100%;
        height: 160px;
        margin: 0;
        border-radius: 0;
    }
    .blog-content {
        padding: 12px;
    }
}


