/* === GENERAL BODY STYLING === */
body {
    margin: 0;
    font-family: Cousine, monospace;
    min-height: 100vh;
    color: #873131;
    cursor: url("fotos/arrowhead-rounded-outline.png"), auto;

    /* PAGE BACKGROUND: gradient + tile */
    background: 
        linear-gradient(rgba(153, 215, 215, 0.8), rgba(255, 225, 127, 0.8)),
        url("https://sadhost.neocities.org/images/tiles/139.png") repeat;
    background-size: auto;
}

::selection {
    background: #873131;
    color: white;
}

/* === CENTERED CONTAINER === */
.div-center, .div-center-likes {
    border: double 4px #4C3299;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.85);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* Scrollable Stuff I Like container */
.div-center-likes {
    max-width: 500px;
    flex-shrink: 0;
    max-height: 600px; /* adjust height */
    margin: 0 20px; /* horizontal margin for spacing */
    overflow: hidden;
}

.div-center-likes .div-center-content {
    overflow-y: auto;
    padding: 20px;
}

/* Center main container */
.div-center {
    max-width: 900px;
    margin: 40px auto 0; /* auto horizontal margin centers it */
}

.div-center-content {
    padding: 20px;
}

/* Windows 7 style bar */
.win7-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, #cedff0, #95baf0);
    border-bottom: 1px solid #4a6cae;
    padding: 4px 8px;
    font-family: Segoe UI, Arial, sans-serif;
    font-size: 14px;
    color: #222;
    user-select: none;
    border-radius: 10px 10px 0 0;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.win7-title { font-weight: bold; }
.win7-buttons { display: flex; gap: 2px; }

.win7-buttons .btn {
    width: 30px;
    height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid #6d8fcc;
    background: linear-gradient(to bottom, #fefefe, #d6e1f2);
    cursor: default;
    border-radius: 3px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7),
                inset 0 -1px 0 rgba(0,0,0,0.1),
                0 1px 2px rgba(0,0,0,0.2);
}

.win7-buttons .btn:hover {
    background: linear-gradient(to bottom, #fefefe, #c9d7f0);
    border-color: #3a2a99;
}

.win7-buttons .close {
    color: white;
    background: linear-gradient(to bottom, #e36f6f, #c94040);
    border-color: #933;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6),
                inset 0 -1px 0 rgba(0,0,0,0.2),
                0 1px 2px rgba(0,0,0,0.3);
}

.win7-buttons .close:hover {
    background: linear-gradient(to bottom, #f19090, #d24d4d);
}

/* === TOP GIF === */
.about-top {
    display: block;
    margin: 20px auto 10px;
    width: 200px;
    height: auto;
}

/* === TWO COLUMNS === */
.columns-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.div-left, .div-right {
    flex: 1;
    min-width: 250px;
    padding: 10px;
}

/* === BOTTOM HOME BUTTON === */
.home-bottom {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    display: block;
}

/* === SCROLLBAR STYLING (Page) === */
::-webkit-scrollbar { width: 16px; }
::-webkit-scrollbar-track {
    background: beige; border: 2px solid #873131;
    box-shadow: inset 2px 2px 0 #fff, inset -2px -2px 0 #333;
}
::-webkit-scrollbar-thumb {
    background: #873131; border: 2px solid beige;
    box-shadow: inset 2px 2px 0 #fff, inset -2px -2px 0 #333;
}
::-webkit-scrollbar-thumb:hover { background: #a84646; }

/* === SCROLLBAR INSIDE STUFF I LIKE === */
.div-center-likes .div-center-content::-webkit-scrollbar { width: 12px; }
.div-center-likes .div-center-content::-webkit-scrollbar-track { background: #f0f0f0; }
.div-center-likes .div-center-content::-webkit-scrollbar-thumb {
    background: #873131;
    border-radius: 6px;
}
.div-center-likes .div-center-content::-webkit-scrollbar-thumb:hover { background: #a84646; }

.centered-img, .small-img {
    display: block;
    margin: 50px auto 0;
    max-width: 100%;
    height: auto;
}

.small-img { width: 200px; }
.centered-img { width: 100px; max-width: 75%; }

/* Cursor trail effect */
.cursor-trail {
    position: absolute;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: white;
    pointer-events: none;
    opacity: 0.8;
    transform: translate(-50%, -50%);
    transition: transform 0.1s, opacity 0.3s;
    z-index: 9999;
}

/* Sidebar + main layout */
.window-layout {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 40px;
    gap: 0;
}

.window-layout .div-center, 
.window-layout .div-center-likes { margin: 0; }

/* === CATEGORY GRID === */
.likes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.like-card {
    background-color: #e6ebf5;
    border: 1px solid #4C3299;
    border-radius: 3px;
    padding: 12px;
    font-size: 16px;
    font-weight: normal;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.like-card:hover {
    background-color: #d6def0;
    border-color: #3a2a99;
}

/* Lists inside categories */
.like-list {
    list-style-type: disc;
    margin-top: 8px;
    padding-left: 20px;
    display: none;
    font-weight: normal;
    font-size: 14px;
    color: #333;
}

.item-review { display: none; margin-top: 5px; font-size: 13px; color: #444; }
.item-title { cursor: pointer; font-weight: bold; }
