/* Podcast Glass Effect Styles */
.glass-effect {
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    position: relative;
    overflow: hidden;
}

.glass-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0), 
        rgba(255, 255, 255, 0.2), 
        rgba(255, 255, 255, 0));
    z-index: 2;
}

.glass-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0), 
        rgba(255, 255, 255, 0.2), 
        rgba(255, 255, 255, 0));
    z-index: 2;
}

/* Glass effect for podcast image container */
.podcast-img-glass {
    background: rgba(15, 23, 42, 0.2);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    padding-top: 75%; /* 4:3 Aspect Ratio - change to 56.25% for 16:9 */
}

.podcast-img-glass img.w-full {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.podcast-img-glass:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

/* Glass overlay for additional effect */
.glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
    pointer-events: none;
}

/* SVG Icon styling for podcast */
.podcast-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    height: auto;
    z-index: 10;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    opacity: 0.9;
    transition: all 0.3s ease;
}

.podcast-img-glass:hover .podcast-icon {
    transform: translate(-50%, -50%) scale(1.05);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.7));
    opacity: 1;
}

/* Glass effect for buttons */
.glass-button {
    background: rgba(163, 0, 163, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: white;
    transition: all 0.3s ease;
}

.glass-button:hover {
    background: rgba(163, 0, 163, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Media queries for mobile glass effects */
@media screen and (max-width: 37.5em) {
    .mobile-glass-overlay {
        background: transparent;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: none;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
}
