body {
    overscroll-behavior: none;
    font-family: 'Balsamiq Sans', 'Segoe UI', 'Roboto', 'Arial', sans-serif !important;
    max-width: 900px;
    margin: 1em auto;
    padding: 1em;
    background: #000000;
    color: #f0f0f0;
    scroll-behavior: smooth;
}

html::before,
body::before {
    content: "" !important;
    position: fixed !important;
    inset: 0 !important;
    pointer-events: none !important;
    z-index: 0 !important;

    background:
        linear-gradient(to right, rgba(255, 255, 255, 0.15) 1px, transparent 1px) 0 0 / 40px 40px,
        linear-gradient(to bottom, rgba(255, 255, 255, 0.15) 1px, transparent 1px) 0 0 / 40px 40px,
        radial-gradient(circle, rgba(255, 255, 255, 0.2) 1px, transparent 1.5px) 0 0 / 40px 40px !important;

    mix-blend-mode: screen !important;
    opacity: 0.2 !important;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #303030;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3f3f3f;
}

::selection {
    background-color: #ffffff;
    color: #000000;
}

header {
    text-align: center;
    margin-bottom: 2em;
    color: #ffffff;
}

footer {
    text-align: center;
    margin-top: 3em;
    padding-top: 1em;
    color: #888;
    font-size: 0.9rem;
}

a {
    color: #20B2AA;
    text-decoration: none;
}

a:hover {
    color: #20B2AA;
    text-decoration: none;
}

.folder-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1em;
}

.folder-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1em;
    padding: 1em 0;
}

.post-card {
    background: #111111;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1em;
    text-align: center;
    text-decoration: none;
    color: #ff66b2;
    box-shadow: 0 1px 3px rgba(255, 105, 180, 0.1);
    transition: 0.2s ease;
    cursor: pointer;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 5px #ff4da6,
        0 0 10px #ff4da6,
        0 0 15px #ff4da6,
        0 0 20px #ff66b2;
    color: #ff66b2;
    border-color: #ff66b2;
    background-color: #1a1a1a;
}

#custom-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#custom-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-icon svg {
    animation: rotate 1.5s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: transparent;
    border: none;
    border-radius: 50%;
    padding: 2px;
    box-shadow: none;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: transparent;
}

.doc-title {
    text-align: center;
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 40px;
    color: #58a6ff;
}

.doc-section {
    margin-bottom: 50px;
}

.doc-section-title {
    font-size: 1.6rem;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #79c0ff;
}

.doc-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    padding: 0;
    list-style: none;
    margin: 0;
}

.doc-item a {
    display: block;
    background: #161b22;
    padding: 16px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    text-decoration: none;
    color: #c9d1d9;
    font-weight: 500;
    cursor: pointer;
}