/* Cursor personalizado para precisión */
body { cursor: crosshair; }
a, button, summary, .cursor-pointer { cursor: pointer; }

/* Scrollbar sofisticada */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #fff; }

/* Efecto de ruido sutil en el fondo */
.noise-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* Utilidades de texto */
.text-justify-inter { text-align: justify; text-justify: inter-word; }

/* Animación de aparición al hacer scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ESTILOS DEL BLOG MODAL (Integrado) */
.blog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.blog-overlay.open {
    opacity: 1;
    visibility: visible;
}

.blog-content-wrapper {
    transform: translateY(50px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-overlay.open .blog-content-wrapper {
    transform: translateY(0);
}

/* Tipografía para el artículo */
.prose-invert h2 { color: white; margin-top: 2em; margin-bottom: 1em; font-family: 'Playfair Display', serif; font-size: 1.5em; }
.prose-invert p { color: #a3a3a3; margin-bottom: 1.5em; line-height: 1.8; }
.prose-invert strong { color: white; font-weight: 600; }
.prose-invert code { background: #222; padding: 2px 6px; border-radius: 4px; font-family: 'JetBrains Mono', monospace; font-size: 0.9em; color: #00ff9d; }
.prose-invert ul { list-style: disc; padding-left: 1.5em; color: #a3a3a3; margin-bottom: 1.5em; }
.prose-invert li { margin-bottom: 0.5em; }
