    :root {
      --primary: #0078d4;
      --primary-dark: #005a9e;
      --bg-dark: #1f1f1f;
      --bg-darker: #181818;
      --bg-light: #2c2c2c;
      --text-main: #ffffff;
      --text-secondary: #cccccc;
      --border: #3d3d3d;
      --nav-height: 48px;
      --glass-bg: rgba(32, 32, 32, 0.85);
      --glass-border: rgba(255, 255, 255, 0.12);
      --dt-primary: #3b82f6;
      --dt-secondary: #10b981;
      --dt-danger: #ef4444;
      --dt-dark: #0f172a;
      --dt-dark-light: #1e293b;
      --dt-gray: #64748b;
      --dt-light: #f8fafc;
      --desktop-bg: url('https://medbaa.net/uploads/2026/07/34dc6c311f88857224726d60.webp');
    }

    [data-theme="light"] {
      --bg-dark: #f5f5f5;
      --bg-darker: #e8e8e8;
      --bg-light: #ffffff;
      --text-main: #1a1a1a;
      --text-secondary: #555555;
      --border: #d0d0d0;
      --glass-bg: rgba(255, 255, 255, 0.85);
      --glass-border: rgba(0, 0, 0, 0.12);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'Tajawal', sans-serif;
      background: var(--desktop-bg) no-repeat center center fixed;
      background-size: cover;
      height: 100vh;
      overflow: hidden;
      user-select: none;
    }

    #desktop {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 48px;
      padding: 20px;
      display: grid;
      grid-template-columns: repeat(auto-fill, 100px);
      grid-template-rows: repeat(auto-fill, 100px);
      gap: 10px;
      align-content: start;
    }

    .desktop-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 10px;
      border-radius: 8px;
      cursor: pointer;
      text-align: center;
      transition: 0.2s;
      width: 100px;
      height: 100px;
    }

    .desktop-item:hover {
      background: rgba(255, 255, 255, 0.15);
    }

    .desktop-item.selected {
      background: rgba(0, 120, 212, 0.4);
    }

    .desktop-item i {
      font-size: 42px;
      margin-bottom: 6px;
    }

    .desktop-item.folder i {
      color: #f1c40f;
    }

    .desktop-item.html i {
      color: #e44d26;
    }

    .desktop-item.file i {
      color: #3498db;
    }

    .desktop-item.image i {
      color: #2ecc71;
    }

    .desktop-item.video i {
      color: #e74c3c;
    }

    .desktop-item span {
      font-size: 11px;
      color: white;
      word-break: break-all;
      max-width: 90px;
      text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    }

    nav {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      height: var(--nav-height);
      background: var(--glass-bg);
      backdrop-filter: blur(20px);
      display: flex;
      justify-content: space-between;
      align-items: center;
      z-index: 9999;
      border-top: 1px solid var(--glass-border);
      padding: 0 15px;
    }

    #first-container {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    #taskbar-apps {
      display: flex;
      align-items: center;
      gap: 6px;
      flex: 1;
      justify-content: center;
      overflow-x: auto;
      padding: 0 10px;
    }

    .nav-icon {
      cursor: pointer;
      padding: 6px 12px;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: 0.2s;
    }

    .nav-icon:hover {
      background: rgba(255, 255, 255, 0.12);
    }

    .taskbar-search {
      display: flex;
      align-items: center;
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid var(--glass-border);
      border-radius: 20px;
      padding: 4px 12px;
      gap: 8px;
      color: white;
      width: 220px;
      transition: background 0.2s;
    }

    .taskbar-search:hover {
      background: rgba(255, 255, 255, 0.18);
    }

    .taskbar-search input {
      background: transparent;
      border: none;
      outline: none;
      color: white;
      font-size: 12px;
      width: 100%;
      font-family: inherit;
    }

    .taskbar-app-btn {
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid var(--glass-border);
      color: var(--text-main);
      padding: 4px 12px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 11px;
      display: flex;
      align-items: center;
      gap: 6px;
      transition: 0.2s;
      max-width: 180px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .taskbar-app-btn:hover {
      background: rgba(255, 255, 255, 0.18);
    }

    .taskbar-app-btn.active {
      background: rgba(0, 120, 212, 0.4);
      border-bottom: 2px solid var(--primary);
    }

    .taskbar-app-btn .close-taskbar {
      margin-right: 4px;
      color: #ff6b6b;
      cursor: pointer;
      font-size: 10px;
      opacity: 0;
      transition: opacity 0.2s;
    }

    .taskbar-app-btn:hover .close-taskbar {
      opacity: 1;
    }

    #second-container {
      display: flex;
      align-items: center;
      gap: 12px;
      color: var(--text-main);
      font-size: 11px;
    }

    .system-btn {
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid var(--glass-border);
      color: var(--text-main);
      padding: 5px 10px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 11px;
      display: flex;
      align-items: center;
      gap: 5px;
    }

    #w11-start-section {
      position: fixed;
      bottom: -700px;
      left: 50%;
      transform: translateX(-50%);
      width: 580px;
      max-height: 600px;
      background: var(--glass-bg);
      backdrop-filter: blur(30px);
      border-radius: 12px;
      border: 1px solid var(--glass-border);
      transition: bottom 0.3s cubic-bezier(0.1, 0.9, 0.2, 1);
      z-index: 9998;
      padding: 25px;
      overflow-y: auto;
    }

    #w11-start-section.on-visible-start {
      bottom: 60px;
    }

    #apps-container {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
      margin-top: 15px;
    }

    .app-icon {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 10px;
      border-radius: 8px;
      cursor: pointer;
      color: var(--text-main);
      font-size: 11px;
      gap: 6px;
    }

    .app-icon:hover {
      background: rgba(255, 255, 255, 0.1);
    }

    .app-icon i {
      font-size: 28px;
    }

    .windows-tab {
      position: absolute;
      top: 50px;
      left: 15vw;
      width: 70vw;
      height: 78vh;
      background: var(--bg-dark);
      border: 1px solid var(--glass-border);
      border-radius: 10px;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
      overflow: hidden;
      z-index: 1000;
      flex-direction: column;
      display: none;
    }

    .windows-tab.active-window {
      display: flex;
      z-index: 1001;
    }

    .topnavbar-tab {
      height: 38px;
      background: #111;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 12px;
      color: #fff;
      font-size: 13px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      cursor: move;
    }

    .window-controls {
      display: flex;
      gap: 6px;
    }

    .control-btn {
      cursor: pointer;
      width: 26px;
      height: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 4px;
      font-size: 11px;
    }

    .control-btn:hover {
      background: rgba(255, 255, 255, 0.15);
    }

    .control-btn.close:hover {
      background: #e81123;
    }

    .explorer-content-wrap {
      display: flex;
      flex-direction: column;
      height: calc(100% - 38px);
      background: var(--bg-dark);
      color: var(--text-main);
    }

    .explorer-toolbar {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px 15px;
      background: var(--bg-light);
      border-bottom: 1px solid var(--border);
      flex-wrap: wrap;
    }

    .explorer-btn {
      background: #3a3a3a;
      color: white;
      border: 1px solid #555;
      padding: 6px 12px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 12px;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .explorer-btn:hover {
      background: #4a4a4a;
    }

    .address-bar {
      flex: 1;
      background: #111;
      border: 1px solid var(--border);
      border-radius: 4px;
      padding: 5px 10px;
      font-size: 12px;
      color: #aaa;
      display: flex;
      align-items: center;
      gap: 8px;
      min-width: 150px;
    }

    .explorer-body {
      display: flex;
      flex: 1;
      overflow: hidden;
    }

    .explorer-sidebar {
      width: 180px;
      background: var(--bg-darker);
      border-left: 1px solid var(--border);
      padding: 10px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .sidebar-item {
      padding: 8px 10px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 13px;
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--text-secondary);
    }

    .sidebar-item:hover,
    .sidebar-item.active {
      background: rgba(255, 255, 255, 0.1);
      color: white;
    }

    .explorer-content {
      flex: 1;
      padding: 15px;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
      gap: 15px;
      overflow-y: auto;
    }

    .file-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 10px;
      border-radius: 6px;
      cursor: pointer;
      text-align: center;
      gap: 6px;
      transition: 0.2s;
    }

    .file-item:hover {
      background: rgba(255, 255, 255, 0.1);
    }

    .file-item.selected {
      background: rgba(0, 120, 212, 0.3);
    }

    .file-item i {
      font-size: 36px;
    }

    .file-item.folder i {
      color: #f1c40f;
    }

    .file-item.html i {
      color: #e44d26;
    }

    .file-item.file i {
      color: #3498db;
    }

    .file-item.image i {
      color: #2ecc71;
    }

    .file-item.video i {
      color: #e74c3c;
    }

    .file-item span {
      font-size: 11px;
      word-break: break-all;
      max-width: 90px;
    }

    #contextMenu {
      display: none;
      position: fixed;
      z-index: 10000;
      background: #25252b;
      border: 1px solid var(--glass-border);
      border-radius: 8px;
      padding: 6px;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
      width: 220px;
      flex-direction: column;
      gap: 4px;
    }

    .menu-item {
      padding: 8px 12px;
      font-size: 12px;
      color: white;
      cursor: pointer;
      border-radius: 4px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .menu-item:hover {
      background: var(--primary);
    }

    .code-window-content {
      display: flex;
      flex-direction: column;
      height: calc(100% - 38px);
      background-color: var(--bg-dark);
    }

    .title-bar {
      background: #111;
      padding: 8px 15px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid var(--border);
      flex-wrap: wrap;
      gap: 8px;
    }

    .editor-container {
      flex: 1;
      display: flex;
      direction: ltr;
      position: relative;
    }

    .line-numbers {
      background: var(--bg-darker);
      color: #666;
      padding: 10px;
      text-align: right;
      min-width: 40px;
      font-family: 'Fira Code', monospace;
      font-size: 13px;
    }

    .editor {
      flex: 1;
      background: var(--bg-dark);
      color: white;
      padding: 10px;
      outline: none;
      font-family: 'Fira Code', monospace;
      font-size: 13px;
      white-space: pre;
      overflow-y: auto;
    }

    .ext-select {
      background: #222;
      color: #2ecc71;
      border: 1px solid #444;
      padding: 4px 8px;
      border-radius: 4px;
      font-size: 12px;
      outline: none;
    }

    .save-indicator {
      font-size: 11px;
      color: #2ecc71;
      margin-right: 10px;
    }

    .modal-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(5px);
      z-index: 100000;
      justify-content: center;
      align-items: center;
    }

    .modal-box {
      background: var(--bg-dark);
      border: 1px solid var(--glass-border);
      border-radius: 12px;
      padding: 25px;
      width: 500px;
      max-width: 90vw;
      color: var(--text-main);
      max-height: 85vh;
      overflow-y: auto;
    }

    .modal-box h3 {
      margin-bottom: 15px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .modal-box input,
    .modal-box select,
    .modal-box textarea {
      width: 100%;
      padding: 10px;
      margin: 8px 0;
      background: #111;
      border: 1px solid #444;
      border-radius: 6px;
      color: white;
      outline: none;
      font-family: inherit;
    }

    .modal-box textarea {
      min-height: 80px;
      resize: vertical;
      font-family: 'Fira Code', monospace;
      font-size: 12px;
    }

    .modal-box button {
      background: var(--primary);
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 6px;
      cursor: pointer;
      width: 100%;
      font-size: 14px;
      margin-top: 8px;
    }

    .modal-box button.cancel {
      background: #444;
    }

    .modal-box button.danger {
      background: #e74c3c;
    }

    .modal-box button.success {
      background: #27ae60;
    }

    .settings-layout {
      display: flex;
      gap: 20px;
      min-height: 400px;
    }

    .settings-nav {
      width: 180px;
      background: #111;
      border-radius: 8px;
      padding: 10px;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .settings-nav-item {
      padding: 10px 12px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 13px;
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--text-secondary);
      transition: 0.2s;
    }

    .settings-nav-item:hover {
      background: rgba(255, 255, 255, 0.08);
      color: white;
    }

    .settings-nav-item.active {
      background: var(--primary);
      color: white;
    }

    .settings-content {
      flex: 1;
      padding: 10px;
    }

    .settings-page {
      display: none;
    }

    .settings-page.active {
      display: block;
    }

    .settings-group {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 15px;
      margin-bottom: 15px;
    }

    .settings-group-title {
      font-size: 14px;
      font-weight: bold;
      color: var(--primary);
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 8px;
      padding-bottom: 8px;
      border-bottom: 1px solid var(--border);
    }

    .settings-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .settings-row:last-child {
      border-bottom: none;
    }

    .settings-row label {
      font-size: 13px;
      color: var(--text-secondary);
    }

    .settings-row input,
    .settings-row select {
      width: auto;
      min-width: 200px;
      padding: 6px 10px;
      margin: 0;
      background: #111;
      border: 1px solid #444;
      border-radius: 4px;
      color: white;
    }

    .settings-row button {
      width: auto;
      margin: 0;
      padding: 6px 14px;
      font-size: 12px;
    }

    .settings-desc {
      font-size: 11px;
      color: #888;
      margin-top: 4px;
    }

    .status-badge {
      display: inline-block;
      padding: 3px 10px;
      border-radius: 12px;
      font-size: 11px;
      font-weight: bold;
    }

    .status-badge.connected {
      background: rgba(46, 204, 113, 0.2);
      color: #2ecc71;
    }

    .status-badge.disconnected {
      background: rgba(231, 76, 60, 0.2);
      color: #e74c3c;
    }

    .calc-window {
      display: flex;
      flex-direction: column;
      height: calc(100% - 38px);
      background: #18181c;
      padding: 20px;
      align-items: center;
      justify-content: center;
    }

    .calc-box {
      width: 260px;
      background: #22222a;
      border: 1px solid #3d3d3d;
      border-radius: 10px;
      padding: 15px;
    }

    .calc-screen {
      width: 100%;
      height: 45px;
      background: #111;
      border: 1px solid #444;
      border-radius: 6px;
      color: #00ffcc;
      font-family: 'Fira Code', monospace;
      font-size: 20px;
      text-align: right;
      padding: 8px 12px;
      margin-bottom: 15px;
      outline: none;
    }

    .calc-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
    }

    .calc-btn {
      padding: 12px;
      background: #2e2e38;
      border: 1px solid #444;
      color: white;
      font-size: 14px;
      font-weight: bold;
      border-radius: 6px;
      cursor: pointer;
    }

    .calc-btn:hover {
      background: #3e3e4a;
    }

    .calc-btn.op {
      background: var(--primary);
    }

    .calc-btn.danger {
      background: #e74c3c;
    }

    .clock-window {
      display: flex;
      flex-direction: column;
      height: calc(100% - 38px);
      background: #151518;
      color: white;
      padding: 20px;
    }

    .clock-tabs {
      display: flex;
      gap: 10px;
      border-bottom: 1px solid #333;
      padding-bottom: 10px;
      margin-bottom: 20px;
    }

    .clock-tab-btn {
      background: #222;
      border: 1px solid #444;
      color: #ccc;
      padding: 8px 16px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 12px;
    }

    .clock-tab-btn.active {
      background: var(--primary);
      color: white;
    }

    .clock-section {
      display: none;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100%;
    }

    .clock-section.active {
      display: flex;
    }

    .big-clock {
      font-size: 48px;
      font-family: 'Fira Code', monospace;
      color: #0078d4;
      margin-bottom: 10px;
    }

    .browser-window {
      width: 100%;
      height: calc(100% - 38px);
      display: flex;
      flex-direction: column;
      background: #1c1c1c;
    }

    .browser-toolbar {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px;
      background: #2b2b2b;
    }

    .browser-input {
      flex: 1;
      background: #111;
      border: 1px solid #444;
      border-radius: 15px;
      padding: 6px 14px;
      color: white;
      outline: none;
      direction: ltr;
    }

    .browser-viewport {
      flex: 1;
      background: #fff;
      position: relative;
    }

    .browser-viewport iframe {
      width: 100%;
      height: 100%;
      border: none;
    }

    .photo-window {
      display: flex;
      flex-direction: column;
      height: calc(100% - 38px);
      background: #0d0d0d;
      justify-content: center;
      align-items: center;
      padding: 15px;
    }

    .photo-window img {
      max-width: 95%;
      max-height: 85%;
      object-fit: contain;
      border-radius: 8px;
    }

    .exe-window {
      display: flex;
      flex-direction: column;
      height: calc(100% - 38px);
      background: #151518;
      color: white;
      align-items: center;
      justify-content: center;
      padding: 20px;
      text-align: center;
    }

    .exe-console {
      background: #111;
      border: 1px solid #333;
      padding: 15px;
      border-radius: 8px;
      width: 85%;
      text-align: left;
      direction: ltr;
      font-family: monospace;
      font-size: 12px;
      color: #2ecc71;
      height: 150px;
      overflow-y: auto;
      margin-top: 15px;
    }

    .ps-window {
      display: flex;
      flex-direction: column;
      height: calc(100% - 38px);
      background: #1a1a1a;
      color: white;
    }

    .ps-toolbar {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 15px;
      background: #2a2a2a;
      border-bottom: 1px solid #444;
      flex-wrap: wrap;
    }

    .ps-btn {
      background: #3a3a3a;
      color: white;
      border: 1px solid #555;
      padding: 6px 12px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 12px;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .ps-btn:hover {
      background: #4a4a4a;
    }

    .ps-workspace {
      display: flex;
      flex: 1;
      overflow: hidden;
    }

    .ps-canvas-container {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      background: #0d0d0d;
      overflow: auto;
      padding: 20px;
    }

    .ps-canvas-wrapper {
      position: relative;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
      background-image: linear-gradient(45deg, #2a2a2a 25%, transparent 25%), linear-gradient(-45deg, #2a2a2a 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #2a2a2a 75%), linear-gradient(-45deg, transparent 75%, #2a2a2a 75%);
      background-size: 20px 20px;
    }

    .ps-base,
    .ps-draw {
      position: absolute;
      top: 0;
      left: 0;
      max-width: 100%;
      max-height: 100%;
    }

    .ps-draw {
      z-index: 2;
      cursor: crosshair;
    }

    .ps-sidebar {
      width: 240px;
      background: #252525;
      padding: 15px;
      border-left: 1px solid #444;
      overflow-y: auto;
    }

    .ps-section {
      margin-bottom: 20px;
      border-bottom: 1px solid #333;
      padding-bottom: 15px;
    }

    .ps-section-title {
      font-size: 12px;
      font-weight: bold;
      color: #0078d4;
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .ps-control {
      display: flex;
      flex-direction: column;
      gap: 6px;
      margin-bottom: 12px;
    }

    .ps-control label {
      font-size: 11px;
      color: #aaa;
      display: flex;
      justify-content: space-between;
    }

    .ps-control input[type="range"] {
      width: 100%;
      height: 4px;
      background: #444;
      border-radius: 2px;
      outline: none;
    }

    .ps-control input[type="color"] {
      width: 100%;
      height: 30px;
      border: 1px solid #555;
      border-radius: 4px;
      cursor: pointer;
    }

    .ps-filter-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
    }

    .ps-filter-btn {
      background: #3a3a3a;
      color: white;
      border: 1px solid #555;
      padding: 8px;
      border-radius: 4px;
      cursor: pointer;
      font-size: 11px;
    }

    .ps-filter-btn:hover {
      background: #4a4a4a;
      border-color: var(--primary);
    }

    .qr-window {
      display: flex;
      flex-direction: column;
      height: calc(100% - 38px);
      background: #1a1a1a;
      color: white;
      padding: 20px;
      align-items: center;
      overflow-y: auto;
    }

    .qr-container {
      background: #2a2a2a;
      border: 1px solid #444;
      border-radius: 12px;
      padding: 25px;
      width: 100%;
      max-width: 500px;
    }

    .qr-input-group {
      margin-bottom: 15px;
    }

    .qr-input-group label {
      display: block;
      font-size: 13px;
      color: #aaa;
      margin-bottom: 6px;
    }

    .qr-input-group input,
    .qr-input-group textarea,
    .qr-input-group select {
      width: 100%;
      padding: 10px;
      background: #1a1a1a;
      border: 1px solid #555;
      border-radius: 6px;
      color: white;
      font-size: 13px;
      outline: none;
    }

    .qr-input-group textarea {
      resize: vertical;
      min-height: 80px;
    }

    .qr-preview {
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 20px 0;
      padding: 20px;
      background: white;
      border-radius: 8px;
      min-height: 200px;
    }

    .encrypt-window {
      display: flex;
      flex-direction: column;
      height: calc(100% - 38px);
      background: #1a1a1a;
      color: white;
      padding: 20px;
      overflow-y: auto;
    }

    .encrypt-container {
      background: #2a2a2a;
      border: 1px solid #444;
      border-radius: 12px;
      padding: 25px;
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    .encrypt-tabs {
      display: flex;
      gap: 10px;
      border-bottom: 1px solid #444;
      padding-bottom: 10px;
    }

    .encrypt-tab-btn {
      background: #333;
      border: 1px solid #555;
      color: #ccc;
      padding: 8px 16px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 12px;
    }

    .encrypt-tab-btn.active {
      background: var(--primary);
      color: white;
    }

    .encrypt-section {
      display: none;
      flex-direction: column;
      gap: 12px;
      flex: 1;
    }

    .encrypt-section.active {
      display: flex;
    }

    .encrypt-textarea {
      flex: 1;
      background: #1a1a1a;
      border: 1px solid #555;
      border-radius: 6px;
      padding: 12px;
      color: white;
      font-family: 'Fira Code', monospace;
      font-size: 12px;
      outline: none;
      resize: none;
      min-height: 150px;
    }

    .encrypt-input {
      background: #1a1a1a;
      border: 1px solid #555;
      border-radius: 6px;
      padding: 10px;
      color: white;
      font-size: 13px;
      outline: none;
    }

    .games-window {
      display: flex;
      flex-direction: column;
      height: calc(100% - 38px);
      background: #151518;
      color: white;
      padding: 20px;
      overflow-y: auto;
    }

    .games-container {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 20px;
      padding: 10px;
    }

    .game-card {
      background: #2a2a2a;
      border: 1px solid #444;
      border-radius: 10px;
      padding: 15px;
      cursor: pointer;
      transition: 0.2s;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
    }

    .game-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0, 120, 212, 0.3);
      border-color: var(--primary);
    }

    .game-card img {
      width: 100%;
      height: 120px;
      object-fit: cover;
      border-radius: 6px;
    }

    .game-card-title {
      font-size: 14px;
      font-weight: bold;
      text-align: center;
    }

    .game-card-desc {
      font-size: 11px;
      color: #aaa;
      text-align: center;
    }

    .game-play-btn {
      background: var(--primary);
      color: white;
      border: none;
      padding: 8px 16px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 12px;
      width: 100%;
    }

    .gameplayer-window {
      display: flex;
      flex-direction: column;
      height: calc(100% - 38px);
      background: #0d0d0d;
    }

    .game-player-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 15px;
      background: #1a1a1a;
      border-bottom: 1px solid #333;
    }

    .game-player-back {
      background: #333;
      color: white;
      border: 1px solid #555;
      padding: 6px 12px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 12px;
    }

    .game-player-viewport {
      flex: 1;
      background: #000;
      position: relative;
    }

    .game-player-viewport iframe {
      width: 100%;
      height: 100%;
      border: none;
    }

    .dt-window {
      display: flex;
      flex-direction: column;
      height: calc(100% - 38px);
      background: var(--dt-dark);
      color: var(--dt-light);
      overflow-y: auto;
    }

    .dt-main-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 2rem;
      width: 100%;
    }

    .dt-header {
      text-align: center;
      margin-bottom: 3rem;
    }

    .dt-header h1 {
      font-size: 2.5rem;
      margin-bottom: 0.5rem;
      background: linear-gradient(90deg, var(--dt-primary), var(--dt-secondary));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .dt-header p {
      color: var(--dt-gray);
      font-size: 1.1rem;
    }

    .dt-menu-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1.5rem;
    }

    .dt-menu-card {
      background: var(--dt-dark-light);
      border-radius: 1rem;
      padding: 2rem 1.5rem;
      text-align: center;
      cursor: pointer;
      transition: 0.3s;
      border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .dt-menu-card:hover {
      transform: translateY(-5px);
      border-color: rgba(59, 130, 246, 0.3);
    }

    .dt-menu-card i {
      font-size: 2.5rem;
      margin-bottom: 1rem;
      color: var(--dt-primary);
    }

    .dt-menu-card h2 {
      font-size: 1.5rem;
      margin-bottom: 0.5rem;
    }

    .dt-menu-card p {
      color: var(--dt-gray);
      font-size: 0.9rem;
    }

    .dt-section {
      display: none;
      animation: dtFadeIn 0.5s ease;
    }

    @keyframes dtFadeIn {
      from {
        opacity: 0;
        transform: translateY(20px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .dt-section.active {
      display: block;
    }

    .dt-section-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 2rem;
      padding-bottom: 1rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dt-section-header h1 {
      font-size: 2rem;
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .dt-section-header h1 i {
      color: var(--dt-primary);
    }

    .dt-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.75rem 1.5rem;
      border-radius: 0.5rem;
      font-weight: 500;
      cursor: pointer;
      border: none;
      font-size: 1rem;
    }

    .dt-btn-primary {
      background: var(--dt-primary);
      color: white;
    }

    .dt-btn-danger {
      background: var(--dt-danger);
      color: white;
    }

    .dt-toggle-container {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 1.5rem;
    }

    .dt-switch {
      position: relative;
      display: inline-block;
      width: 50px;
      height: 24px;
    }

    .dt-switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }

    .dt-slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #ccc;
      transition: .4s;
      border-radius: 34px;
    }

    .dt-slider:before {
      position: absolute;
      content: "";
      height: 16px;
      width: 16px;
      left: 4px;
      bottom: 4px;
      background-color: white;
      transition: .4s;
      border-radius: 50%;
    }

    .dt-switch input:checked+.dt-slider {
      background-color: var(--dt-primary);
    }

    .dt-switch input:checked+.dt-slider:before {
      transform: translateX(26px);
    }

    .dt-keyboard-container {
      background: rgba(30, 41, 59, 0.5);
      border-radius: 1rem;
      padding: 1.5rem;
      margin-bottom: 2rem;
      border: 1px solid rgba(255, 255, 255, 0.05);
    }

    #dt-keyboard-layout {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      margin-top: 1rem;
    }

    .dt-keyboard-row {
      display: flex;
      justify-content: center;
      gap: 0.5rem;
      flex-wrap: wrap;
    }

    .dt-key {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: var(--dt-dark-light);
      padding: 0.75rem 1rem;
      border-radius: 0.5rem;
      min-width: 40px;
      height: 50px;
      font-weight: 500;
      transition: 0.2s;
    }

    .dt-key.pressed {
      background: var(--dt-primary);
    }

    .dt-key.active {
      background: #1e40af;
    }

    .dt-key.wide {
      min-width: 70px;
    }

    .dt-key.extra-wide {
      min-width: 200px;
    }

    .dt-mouse-test-container,
    .dt-mic-test-container,
    .dt-speaker-test-container,
    .dt-gamepad-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2rem;
      margin-bottom: 2rem;
    }

    .dt-mouse-stats,
    .dt-gamepad-stats {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 1rem;
      width: 100%;
      background: rgba(30, 41, 59, 0.5);
      border-radius: 1rem;
      padding: 1.5rem;
    }

    .dt-stat-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .dt-stat-value {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--dt-primary);
      margin-bottom: 0.25rem;
    }

    .dt-stat-label {
      font-size: 0.9rem;
      color: var(--dt-gray);
    }

    #dt-microphone-level {
      width: 100%;
      max-width: 500px;
      height: 20px;
      background: var(--dt-dark-light);
      border-radius: 10px;
      overflow: hidden;
    }

    #dt-microphone-level-bar {
      height: 100%;
      background: linear-gradient(90deg, var(--dt-primary), var(--dt-secondary));
      width: 0%;
      transition: width 0.1s linear;
    }

    .dt-speaker-buttons {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
      gap: 1rem;
      width: 100%;
      max-width: 600px;
    }

    .dt-speaker-btn {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding: 1.5rem 1rem;
      background: var(--dt-dark-light);
      border-radius: 0.75rem;
      cursor: pointer;
      transition: 0.2s;
      border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .dt-speaker-btn:hover {
      background: rgba(59, 130, 246, 0.1);
      border-color: rgba(59, 130, 246, 0.3);
    }

    .dt-speaker-btn i {
      font-size: 1.75rem;
    }

    #dt-gamepad-buttons {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
      gap: 0.75rem;
      width: 100%;
      margin-top: 1rem;
    }

    .dt-gamepad-btn {
      background: var(--dt-dark-light);
      padding: 0.75rem;
      border-radius: 0.5rem;
      text-align: center;
      font-size: 0.9rem;
      transition: 0.2s;
    }

    .dt-gamepad-btn.active {
      background: var(--dt-primary);
      color: white;
      transform: scale(1.05);
    }

    #dt-gamepad-axes {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
      width: 100%;
      margin-top: 1rem;
    }

    #dt-touch-test-area {
      width: 100%;
      height: 400px;
      background: var(--dt-dark-light);
      border-radius: 1rem;
      position: relative;
      overflow: hidden;
      cursor: crosshair;
      touch-action: none;
    }

    .dt-touch-point {
      position: absolute;
      width: 50px;
      height: 50px;
      background: var(--dt-primary);
      border-radius: 50%;
      opacity: 0.7;
      transform: translate(-50%, -50%);
      pointer-events: none;
    }

    .dt-touch-stats {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
      width: 100%;
      margin-top: 1.5rem;
    }

    #statusBar {
      position: fixed;
      bottom: 48px;
      right: 15px;
      z-index: 9997;
      background: rgba(0, 0, 0, 0.8);
      color: #2ecc71;
      padding: 8px 15px;
      border-radius: 6px;
      font-size: 11px;
      display: none;
      backdrop-filter: blur(10px);
    }

    ::-webkit-scrollbar {
      width: 8px;
      height: 8px;
    }

    ::-webkit-scrollbar-track {
      background: #1a1a1a;
    }

    ::-webkit-scrollbar-thumb {
      background: #444;
      border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
      background: #555;
    }