/**
 * Jerry's Spare Theme Effects
 * Visual enhancements, glassmorphism, masks
 */

/* Glassmorphism utility */
.glass-panel {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(15, 76, 129, 0.1);
}

.glass-panel-dark {
    background: rgba(15, 76, 129, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient Texts */
.text-gradient {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Image overlays */
.overlay-dark {
    position: relative;
}
.overlay-dark::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}
.overlay-dark > * {
    position: relative;
    z-index: 2;
}

/* Diagonal Separators */
.slant-bottom {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4vw), 0 100%);
    padding-bottom: calc(4vw + var(--space-6));
}
.slant-top {
    clip-path: polygon(0 4vw, 100% 0, 100% 100%, 0 100%);
    margin-top: -4vw;
    padding-top: calc(4vw + var(--space-6));
}
