/* Ventana flotante tipo Windows 7 */
.win7-window {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  min-height: 180px;
  background: linear-gradient(135deg, #eaf6ff 0%, #cbe2fa 100%);
  border-radius: 10px;
  box-shadow: 0 8px 32px #000a, 0 1.5px 0 #fff4 inset;
  border: 1.5px solid #7eb6e6;
  z-index: 20000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: win7-window-fadein 0.25s;
}
@keyframes win7-window-fadein {
  from { opacity: 0; transform: translate(-50%, -40%) scale(0.98); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.win7-window-titlebar {
  background: linear-gradient(90deg, #5ba4e5 0%, #b3d6f7 100%);
  padding: 0 10px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  cursor: move;
}
.win7-window-title {
  color: #1a3a5b;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: bold;
  text-shadow: 0 1px 0 #fff8;
}
.win7-window-controls {
  display: flex;
  gap: 2px;
}
.win7-window-controls button {
  width: 28px;
  height: 28px;
  border: none;
  background: linear-gradient(180deg, #eaf6ff 0%, #b3d6f7 100%);
  border-radius: 4px;
  color: #1a3a5b;
  font-size: 1.1rem;
  margin-left: 2px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  outline: none;
}
.win7-window-controls button:hover {
  background: #f33;
  color: #fff;
}
.win7-window-controls .win7-window-max:hover {
  background: #f7b733;
  color: #fff;
}
.win7-window-controls .win7-window-min:hover {
  background: #5ba4e5;
  color: #fff;
}
.win7-window-content {
  flex: 1;
  padding: 18px 22px;
  color: #1a3a5b;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 1.08rem;
  background: rgba(255,255,255,0.85);
  overflow: auto;
}
.win7-window.minimized {
  display: none !important;
}
.win7-window.maximized {
  left: 0 !important;
  top: 0 !important;
  transform: none !important;
  width: 100vw !important;
  height: 100vh !important;
  border-radius: 0 !important;
  min-height: 0 !important;
  z-index: 20001 !important;
}
/* Pantalla de apagado simulada estilo Windows 7 */
#win7-poweroff {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s;
}
#win7-poweroff .poweroff-msg {
  color: #fff;
  font-size: 2.2rem;
  font-family: 'Segoe UI', Arial, sans-serif;
  text-shadow: 0 0 16px #00bfff, 0 0 2px #fff;
  letter-spacing: 1px;
  animation: poweroff-blink 1.2s infinite alternate;
}
@keyframes poweroff-blink {
  from { opacity: 1; }
  to { opacity: 0.7; }
}
#aero-taskbar .aero-weather {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 1.08rem;
  text-shadow: 0 0 6px #00bfff, 0 0 2px #fff;
  padding: 0 12px;
  user-select: none;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  margin-right: 8px;
}
#aero-taskbar .aero-weather #weather-icon {
  font-size: 1.3em;
  filter: drop-shadow(0 0 2px #fff8);
}
/* Ocultar barra de desplazamiento del navegador */
html, body {
  overflow: hidden;
  scrollbar-width: none; /* Firefox */
}
body::-webkit-scrollbar, html::-webkit-scrollbar {
  display: none; /* Chrome, Brave, Edge, Safari */
}
/* Menú de inicio tipo Windows 7 */
.win7-start-menu {
  position: fixed;
  left: 24px;
  bottom: 64px;
  width: 340px;
  background: linear-gradient(135deg, rgba(0,80,200,0.85) 0%, rgba(0,180,255,0.75) 100%);
  box-shadow: 0 8px 32px #000b, 0 1.5px 0 #fff4 inset;
  border-radius: 12px 12px 18px 18px;
  border: 1.5px solid #fff3;
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  z-index: 10010;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: win7-menu-fadein 0.25s;
}
.win7-start-menu.open {
  display: flex;
}
@keyframes win7-menu-fadein {
  from { opacity: 0; transform: translateY(40px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.win7-start-header {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.10);
  padding: 18px 18px 10px 18px;
  border-bottom: 1px solid #fff2;
}
.win7-start-logo {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  box-shadow: 0 0 8px #00f8;
}
.win7-user {
  color: #fff;
  font-size: 1.2rem;
  font-family: 'Segoe UI', Arial, sans-serif;
  text-shadow: 0 0 6px #00bfff, 0 0 2px #fff;
}
.win7-start-search {
  padding: 10px 18px 0 18px;
}
.win7-start-search input {
  width: 100%;
  padding: 7px 12px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  background: rgba(255,255,255,0.18);
  color: #fff;
  outline: none;
  box-shadow: 0 0 0 1.5px #fff2 inset;
}
.win7-start-main {
  display: flex;
  gap: 0;
  padding: 10px 0 0 0;
}
.win7-start-apps {
  list-style: none;
  margin: 0;
  padding: 0 0 0 18px;
  flex: 1;
}
.win7-start-apps li{
  padding: 7px 0 7px 0;
  color: #fff;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 1.05rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.15s;
}
.win7-start-apps li:hover{
  background: rgba(255,255,255,0.13);
}
.win7-start-footer {
  padding: 12px 18px 14px 18px;
  background: rgba(0,0,0,0.10);
  border-top: 1px solid #fff2;
  display: flex;
  justify-content: flex-end;
}
.win7-shutdown {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, rgba(0,80,200,0.65) 0%, rgba(0,180,255,0.55) 100%);
  color: #fff;
  border: 1.5px solid linear-gradient(135deg, rgba(0,80,200,0.85) 0%, rgba(0,180,255,0.75) 100%);;
  border-radius: 18px;
  padding: 7px 22px 7px 16px;
  font-size: 1.08rem;
  font-family: 'Segoe UI', Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 2px 8px #f7b73355, 0 0 0 1.5px #fff2 inset;
  transition: background 0.2s, box-shadow 0.2s;
  position: relative;
  outline: none;
}
.win7-shutdown:hover {
  background: linear-gradient(90deg, rgba(0,80,200,0.65) 0%, rgba(0,180,255,0.55) 100%);
  box-shadow: 0 4px 16px #00bfff55, 0 0 0 2px #fff4 inset;
}
.win7-shutdown .shutdown-icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 0 2px #fff8);
}
/* Barra de tareas estilo Aero Glass */
#aero-taskbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background: linear-gradient(90deg, rgba(0,80,200,0.65) 0%, rgba(0,180,255,0.55) 100%);
  box-shadow: 0 0 24px 4px #0008;
  backdrop-filter: blur(12px) saturate(1.5);
  -webkit-backdrop-filter: blur(12px) saturate(1.5);
  border-top: 1.5px solid #fff4;
  display: flex;
  align-items: center;
  z-index: 10001;
  padding: 0 24px;
}
#aero-taskbar .aero-start {
  width: 44px;
  height: 44px;
    margin-right: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: box-shadow 0.2s;
  overflow: hidden;
  border-radius: 100%;
}
#aero-taskbar .aero-start img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}
#aero-taskbar .aero-start:hover {
  box-shadow: 0 0 16px #00f, 0 0 32px #fff8;
}
#aero-taskbar .aero-icons {
  flex: 1;
  display: flex;
  gap: 18px;
  align-items: center;
}
#aero-taskbar .aero-clock {
  color: #fff;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 1.15rem;
  text-shadow: 0 0 6px #00bfff, 0 0 2px #fff;
  padding: 0 12px;
  user-select: none;
}
body { /* Para que el contenido no tape la barra */
  padding-bottom: 60px;
}
/* Overlay de inicio tipo Windows 7 */
#win7-boot-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.8s;
}
#win7-boot-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
#win7-logo {
  width: 320px;
  max-width: 60vw;
  filter: drop-shadow(0 0 40px #fff8) drop-shadow(0 0 80px #00f6);
  opacity: 0;
  animation: win7-fadein 2s ease-in forwards;
}
@keyframes win7-fadein {
  0% { opacity: 0; transform: scale(0.8); filter: blur(8px) drop-shadow(0 0 0 #fff); }
  60% { opacity: 1; transform: scale(1.05); filter: blur(0) drop-shadow(0 0 40px #fff8); }
  100% { opacity: 1; transform: scale(1); filter: blur(0) drop-shadow(0 0 80px #00f6); }
}
#win7-press {
  color: #fff;
  font-size: 1.3rem;
  margin-top: 2rem;
  text-shadow: 0 0 10px #00f, 0 0 20px #fff;
  font-family: Arial, sans-serif;
  letter-spacing: 1px;
  animation: win7-press-blink 1.2s infinite alternate;
}
@keyframes win7-press-blink {
  from { opacity: 1; }
  to { opacity: 0.5; }
}
* {
  margin: 0;
  padding: 0;
}

body {
  background-image: url('/img/wallpaper.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  /* Para asegurar compatibilidad y evitar distorsión */
  min-height: 100vh;
  width: 100vw;
}
