body {
    background-color: #0a0a0a;
    background-image: url('../img/pat.png');
    background-repeat: repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: auto;
    color: #ccc;
    font-family: monospace;
    line-height: 1.5;
    padding: 40px;
    font-size: clamp(13px, 1.8vw, 18px);
    text-shadow: 0 0 0.3px #fff2, 0 0 1px #fff1;
}
.post-meta {
    color: #777;
    font-size: 0.9em;
    text-shadow: 0 0 1px #fff1;
}
a {
    color: #6aff91;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
    animation: flicker 0.2s infinite alternate;
}
@keyframes flicker {
    0% { opacity: 1; }
    100% { opacity: 0.6; }
}
h1 {
    font-size: clamp(22px, 5vw, 32px);
    line-height: 1.2;
    margin: 0.5em 0;
    color: #fff;
    text-shadow: 0 0 1px #fffc, 0 0 2px #fffa;
}
h2 {
    font-size: clamp(18px, 4vw, 26px);
    line-height: 1.3;
    margin: 0.5em 0;
    color: #eee;
    text-shadow: 0 0 1px #fffc, 0 0 2px #fffa;
}
h3 {
    font-size: clamp(16px, 3vw, 22px);
    line-height: 1.4;
    margin: 0.5em 0;
    color: #ccc;
    text-shadow: 0 0 1px #fffc, 0 0 2px #fffa;
}
.giant-text {
    font-size: 10vw;
    text-align: center;

    line-height: 1;
    margin: 0.1em 0;
    padding: 0;

    color: #ccc;
    text-shadow:
    1px 1px 0 #111,
    -1px -1px 0 #111,
    0.5px -0.5px 0 #222;
    letter-spacing: 0.02em;
    transform: rotate(-1deg);
}
img {
    filter: contrast(1.15) brightness(1.1) saturate(1.1);
}
.ascii-container {
    display: flex;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    margin-bottom: 0;
    padding-bottom: 0;
}
.ascii-header {
    transform: scale(1.0);
    transform-origin: top center;
    font-family: monospace;
    white-space: pre;
    margin: 0;
    padding: 0;
    display: inline-block;
    line-height: 1;
    font-weight: bold;
    text-shadow: 0 0 2px #fff, 0 0 5px #6aff91;
}
.menu-bar {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 1em;
}
.post-title {
    display: block;
    margin-left: 1.5em;
    color: #ccc;
    white-space: normal;
    line-height: 1.4;
}
.filebox {
    border: 1px solid #6aff91;
    padding: 20px;
    margin: 40px auto;
    background-color: rgba(17, 17, 17, 0.75);
    width: 90%;
    max-width: 1000px;
    box-sizing: border-box;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.cli-output {
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid #444;
    padding: 20px;
    margin: 40px auto;
    width: 90%;
    max-width: 1000px;
    font-family: monospace;
    line-height: 1.6;
    box-shadow: 0 0 10px #000a;
}
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    background-image:
    repeating-linear-gradient(rgba(0,0,0,0.06) 0px, rgba(0,0,0,0.06) 2px, transparent 2px, transparent 4px);
    z-index: 9999;
    mix-blend-mode: multiply;
}

/* Error/Success Box Additions */

.error-box, .success-box {
    font-family: monospace;
    padding: 0.75em 1em;
    margin: 1em auto;
    max-width: 600px;
    border-radius: 4px;
    border: 1px solid;
    text-align: center;
}

/* errors lean red */
.error-box {
    color: #f88;
    border-color: #833;
    background: rgba(136, 0, 0, 0.1);
}

/* success leans green */
.success-box {
    color: #8f8;
    border-color: #383;
    background: rgba(0, 136, 0, 0.1);
}

/* Form Additions */

form {
    max-width: 600px;
    background-color: #111;
    padding: 20px;
    border-radius: 8px;
    color: #ddd;
}
form label {
    display: block;
    margin-bottom: 10px;
}
form input[type="url"],
form textarea {
    width: 100%;
    background-color: #1a1a1a;
    color: #f0f0f0;
    border: 1px solid #444;
    padding: 8px;
    font-family: monospace;
    margin-top: 5px;
    margin-bottom: 15px;
    border-radius: 4px;
}
form button {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border: 1px solid #555;
    cursor: pointer;
    border-radius: 4px;
    font-family: monospace;
}
form button:hover {
    background-color: #555;
}
