body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}

.image-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.image-gallery img {
    width: 620px;
    height: 880px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

/* Glowing effect on hover/touch */
.image-gallery img:hover,
.image-gallery img:active,
.image-gallery img:focus {
    transform: scale(1.02);
    box-shadow: 
        0 0 10px rgba(255, 215, 0, 0.6), /* Gold glow */
        0 0 20px rgba(255, 165, 0, 0.4), /* Orange glow */
        0 0 30px rgba(255, 69, 0, 0.2);  /* Red-orange glow */
    outline: none;
}

/* Animation for touch devices */
@media (hover: none) {
    .image-gallery img:active {
        animation: touch-glow 0.5s ease-out;
    }
}

@keyframes touch-glow {
    0% {
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.6);
    }
    50% {
        box-shadow: 
            0 0 15px rgba(255, 215, 0, 0.8),
            0 0 25px rgba(255, 165, 0, 0.6);
    }
    100% {
        box-shadow: 
            0 0 10px rgba(255, 215, 0, 0.6),
            0 0 20px rgba(255, 165, 0, 0.4),
            0 0 30px rgba(255, 69, 0, 0.2);
    }
}

@media (max-width: 680px) {
    .image-gallery img {
        width: 100%;
        height: auto;
        max-height: 880px;
    }
}