* {
    margin: 0;
    padding: 0;
    box-sizing:border-box;
  }
  body{
    min-height: 100vh;
background-image: url("../1.png");
background-size: cover;
background-repeat: no-repeat;
background-position: center;
overflow: hidden;
height: 100vh;
} 

/* ── Boot Screen ── */
#bootScreen {
  position: fixed;
  inset: 0;
  background: #050508;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, transform 0.8s ease;
}
#bootScreen.fade-out {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}

#bootContent {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

#bootLogo {
  font-family: 'Orbitron', 'Courier New', monospace;
  font-size: 52px;
  font-weight: 900;
  letter-spacing: 0.2em;
  background: linear-gradient(135deg, #7c3aed, #d946ef, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: bootPulse 1.5s ease-in-out infinite alternate;
}
@keyframes bootPulse {
  from { opacity: 0.7; text-shadow: none; }
  to   { opacity: 1;   filter: drop-shadow(0 0 20px rgba(217,70,239,0.6)); }
}

#bootTagline {
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  font-family: 'Courier New', monospace;
}

#bootBarWrap {
  width: 260px;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 8px;
}
#bootBar {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background: linear-gradient(90deg, #7c3aed, #d946ef, #06b6d4);
  box-shadow: 0 0 12px rgba(217,70,239,0.7);
  transition: width 0.2s ease;
}

#bootStatus {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  font-family: 'Courier New', monospace;
  letter-spacing: 0.08em;
  min-height: 16px;
}

/*--topbar--*/
.topbar{
  position:fixed;
  top:0%; left:0%; right:0%;
  height:48px;
  display:flex;
  align-items:center;
  justify-content : space-between;
  padding:0px 24px;
  background:rgba(255,255,255,0.05);
  backdrop-filter:blur(4px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  z-index: 1000;
}

.topbar-left{
  display:flex;
  align-items:center;
  gap: 10px;
}

.logo-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg,#e91e8c, #421fa2);
  box-shadow: 0 0 10px rgba(233,30,140,0.5);
}

.logo-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255, 255,0.9);
}

.topbar-right{
  display:flex;
  justify-content: flex-end;
  flex-direction: column;
  align-items:flex-end;
  gap: 1px;
}

.clock {
  font-size:14px;
  font-weight:600;
  color: rgba(255,255,255,0.95);
  letter-spacing:1px;
}

.date{
  font-size:10px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}


/*--card--*/
.page{
  padding-top: 48px;
  min-height: 100vh;
  display:flex;
  justify-content:center;
  align-items:center;
}

.card{
    background:rgba(10, 10, 15, 0.75);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    padding: 58px ,70px;
    text-align:center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    width: 500px;
    cursor: grab;
}

.logo-badge{
    display: inline-block;
    background: linear-gradient(135deg, #2b49c0, #7b1fa2);
      color: #fff;
      font-size: 16px;
      font-weight: 700;
      letter-spacing: 5px;
      padding: 10px 32px;
      border-radius: 30px;
      margin-bottom: 24px;
}
h1{
    font-size: 42px;
    font-weight:700;
    color: #ffffff;
    margin-bottom: 8px;
}

.tagline {
      font-size: 11px;
      color: #b3c025;
      letter-spacing: 5px;
      text-transform: uppercase;
      margin-bottom: 20px;
    }

    .divider {
      width: 50px;
      height: 2px;
      background: linear-gradient(90deg, pink , #7b1fa2);
      margin: 0 auto 20px;
      border-radius: 2px;
    }

    h2 {
      font-size: 15px;
      font-weight: 300;
      color: rgba(255,255,255,0.5);
      letter-spacing: 2px;
      margin-bottom: 36px;
    }

    .btn-group {
      display: flex;
      gap: 12px;
      justify-content: center;
    }

    .btn-primary {
      background: linear-gradient(135deg, hotpink, #7b1fa2);
      color: #fff;
      border: none;
      border-radius: 50px;
      padding: 13px 32px;
      font-size: 13px;
      cursor: pointer;
      box-shadow: 0 4px 20px rgba(192,57,43,0.4);
    }

    #welcomeModal {
      transition: opacity 0.6s ease, transform 0.6s ease;
      opacity: 1;
      transform: scale(1);
    }
    #welcomeModal.hide {
      opacity: 0;
      transform: scale(0.85);
      pointer-events: none;
    }
    .desktop {
      opacity: 0;
      transition: opacity 0.8s ease 0.4s;
      pointer-events: none;
    }
    .desktop.visible {
      opacity: 1;
      pointer-events: all;
    }

    .music-ctrl {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: white;
  border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 14px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.music-ctrl:hover { background: rgba(255,255,255,0.18); }
.music-ctrl.big {
  width: 48px; height: 48px;
  font-size: 20px;
  background: linear-gradient(135deg, #e91e8c, #7b1fa2);
  border: none;
}
.music-ctrl.big:hover { opacity: 0.85; }

.music-track {
  padding: 7px 8px;
  border-radius: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.12s;
}
.music-track:hover { background: rgba(255,255,255,0.07); }
.music-track.playing {
  background: rgba(233,30,140,0.2);
  color: #e91e8c;
}

#termOut ::-webkit-scrollbar { width: 4px; }
#termOut ::-webkit-scrollbar-thumb {
  background: #003b00; border-radius: 4px;
}

/*--Title bar*/
.title-bar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 16px;
background: rgba(255,255,255,0.05);
border-radius: 20px 20px 0 0;
margin: 0 0 24px 0;
cursor: grab;
border-bottom: 1px solid rgba(255,255,255,0.08);
}
    
.titlebar span {
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  letter-spacing: 2px;
}

.titlebar button {
  background: #ff5f57;
  border: none;
  border-radius: 50%;
  width: 13px;
  height: 13px;
  cursor: pointer;
}

.window textarea {
  width: 100%;
  height: 350px;
  background: transparent;
  border: none;
  outline: none;
  color: rgba(255,255, 255,0.85);
  font-size: 14px;
  line-height: 1.7;
  resize: none;
  padding: 16px;
  font-family: 'Courier New', monospace;
}

.window-controls {
  display: flex;
  gap:8px;
}

.btn-close {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ff5f57;
  cursor: pointer;
}

.btn-minimize {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #febc2e;
  cursor:pointer;
}

.btn-maximize {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #28c840;
  cursor: pointer;
}
    /*draggable*/
    #card {
      position: absolute;
      z-index: 9;
      transition: all 0.25s ease;
    }
    
.window {
  display: none;
  position: fixed;
  top: 80px;
  left: 30%;
  transform: translate(-50%);
  width: 500px;
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  z-index: 999;
  padding: 0;
  overflow: hidden;
}

.window .titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  cursor: grab;
}

.window .titlebar span {
  color: rgba(255,255, 255,0.6);
  font-size: 12px;
  letter-spacing: 2px;
}

.window .titlebar button  {
  background: #ff5f57;
  border: none;
  border-radius: 50%;
  width: 13px;
  height: 13px;
  cursor: pointer;
}
    .desktop {
      position: fixed;
      top: 60px;
      left: 20px;
      display: flex;
      flex-direction: column;
      gap: 16px;
      z-index: 100;
    }

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

    .app-icon .icon {
     width: 70px;
     height: 70px;
     border-radius: 16px;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 36px;
     background-color: rgba(255,255,255,0.15);
     backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
  }

  .app-icon span {
    font-size: 13px;
    color: white;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  }

  .calc-btn {
    background: rgba(255,255, 255,0.08);
    border: 1px solid rgba(255,255, 255,0.1);
    color: white;
    border-radius: 10px;
    padding: 16px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.15s;
  }
  .calc-btn:hover {background: rgba(255, 255, 255, 0.18);}

  .calc-btn.op {
    background: rgba(233,30,140,0.25);
    color: #e91e8c;
  }

  .calc-btn.eq {
    background: linear-gradient(135deg, #e91e8c,#7b1fa2);
    color: white;
    border: none;
  }

  .calc-btn.span2 {
    grid-column: span 2;
    background: rgba(255,80,80,0.2);
    color: #ff6f57;
  }
  
.paint-tool {
  width: 36px; height: 36px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-size: 17px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.paint-tool:hover { background: rgba(255,255,255,0.1); color: white; }
.paint-tool.active {
  background: linear-gradient(135deg, #e91e8c, #7b1fa2);
  color: white;
}
.paint-label {
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}
.paint-swatches {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 4px; margin-top: 8px;
}
.paint-swatch {
  aspect-ratio: 1; border-radius: 5px;
  cursor: pointer; border: 2px solid transparent;
  transition: transform 0.1s;
}
.paint-swatch:hover { transform: scale(1.15); }
.paint-swatch.selected { border-color: white; }
