/* Product Detail Page Styles */
.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    color: #fff;
}

/* Version Selection Styles */
[data-list] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Version Card Styles */
[data-version-id] {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(17, 17, 35, 0.95);
    border: 2px solid rgba(114, 137, 218, 0.1);
    border-radius: 0.5rem;
}

/* Hover State */
[data-version-id]:hover {
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

/* Selected State */
[data-version-id].selected {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(147, 51, 234, 0.15));
    border-color: rgba(59, 130, 246, 0.8);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    animation: selectGlow 2s infinite;
}

/* Price Text Animation */
[data-version-id].selected .version-price {
    color: #4fd1c5;
    transform: scale(1.05);
    animation: priceGlow 2s infinite;
}

/* Animations */
@keyframes selectGlow {
    0% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
        border-color: rgba(59, 130, 246, 0.8);
    }
    50% {
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
        border-color: rgba(59, 130, 246, 1);
    }
    100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
        border-color: rgba(59, 130, 246, 0.8);
    }
}

@keyframes priceGlow {
    0% {
        text-shadow: 0 0 10px rgba(79, 209, 197, 0.3);
    }
    50% {
        text-shadow: 0 0 15px rgba(79, 209, 197, 0.5);
    }
    100% {
        text-shadow: 0 0 10px rgba(79, 209, 197, 0.3);
    }
}

/* Selection Ripple Effect */
[data-version-id]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

[data-version-id].selected::after {
    animation: rippleEffect 0.6s ease-out;
}

@keyframes rippleEffect {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(50, 50);
        opacity: 0;
    }
}

/* Version Label Styles */
[data-version-id] .text-gray-400 {
    transition: all 0.3s ease;
}

[data-version-id].selected .text-gray-400 {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Hover Gradient Effect */
[data-version-id]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transition: left 0.5s ease;
}

[data-version-id]:hover::before {
    left: 100%;
}

/* Product Description Styling */
.product-description-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem;
    background: rgba(17, 17, 35, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-description-content p {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(114, 137, 218, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.product-description-content p:hover {
    background: rgba(114, 137, 218, 0.1);
    transform: translateX(4px);
}

.product-description-content p:last-child {
    margin-bottom: 0;
} 