:root {
    --bg-page: #1a1a1a; 
    --bg-container: #d9d4c5; 
    --border-color: #2fddf861; 
    --text-main: #333;
    --text-light: #e6edf3;
    --font-retro: 'Courier New', Courier, monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {

    background-image: url('Ushiromiya.png'); 
    cursor: url('context-menu-96-10cc8ee1-preview-32.webp'), auto;
    background-color: var(--bg-page);
    background-repeat: repeat;
    background-attachment: fixed; 
    font-family: var(--font-retro);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 50px 20px;
}

   /*2. CAIXA PRINCIPAL */

.main-wrapper {
    position: relative;
    display: flex;
    gap: 15px; 
}

.scrapbook-container {
    position: relative; 
    background-image: url('texture1.png');
    background-repeat: repeat;
    background-color: var(--bg-container);
    border: 10px groove #4a5c60; 
    padding: 15px;
    display: flex;
    gap: 15px;
    max-width: 1000px;
    width: 100%;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.5); 
    height: 600px;
}

.leaking-tag.top-left {
    position: absolute;
    top: -16px; 
    left: 30px; 
    background-color: #fff;
    border: 2px dashed #333;
    padding: 2px 10px;
    font-size: 0.85em;
    font-weight: bold;
    color: #333;
    z-index: 10;
}

.leaking-badge.bottom-right {
    position: absolute;
    bottom: -15px; 
    right: 40px; 
    background-color: #000;
    color: #0f0; 
    border: 3px outset #555;
    padding: 4px 8px;
    font-size: 0.75em;
    font-family: 'Courier New', monospace;
    transform: rotate(-4deg); 
    z-index: 10;
    box-shadow: 3px 3px 0px rgba(0,0,0,0.4);
}

   /*3. COLUNA 1: esquerda */
.col-profile {
    width: 220px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-pic {
    width: 100%;
    height: 200px;
    background-color: #fff;
    border: 4px double #8a7a5c; 
    border-radius: 2px 15px 2px 15px; 
    background-image: url('Beatrice.jpg');
    background-size: cover;
    background-position: center;
}

.author-message, .likes-box {
    background-color: #fff;
    border: 3px dotted #555; 
    padding: 10px;
    font-size: 0.85em;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.1); 
}

.author-message {
    text-align: center;
}

   /*4. COLUNA 2: Meio */
   
.col-index {
    width: 240px; 
    display: flex;
    flex-direction: column;
    gap: 15px; 
}

.index-title-box {

    background-image: url('bg.gif'); 
    background-color: #aeb684; 
    background-repeat: repeat;
    
    border: 2px solid #5c6b45; 
    padding: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
    color: #fff;

    text-shadow: 1px 1px 0 #333, -1px -1px 0 #333, 1px -1px 0 #333, -1px 1px 0 #333;
    
    box-shadow: 2px 2px 0px rgba(0,0,0,0.3);
}

/* CAIXA 2: por os LINKS */
.index-links-box {
    background-color: rgba(255,255,255,0.9); 
    border: 2px solid #f4f7f8; 
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    
    
    flex-grow: 1; 
}

.entry-link {
    display: flex;
    align-items: center;
    gap: 8px; 
    text-decoration: none;
}

.entry-link:hover {

    transform: translateX(4px);
    transition: 0.2s ease-in-out;
}

.entry-date {
    font-family: var(--font-retro);
    font-weight: bold;
    font-size: 0.9em;
    color: #fff;

    text-shadow: 1px 1px 0 #333, -1px -1px 0 #333, 1px -1px 0 #333, -1px 1px 0 #333;
    white-space: nowrap; 
}

.entry-content {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    width: 100%;
    
    
    background: linear-gradient(to right, rgba(175, 187, 129, 0.8) 0%, rgba(175, 187, 129, 0) 100%);
    
    padding:8px 10px 8px 10px; 
    border: 1px dashed rgba(0,0,0,0.3); 
    border-right: none; 
}

.entry-text {
    font-size: 0.8em;
    color: #fff;
    
    text-shadow: 1px 1px 0 #333, -1px -1px 0 #333, 1px -1px 0 #333, -1px 1px 0 #333;
    line-height: 1.2;
}

.entry-icon {
    width: 16px;
    height: 16px;
    image-rendering: pixelated; 
    flex-shrink: 0; 

    }

 
   /*5. COLUNA 3: Leitura*/
.col-reader {
    width: 500px;
    background-image: url('bg2.gif'); 
    background-color: #050505; 
    background-repeat: repeat; 
    color: var(--text-light);
    border: 6px inset #3a4a52; 
    padding: 20px;
    overflow-y: auto;
    max-height: 100%; 
    text-shadow: 1px 1px 0px #000, -1px -1px 0px #000, 1px -1px 0px #000, -1px 1px 0px #000;
}


.col-reader::-webkit-scrollbar {
    width: 16px;
    background: #dfdfdf;
    border-left: 1px solid #fff;
}
.col-reader::-webkit-scrollbar-thumb {
    background-color: #c0c0c0;
    border: 2px outset #fff;
}
.col-reader::-webkit-scrollbar-thumb:active {
    background-color: #a0a0a0;
    border: 2px inset #fff;
}
.col-reader::-webkit-scrollbar-button {
    background-color: #dfdfdf;
    border: 2px outset #fff;
    height: 16px;
}

.leitor-marquee {
    border-bottom: 1px solid #777;
    padding-bottom: 5px;
    margin-bottom: 15px;
    font-size: 0.8em;
    color: #ffeb3b;
}

.reader-header {
    border-bottom: 1px dashed #777;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 0.9em;
}

.reader-content {
    font-size: 0.95em;
    line-height: 1.6;
}

.reader-content p {
    margin-bottom: 15px;
}

 
   /* 6. Menu Lateral */

.desktop-icons-container {
    display: flex;
    flex-direction: column;
    gap: 25px; 
    margin-top: 10px;
}

.desktop-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    width: 70px; 
    cursor: pointer;
}

.desktop-icon img {
    width: 32px; 
    height: 32px;
    image-rendering: pixelated; 
    margin-bottom: 5px;
    transition: transform 0.1s;
}

.desktop-icon span {
    color: #fff;
    font-family: 'Tahoma', sans-serif; 
    font-size: 0.75em;
    text-align: center;
    
    
    text-shadow: 1px 1px 1px #000, -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000;
    
    padding: 2px 4px;
    border: 1px dotted transparent; 
}


.desktop-icon:hover img {

    transform: scale(1.1); 
}

.desktop-icon:hover span {
    background-color: rgba(0, 88, 238, 0.5); 
    border: 1px dotted #ccc; 
}

 
   /* 7. JANELAS */
.retro-window {
    position: absolute;
    top: 25%; 
    right: 105%;
    width: 220px; 
    background-color: #d9d4c5; 
    border: 2px solid #fff;
    border-right-color: #777; 
    border-bottom-color: #777; 
    box-shadow: 4px 4px 0px rgba(0,0,0,0.5); 
    z-index: 1000; 
}

.window-titlebar {
    background-color: #c4c5a5; 
    padding: 3px 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move; 
    border-bottom: 2px solid #777;
}

.window-title {
    font-size: 0.85em;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 0px #888;
    font-family: var(--font-retro);
}

.window-close {
    background-color: #c0c0c0;
    border: 2px outset #fff;
    color: #fff;
    font-weight: bold;
    font-size: 0.7em;
    cursor: pointer;
    padding: 0 4px;
}

.window-close:active {
    border: 2px inset #fff;
    background-color: #a0a0a0;
}

.window-content {
    padding: 4px;
    background-color: #d9d4c5;
}

.title-icon {
    width: 32px; 
    height: 32px;
    vertical-align: middle; 
    margin-right: 4px; 
    margin-bottom: 2px;
    image-rendering: pixelated; 
}

a, button, .window-close, .desktop-icon {
    cursor: url('clicando.png'), pointer !important;
}

.window-titlebar {
    cursor: url('mover.png'), move !important;
}