/* Reset & Base */
:root {
    --win-gray: #c0c0c0;
    --win-dark: #808080;
    --win-darker: #404040;
    --win-light: #ffffff;
    --win-blue: #000080;
    --win-text: #000000;
    --ibos-accent: #ff0055; /* Streetwear accent */
}

* {
    box-sizing: border-box;
    user-select: none;
    cursor: default;
    cursor: none !important; /* Hide default cursor everywhere */
}

html {
    background: #000;
    height: 100%;
    overflow: hidden;
}

body {
    margin: 0;
    padding: 0;
    background-color: #121212; /* Deep Charcoal */
    /* Grimy urban texture overlay */
    background-image: 
        linear-gradient(rgba(0,0,0,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.1) 1px, transparent 1px),
        url('wp2808001.jpg');
    background-size: 4px 4px, 4px 4px, cover;
    font-family: 'Tahoma', 'Segoe UI', sans-serif;
    font-size: 12px;
    overflow: hidden;
    height: 100vh;
    color: var(--win-text);
    
    /* CRT Curve & Effects */
    transform: perspective(1000px) scale(0.98);
    transform-origin: center;
    border-radius: 50px / 5px; /* Curved glass edges */
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
    
    /* Chromatic Aberration */
    text-shadow: 1px 0 2px rgba(255,0,0,0.4), -1px 0 2px rgba(0,0,255,0.4);
    
    /* Phosphor Tint (Subtle Amber/Green) */
    filter: sepia(0.2) hue-rotate(50deg) contrast(1.1) saturate(1.2);
}

/* CRT Filter Layer */
#crt-filter {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99999;
    
    /* Scanlines & Vignette */
    background: 
        linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), /* Scanlines */
        radial-gradient(circle at center, transparent 60%, rgba(0,0,0,0.4) 100%); /* Vignette */
    background-size: 100% 3px, 100% 100%;
    
    /* Flicker */
    animation: crt-flicker 1s infinite;
}

@keyframes crt-flicker {
    0% { opacity: 0.96; }
    50% { opacity: 1; }
    100% { opacity: 0.97; }
}

/* Boot Screen */
#boot-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    color: #FFFF00;
    z-index: 10000;
    font-family: 'Courier New', monospace;
    padding: 20px;
    font-size: 14px;
    line-height: 1.4;
    cursor: none;
}

.bios-layout {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.bios-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.energy-star-logo {
    border: 2px solid #FFFF00;
    padding: 5px;
    width: 120px;
    text-align: center;
}

.es-graphic {
    font-style: italic;
    font-weight: bold;
    font-size: 18px;
    border-bottom: 1px solid #FFFF00;
    margin-bottom: 2px;
    background: linear-gradient(to right, #FFFF00 50%, #000 50%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.es-text {
    font-size: 8px;
    font-weight: bold;
}

/* Enhanced BIOS Table */
.bios-table {
    width: 100%;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    margin: 10px 0;
    padding: 5px 0;
}
.bios-row {
    display: flex;
    justify-content: space-between;
}
.bios-key { color: #fff; }
.bios-val { color: #FFFF00; font-weight: bold; }

.bios-details { margin-bottom: 20px; }
.bios-log { min-height: 100px; }
.bios-footer {
    position: fixed;
    bottom: 20px;
    left: 20px;
    font-size: 12px;
}

/* Desktop Icons */
.desktop-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.icon {
    position: absolute; /* Changed from static flex item */
    width: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #fff;
    cursor: pointer;
}

.icon:active .icon-img {
    filter: brightness(0.7);
}

.icon-img {
    width: 32px;
    height: 32px;
    margin-bottom: 4px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /* Fallback colors for missing images */
    background-color: rgba(255,255,255,0.2); 
    border: 1px dashed rgba(255,255,255,0.5);
}

.icon-label {
    background: transparent;
    padding: 2px;
    font-size: 11px;
    text-shadow: 1px 1px #000;
}

.icon:hover .icon-label {
    background: var(--win-blue);
    border: 1px dotted #fff;
}

/* Windows */
.window {
    position: absolute;
    background: var(--win-gray);
    border-top: 2px solid var(--win-light);
    border-left: 2px solid var(--win-light);
    border-right: 2px solid var(--win-darker);
    border-bottom: 2px solid var(--win-darker);
    box-shadow: 1px 1px 0 #000;
    display: flex;
    flex-direction: column;
    padding: 2px;
    min-width: 200px;
    min-height: 150px;
    position: absolute; /* Ensure explicit positioning context */
}

.window.maximized {
    border: none;
}

.title-bar {
    background: linear-gradient(90deg, var(--win-blue), #1084d0);
    color: #fff;
    padding: 2px 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    cursor: default;
}

.title-bar-controls {
    display: flex;
    position: relative;
    z-index: 20; /* Fix: Ensure buttons are clickable above resizers */
}

.title-bar-controls button {
    width: 24px; /* Genişletildi */
    height: 20px; /* Yükseltildi */
    background: var(--win-gray);
    border-top: 1px solid var(--win-light);
    border-left: 1px solid var(--win-light);
    border-right: 1px solid var(--win-darker);
    border-bottom: 1px solid var(--win-darker);
    font-size: 11px;
    line-height: 14px;
    margin-left: 4px; /* Aralık arttırıldı */
    font-weight: bold;
}

.title-bar-controls button:active {
    border-top: 1px solid var(--win-darker);
    border-left: 1px solid var(--win-darker);
    border-right: 1px solid var(--win-light);
    border-bottom: 1px solid var(--win-light);
}

.window-body {
    flex: 1;
    margin-top: 2px;
    overflow: auto;
    padding: 10px;
    position: relative;
    /* Scanline Texture */
    background-image: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 2px, 3px 100%;
}

/* Window Resizers */
.resizer { position: absolute; z-index: 10; }
.resizer-r { top: 0; right: -4px; width: 6px; height: 100%; cursor: e-resize; }
.resizer-b { bottom: -4px; left: 0; height: 6px; width: 100%; cursor: s-resize; }
.resizer-br { 
    bottom: 0; right: 0; width: 15px; height: 15px; cursor: se-resize; 
    background: linear-gradient(135deg, transparent 50%, var(--win-dark) 50%);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
/* Corner grip lines effect */
.resizer-br::after {
    content: ''; position: absolute; right: 2px; bottom: 2px; width: 10px; height: 10px;
    background: repeating-linear-gradient(135deg, transparent, transparent 2px, var(--win-light) 2px, var(--win-light) 3px);
}

/* Taskbar */
#taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 28px;
    background: var(--win-gray);
    border-top: 2px solid var(--win-light);
    display: flex;
    align-items: center;
    padding: 2px;
    z-index: 9000;
}

#start-btn {
    height: 22px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: bold;
    font-style: italic;
    padding: 0 6px;
    border-top: 2px solid var(--win-light);
    border-left: 2px solid var(--win-light);
    border-right: 2px solid var(--win-darker);
    border-bottom: 2px solid var(--win-darker);
    background: var(--win-gray);
}

#start-btn:active, #start-btn.active {
    border-top: 2px solid var(--win-darker);
    border-left: 2px solid var(--win-darker);
    border-right: 2px solid var(--win-light);
    border-bottom: 2px solid var(--win-light);
    background: #e0e0e0;
}

.taskbar-divider {
    width: 2px;
    height: 20px;
    background: var(--win-dark);
    border-right: 1px solid var(--win-light);
    margin: 0 4px;
}

#task-list {
    flex: 1;
    display: flex;
    gap: 2px;
}

.task-item {
    width: 150px;
    height: 22px;
    background: var(--win-gray);
    border-top: 2px solid var(--win-light);
    border-left: 2px solid var(--win-light);
    border-right: 2px solid var(--win-darker);
    border-bottom: 2px solid var(--win-darker);
    display: flex;
    align-items: center;
    padding-left: 5px;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.task-item.active {
    background: #e0e0e0;
    border-top: 2px solid var(--win-darker);
    border-left: 2px solid var(--win-darker);
    border-right: 2px solid var(--win-light);
    border-bottom: 2px solid var(--win-light);
    font-weight: bold;
}

.system-tray {
    border: 2px solid;
    border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
    padding: 0 8px;
    height: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
}

/* Start Menu */
#start-menu {
    position: absolute;
    bottom: 28px;
    left: 2px;
    width: 200px;
    background: var(--win-gray);
    border-top: 2px solid var(--win-light);
    border-left: 2px solid var(--win-light);
    border-right: 2px solid var(--win-darker);
    border-bottom: 2px solid var(--win-darker);
    display: flex;
    z-index: 9001;
}

.hidden { display: none !important; }

.sidebar {
    width: 25px;
    background: var(--win-blue);
    color: #fff;
    display: flex;
    align-items: flex-end;
    padding-bottom: 10px;
}

.vertical-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-weight: bold;
    font-size: 16px;
    padding: 5px;
}

.menu-items {
    flex: 1;
    padding: 2px;
}

.menu-item {
    padding: 6px 10px;
    cursor: pointer;
}

.menu-item:hover {
    background: var(--win-blue);
    color: #fff;
}

.menu-divider {
    height: 1px;
    background: var(--win-dark);
    border-bottom: 1px solid var(--win-light);
    margin: 4px 0;
}

/* Content Specifics */
.win98-btn {
    background: var(--win-gray);
    border-top: 2px solid var(--win-light);
    border-left: 2px solid var(--win-light);
    border-right: 2px solid var(--win-darker);
    border-bottom: 2px solid var(--win-darker);
    padding: 4px 12px;
    cursor: pointer;
}

.win98-btn:active {
    border-top: 2px solid var(--win-darker);
    border-left: 2px solid var(--win-darker);
    border-right: 2px solid var(--win-light);
    border-bottom: 2px solid var(--win-light);
}

textarea, input[type="text"] {
    width: 100%;
    border: 2px solid;
    border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
    font-family: 'Courier New', monospace;
    padding: 4px;
    background: #fff;
}

/* BSOD (Blue Screen of Death) */
#bsod {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #0000AA;
    color: #fff;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1.6;
    cursor: none; /* Hide cursor for authenticity */
}

.bsod-content {
    max-width: 800px;
    padding: 20px;
}

.bsod-label {
    background: #fff;
    color: #0000AA;
    padding: 0 4px;
}

.bsod-content .center { text-align: center; margin-top: 40px; }
.blink { animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* --- NEW FEATURES --- */

/* Outlook Express / Admin Panel */
.outlook-toolbar {
    display: flex;
    gap: 5px;
    padding: 5px;
    border-bottom: 1px solid #808080;
    margin-bottom: 5px;
}
.outlook-grid {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 2px solid #808080; /* Sunken look */
}
.outlook-grid th {
    text-align: left;
    background: #c0c0c0;
    border: 1px solid #fff;
    border-right: 1px solid #808080;
    border-bottom: 1px solid #808080;
    padding: 2px 4px;
    font-size: 11px;
}
.outlook-grid td {
    border-bottom: 1px dotted #ccc;
    padding: 2px 4px;
    font-size: 11px;
    cursor: pointer;
}
.outlook-grid tr:hover {
    background: #000080;
    color: #fff;
}
.admin-tabs {
    display: flex;
    margin-bottom: 5px;
    border-bottom: 1px solid #fff;
}
.admin-tab {
    padding: 3px 8px;
    margin-right: 2px;
    background: #c0c0c0;
    border: 1px solid #fff;
    border-bottom: none;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    cursor: pointer;
}
.admin-tab.active {
    font-weight: bold;
    background: #c0c0c0;
    border-top: 2px solid var(--ibos-accent);
    position: relative;
    top: 1px;
    padding-bottom: 4px;
}
.admin-section { display: none; }
.admin-section.active { display: block; }

/* New Image Viewer */
.img-viewer-layout {
    display: flex; 
    flex-direction: column; 
    height: 100%; 
    background: #c0c0c0;
    color: #e0e0e0;
    padding: 0;
}
.iv-toolbar { 
    padding: 4px; 
    border-bottom: 1px solid #808080; 
    background: #c0c0c0;
    display: flex; 
    gap: 5px; 
}
.iv-canvas { 
    flex: 1; 
    background: #808080; 
    overflow: auto; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding: 20px;
    border: 2px inset #fff;
    margin: 2px;
}
/* Exclude image viewer content from global filters if applied via inheritance, though filters are on body/html usually. To be safe: */
.iv-canvas img, .iv-canvas video { 
    box-shadow: 5px 5px 10px rgba(0,0,0,0.5); 
    transition: transform 0.2s; 
    max-width: 100%; 
}
.iv-statusbar { padding: 2px 5px; background: #c0c0c0; border-top: 1px solid #fff; font-size: 11px; color: #000; }

/* Ensure images inside the viewer do not get the sepia/hue-rotate from body */
#iv-target {
    filter: none !important; /* Override global filters */
    position: relative; /* For dragging */
}

/* Dynamic File Grid (Game Lab) */
.file-grid { display: flex; flex-wrap: wrap; gap: 15px; align-content: flex-start; }
.file-item { width: 64px; display: flex; flex-direction: column; align-items: center; cursor: pointer; text-align: center; }
.file-item:hover .file-icon { filter: brightness(1.1); }
.file-item:hover .file-name { background: #000080; color: #fff; }
.file-icon { width: 32px; height: 32px; background-size: cover; margin-bottom: 4px; border: 1px solid transparent; }
.file-name { font-size: 11px; padding: 0 2px; word-break: break-word; }
.media-list-item { padding: 5px; border-bottom: 1px solid #ccc; margin-bottom: 5px; background: #eee; }

/* --- WINAMP STYLE --- */
.winamp-layout {
    background: #222;
    color: #0f0;
    font-family: 'Courier New', monospace;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 2px;
}
.wa-main-window, .wa-playlist-window {
    border: 2px solid #555;
    background: #111;
    padding: 5px;
}
.wa-title-bar-fake, .wa-pl-title {
    background: #000080;
    color: #fff;
    padding: 2px;
    font-size: 10px;
    margin-bottom: 5px;
    cursor: default;
}
.wa-display {
    background: #000;
    border: 2px inset #555;
    padding: 5px;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.wa-time { font-size: 20px; color: #0f0; }
.wa-spectrum { display: flex; gap: 1px; height: 20px; align-items: flex-end; }
.wa-bar { width: 3px; background: #0f0; }
.wa-controls-row { display: flex; gap: 2px; justify-content: center; }
.wa-btn { width: 20px; height: 15px; font-size: 9px; background: #c0c0c0; border: 1px outset #fff; cursor: pointer; }
.wa-btn:active { border: 1px inset #fff; }
.wa-pl-list { height: 100px; overflow-y: auto; background: #000; border: 1px inset #555; font-size: 10px; padding: 2px; }
.wa-pl-item { cursor: pointer; padding: 1px; }
.wa-pl-item:hover { background: #000080; color: #fff; }
.wa-pl-controls { display: flex; gap: 2px; margin-top: 2px; }
.wa-btn-small { font-size: 9px; padding: 0 4px; }

/* Battery Icon */
.tray-icon.battery { cursor: help; }

/* --- CUSTOM CURSOR & CONTEXT MENU --- */

#custom-cursor {
    position: fixed;
    width: 24px;
    height: 24px;
    /* Classic Arrow SVG */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="black" d="M0,0 L0,18 L5,13 L8,19 L10,18 L7,12 L12,12 L0,0 Z"/><path fill="white" d="M1,2 L1,15 L4,12 L7,17 L8,17 L5,11 L10,11 L1,2 Z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 9995; /* Below CRT Filter (99999) */
    pointer-events: none;
}

.cursor-trail {
    position: fixed;
    width: 24px;
    height: 24px;
    /* Greenish Ghost SVG */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="rgba(0, 255, 0, 0.4)" d="M0,0 L0,18 L5,13 L8,19 L10,18 L7,12 L12,12 L0,0 Z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 9994;
    pointer-events: none;
    transition: top 0.08s ease-out, left 0.08s ease-out; /* Lag effect */
}

#context-menu {
    position: fixed;
    background: var(--win-gray);
    border: 2px outset #fff;
    box-shadow: 2px 2px 0 #000;
    padding: 2px;
    min-width: 160px;
    z-index: 9996;
    display: none;
    font-family: 'Tahoma', sans-serif;
    font-size: 11px;
}

.ctx-item { padding: 4px 12px; cursor: none; display: flex; align-items: center; gap: 8px; }
.ctx-item:hover { background: var(--win-blue); color: #fff; }
.ctx-divider { height: 1px; background: var(--win-dark); border-bottom: 1px solid var(--win-light); margin: 2px 0; }

/* About Window Styles */
.about-content {
    background: #fff;
    padding: 15px;
    height: 100%;
    overflow-y: auto;
    font-family: 'Tahoma', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.about-header {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 15px;
    text-align: left;
    width: 100%;
}
.win-divider {
    border: 0;
    border-bottom: 1px solid #808080;
    border-top: 1px solid #fff;
    margin: 10px 0;
    width: 100%;
}
.profile-img {
    width: 100px;
    height: 100px;
    border: 2px solid var(--win-darker);
    box-shadow: 2px 2px 0 rgba(0,0,0,0.2);
    margin-bottom: 15px;
    object-fit: cover;
    background: #000;
}
.about-text {
    font-size: 12px;
    line-height: 1.5;
    color: #000;
    font-family: 'MS Sans Serif', 'Tahoma', sans-serif;
}

/* Retro Tooltip */
.tooltip-trigger:hover::after {
    content: "⚠️ kısa süreliğine erişime kısıtlı.";
    position: absolute;
    bottom: 100%; /* Position above the icon */
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffe1; /* Classic Windows Tooltip Yellow */
    border: 1px solid #000;
    color: #000;
    padding: 3px 6px;
    font-size: 11px;
    white-space: nowrap;
    z-index: 9999;
    box-shadow: 2px 2px 0px rgba(0,0,0,0.2);
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    /* Hide custom cursor on touch devices */
    #custom-cursor, .cursor-trail { display: none !important; }
    * { cursor: auto !important; }

    /* Adjust Windows for Mobile */
    .window {
        width: 92% !important;
        height: 70vh !important;
        left: 4% !important;
        top: 50px !important;
    }

    /* Taskbar & Start Menu */
    #taskbar { height: 40px; }
    #start-btn { height: 34px; font-size: 14px; }
    .task-item { height: 34px; font-size: 12px; }
    .system-tray { height: 34px; }
    #start-menu { bottom: 40px; width: 260px; }
    .menu-item { padding: 12px; font-size: 14px; }

    /* Icons */
    .icon { width: 80px; margin-bottom: 15px; }
    .icon-img { width: 42px; height: 42px; }
    
    /* Boot Screen */
    .bios-layout { width: 95%; padding: 10px; font-size: 11px; }
}

/* --- VISUAL ARTS (VampireFreaks Style) --- */
.va-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
    height: 100%;
    background: #000;
    color: #aaddff; /* Y2K Blue */
    font-family: 'Verdana', sans-serif;
    overflow: hidden;
    /* Dot Grid Texture */
    background-image: radial-gradient(#333 1px, transparent 1px);
    background-size: 8px 8px;
    padding: 0;
}

.va-sidebar {
    background: rgba(0, 10, 20, 0.95);
    border-right: 1px solid #0055ff;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
    box-shadow: 2px 0 15px rgba(0, 85, 255, 0.15);
}

/* Custom Scrollbar for Columns */
.va-column::-webkit-scrollbar, .va-sidebar::-webkit-scrollbar {
    width: 8px;
    background: #111;
}
.va-column::-webkit-scrollbar-thumb, .va-sidebar::-webkit-scrollbar-thumb {
    background: #4b0082;
    border: 1px solid #800080;
}

/* Main Content Area */
.va-main-content {
    overflow-y: auto;
    padding: 10px;
}

/* Fieldset Style for Projects */
.va-fieldset {
    border: 1px solid #444;
    padding: 10px;
    margin-bottom: 20px;
    background: rgba(20, 20, 20, 0.8);
}

.va-legend {
    color: #d8bfd8;
    padding: 0 5px;
    font-weight: bold;
    background: #000;
}

.va-content {
    padding: 15px; /* İç boşluk artırıldı */
    font-size: 12px; /* Yazı boyutu artırıldı */
    line-height: 1.5;
}

/* Sidebar Elements */
.va-profile-img {
    width: 100%;
    border: 1px solid #00ffff;
    margin-bottom: 5px;
    filter: contrast(1.2) brightness(1.1);
}

/* Thumbnail Grid */
.va-gallery-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.va-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid #0055ff;
    cursor: pointer;
    transition: all 0.2s;
    background: #000;
    filter: grayscale(0.6);
}

.va-thumb:hover {
    border-color: #00ffff;
    outline: 1px solid #00ffff;
    filter: grayscale(0);
    transform: scale(1.1);
    z-index: 10;
    box-shadow: 0 0 10px #00ffff;
}

/* About Page Updates */
.program-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 10px;
}
.program-item { text-align: center; }
.program-icon { width: 48px; height: 48px; margin: 0 auto 5px; background-size: contain; background-repeat: no-repeat; }
.warning-text { color: red; font-weight: bold; animation: blink 1s infinite; }

/* --- ROVER ASSISTANT --- */
#rover-assistant {
    position: fixed;
    bottom: 40px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: auto;
}

.rover-character {
    width: 64px;
    height: 64px;
    background-image: url('2132659_1e79d.gif');
    background-size: contain;
    background-repeat: no-repeat;
    cursor: move;
}

.rover-bubble {
    background: #ffffe1;
    border: 1px solid #000;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    max-width: 200px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    font-family: 'Tahoma', sans-serif;
    font-size: 11px;
    color: #000;
    position: relative;
}

.rover-bubble::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 20px;
    width: 10px;
    height: 10px;
    background: #ffffe1;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    transform: rotate(45deg);
}

/* Guestbook 90s Style */
.guestbook-page {
    background: #000000;
    /* Simple star pattern using gradients */
    background-image: 
        radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 3px),
        radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 2px),
        radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 3px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    color: #00ff00;
    font-family: 'Times New Roman', serif;
    padding: 20px;
    height: 100%;
    overflow-y: auto;
}
.gb-title {
    color: #ff0000;
    text-shadow: 2px 2px #ffff00;
    font-family: 'Comic Sans MS', cursive;
    margin: 0;
}
.gb-form-box {
    background: #c0c0c0;
    border: 2px outset #fff;
    padding: 10px;
    color: #000;
    width: 90%;
    margin: 0 auto 20px auto;
    font-family: 'Tahoma', sans-serif;
}
.gb-entry {
    border: 1px solid #00ff00;
    margin-bottom: 10px;
    padding: 5px;
    background: rgba(0, 20, 0, 0.5);
}
.gb-header {
    border-bottom: 1px dashed #00ff00;
    margin-bottom: 5px;
    color: #ffff00;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* --- VISUAL ARTS V4 (Forum Style) --- */
.forum-layout {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #000000; /* Dark Forum Background */
    color: #cccccc;
    font-family: 'Verdana', sans-serif;
    padding: 10px;
}


.forum-header-banner {
    background: #111111;
    color: #fff;
    padding: 10px;
    border: 1px solid #333;
    margin-bottom: 10px;
}
.forum-logo { font-size: 20px; font-weight: bold; font-family: 'Impact', sans-serif; letter-spacing: 1px; }
.forum-nav { font-size: 10px; margin-top: 5px; color: #666; }

.forum-breadcrumb {
    background: #111111;
    color: #ccc;
    padding: 4px;
    font-size: 11px;
    border: 1px solid #333;
    margin-bottom: 10px;
}

.forum-content { flex: 1; overflow-y: auto; padding-right: 5px; }

/* Forum Index Table */
.forum-table { 
    width: 100%; 
    border-collapse: separate; 
    border-spacing: 1px; 
    background: #333; /* Border color */
    font-size: 11px; 
}
.forum-table th { 
    background: #222; 
    color: #fff; 
    text-align: left; 
    padding: 4px; 
    font-weight: bold;
}
.forum-table td { 
    background: #111; 
    padding: 4px; 
    color: #ccc; 
}
.forum-table tr:hover td { background: #222; }

.f-icon { text-align: center; }
.f-title { font-weight: bold; color: #d4a017; cursor: pointer; font-size: 12px; }
.f-title:hover { text-decoration: underline; }
.f-sub { font-size: 10px; color: #666; }
.f-stats { text-align: center; color: #666; font-size: 10px; }
.f-last { font-size: 10px; color: #666; white-space: nowrap; }

/* Forum Post View */
.forum-thread-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 10px; 
    background: #222; 
    color: white; 
    padding: 5px;
    font-weight: bold;
}
.forum-thread-header h3 { margin: 0; font-size: 14px; }

.forum-post {
    display: flex;
    background: #111;
    border: 1px solid #333;
    margin-bottom: 10px;
}

.post-sidebar {
    width: 150px;
    background: #050505;
    border-right: 1px solid #333;
    padding: 6px;
    text-align: center;
    font-size: 11px;
}
.u-name { font-weight: bold; color: #ffcc00; font-size: 13px; margin-bottom: 2px; }
.u-title { font-size: 10px; color: #fff; margin-bottom: 5px; }
.u-avatar { width: 80px; height: 80px; border: 1px solid #555; margin-bottom: 5px; object-fit: cover; }
.u-details { text-align: left; color: #888; font-size: 9px; line-height: 1.4; }

.post-body { flex: 1; padding: 6px; font-size: 12px; line-height: 1.5; display: flex; flex-direction: column; }
.post-head-bar { 
    background: #222; 
    color: #ccc; 
    padding: 4px; 
    font-size: 10px; 
    display: flex; 
    justify-content: space-between; 
    margin-bottom: 10px; 
}
.post-content-text { min-height: 150px; }
.post-sig { margin-top: 20px; color: #666; font-size: 10px; border-top: 1px solid #333; padding-top: 5px; }

/* Visual Arts Thread Gallery */
.va-thread-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.va-thread-img-box {
    background: #000;
    padding: 5px;
    border: 1px solid #333;
}

.va-thread-img-box img {
    max-height: 200px;
    width: auto;
    max-width: 100%;
    cursor: pointer;
    display: block;
}

/* Internet Explorer Tabs */
.ie-tabs {
    display: flex;
    padding: 6px 4px 0 4px;
    background: #c0c0c0;
    border-bottom: 1px solid #808080;
}

.ie-tab {
    padding: 3px 10px;
    margin-right: 2px;
    background: #c0c0c0;
    border: 1px solid #fff;
    border-right-color: #404040;
    border-bottom: 1px solid #404040;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    font-family: 'Tahoma', sans-serif;
    font-size: 11px;
    cursor: pointer;
    position: relative;
}

.ie-tab:hover {
    background: #d0d0d0;
}

.ie-tab.active {
    font-weight: bold;
    border-bottom: 1px solid #c0c0c0;
    z-index: 2;
    top: 1px;
    padding-bottom: 4px;
}

/* ===== MATRIX section ===== */
.matrix-scroller{
  position:absolute;
  left:0; right:0;
  top:100%;
  padding: 12px 14px;
  line-height: 1.35;
  text-shadow: 0 0 6px rgba(0,255,0,.35);
}
.matrix-line{
  font-size: 14px;
  white-space: nowrap;
  opacity: .92;
}
.matrix-anim{
  animation: matrixScroll 22s linear infinite;
}
@keyframes matrixScroll{
  from { transform: translateY(0); }
  to   { transform: translateY(-140%); }
}
