.windows-desktop-section {
  padding: 140px 20px 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90vh;
  margin-bottom: -80px;
}

.windows-container {
  max-width: 880px;
  width: 100%;
  background: linear-gradient(180deg, #c0c0c0 0%, #808080 100%);
  border: 2px solid #000;
  box-shadow: 
    inset 2px 2px 0 rgba(255, 255, 255, 0.8),
    inset -2px -2px 0 rgba(0, 0, 0, 0.5),
    4px 4px 0 rgba(0, 0, 0, 0.3);
}

.windows-main {
  display: flex;
  flex-direction: column;
  height: 560px;
}

/* Windows Title Bar */
.windows-titlebar {
  background: linear-gradient(90deg, #000080, #1084d0);
  padding: 4px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #000;
}

.windows-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  font-family: 'MS Sans Serif', 'Microsoft Sans Serif', sans-serif;
}

.windows-icon {
  width: 16px;
  height: 16px;
}

.windows-controls {
  display: flex;
  gap: 2px;
  z-index: 111;
}

.win-btn {
  width: 20px;
  height: 20px;
  background: #c0c0c0;
  border: 2px solid;
  border-color: #fff #000 #000 #fff;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'MS Sans Serif', sans-serif;
  padding: 0;
  line-height: 1;
}

.win-btn:active {
  border-color: #000 #fff #fff #000;
}

.windows-content {
  padding: 20px;
  background: #008080;
  position: relative;
  flex: 1;
  overflow: auto;
    min-height: 0; 

}

/* DESKTOP ICONS */
.desktop-icons {
  display: grid;
  grid-template-columns: repeat(auto-fill, 120px);
  gap: 20px;
  align-content: start;
  overflow: hidden;
}

.desktop-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  padding: 10px 8px;
  border-radius: 2px;
  transition: background-color 0.1s ease;
  position: relative;
}

.desktop-icon:hover {
  background-color: rgba(0, 0, 128, 0.4);
  outline: 1px dotted rgba(255, 255, 255, 0.6);
}

.desktop-icon:active {
  background-color: rgba(0, 0, 128, 0.6);
}

.icon-image {
  width: 64px;
  height: 64px;
  object-fit: contain;
  pointer-events: none;
}

.icon-label {
  color: #fff;
  font-size: 15px;
  font-weight: normal;
  text-align: center;
  font-family: 'MS Sans Serif', 'Microsoft Sans Serif', sans-serif;
  max-width: 100px;
  word-wrap: break-word;
  line-height: 1.2;
}

.discord-icon {
  grid-column: 1;
  grid-row: 2;
}

.secret-folder {
  grid-column: 3;
  grid-row: 2;
}

.secret-folder .icon-label {
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
}

.pumpfun-icon {
  grid-column: 5;
  grid-row: 1;
}

.recycle-bin {
  grid-column: 6;
  grid-row: 7;
}

/* WINDOWS TASKBAR */

.windows-taskbar {
  background: #c0c0c0;
  border-top: 2px solid #fff;
  padding: 3px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  height: auto; 
}

.start-button {
  background: #c0c0c0;
  border: 2px solid;
  border-color: #fff #000 #000 #fff;
  padding: 3px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-family: 'MS Sans Serif', 'Microsoft Sans Serif', sans-serif;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.01s;
}

.start-button:hover {
  background: #d4d4d4;
}

.start-button:active {
  border-color: #000 #fff #fff #000;
  padding: 4px 7px 2px 9px;
}

.start-icon {
  width: 20px;
  height: 20px;
}

.taskbar-tray {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 6px;
  border: 2px solid;
  border-color: #808080 #fff #fff #808080;
  background: #c0c0c0;
}

.system-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-right: 8px;
  border-right: 1px solid #808080;
}

.tray-icon {
  width: 16px;
  height: 16px;
  cursor: pointer;
  opacity: 0.9;
}

.tray-icon:hover {
  opacity: 1;
}

.system-clock {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'MS Sans Serif', 'Microsoft Sans Serif', sans-serif;
  font-size: 11px;
  color: #000;
  line-height: 1.1;
  padding: 0 4px;
}

.clock-time {
  font-weight: bold;
}

.clock-date {
  font-size: 10px;
}

@media screen and (min-width: 1400px) and (max-width: 1700px) and (min-height: 750px) and (max-height: 950px) {
  .windows-desktop-section {
    margin-top: 20px; 
    padding-top: 40px;
  }
  
  .windows-container {
    margin-top: 80px;
  }
}

/* MODAL WINDOWS */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
}

.modal-overlay.active {
  display: block;
}

.error-window {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, #c0c0c0 0%, #808080 100%);
  border: 2px solid #000;
  box-shadow: 
    inset 2px 2px 0 rgba(255, 255, 255, 0.8),
    inset -2px -2px 0 rgba(0, 0, 0, 0.5),
    4px 4px 0 rgba(0, 0, 0, 0.3);
  min-width: 300px;
  z-index: 9999;
}

.error-window.active {
  display: block;
}

.error-titlebar {
  background: linear-gradient(90deg, #000080, #1084d0);
  padding: 4px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #000;
}

.error-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  font-family: 'MS Sans Serif', 'Microsoft Sans Serif', sans-serif;
}

.error-content {
  padding: 20px;
  background: #c0c0c0;
  display: flex;
  gap: 15px;
  align-items: center;
}

.error-icon {
  width: 65px;
  height: 65px;
  flex-shrink: 0;
}

.error-message {
  font-family: 'MS Sans Serif', 'Microsoft Sans Serif', sans-serif;
  font-size: 16px;
  color: #000;
}

.error-buttons {
  padding: 8px 20px 25px;
  margin-top: -20px;
  background: #c0c0c0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.error-btn {
  background: #c0c0c0;
  border: 2px solid;
  border-color: #fff #000 #000 #fff;
  padding: 5px 20px;
  cursor: pointer;
  font-family: 'MS Sans Serif', 'Microsoft Sans Serif', sans-serif;
  font-size: 14px;
  font-weight: bold;
  min-width: 80px;
}

.error-btn:active {
  border-color: #000 #fff #fff #000;
  padding: 6px 19px 4px 21px;
}

/*   SECRET FOLDER MODALS */
.secret-confirm,
.secret-no,
.secret-question1,
.secret-sad,
.secret-age,
.secret-growup,
.secret-content {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  min-width: 400px;
}

.secret-confirm.active,
.secret-no.active,
.secret-question1.active,
.secret-sad.active,
.secret-age.active,
.secret-growup.active,
.secret-content.active {
  display: block;
}

.secret-content .error-content {
  padding: 15px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.secret-content .error-message {
  margin-top: 10px;
  text-align: center;
}

.secret-image {
  max-width: 400px;
  max-height: 400px;
  width: 100%;
  height: auto;
  display: block;
  margin: 10px auto;
}

.recycle-windows-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}

.recycle-windows-container.active {
  display: block;
}

.recycle-window {
  position: absolute;
  background: linear-gradient(180deg, #c0c0c0 0%, #808080 100%);
  border: 2px solid #000;
  box-shadow: 
    inset 2px 2px 0 rgba(255, 255, 255, 0.8),
    inset -2px -2px 0 rgba(0, 0, 0, 0.5),
    4px 4px 0 rgba(0, 0, 0, 0.3);
  min-width: 350px;
}

.recycle-window:nth-child(1) { top: 10%; left: 10%; }
.recycle-window:nth-child(2) { top: 15%; left: 25%; }
.recycle-window:nth-child(3) { top: 20%; left: 40%; }
.recycle-window:nth-child(4) { top: 25%; left: 15%; }
.recycle-window:nth-child(5) { top: 30%; left: 50%; }

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .windows-desktop-section {
    padding: 60px 30px 50px;
    min-height: 85vh;
    margin-top: -70px;
    margin-bottom: -150px;
  }

  .windows-container {
    max-width: 700px;
  }

  .windows-main {
    height: 500px;
  }

  .windows-content {
    padding: 18px;
  }

  .desktop-icons {
    grid-template-columns: repeat(auto-fill, 100px);
    gap: 18px;
  }

  .icon-image {
    width: 56px;
    height: 56px;
  }

  .icon-label {
    font-size: 14px;
  }

  .windows-taskbar {
    padding: 4px 6px;
  }

  .system-clock {
    font-size: 12px;
  }
}

@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
  .windows-desktop-section {
    padding: 70px 40px 60px;
    margin-top: 60px;
    margin-bottom: 10px;
  }

  .windows-container {
    max-width: 820px;
  }

  .windows-main {
    height: 540px;
  }

  .desktop-icons {
    grid-template-columns: repeat(auto-fill, 110px);
    gap: 20px;
  }

  .icon-image {
    width: 60px;
    height: 60px;
  }
}

/* VHS SECTION */
.vhs-stack a {
  display: block;
  text-decoration: none;
  margin: -1px;
  padding: 0;
  line-height: 0;
}

.vhs-stack a img {
  display: block; 
  margin: 0;
  padding: 0;
}

.vhs-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 55px;
  gap: 50px;
  max-width: 1400px;
  margin: 0 auto;
  margin-top: 30px;
  margin-bottom: -70px;
}

.vhs-stack {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  flex: 1 1 500px;
  padding: 10px;
}

.vhs-box {
  width: 100%;
  max-width: 900px;
  transition: all 0.3s ease;
  margin-left: 50px;
  filter: brightness(1);
  cursor: pointer;
}

.vhs-stack:hover .vhs-box:not(:hover) {
  filter: brightness(0.4);
  transform: scale(1);
}

.vhs-stack .vhs-box:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.vhs-static-wrap {
  flex: 1 1 250px;
  max-width: 460px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.vhs-static {
  width: 100%;
  height: auto;
  max-width: 450px;
}

@media (min-width: 769px) and (max-width: 1199px) and (orientation: portrait) {
  .vhs-section {
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    gap: 0;
    margin: 0 auto;
  }
  
  .vhs-stack {
    width: 90%;
    max-width: 90%;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .vhs-box {
    max-width: 100%;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  
  .vhs-static-wrap {
    display: none !important;
  }
  
  .vhs-static {
    display: none !important;
  }
}

@media (min-width: 769px) and (max-width: 1199px) and (orientation: landscape) {
  .vhs-section {
    flex-direction: row;
    align-items: flex-start;
    padding: 40px 55px; 
    gap: 50px;
    margin: 0 auto;
    margin-top: -60px;
    margin-bottom: -60px;
  }
  
  .vhs-stack {
    flex: 1 1 500px;
    max-width: none;
    padding: 10px;
  }

  .vhs-static {
    width: 96%;
    margin-right: 30px;
    display: block !important;
    max-width: none;
  }

  .vhs-box {
    width: 100%;
    margin-left: 100px; 
    margin-right: 70px;
    max-width: 900px;
  }

  .vhs-static-wrap {
    flex: 1 1 250px; 
    max-width: 460px;
    align-items: flex-start;
    justify-content: center;
    display: flex; 
  }
}

@media (max-width: 768px) {
  .vhs-section {
    flex-direction: column;
    align-items: center;
    padding: 2px 0px;
    margin-top: 40px;
    margin-bottom: -120px;
  }

  .vhs-stack,
  .vhs-static-wrap {
    max-width: 100%;
    flex: none;
  }

  .vhs-static {
    display: none !important;
  }
  
  .vhs-box {
    max-width: 100%;
    margin: auto;
  }
}

@media (max-width: 400px) {
.windows-desktop-section {
  padding: 95px 2px 40px;
  min-height: auto;
  margin-bottom: -40px;
}

  .windows-container {
    width: 96%;
    max-width: 96%;
  }

  .windows-main {
    height: 440px; 
  }

  .windows-content {
    padding: 15px 10px 10px 10px;
    overflow-x: auto;
    min-height: 280px;
  }

  .desktop-icons {
    display: grid;
    overflow: hidden;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 12px 8px;
    padding: 2px;
    width: 100%;
  }

  .desktop-icon {
    width: 100%;
    padding: 6px 4px;
  }

  .icon-image {
    width: 42px !important;
    height: 42px !important;
    margin-bottom: 4px;
  }

  .icon-label {
    font-size: 12px !important;
    line-height: 1.1;
    word-break: break-word;
  }

  .taskbar-tray {
    gap: 4px;
    padding: 2px 4px;
  }

  .system-icons {
    gap: 4px;
    padding-right: 4px;
  }

  .tray-icon {
    width: 14px;
    height: 14px;
  }

  .system-clock {
    font-size: 9px;
  }

  .clock-date {
    font-size: 8px;
  }

  /* Reset grid positioning for mobile */
  .discord-icon,
  .secret-folder,
  .pumpfun-icon {
    grid-column: auto !important;
    grid-row: auto !important;
  }

.recycle-bin {
  position: static;
  padding: 6px 4px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  grid-column: 3;
  grid-row: 3;
}

  .recycle-bin .icon-image {
    width: 42px !important;
    height: 42px !important;
  }

  .recycle-window {
    min-width: 280px;
  }
  
  .recycle-window:nth-child(1) { top: 5%; left: 5%; }
  .recycle-window:nth-child(2) { top: 15%; left: 10%; }
  .recycle-window:nth-child(3) { top: 25%; left: 15%; }
  .recycle-window:nth-child(4) { top: 35%; left: 5%; }
  .recycle-window:nth-child(5) { top: 45%; left: 10%; }

  .secret-confirm,
  .secret-no,
  .secret-question1,
  .secret-sad,
  .secret-age,
  .secret-growup,
  .secret-content {
    min-width: 90%;
    max-width: 90%;
  }
  
  .secret-image {
    max-width: 100%;
  }
  
  .win-btn {
    color: #000 !important;
  }
  
  .start-button {
    color: #000 !important;
  }
}

@media (max-width: 480px) {
  .desktop-icons {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    overflow: hidden;
  }
}

.windows-desktop-section {
  position: relative;
}

.windows-container {
  position: relative;
  z-index: 10;
}

.windows-container.minimized {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.windows-container .windows-titlebar {
  position: relative;
  z-index: 20;
}

.windows-container.minimized .windows-titlebar {
  border: 2px solid #000;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
}

.windows-container .windows-main {
  transition: opacity 0.3s ease;
}

.windows-container.minimized .windows-main {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Hidden content behind window */
.hidden-content {
  position: absolute;
  top: 0px;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 5;
}

.hidden-content.visible {
  opacity: 1;
  pointer-events: auto;
}

.hidden-dialog {
  width: 650px;
  height: 300px;
  background: #c0c0c0;
  border: 2px solid;
  border-color: #ffffff #000000 #000000 #ffffff;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.hidden-titlebar {
  background: linear-gradient(90deg, #000080, #1084d0);
  padding: 8px 5px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.hidden-title {
  color: white;
  font-weight: bold;
  font-size: 14px;
  padding: 0 5px;
  font-family: 'MS Sans Serif', sans-serif;
}

.hidden-body {
  padding: 15px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex: 1;
  overflow: hidden;
}

.qr-section {
  flex-shrink: 0;
}

.qr-code {
  width: 225px;
  height: 225px;
  object-fit: contain;
  border: 2px solid #808080;
}

.text-section {
  flex: 1;
  min-width: 0;
  overflow-y: auto;
}

.typing-text {
  font-family: 'MS Sans Serif', sans-serif;
  font-size: 14px;
  color: #000;
  white-space: pre-wrap;
  word-wrap: break-word;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .hidden-dialog {
    width: 90%;
    max-width: 450px;
    height: 180px;
  }
  
  .hidden-body {
    padding: 15px;
    gap: 15px;
    flex-direction: row;
  }
  
  .qr-code {
    width: 100px;
    height: 100px;
  }
  
  .text-section {
    width: auto;
  }
  
  .typing-text {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .hidden-dialog {
    width: 95%;
    max-width: 350px;
    height: 220px;
  }
  
  .hidden-body {
    padding: 10px;
    gap: 20px;
  }
  
  .qr-code {
    width: 160px;
    height: 160px;
  }
  
  .typing-text {
    font-size: 9px;
  }
}