/* ============================================================
   SAMPLES & VIDEO ARCHIVE SECTION — Direct Feed & Category Filter Bar
   ============================================================ */

.samples-section {
    width: 100%;
    background: #0A0A0A;
    position: relative;
    padding-top: 54px;
    padding-bottom: 70px;
    scroll-margin-top: 70px;
}

/* Header Container */
.samples-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Pill Badge */
.samples-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 42, 85, 0.12);
    border: 1px solid rgba(255, 42, 85, 0.35);
    color: #FFAA00;
    border-radius: 999px;
    padding: 6px 16px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 14px;
    box-shadow: 0 2px 14px rgba(255, 42, 85, 0.15);
}

.samples-badge i {
    font-size: 11px;
    color: #FF2A55;
}

/* Main Section Title */
.samples-title {
    font-family: 'Bebas Neue', sans-serif;
    color: #ffffff;
    font-size: clamp(2.1rem, 4.2vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: 0.8px;
    text-align: center;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

/* Subtitle Description */
.samples-desc {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: rgba(255, 255, 255, 0.65);
    font-size: clamp(0.88rem, 1.8vw, 1rem);
    line-height: 1.5;
    text-align: center;
    max-width: 700px;
    margin: 0 0 32px 0;
}

/* ==========================================================
   CATEGORY FILTER BAR (SAMPLES ARCHIVE) — BESPOKE MODERN UI
   ========================================================== */
.samples-filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1020px;
    margin: 0 auto 34px;
    padding: 0 16px;
}

/* Individual Category Button / Card */
.samples-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: -0.2px;
    padding: 10px 18px;
    border-radius: 12px;
    background: #111116;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #9ea0aa;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    outline: none;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.samples-pill .pill-icon {
    font-size: 13px;
    color: #ff2a55;
    opacity: 0.85;
    transition: transform 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.samples-pill .pill-label {
    display: inline-block;
    transition: color 0.2s ease;
}

/* Hover State */
.samples-pill:hover {
    background: #181822;
    border-color: rgba(255, 42, 85, 0.4);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.samples-pill:hover .pill-icon {
    transform: scale(1.15);
    opacity: 1;
}

/* Active State — Distinctive Red Neon Glow & Inner Bevel */
.samples-pill.active {
    background: linear-gradient(135deg, #FF1E4B 0%, #D8002F 100%) !important;
    border-color: rgba(255, 130, 160, 0.65) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 22px rgba(255, 30, 75, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
    transform: none;
    cursor: default;
}

.samples-pill.active .pill-icon {
    color: #ffffff !important;
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5));
}

.samples-pill.active .pill-label {
    color: #ffffff !important;
}

/* ==========================================================
   MOBILE LAYOUT (ALL CATEGORIES VISIBLE — NO HORIZONTAL SCROLL)
   ========================================================== */
@media (max-width: 768px) {
    .samples-header-container {
        padding: 0 16px;
    }

    .samples-desc {
        margin-bottom: 20px;
    }

    .samples-filter-bar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        width: 100%;
        max-width: 440px;
        margin: 0 auto 24px auto;
        padding: 0;
        overflow-x: visible; /* NO HORIZONTAL SCROLL! */
    }

    .samples-filter-bar::-webkit-scrollbar {
        display: none;
    }

    /* Primary button ("All Raw Leaks") spans the top row */
    .samples-pill[data-category="all"] {
        grid-column: 1 / -1;
        justify-content: center;
        padding: 12px 16px;
        font-size: 13.5px;
    }

    .samples-pill[data-category="all"] .pill-label {
        font-weight: 700;
    }

    /* Subcategory buttons sit neatly in 2 columns */
    .samples-pill {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        padding: 11px 8px;
        font-size: 12px;
        border-radius: 10px;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .samples-pill .pill-icon {
        font-size: 12px;
        flex-shrink: 0;
    }

    .samples-pill .pill-label {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 380px) {
    .samples-filter-bar {
        gap: 6px;
    }

    .samples-pill {
        font-size: 11.5px;
        padding: 10px 4px;
        gap: 5px;
    }

    .samples-pill .pill-icon {
        font-size: 11px;
    }
}

/* Video Grid Wrapper — Full Width Centered */
.samples-grid-wrapper {
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

/* Grid Layout: 5 Columns Desktop */
.samples-grid-wrapper .video-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px 14px;
    position: relative;
    min-height: 480px;
}

/* Video Card (Compact 5-col design) */
.video-card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    user-select: none;
}

/* Thumbnail Container */
.video-card .video-thumb-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: #111111;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.video-card:hover .video-thumb-container {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.7);
}

.video-card .video-thumb-container video,
.video-card .video-thumb-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Leak Tag (top-left) */
.leak-tag {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(0, 0, 0, 0.82);
    border: 1px solid rgba(255, 42, 85, 0.5);
    color: #FFAA00;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 2.5px 6px;
    border-radius: 4px;
    pointer-events: none;
    z-index: 3;
    line-height: 1.1;
    white-space: nowrap;
}

/* Duration Badge (bottom-right) */
.video-card .duration-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.85);
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 5px;
    border-radius: 4px;
    pointer-events: none;
    z-index: 3;
    line-height: 1.1;
}

/* Video Meta */
.video-card .video-meta {
    display: flex;
    flex-direction: column;
    padding: 0 2px;
}

/* Video Title */
.video-card .video-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.35;
    margin-top: 7px;
    margin-bottom: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Video Stats (views + time) */
.video-card .video-stats {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 11.5px;
    color: #888888;
    font-weight: 400;
    line-height: 1.25;
}

/* Bottom Fade Overlay & Unlock CTA Button */
.samples-fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 190px;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.72) 42%, rgba(10, 10, 10, 0.98) 85%, #0A0A0A 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 14px;
    z-index: 10;
    pointer-events: none;
}

.samples-unlock-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(26, 26, 26, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.22s ease;
    cursor: pointer;
    pointer-events: auto;
    letter-spacing: 0.1px;
}

.samples-unlock-btn i {
    font-size: 13px;
    color: #ffffff;
}

.samples-unlock-btn:hover {
    background: linear-gradient(135deg, #FF2A55 0%, #FF9E00 100%);
    border-color: transparent;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(255, 42, 85, 0.5), 0 0 16px rgba(255, 170, 0, 0.3);
}

/* Responsive Breakpoints */
@media (max-width: 1350px) {
    .samples-grid-wrapper .video-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 18px 12px;
    }
}

@media (max-width: 1120px) {
    .samples-grid-wrapper .video-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px 12px;
    }
}

@media (max-width: 820px) {
    .samples-grid-wrapper .video-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px 10px;
    }
}

@media (max-width: 600px) {
    .samples-grid-wrapper {
        padding: 0 10px;
    }

    .samples-grid-wrapper .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 8px;
    }

    .leak-tag {
        font-size: 7.5px;
        padding: 2px 4px;
        top: 4px;
        left: 4px;
        max-width: 85%;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .video-card .duration-badge {
        font-size: 9px;
        padding: 1.5px 4px;
        bottom: 4px;
        right: 4px;
    }

    .video-card .video-title {
        font-size: 11.5px;
        line-height: 1.3;
        margin-top: 5px;
    }

    .video-card .video-stats {
        font-size: 10px;
    }

    .samples-fade-overlay {
        height: 150px;
        padding-bottom: 10px;
    }

    .samples-unlock-btn {
        font-size: 12px;
        padding: 10px 18px;
        width: calc(100% - 16px);
        text-align: center;
    }
}

/* Pagination Section (Optional Fallback) */
.content-grid-pagination {
    display: none;
}
