body {
   margin: 0;
     height: 100vh;
   background-image: url('https://images7.alphacoders.com/132/1322952.jpeg');
  background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
   font-family: 'Fira Code', monospace;
  color: rgb(99, 42, 42);
}

.search-box {
    position: absolute;
  top: 15px;
    left: 50%;
   transform: translateX(-50%);
   display: flex;
   gap: 10px;
   z-index: 100;
}

.search-box input {
   padding: 10px 20px;
    border-radius: 50px;
   border: none;
    width: 280px;
   outline: none;
}

.search-box button {
  padding: 10px 18px;
   border-radius: 15px;
   border: none;
   background: #8b4166;   
      color: white;
  cursor: pointer;
            font-weight: bold;
}

.dock {
  position: absolute;
         bottom: 10px;
     left: 50%;
         transform: translateX(-50%);
      background: rgba(0, 0, 0, 0.85);
         padding: 12px 24px;
  border-radius: 60px;
         border: 1px solid #7c3aed;
       display: flex;
        gap: 10px;
         z-index: 100;
}

.dock button {
  padding: 8px 16px;
       border-radius: 10px;
  border: none;
        color: #ffffff;
   font-weight: bold;
  cursor: pointer;
        transition: transform 0.2s ease;
}

.dock button:hover {
         transform: scale(1.08);
}

#back-btn {
  display: none;
         position: absolute;
       bottom: 100px;
        right: 20px;
        padding: 10px 15px;
         background: #334155;
       color: white;
        border: none;
   border-radius: 10px;
      cursor: pointer;
       z-index: 100;
}

.notepad {
  position: absolute;
         top: 20px;
        right: 20px;
         width: 220px;
        background: rgba(0, 0, 0, 0.85);
         border: 1px solid #334155;
          border-radius: 12px;
        padding: 10px;
         box-shadow: 0 4px 10px rgba(0,0,0,0.5);
             z-index: 100;
}

.notepad-header {
         font-size: 14px;
          font-weight: bold;
         color: #a855f7;
               text-align: center;
                 margin-bottom: 8px;
}

.notepad textarea {
           width: 100%;
          height: 120px;
         background: transparent;
     border: none;
          color: whitesmoke;
             font-family: 'Fira Code', monospace;
         font-size: 12px;
        resize: none;
     outline: none;
          box-sizing: border-box;
}

.notification-space {
    position: fixed;
  top: 20px;
    left: 50%;
   transform: translateX(-50%);
  background-color: rgba(15, 23, 42, 0.95); 
   color: #ffffff; 
   border-radius: 20px;
   padding: 14px 40px 14px 16px;
     border: 1px solid #6f8aae;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  display: flex;
    align-items: center;
  font-family: 'Fira Code', monospace;
   font-size: 13px;
   z-index: 9999;
  animation: slideIn 0.4s ease-out forwards; 
}

.close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
   background: transparent;
  color: rgb(199, 170, 26);
   font-size: 16px;
   font-weight: bolder;
   padding: 4px 8px;
   border-radius: 10px;
  border: none;
  cursor: pointer;
}

.close-btn:hover {           
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}


#toolbar_dt {
  position: fixed;
   top: 15px;
  left: 20px;
    margin: 0;
   font-family: 'Fira Code', monospace;
  font-size: 14px;
    font-weight: bold;
   color: #0dadb8;
   background: rgba(0, 0, 0, 0.7);
    border-radius: 12px;
  padding: 6px 12px;
   border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 4px 10px rgba(0, 240, 255, 0.2);
  z-index: 9999;
}


.desktop-sidebar {
  position: absolute;
    top: 70px;
  left: 20px;
   display: flex;
  flex-direction: column;
   gap: 18px;
  z-index: 100;
}

.desktop-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  width: 70px;
}

.app-icon {
  height: 50px;
  width: 50px;
  background: rgba(15, 23, 42, 0.85);
  border-radius: 14px;
  border: 1px solid #7c3aed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-icon:hover {
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.6);
}

.app-label {
  margin-top: 6px;
  font-size: 11px;
  color: #ffffff;
  font-family: 'Fira Code', monospace;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
  text-align: center;
  white-space: nowrap;
}


.app-window {
  position: fixed;
  display: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 650px;
  max-width: 90vw;
  height: 480px;
  max-height: 85vh;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid #7c3aed;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.5);
  z-index: 9990;
  overflow: hidden;
  font-family: 'Fira Code', monospace;
  color: #f8fafc;
}


.window-header {
  background: #2e1065;
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 14px;
  color: #ffffff;
  border-bottom: 1px solid #7c3aed;
}

.window-close {
  background: transparent;
  border: none;
  color: #ef4444;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}


.window-body {
  padding: 18px;
  height: calc(100% - 45px);
  overflow-y: auto;
  box-sizing: border-box;
}


.char-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.char-card h3 {
  margin: 0 0 12px 0;
  color: #a855f7;
  font-size: 20px;
}

.char-card-content {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.char-img {
  width: 130px;
  height: 150px;
  object-fit: cover;
     border-radius: 10px;
               border: 1px solid #7c3aed;
          box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.char-info {
  flex: 1;
  min-width: 0;
}

.char-info p {
  margin: 6px 0;
   font-size: 13px;
   line-height: 1.5;
   color: #e2e8f0;
}


#status {
      font-size: 1.1rem;
     font-weight: bold;
       margin-bottom: 15px;
  color: #a6e3a1;
}

.ttt-board {
  display: grid;
       grid-template-columns: repeat(3, 70px);
  grid-template-rows: repeat(3, 70px);
      gap: 8px;
          justify-content: center;
  margin-bottom: 15px;
}

.cell {
  width: 70px;
   height: 70px;
   font-size: 1.5rem;
   cursor: pointer;
   font-weight: bold;
       background-color: #1e1e2e;
  color: #ffffff;
  border: 1px solid #45475a;
  border-radius: 8px;
      transition: background 0.2s ease;
}

.cell:hover {
    background-color: #313244;
}

     #reset-btn {
    background: #89b4fa;
   color: #11111b;
   border: none;
      padding: 8px 16px;
       border-radius: 6px;
   font-weight: bold;
    cursor: pointer;
}

#reset-btn:hover {
  background: #b4befe;
}
