:root {
    --bg: #111111; 
    --text: #ffffff;
    --accent: #22c55e;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Times New Roman", Times, serif;
    background-color: var(--bg);
    color: var(--text);
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
}

a {
    color: var(--text);
    text-decoration: none;
    font-style: italic;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 3px;
    transition: background-color 0.2s ease;
    z-index: 2;
    position: relative;
}

a:hover {
    color: var(--text);
    background-color: var(--accent);
}

/* --- SUBPAGE CONTENT LAYOUT --- */
.page-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.page-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-style: italic;
}

.page-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* --- BACKGROUND RANDOM DOTS --- */
.bg-dot {
    position: absolute;
    font-family: monospace;
    font-size: 1rem;
    color: var(--text);
    pointer-events: auto;
    cursor: pointer;
    z-index: 0;
    transition: color 0.15s ease, background-color 0.15s ease;
    border-radius: 2px;
    padding: 1px 3px;
}

.bg-dot:hover {
    color: var(--bg);
    background-color: var(--accent);
    opacity: 1;
}

/* --- HOMEPAGE LAYOUT --- */
.item-plugins {
    position: absolute;
    top: 18%;
    left: 15%;
    font-size: 1.4rem;
    font-style: italic;
    z-index: 2;
}

.item-center {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    width: 100%;
    z-index: 2;
}

.item-center pre {
    font-family: monospace;
    font-size: clamp(0.35rem, 1.4vw, 0.85rem); 
    line-height: 1;
    font-style: normal;
    display: inline-block;
    text-align: left; /* Keeps the internal monospace lines perfectly structured */
}

.item-center pre span {
    display: inline-block;
    transition: background-color 0.1s ease, color 0.1s ease;
}

.item-center pre span:hover {
    background-color: var(--accent);
    color: var(--bg);
}

.item-music {
    position: absolute;
    bottom: 22%;
    right: 15%;
    font-size: 1.4rem;
    font-style: italic;
    z-index: 2;
}

.item-about {
    position: absolute;
    bottom: 32%;
    left: 20%;
    font-size: 1.4rem;
    font-style: italic;
    z-index: 2;
}

/* --- MOBILE TWEAKS --- */
@media (max-width: 768px) {
    .item-center pre {
        font-size: clamp(0.24rem, 2.1vw, 0.42rem);
    }
    .item-plugins { top: 16%; left: 12%; }
    .item-music { bottom: 20%; right: 12%; }
    .item-about { bottom: 28%; left: 16%; }
}
