/* Pretpot Ripple Effect Images Widget - CSS */

.pretpot-ripple-card {
    position: relative;
    width: 450px;
    height: 600px;
    border-radius: 24px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6),
                0 0 0 1px rgba(255, 255, 255, 0.1),
                inset 0 0 80px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.3s ease;
    border-style: solid;
}

.pretpot-ripple-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.pretpot-ripple-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.pretpot-ripple-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

.pretpot-ripple-image.pretpot-faded {
    opacity: 0;
}

/* Revealed background layer */
.pretpot-ripple-reveal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
}

/* Glass Overlay */
.pretpot-ripple-glass {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 3;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.pretpot-ripple-glass.pretpot-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Typography */
.pretpot-ripple-title {
    color: #ffffff;
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.pretpot-ripple-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
}

.pretpot-ripple-instruction {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 4px;
    z-index: 4;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

/* Glass Reflection Effect */
.pretpot-ripple-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        125deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 30%,
        transparent 60%
    );
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.pretpot-ripple-card:hover::before {
    opacity: 1;
}

.pretpot-ripple-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: skewX(-25deg);
    transition: 0.6s;
    z-index: 4;
    pointer-events: none;
}

.pretpot-ripple-card:hover::after {
    left: 150%;
}

/* Responsive */
@media (max-width: 767px) {
    .pretpot-ripple-title {
        font-size: 24px;
    }
    
    .pretpot-ripple-subtitle {
        font-size: 14px;
        letter-spacing: 2px;
    }
    
    .pretpot-ripple-glass {
        padding: 24px;
    }
}