/* ==========================================================================
   TOP PLUGINS SHOWCASE SLIDER (TIER-1 ARCHITECTURE)
   Location: css/top-plugins-slider.css
   Pure Poppins Typography & Exact Header Matching Standards
   ========================================================================== */

.tc-showcase-wrapper,
.tc-showcase-wrapper * {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
    box-sizing: border-box !important;
}

.tc-showcase-wrapper {
    max-width: 1400px !important;
    margin: 60px auto 40px auto !important;
    padding: 0 40px !important;
    animation: tcShowcaseFadeIn 0.5s ease-out forwards !important;
    box-sizing: border-box !important;
    position: relative !important;
}

@keyframes tcShowcaseFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tc-showcase-wrapper p:empty {
    display: none !important;
}

/* ==========================================================================
   HEADER ROW: PLUGINS ICON + TITLE + SUBTITLE + GLASS ARROWS
   ========================================================================== */
.tc-showcase-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    margin-bottom: 24px !important;
    gap: 20px !important;
}

.tc-showcase-title-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.tc-showcase-title-row {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

/* 🚀 Top Plugins Vector SVG Icon Container */
.tc-showcase-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #7c3aed !important;
    flex-shrink: 0 !important;
}

.tc-showcase-icon svg {
    width: 32px !important;
    height: 32px !important;
    stroke: #7c3aed !important;
    stroke-width: 2.2 !important;
}

.tc-showcase-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 !important;
    letter-spacing: -0.5px !important;
    line-height: 1.2 !important;
}

.tc-showcase-subtitle {
    font-family: 'Poppins', sans-serif !important;
    font-size: 14.5px !important;
    color: #94a3b8 !important;
    margin: 0 !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
}

/* ==========================================================================
   🏷️ HORIZONTAL LABELS / KEYWORDS SCROLL ROW
   ========================================================================== */
.tc-labels-container {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    margin-bottom: 28px !important;
    background: transparent !important;
    padding: 0 !important;
    width: 100% !important;
}

.tc-labels-scroll-area {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
    padding: 8px 0 !important;
    flex-grow: 1 !important;
}

.tc-labels-scroll-area::-webkit-scrollbar {
    display: none !important;
}

/* 🚀 Premium Label Buttons with Pure Poppins Font */
.tc-label-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #cbd5e1 !important;
    padding: 8px 18px !important;
    border-radius: 50px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    flex-shrink: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    user-select: none !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.tc-label-btn:not(.active):hover {
    background-color: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
}

/* 🎯 Active State */
.tc-label-btn.active {
    background-color: #7c3aed !important;
    border-color: #7c3aed !important;
    color: #ffffff !important;
    padding-right: 8px !important;
    transform: scale(0.97) !important;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4) !important;
}

.tc-label-text {
    position: relative !important;
    z-index: 2 !important;
    font-family: 'Poppins', sans-serif !important;
}

/* Exact Header Search SVG Icon Match */
.tc-cat-search-icon {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
    fill: currentColor !important;
}

/* Circular Cross on Active Button */
.tc-active-cross-circle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    margin-left: 4px !important;
    transition: all 0.25s ease !important;
    flex-shrink: 0 !important;
    z-index: 3 !important;
}

.tc-active-cross-circle svg {
    width: 12px !important;
    height: 12px !important;
    stroke-width: 3 !important;
}

.tc-active-cross-circle:hover {
    background-color: #ef4444 !important;
    color: #ffffff !important;
    transform: rotate(90deg) scale(1.1) !important;
}

/* ==========================================================================
   🔄 DARK GLASSMORPHISM NAVIGATION ARROWS
   ========================================================================== */
.tc-circle-arrow-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background-color: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    z-index: 10 !important;
    flex-shrink: 0 !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25) !important;
    position: relative !important;
    overflow: hidden !important;
    padding: 0 !important;
    outline: none !important;
}

.tc-circle-arrow-btn svg {
    width: 18px !important;
    height: 18px !important;
    stroke-width: 2.5 !important;
    position: relative !important;
    z-index: 2 !important;
}

.tc-circle-arrow-btn:hover:not(:disabled) {
    background-color: #7c3aed !important;
    border-color: #7c3aed !important;
    transform: scale(1.08) !important;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.45) !important;
}

.tc-circle-arrow-btn:disabled {
    opacity: 0.25 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
}

.tc-circle-arrow-btn.label-prev { margin-right: 12px !important; }
.tc-circle-arrow-btn.label-next { margin-left: 12px !important; }

.tc-slider-nav {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

/* ==========================================================================
   🌊 TOP-CLASS RIPPLE EFFECT
   ========================================================================== */
span.tc-ripple-effect {
    position: absolute !important;
    border-radius: 50% !important;
    transform: scale(0) !important;
    animation: tcRippleAnim 0.6s linear !important;
    background-color: rgba(255, 255, 255, 0.3) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

@keyframes tcRippleAnim {
    to { transform: scale(4); opacity: 0; }
}

/* ==========================================================================
   📱 SLIDER VIEWPORT & CAROUSEL TRACK
   ========================================================================== */
.tc-slider-container {
    width: 100% !important;
    position: relative !important;
    overflow: hidden !important;
}

.tc-slider-track {
    display: flex !important;
    gap: 24px !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    padding: 10px 4px 20px 4px !important;
    margin: 0 !important;
    list-style: none !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    min-height: 380px !important; /* Prevents layout jump during loading */
}

.tc-slider-track::-webkit-scrollbar {
    display: none !important;
}

/* Slide Cards */
.tc-slider-track > li.mcb-pc-card {
    flex: 0 0 calc(25% - 18px) !important;
    min-width: 280px !important;
    max-width: 340px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

/* ==========================================================================
   🔄 TOP-CLASS AJAX SVG SPINNER LOADER
   ========================================================================== */
.tc-plugins-loader-wrap {
    width: 100% !important;
    height: 100% !important;
    min-height: 320px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.tc-plugins-spinner {
    width: 52px !important;
    height: 52px !important;
    animation: tcPluginSpin 2s linear infinite !important;
    color: #7c3aed !important;
}

.tc-plugins-spinner circle {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 4 !important;
    stroke-linecap: round !important;
    stroke-dasharray: 1, 200 !important;
    stroke-dashoffset: 0 !important;
    animation: tcPluginDash 1.5s ease-in-out infinite !important;
}

@keyframes tcPluginSpin { 
    100% { transform: rotate(360deg); } 
}

@keyframes tcPluginDash {
    0% { stroke-dasharray: 1, 200; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 90, 200; stroke-dashoffset: -35px; }
    100% { stroke-dashoffset: -125px; }
}

/* Mobile Breakpoints */
@media (max-width: 1200px) {
    .tc-slider-track > li.mcb-pc-card {
        flex: 0 0 calc(33.333% - 16px) !important;
    }
}

@media (max-width: 900px) {
    .tc-showcase-wrapper {
        padding: 0 20px !important;
        margin: 40px auto 30px auto !important;
    }
    .tc-showcase-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
    }
    .tc-slider-nav {
        align-self: flex-end !important;
    }
    .tc-showcase-title {
        font-size: 24px !important;
    }
    .tc-slider-track > li.mcb-pc-card {
        flex: 0 0 calc(50% - 12px) !important;
        min-width: 240px !important;
    }
}

@media (max-width: 600px) {
    .tc-slider-track > li.mcb-pc-card {
        flex: 0 0 85% !important;
        min-width: 220px !important;
    }
}