/* Line Text Distortion Effect - Based on blacklead-studio CodePen */

.ascii-hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
    background: var(--bg-primary, #080808);
    overflow: hidden;
    padding: 0;
    margin: 0;
    cursor: crosshair;
}

/* CRT scanline overlay - matches body::before from introl-terminal.css */
.ascii-hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 50%, rgba(0, 242, 0, 0.02) 50%);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 2;
}

#ascii-hero-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#ascii-hero-container canvas {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .ascii-hero-section {
        height: 50vh;
        min-height: 350px;
    }
}

@media (max-width: 480px) {
    .ascii-hero-section {
        height: 35vh;
        min-height: 220px;
        max-height: 280px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .ascii-hero-section {
        cursor: default;
    }
}
