/* Base styles for the image */
.entry-featured-image-url {
    display: block;
    position: relative;
    overflow: hidden;
    transition: all 0.1s ease-in-out; /* Faster transition */
    transform-style: preserve-3d;
    perspective: 1500px; /* Increased perspective for more depth */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Add a pseudo-element for the shiny effect */
.entry-featured-image-url::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -10%;
    width: 120%;
    height: 90%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
    transform: skewY(-25deg);
    transition: all 0.3s ease-in-out; /* Faster transition */
}

/* Add a pseudo-element for the glow effect */
.entry-featured-image-url::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.4), transparent);
    pointer-events: none; /* Ensure it doesn't interfere with interactions */
    opacity: 0; /* Initially hidden */
    transition: opacity 0.3s ease-in-out, transform 0.1s ease-in-out; /* Smooth transition */
}

/* Show the glow effect after the shiny effect */
.entry-featured-image-url:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%); /* Center the glow on the mouse position */
}

/* Animation on hover for the shiny effect */
.entry-featured-image-url:hover::before {
    top: 145%;
}

/* 3D effect on hover */
.entry-featured-image-url:hover {
    transform: rotateY(20deg) rotateX(20deg) scale(1.05); /* Slightly increased rotation */
    box-shadow: 0 25px 35px rgba(0, 0, 0, 0.25); /* Deeper shadow */
}
