/* ==========================================================================
   FREE PREMIUM ASSETS SLIDER (TIER-1 ARCHITECTURE)
   Location: css/free-assets-slider.css
   Pure Poppins Typography & Exact Header Matching Standards
   ========================================================================== */

.tc-free-wrapper,
.tc-free-wrapper * {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
    box-sizing: border-box !important;
}

.tc-free-wrapper {
    max-width: 1400px !important;
    margin: 60px auto 40px auto !important;
    padding: 0 40px !important;
    animation: tcFreeFadeIn 0.5s ease-out forwards !important;
    box-sizing: border-box !important;
    position: relative !important;
}

@keyframes tcFreeFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tc-free-wrapper p:empty {
    display: none !important;
}

/* ==========================================================================
   HEADER ROW: ICON + TITLE + SUBTITLE + VIEW ALL BUTTON
   ========================================================================== */
.tc-free-showcase-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    margin-bottom: 24px !important;
    gap: 20px !important;
}

.tc-free-title-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.tc-free-title-row {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.tc-free-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.tc-free-icon svg {
    width: 42px !important;
    height: 42px !important;
    display: block !important;
}

.tc-free-title {
    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-free-subtitle {
    font-size: 14.5px !important;
    color: #94a3b8 !important;
    margin: 0 !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
}

/* VIEW ALL BUTTON: ZERO JUMP + SMOOTH GLIDING ARROW ON HOVER */
.tc-free-view-all {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 24px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    background-color: transparent !important;
    border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 50px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease !important;
    white-space: nowrap !important;
    transform: none !important; /* STRICTLY ZERO VERTICAL JUMP */
}

.tc-free-view-all:hover {
    background-color: rgba(124, 58, 237, 0.12) !important;
    border-color: #7c3aed !important;
    color: #ffffff !important;
    transform: none !important; /* STRICTLY ZERO VERTICAL JUMP */
}

.tc-free-view-all .mcb-glide-arrow {
    width: 15px !important;
    height: 15px !important;
    stroke: currentColor !important;
    stroke-width: 2.5 !important;
    fill: none !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.tc-free-view-all:hover .mcb-glide-arrow {
    transform: translateX(5px) !important;
}

/* ==========================================================================
   🌊 SLIDER VIEWPORT, FADE MASKS & GLASS ARROWS
   ========================================================================== */
.tc-free-slider-wrapper {
    position: relative !important;
    padding: 6px 0 !important;
    width: 100% !important;
}

.tc-free-slider-fade {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 80px !important;
    z-index: 15 !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease !important;
    opacity: 0;
}

.tc-free-slider-fade.is-visible {
    opacity: 1 !important;
}

.tc-free-slider-fade.fade-left {
    left: 0 !important;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0) 100%) !important;
}

.tc-free-slider-fade.fade-right {
    right: 0 !important;
    background: linear-gradient(to left, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0) 100%) !important;
}

/* Glassmorphic Arrows */
.tc-free-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 48px !important;
    height: 48px !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;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 20 !important;
    cursor: pointer !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;
    transition: background-color 0.25s ease, border-color 0.25s ease !important;
    opacity: 0;
    visibility: hidden;
    padding: 0 !important;
    outline: none !important;
}

.tc-free-arrow.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
}

.tc-free-arrow.prev { left: -20px !important; }
.tc-free-arrow.next { right: -20px !important; }

.tc-free-arrow svg {
    width: 20px !important;
    height: 20px !important;
    stroke: currentColor !important;
    stroke-width: 2.5 !important;
}

.tc-free-arrow:hover:not(:disabled) {
    background-color: #7c3aed !important;
    border-color: #7c3aed !important;
}

.tc-free-arrow:disabled {
    opacity: 0.2 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* ==========================================================================
   📱 CAROUSEL TRACK
   ========================================================================== */
.tc-free-track {
    display: flex !important;
    gap: 24px !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    padding: 12px 4px 24px 4px !important;
    margin: 0 !important;
    list-style: none !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.tc-free-track::-webkit-scrollbar {
    display: none !important;
}

.tc-free-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;
}

/* ==========================================================================
   📱 MOBILE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1200px) {
    .tc-free-track > li.mcb-pc-card {
        flex: 0 0 calc(33.333% - 16px) !important;
    }
}

@media (max-width: 900px) {
    .tc-free-wrapper {
        padding: 0 20px !important;
        margin: 40px auto 50px auto !important;
    }
    .tc-free-showcase-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
    }
    .tc-free-view-all {
        width: 100% !important;
        text-align: center !important;
    }
    .tc-free-title {
        font-size: 24px !important;
    }
    .tc-free-track > li.mcb-pc-card {
        flex: 0 0 calc(50% - 12px) !important;
        min-width: 240px !important;
    }
    .tc-free-slider-fade,
    .tc-free-arrow {
        display: none !important;
    }
}

@media (max-width: 600px) {
    .tc-free-track > li.mcb-pc-card {
        flex: 0 0 85% !important;
        min-width: 220px !important;
    }
}