/* 🎯 PREMIUM BUY NOW PRICE TILE - MATCHING PAGE DESIGN */

/* Transform Buy Now Price to match other info items */
.buy-now-price-item {
    display: flex !important;
    grid-column: 1 / -1 !important;
    margin: 0 !important;
    order: 2 !important;
}

.buy-now-price-item .info-item {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 6px !important;
    padding: 0.75rem !important;
    margin: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
}

/* Premium Buy Now Price Value - Integrated Design */
.buy-now-price-value {
    background: linear-gradient(135deg, #ff0844 0%, #ff3366 25%, #ff6b35 75%, #ff0844 100%) !important;
    background-size: 300% 300% !important;
    animation: premiumPulse 4s ease-in-out infinite !important;
    padding: 0.75rem 1rem !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 
        0 6px 20px rgba(255, 8, 68, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    cursor: pointer !important;
    margin: 0 !important;
    width: 100% !important;
}

@keyframes premiumPulse {
    0%, 100% { 
        background-position: 0% 50%;
        box-shadow: 
            0 6px 20px rgba(255, 8, 68, 0.3),
            0 0 0 1px rgba(255, 255, 255, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% { 
        background-position: 100% 50%;
        box-shadow: 
            0 8px 24px rgba(255, 8, 68, 0.4),
            0 0 0 2px rgba(255, 255, 255, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

/* Shimmering Border Effect */
.buy-now-price-value::before {
    content: "" !important;
    position: absolute !important;
    top: -3px !important;
    left: -3px !important;
    right: -3px !important;
    bottom: -3px !important;
    background: linear-gradient(45deg, #fff, #ff6b35, #ff0844, #fff, #ff6b35) !important;
    background-size: 400% 400% !important;
    border-radius: 19px !important;
    z-index: -1 !important;
    animation: shimmerBorder 3s ease-in-out infinite !important;
    opacity: 0.7 !important;
}

@keyframes shimmerBorder {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Floating Sparkles */
.buy-now-price-value::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 60% 20%, rgba(255, 255, 255, 0.4) 1px, transparent 1px) !important;
    background-size: 40px 40px, 60px 60px, 50px 50px !important;
    animation: sparkleFloat 6s linear infinite !important;
    pointer-events: none !important;
}

@keyframes sparkleFloat {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
    50% { opacity: 1; }
    100% { transform: translateY(-10px) rotate(360deg); opacity: 0.6; }
}

/* Buy Now Amount Styling - Compact */
.buy-now-amount {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-shadow: 
        0 0 8px rgba(255, 255, 255, 0.6),
        0 1px 3px rgba(0, 0, 0, 0.3) !important;
    margin: 0 !important;
    letter-spacing: -0.01em !important;
    position: relative !important;
    z-index: 2 !important;
}

/* Premium Badge - Compact */
.buy-now-badge {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    padding: 0.25rem 0.6rem !important;
    border-radius: 15px !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    animation: badgeGlow 2s ease-in-out infinite !important;
    flex-shrink: 0 !important;
}

@keyframes badgeGlow {
    0%, 100% { 
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 6px 16px rgba(255, 255, 255, 0.2);
        transform: scale(1.02);
    }
}

.buy-now-badge::before {
    content: "💎" !important;
    font-size: 1.2rem !important;
    animation: diamondTwinkle 3s ease-in-out infinite !important;
}

@keyframes diamondTwinkle {
    0%, 100% { transform: rotate(0deg) scale(1); }
    33% { transform: rotate(120deg) scale(1.1); }
    66% { transform: rotate(240deg) scale(1); }
}

/* Hover Effects - Subtle */
.buy-now-price-value:hover {
    transform: translateY(-2px) scale(1.01) !important;
    box-shadow: 
        0 8px 25px rgba(255, 8, 68, 0.4),
        0 0 0 2px rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    animation-duration: 2s !important;
}

.buy-now-price-value:hover .buy-now-amount {
    text-shadow: 
        0 0 15px rgba(255, 255, 255, 1),
        0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

/* Keep Label Styling Consistent */
.buy-now-price-item .label {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .buy-now-price-value {
        flex-direction: column !important;
        gap: 0.5rem !important;
        padding: 0.6rem 0.8rem !important;
        text-align: center !important;
    }
    
    .buy-now-amount {
        font-size: 1rem !important;
    }
    
    .buy-now-badge {
        font-size: 0.65rem !important;
        padding: 0.2rem 0.5rem !important;
    }
}

@media (max-width: 480px) {
    .buy-now-amount {
        font-size: 1.5rem !important;
    }
    
    .buy-now-price-value {
        padding: 1rem 1.25rem !important;
    }
}

/* Performance Optimization */
.buy-now-price-value,
.buy-now-amount,
.buy-now-badge {
    will-change: transform !important;
    backface-visibility: hidden !important;
    perspective: 1000px !important;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .buy-now-price-value,
    .buy-now-price-value::before,
    .buy-now-price-value::after,
    .buy-now-badge,
    .buy-now-badge::before {
        animation: none !important;
        transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    }
}
