/* Custom overrides and subtle details */

body::-webkit-scrollbar {
    width: 6px;
}

body::-webkit-scrollbar-track {
    background: #000; 
}

body::-webkit-scrollbar-thumb {
    background: #333; 
    border-radius: 6px;
}

body::-webkit-scrollbar-thumb:hover {
    background: #555; 
}

/* Base text sizing for smoothness */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overscroll-behavior: none; /* Prevent scroll bouncing */
}

/* The gradient glow behind text */
.glow-text {
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

.story-section {
    position: relative;
    z-index: 10;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none; /* Let clicks pass through if needed, though they shouldn't */
}

.story-section.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Ensure canvas doesn't blur */
canvas {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
