/* Tutorial Carousel Styles */
.tutorial-carousel-section {
    margin-top: 3rem;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.tutorial-carousel-title {
    margin-bottom: 2rem;
    font-size: 1.75rem;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(to right, #dd00ff, #aa00ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tutorial-carousel-container {
    position: relative;
    width: 100%;
    padding: 0 1rem;
}

.tutorial-slider {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
    scroll-behavior: smooth;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    padding: 1rem 0.5rem;
    -webkit-overflow-scrolling: touch;
}

.tutorial-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.tutorial-item {
    flex: 0 0 auto;
    width: calc(33.333% - 1.5rem);
    min-width: 280px;
    background: rgba(26, 9, 64, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
}

.tutorial-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(221, 0, 255, 0.3);
    z-index: 10;
}

.tutorial-pdf-container {
    position: relative;
    padding: 2rem 1rem 1rem;
    background: linear-gradient(135deg, rgba(221, 0, 255, 0.1), rgba(170, 0, 255, 0.1));
    text-align: center;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tutorial-icon-wrapper {
    background: rgba(221, 0, 255, 0.2);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    border: 2px solid rgba(221, 0, 255, 0.3);
}

.tutorial-icon {
    font-size: 1.75rem;
    color: #dd00ff;
}

.tutorial-category {
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tutorial-item-content {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tutorial-item-title {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.tutorial-item-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.tutorial-download-btn {
    background: linear-gradient(135deg, #dd00ff, #aa00ff);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 1.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.tutorial-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(221, 0, 255, 0.4);
}

.tutorial-download-btn:active {
    transform: translateY(0);
}

.tutorial-carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 20;
}

.tutorial-carousel-arrow {
    background: rgba(26, 9, 64, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(10px);
}

.tutorial-carousel-arrow:hover {
    background: rgba(221, 0, 255, 0.8);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(221, 0, 255, 0.3);
}

.tutorial-carousel-arrow:active {
    transform: scale(0.95);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .tutorial-item {
        width: calc(50% - 1rem);
        min-width: 240px;
    }
    
    .tutorial-slider {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .tutorial-item {
        width: calc(85% - 0.5rem);
        min-width: 260px;
    }
    
    .tutorial-slider {
        gap: 0.75rem;
        padding: 1rem 0.25rem;
    }
    
    .tutorial-carousel-title {
        font-size: 1.5rem;
    }
    
    .tutorial-pdf-container {
        padding: 1.5rem 1rem;
        min-height: 100px;
    }
    
    .tutorial-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .tutorial-icon {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .tutorial-item {
        width: calc(90% - 0.5rem);
        min-width: 240px;
    }
    
    .tutorial-carousel-controls {
        display: none;
    }
}

/* Animaciones */
.scale-in {
    opacity: 0;
    transform: scale(0.8);
    animation: scaleIn 0.6s ease-out forwards;
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Efectos de ripple para botones */
@keyframes ripple-animation {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}