:root {
  /*define variables here*/
  
  --text: #eaeaa9;
  --border: #f7f657;
  --highlight: #4e4e32;
  
 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "MS Gothic", "Courier New", monospace;
            color: var(--text);
        }

        body {
            background-color: #0A0A0A;
            overflow-x: hidden;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="%23050505" width="100" height="100"/><path fill="%23070707" d="M0 10h100v10H0zM0 30h100v10H0zM0 50h100v10H0zM0 70h100v10H0zM0 90h100v10H0z"/></svg>');
        }

        #header {
            width: 100%;
            height: 80px;
            background-color: #050505;
            border-bottom: 1px solid var(--border);
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            overflow: hidden;
        }

        #header::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="300" height="80" viewBox="0 0 300 80"><rect fill="%23060606" width="300" height="80"/><path d="M0,40 C60,10 120,60 180,30 C240,0 300,40 360,20" stroke="%23112211" fill="none" stroke-width="0.5"/></svg>');
            animation: headerFlow 20s linear infinite;
            opacity: 0.5;
        }

        @keyframes headerFlow {
            0% { background-position: 0 0; }
            100% { background-position: -300px 0; }
        }

        #header h1 {
            font-size: 24px;
            letter-spacing: 3px;
            text-transform: lowercase;
            color: var(--text);
            text-shadow: 1px 1px 3px #000;
            z-index: 1;
        }

        #container {
            max-width: 900px;
            min-height: calc(100vh - 80px);
            margin: 20px auto;
            padding: 10px;
            display: flex;
            flex-wrap: wrap;
            position: relative;
            border: 1px solid var(--border);
            border-radius: 3px;
            background-color: rgba(5, 5, 5, 0.7);
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
        }

        #sidebar {
            width: 200px;
            padding: 10px;
            border-right: 1px solid var(--border);
        }

        .sidebar-section {
            margin-bottom: 15px;
            padding: 7px;
            border: 1px solid var(--border);
            border-radius: 2px;
            background-color: #070707;
        }

        .sidebar-section h3 {
            font-size: 14px;
            margin-bottom: 5px;
            padding-bottom: 3px;
            border-bottom: 1px dashed var(--border);
        }

        .nav-item {
            display: block;
            padding: 3px 0;
            font-size: 12px;
            text-decoration: none;
        }

        .nav-item:hover {
            color: var(--highlight);
            text-decoration: underline;
        }

        .marquee {
            height: 40px;
            overflow: hidden;
            position: relative;
            background-color: #060606;
            border: 1px solid var(--border);
            margin: 10px 0;
        }

        .marquee-content {
            display: flex;
            position: absolute;
            white-space: nowrap;
            animation: marquee 20s linear infinite;
        }

        .marquee-item {
            width: 88px;
            height: 32px;
            margin: 4px;
            background-color: #080808;
            border: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
        }

        @keyframes marquee {
            0% { transform: translateX(100%); }
            100% { transform: translateX(-100%); }
        }

        #content {
            flex: 1;
            padding: 10px;
            display: flex;
            flex-wrap: wrap;
        }

        .column {
            flex: 1;
            min-width: 300px;
            padding: 10px;
        }

        .widget {
            margin-bottom: 20px;
            border: 1px solid var(--border);
            border-radius: 3px;
            overflow: hidden;
            background-color: #070707;
        }

        .widget-header {
            padding: 5px 10px;
            background-color: #0A100A;
            border-bottom: 1px solid var(--border);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .widget-title {
            font-size: 14px;
            letter-spacing: 1px;
        }
		
		.widget-title a:hover {
			color: var(--highlight);
		}

        .widget-controls {
            display: flex;
            gap: 5px;
        }

        .widget-control {
            cursor: pointer;
            width: 15px;
            height: 15px;
            text-align: center;
            line-height: 15px;
            border: 1px solid var(--border);
            font-size: 10px;
        }

        .widget-content {
            padding: 10px;
        }
		
		.widget-content a:hover {
			color: var(--highlight);
		}

        #canvas-container {
            position: relative;
            width: 100%;
            height: 250px;
            overflow: hidden;
        }

        canvas {
            width: 100%;
            height: 100%;
        }

        .moss-stats {
            font-size: 12px;
            margin-top: 10px;
        }

        .progress-bar {
            height: 5px;
            width: 100%;
            background-color: #0A0A0A;
            margin: 5px 0 10px 0;
        }

        .progress-fill {
            height: 100%;
            background-color: #225022;
            width: 0;
            transition: width 1s ease;
        }

        .tabs {
            display: flex;
            border-bottom: 1px solid #112211;
        }

        .tab {
            padding: 5px 10px;
            cursor: pointer;
            border-right: 1px solid #112211;
            font-size: 12px;
        }

        .tab.active {
            background-color: #0A100A;
        }

        .tab-content {
            display: none;
            padding: 10px;
            font-size: 12px;
            line-height: 1.4;
        }

        .tab-content.active {
            display: block;
        }

        .moss-log {
            height: 100px;
            overflow-y: auto;
            font-size: 10px;
            line-height: 1.3;
            padding: 5px;
            background-color: #050505;
            border: 1px solid #112211;
        }

        .log-entry {
            margin-bottom: 3px;
            opacity: 0.8;
        }

        .floating-image {
            position: absolute;
            width: 30px;
            height: 30px;
            pointer-events: none;
            background-color: rgba(16, 40, 16, 0.2);
            border: 1px dashed var(--border);
            animation: float 20s infinite ease-in-out;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            text-shadow: 0 0 2px #000;
        }

        @keyframes float {
            0% { transform: translate(0, 0) rotate(0deg); }
            25% { transform: translate(15px, 15px) rotate(5deg); }
            50% { transform: translate(0, 30px) rotate(0deg); }
            75% { transform: translate(-15px, 15px) rotate(-5deg); }
            100% { transform: translate(0, 0) rotate(0deg); }
        }

        table {
            width: 100%;
            border-collapse: collapse;
            font-size: 12px;
        }

        th, td {
            padding: 4px;
            text-align: left;
            border: 1px solid #112211;
        }

        th {
            background-color: #0A100A;
        }

        .chatbox {
            height: 180px;
            display: flex;
            flex-direction: column;
        }

        .chat-messages {
            flex: 1;
            overflow-y: auto;
            padding: 5px;
            background-color: #050505;
            border: 1px solid #112211;
            margin-bottom: 5px;
            font-size: 12px;
        }

        .chat-form {
            display: flex;
        }

        .chat-input {
            flex: 1;
            padding: 5px;
            background-color: #070707;
            border: 1px solid #112211;
            color: #9EB897;
            font-size: 12px;
        }

        .chat-button {
            padding: 5px 10px;
            background-color: #0A100A;
            border: 1px solid #112211;
            border-left: none;
            cursor: pointer;
            font-size: 12px;
        }

        .moss-message {
            color: #698969;
        }

        .user-message {
            color: #9EB897;
        }

        .message-time {
            font-size: 9px;
            color: #556655;
            margin-right: 5px;
        }

        .collapse-button {
            cursor: pointer;
            padding: 3px;
            border: 1px solid var(--border);
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            margin-bottom: 5px;
        }

        ::-webkit-scrollbar {
            width: 6px;
            height: 6px;
        }

        ::-webkit-scrollbar-track {
            background: #050505;
        }

        ::-webkit-scrollbar-thumb {
            background: #112211;
        }

        /* Responsive Adjustments */
        @media (max-width: 768px) {
            #sidebar {
                width: 100%;
                border-right: none;
                border-bottom: 1px solid #112211;
                margin-bottom: 10px;
            }
            
            .column {
                width: 100%;
                min-width: 100%;
            }
            
            #content {
                flex-direction: column;
            }
        }