
.bg-texture {
    position: fixed; inset: 0;
    background: url("https://tse2.mm.bing.net/th/id/OIP.CcDLkSAxK89Lj3qdsVIiBgHaJU?rs=1&pid=ImgDetMain&o=7&rm=3") repeat;
    background-size: 400px; z-index: 1; opacity: 0.08;
    filter: grayscale(1) contrast(1.5); pointer-events: none;
} 
.guestbook-frame-container {
    border: 1px solid var(--dim-white);
    background: #000; 
    margin-top: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    position: relative;
    height: 70vh; 
    max-height: 600px;
    overflow: hidden; 
    
    border-radius: 4px;
}

/* El Iframe de Atabook */
.atabook-frame {
    width: 100%;
    height: 100%; /* Ocupa todo el contenedor */
    border: none;
    display: block;
    background: #fff; 
    filter: invert(1) hue-rotate(180deg) brightness(0.8) contrast(1.1) saturate(0.8);
    
    /* FORZAMOS EL SCROLL AQUÍ DENTRO */
    overflow-y: auto; 
}

/* Evitamos que la página entera haga scroll si no es necesario */
body {
    overflow-x: hidden;
}

.guestbook-container {
    height: calc(100vh - 160px); /* Ajuste para que no sobre espacio abajo */
    display: flex;
    flex-direction: column;
}

/* Las scanlines ahora DEBEN dejar pasar el click al scroll */
.guestbook-frame-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.05) 50%);
    background-size: 100% 4px;
    z-index: 5;
    pointer-events: none; /* Esto permite que puedas usar el scroll del ratón */
    opacity: 0.3;
}