.kit-netflix-scroll-container {
    position: relative;
    width: 100%;
}

.kit-scroll-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kit-scroll-container {
    overflow: hidden;
    width: fit-content;
}

.kit-scroll-track {
    display: flex;
    transition: transform 0.3s ease;
    gap: 10px;
}

.kit-item {
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.3s ease;
    transform: scale(0.97);
    width: 213px;
    height: 300px;
}

.kit-item:hover {
    transform: scale(1);
    z-index: 2;
}

.kit-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.kit-thumbnail {
    position: relative;
    width: 213px;
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
}

.kit-already-seen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: #191919;
    padding: 4px;
    border-radius: 8px;
    opacity: 100%;
    width: 66%;
}

.kit-already-seen span {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    display: block;
}

.kit-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.kit-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    transform: translateY(100%);
    transition: all 0.3s ease-in-out;
    opacity: 0;
    z-index: 2;
}

.kit-item:hover .kit-title-overlay {
    transform: translateY(0);
    opacity: 1;
}

.kit-title-overlay h4 {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    color: #ffffff;
}

.guide-item .guide-thumbnail {
    background: #0f0f0f;
}

.guide-item .guide-thumbnail img {
    object-position: center top;
}

.guide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(64 64 64 / 0%) 70%, rgb(235 120 0 / 25%) 100%);
    z-index: 1;
}

.guide-shimmer-effect {
    z-index: 2;
}

.guide-lane-icon-wrap {
    position: absolute !important;
    z-index: 4;
    pointer-events: none;
}

.guide-lane-icon-top-right {
    top: 12px;
    right: 12px;
    width: 64px;
    height: 64px;
}

.guide-role-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: contain;
    background: rgba(20, 20, 20, 0.82);
    padding: 5px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
    display: block;
}

.guide-title-overlay {
    z-index: 3;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(239, 68, 68, 0.5);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.scroll-btn:hover {
    background: rgba(239, 68, 68, 0.8);
}

.scroll-left {
    left: 0;
}

.scroll-right {
    right: 0;
}

.kit-pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    padding: 10px 0;
}

.page-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.page-indicator:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: scale(1.1);
}

.page-indicator.active {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.2);
    border-color: rgba(0, 0, 0, 0.3);
}

.page-indicator::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: transparent;
    transition: background-color 0.3s ease;
}

.page-indicator:hover::after {
    background: rgba(0, 0, 0, 0.1);
}

.kit-courses-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.popup-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.popup-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popup-content li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.popup-content li:last-child {
    border-bottom: none;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 5px;
    line-height: 1;
}

.close-popup:hover {
    color: #333;
}

.shimmer-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 40%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 60%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-100%) translateY(-100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.kit-item:hover .shimmer-effect {
    opacity: 1;
    animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%);
    }
    100% {
        transform: translateX(0%) translateY(0%);
    }
}

.kit-info {
    position: absolute;
    left: 80px;
    bottom: 200px;
    color: white;
    transition: transform 0.3s ease;
    overflow-y: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.kit-item:hover .kit-info {
    transform: translateY(0);
}

.kit-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.kit-courses {
    margin-top: 10px;
}

.kit-courses h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

.kit-courses ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kit-courses li {
    font-size: 13px;
    margin-bottom: 4px;
    opacity: 0.9;
    transition: opacity 0.2s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.kit-courses li:hover {
    opacity: 1;
}

.kit-info::-webkit-scrollbar {
    width: 4px;
}

.kit-info::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.kit-info::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.kit-info::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .kit-scroll-wrapper {
        gap: 8px;
    }
    
    .kit-scroll-track {
        gap: 8px;
    }
    
    .kit-item {
        width: 149px;
        height: 210px;
        transform: scale(0.95);
    }
    
    .kit-thumbnail {
        width: 149px;
        height: 210px;
    }
    
    .kit-item:hover {
        transform: scale(0.98);
    }
    
    .kit-title-overlay h4 {
        font-size: 12px;
        padding: 8px;
    }

    .guide-lane-icon-top-right {
        width: 32px;
        height: 32px;
    }

    .guide-role-icon {
        width: 34px;
        height: 34px;
        border-radius: 8px;
        padding: 4px;
    }
    
    .scroll-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .kit-info {
        left: 60px;
        bottom: 150px;
    }
    
    .kit-title {
        font-size: 16px;
    }
    
    .kit-courses h4 {
        font-size: 12px;
    }
    
    .kit-courses li {
        font-size: 11px;
    }
    
    .kit-already-seen span {
        font-size: 11px;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .kit-scroll-wrapper {
        gap: 6px;
    }
    
    .kit-scroll-track {
        gap: 6px;
    }
    
    .kit-item {
        width: 128px;
        height: 180px;
        transform: scale(0.92);
    }
    
    .kit-thumbnail {
        width: 128px;
        height: 180px;
    }
    
    .kit-thumbnail img {
        width: 128px;
        height: 180px;
    }

    .kit-netflix-scroll-widget .kit-thumbnail img {
        width: 100%;
        height: auto;
        border-radius: 4px;
    }
    
    .kit-item:hover {
        transform: scale(0.95);
    }
    
    .kit-title-overlay h4 {
        font-size: 11px;
        padding: 6px;
    }

    .guide-role-icon {
        width: 30px;
        height: 30px;
        border-radius: 6px;
        padding: 4px;
    }
    
    .scroll-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .kit-info {
        left: 50px;
        bottom: 120px;
    }
    
    .kit-title {
        font-size: 14px;
    }
    
    .kit-courses h4 {
        font-size: 11px;
    }
    
    .kit-courses li {
        font-size: 10px;
    }
    
    .kit-already-seen span {
        font-size: 10px;
        letter-spacing: 0.5px;
    }
    
    .popup-content {
        padding: 15px;
        max-width: 90%;
    }
}

@media (max-width: 360px) {
    .kit-item {
        width: 107px;
        height: 150px;
        transform: scale(0.9);
    }
    
    .kit-thumbnail {
        width: 107px;
        height: 150px;
    }
    
    .kit-thumbnail img {
        width: 107px;
        height: 150px;
    }
    
    .kit-item:hover {
        transform: scale(0.93);
    }
    
    .kit-title-overlay h4 {
        font-size: 10px;
        padding: 5px;
    }

    .guide-lane-icon-wrap {
        top: 8px;
        right: 8px;
    }

    .guide-role-icon {
        width: 26px;
        height: 26px;
        border-radius: 5px;
        padding: 3px;
    }
    
    .scroll-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .kit-info {
        left: 40px;
        bottom: 100px;
    }
    
    .kit-title {
        font-size: 13px;
    }
    
    .kit-courses h4 {
        font-size: 10px;
    }
    
    .kit-courses li {
        font-size: 9px;
    }
    
    .kit-already-seen span {
        font-size: 9px;
        letter-spacing: 0.5px;
    }
} 