:root {
    --bg-desktop: #ff8c00;      
    --win-base: #ffb347;       
    --win-light: #ffd194;      
    --win-dark: #cc7000;       
    --win-text: #4a2500;       
    --win-title: #e65100;      
}

body {
    background-color: var(--bg-desktop);
    background-image: url('https://bettysgraphics.neocities.org/images/backgrounds/pattern%20147.gif');
    background-repeat: repeat;
    background-attachment: fixed;
    color: var(--win-text);
    font-family: 'VT323', monospace; 
    font-size: 1.3rem;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
}

#main-container {
    width: 100%;
    max-width: 900px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 15px;
    margin: auto 0;
}

.window {
    background: var(--win-base);
    border-top: 3px solid var(--win-light);
    border-left: 3px solid var(--win-light);
    border-right: 3px solid var(--win-dark);
    border-bottom: 3px solid var(--win-dark);
    box-shadow: 1px 1px 0px #000;
    padding: 3px;
    height: fit-content;
}

.title-bar {
    background: var(--win-title);
    color: white;
    padding: 4px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Shrikhand', cursive;
    font-size: 0.9rem;
}

.title-bar-controls span {
    border: 2px solid var(--win-light);
    background: var(--win-base);
    color: var(--win-text);
    padding: 0 4px;
    font-size: 0.7rem;
    margin-left: 2px;
    cursor: default;
}

.window-content {
    padding: 10px;
    border: 2px inset var(--win-light);
    background: var(--win-base);
}

.inset-box {
    background: #fff3e0;
    border: 3px inset var(--win-dark);
    padding: 10px;
    margin: 5px 0;
}

h1 {
    font-family: 'Shrikhand', cursive;
    font-size: 1.8em;
    margin: 0;
    color: var(--win-title);
    text-align: center;
    line-height: 1;
}

.win-btn {
    background: var(--win-base);
    border-top: 3px solid var(--win-light);
    border-left: 3px solid var(--win-light);
    border-right: 3px solid var(--win-dark);
    border-bottom: 3px solid var(--win-dark);
    color: var(--win-text);
    text-decoration: none;
    display: block;
    text-align: center;
    padding: 5px;
    margin: 4px 0;
    font-weight: bold;
    font-size: 1.1rem;
}

.win-btn:active {
    border: 3px inset var(--win-dark);
    padding: 6px 4px 4px 6px;
}

.status-bar {
    background: #ffb347;
    color: white;
    text-align: center;
    border: 2px inset #2e7d32;
    padding: 2px;
    font-weight: bold;
    margin-top: 5px;
}

.master-scroll-box {
    background: #fff3e0;
    border: 3px inset var(--win-dark);
    height: 600px;
    overflow-y: scroll;
    padding: 15px;
}

.master-scroll-box::-webkit-scrollbar { width: 20px; }
.master-scroll-box::-webkit-scrollbar-track { background: var(--win-dark); }
.master-scroll-box::-webkit-scrollbar-thumb { 
    background: var(--win-base);
    border: 2px solid var(--win-light);
    box-shadow: inset -2px -2px 0px var(--win-dark);
}

.section-header {
    font-family: 'Shrikhand', cursive;
    background: var(--win-title);
    color: white;
    padding: 4px 10px;
    margin: 15px 0 5px 0;
    font-size: 1.1rem;
}

.price-row { 
    display: flex; 
    justify-content: space-between; 
    border-bottom: 2px dashed var(--win-dark);
    font-weight: bold;
    margin-top: 10px;
}

.price-desc {
    font-size: 1rem;
    margin: 2px 0 10px 0;
    color: #6d3a00;
}

.nsfw-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 10px 0;
}

.nsfw-container {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border: 3px inset var(--win-light);
    background: #000;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nsfw-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(20px);
    transition: filter 0.3s ease;
}

.nsfw-overlay {
    position: absolute;
    background: rgba(183, 28, 28, 0.9);
    color: white;
    padding: 5px;
    font-family: 'VT323', monospace;
    font-size: 1rem;
    border: 1px solid white;
    text-align: center;
    pointer-events: none;
    z-index: 2;
    width: 80%;
}

.nsfw-container.revealed .nsfw-image {
    filter: none;
}

.nsfw-container.revealed .nsfw-overlay {
    display: none;
}

.footer {
    text-align: center;
    padding: 15px;
    color: white;
    text-shadow: 1px 1px 0px var(--win-text);
}

@media (max-width: 768px) {
    #main-container { grid-template-columns: 1fr; }
    .master-scroll-box { height: auto; max-height: 70vh; }
}


.free-png-image {
    display: block;
    width: 245px;        
    height: auto;
    margin-top: -15px;   
    image-rendering: auto; 
    border: none;
    background: none;
    box-shadow: none;
    position: relative;  
    z-index: 10;
}

@media (max-width: 768px) {
    #main-container { 
        display: flex;         
        flex-direction: column; 
    }

    #sidebar-column { 
        display: contents;     
    }

    #sidebar.window { order: 1; } 
    #content-wrap { order: 2; }    
    
    .free-png-image { 
        order: 3;                  
        width: 250px;              
        margin: 20px auto;       
    }

    .master-scroll-box { 
        height: auto; 
        max-height: 70vh; 
    }
}
.coffee-btn {
    background: #6F4E37; 
    color: white !important;
    margin-top: 4px;
}

.coffee-btn:hover {
    background: #5D4037;
}

.action-buttons-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.layout-btn {
    font-size: 1.5rem;
    background: #fff3e0;
    display: inline-block;
    padding: 10px 30px;
    margin: 0;
    flex: 1;
    max-width: 250px;
    text-decoration: none;
    font-family: 'VT323', monospace;
}

@media (max-width: 480px) {
    .action-buttons-container {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    .layout-btn {
        width: 100%;
        max-width: 280px;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-window {
    width: 280px;
    animation: popIn 0.15s ease-out;
}

@keyframes popIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.network-tag {
    background: #fff3e0;
    color: var(--win-title);
    border: 1px solid var(--win-dark);
    padding: 1px 6px;
    font-size: 0.9rem;
    margin-left: 3px;
    display: inline-block;
    font-weight: bold;
    box-shadow: 1px 1px 0px rgba(0,0,0,0.15);
}

* {
  cursor: url('https://cdn.cursors-4u.net/css-previews/one-piece-logo-60a9d402-css.webp'), auto !important;
}
#page-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px; 
    width: 100%;
}

.desktop-menu-bar {
    position: relative; 
    width: 100%;
    max-width: 900px; 
    background: var(--win-base);
    border-bottom: 2px solid var(--win-dark);
    box-shadow: 0 2px 0 var(--win-light), 1px 1px 0px #000;
    border-top: 2px solid var(--win-light);
    border-left: 2px solid var(--win-light);
    border-right: 2px solid var(--win-dark);
    display: flex;
    gap: 4px;
    padding: 4px 12px;
    z-index: 100;
    box-sizing: border-box;
}

.menu-item {
    position: relative;
}

.menu-item a {
    color: var(--win-text);
    text-decoration: none;
    padding: 2px 8px;
    display: inline-block;
    font-size: 1.2rem;
}

.underline {
    text-decoration: underline;
}

.menu-item a:hover {
    background: var(--win-title);
    color: white;
}
