/* Enhanced class slide effects */
.class-slide {
    position: relative;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    flex-shrink: 0;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    perspective: 1000px;
    overflow: visible !important;
}

.class-slide::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s;
    pointer-events: none;
    z-index: -1;
}

.class-slide::after {
    content: 'Clique 2x para detalhes';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(139, 92, 246, 0.9);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    white-space: nowrap;
    z-index: 100;
}

.class-slide.active:hover::after {
    opacity: 1;
}

.class-slide:not(.active) {
    opacity: 0.3;
    filter: grayscale(70%) brightness(0.6) blur(1px);
    transform: scale(0.7) translateY(20px);
}

.class-slide.active {
    opacity: 1;
    filter: none;
    transform: scale(1.15) translateY(-15px);
    z-index: 10;
    margin: 0 auto;
    overflow: visible;
}

.class-slide.active::before {
    opacity: 0;
}
}

.class-slide:hover:not(.active) {
    opacity: 0.6;
    filter: grayscale(40%) brightness(0.8);
    transform: scale(0.8) translateY(10px);
}

.class-slide-image {
    width: 380px;
    height: 500px;
    object-fit: contain;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 10px 30px rgba(139, 92, 246, 0.3));
    position: relative;
    display: block;
    margin: 0 auto;
}

.class-slide.active .class-slide-image {
    filter: drop-shadow(0 10px 30px rgba(139, 92, 246, 0.3));
}

/* Enhanced class description box */
.class-description {
    position: relative;
    width: 320px;
    min-width: 320px;
    max-width: 320px;
    background: linear-gradient(135deg, rgba(10, 6, 18, 0.95), rgba(26, 15, 43, 0.9));
    border: 2px solid rgb(3 222 255 / 40%);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgb(48 230 255 / 30%),
        inset 0 0 40px rgb(3 222 255 / 5%);
    z-index: 5;
    flex-shrink: 0;
    transition: all 0.4s;
}

.class-description h3 {
    margin: 0 0 5px 0;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 10px rgb(48 230 255 / 50%);
}

.class-description .class-subtitle {
    margin: 0 0 12px 0;
    font-size: 12px;
    font-weight: 600;
    color: rgb(3 222 255 / 85%);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.class-description .class-short-description {
    margin: 0 0 15px 0;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
}

.class-description .class-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

.class-description .stat-item {
    background: rgb(97 60 181 / 10%);
    border: 1px solid rgb(3 222 255 / 30%);
    border-radius: 8px;
    padding: 8px;
    text-align: center;
}

.class-description .stat-label {
    font-size: 11px;
    font-weight: 600;
    color: rgb(3 222 255 / 70%);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.class-description .stat-value {
    font-size: 12px;
    font-weight: 700;
    color: rgb(3 222 255 / 95%);
}

.class-description:hover {
    border-color: rgb(3 222 255 / 70%);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.6),
        0 0 40px rgb(48 230 255 / 50%),
        inset 0 0 50px rgb(3 222 255 / 8%);
}
