.distortion-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1 !important;
}

.distortion-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: auto;
}

/* Ensure hero section is positioned relative */
.hero-section {
    position: relative;
}

/* Make sure overlays stay above distortion but allow mouse events through */
.hero-section .hero-overlay {
    position: absolute;
    z-index: 2 !important;
    pointer-events: none !important;
}

.hero-section .grid-overlay {
    position: absolute;
    z-index: 3 !important;
    pointer-events: none !important;
}

.hero-section .accent-line {
    position: absolute;
    z-index: 4 !important;
    pointer-events: none !important;
}

.hero-section .hero-content {
    position: relative;
    z-index: 10 !important;
    margin: 0 auto;
    text-align: center;
    pointer-events: auto !important;
}

/* Make sure interactive elements in hero content work */
.hero-section .hero-content * {
    pointer-events: auto !important;
}

/* Canvas needs to receive mouse events */
.distortion-container {
    pointer-events: auto !important;
}

.distortion-canvas {
    pointer-events: auto !important;
}
