/* TrulyFeetFans - Enhanced Locked Content Styles */

/* Locked media container - enhanced */
.posts-wrapper .locked-media {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

/* Blurred image enhancement - more saturated, slight scale to hide blur edges */
.posts-wrapper .locked-media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    filter: saturate(1.3);
    z-index: 0;
}

/* Gradient overlay from transparent to dark at bottom */
.posts-wrapper .locked-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 20%,
        rgba(0, 0, 0, 0.15) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Shimmer animation on locked content */
.posts-wrapper .locked-media .position-absolute {
    z-index: 2;
}

/* Enhanced PPV info card */
.ppv-info-bg {
    background: rgba(20, 20, 40, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    color: #fff !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.ppv-info-bg .btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24) !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(238, 90, 36, 0.4);
    transition: all 0.3s ease !important;
    animation: unlock-glow 2.5s ease-in-out infinite;
}

.ppv-info-bg .btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 25px rgba(238, 90, 36, 0.6) !important;
}

@keyframes unlock-glow {
    0%, 100% { box-shadow: 0 4px 15px rgba(238, 90, 36, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(238, 90, 36, 0.7); }
}

/* Lock icon styling */
.ppv-info-bg .d-flex ion-icon[name="lock-closed-outline"],
.ppv-info-bg ion-icon {
    color: #ff6b6b !important;
}

/* Non-blurred locked actions (text-only posts) */
.non-blur-locked-actions .ppv-info-bg {
    background: rgba(20, 20, 40, 0.9) !important;
    border: 1px solid rgba(255, 107, 107, 0.3) !important;
    color: #fff !important;
}

/* Hover effect on locked media - slightly reduce blur feeling */
.posts-wrapper .locked-media:hover::after {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 30%,
        rgba(0, 0, 0, 0.1) 55%,
        rgba(0, 0, 0, 0.5) 100%
    );
    transition: background 0.3s ease;
}

/* Shimmer animation overlay */
.posts-wrapper .locked-media .locked-shimmer {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        110deg,
        transparent 25%,
        rgba(255, 255, 255, 0.05) 37%,
        transparent 50%
    );
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Exclusive badge text on locked content */
.locked-exclusive-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 107, 107, 0.4);
}
