/* === CATEGORY LAYOUT === */
body {
    font-family: "IBM Plex Mono", monospace;
}

header h1 {
    font-family: "JetBrains Mono", monospace;
    font-weight: 700;
    text-align: center;
    padding: 2rem 0;
    animation: glitch 3s infinite;
}

.post {
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
    border-left: 2px solid;
}

.post h2 {
    font-family: "JetBrains Mono", monospace;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.post p {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 400;
    line-height: 1.6;
}

.post small {
    font-family: "JetBrains Mono", monospace;
    font-style: italic;
    opacity: 0.6;
    font-size: 0.8rem;
}

/* Category Colors */
.trackthought-page {
    color: #00ff9d;
}
.b-side-page {
    color: #ff3b3f;
}
.blur-page {
    color: #7b68ee;
}

/* Censored Text (white-on-white) */
.censored-text p {
    color: white; /* Text color */
    background: white; /* Censor bars */
    display: inline;
    padding: 0 2px; /* Tight spacing between letters */
    letter-spacing: 1px; /* Ensure gaps between "bars" */
}

/* Reveal on hover */
.censored-text:hover p {
    color: black; /* Reveal text */
    background: transparent;
    animation:
        typewriter 3s steps(40, end) forwards,
        blink-caret 0.75s step-end infinite;
    overflow: hidden;
    white-space: nowrap;
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    from,
    to {
        border-color: transparent;
    }
    50% {
        border-color: black;
    }
}

/* Ensure cursor changes to indicate interactivity */
.censored-text {
    cursor: pointer;
}
