body {
    margin: 0;
    background: #000;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.container {
    perspective: 1000px;
}

.card {
    width: 500px;
    height: 314px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
}

.card-face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.glow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    background: radial-gradient(
        circle at var(--x, 50%) var(--y, 50%), 
        rgba(255, 255, 255, 0.12) 0%, 
        transparent 60%
    );
}