* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;           /* ← changed from height: 100vh */
  background: #000;
  display: flex;
  align-items: flex-start;     /* ← changed from center */
  justify-content: center;
  padding: 40px 20px;          /* ← gives breathing room at top/bottom */
  font-family: 'Segoe UI Variable', 'Segoe UI', sans-serif;
  color: #fff;
  overflow-y: auto;            /* ← allows scrolling when needed */
}

.installer {
  padding: 20px;
}

.window {
  width: 520px;
  background: #0e1621;                                  /* Very dark Win11 blue-gray */
  border-radius: 16px;
  overflow: hidden;
  /* White glow + deep shadow = premium night mode look */
  box-shadow: 
    0 0 80px rgba(255, 255, 255, 0.12),
    0 20px 60px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.header {
  height: 100px;                    /* a bit taller for full-width impact */
  background: #11191f;
  padding: 0;                       /* remove side padding */
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.banner {
  width: 100%;                      /* full width */
  height: 100%;
  object-fit: cover;                /* fills the header perfectly */
  object-position: center;          /* or 'left' if you prefer logo on left */
  display: block;
}

.content {
  padding: 50px 40px 30px;
  text-align: center;
  background: #0e1621;
}

.welcome-screen h1 {
  font-size: 26px;
  font-weight: 600;
  margin: 10px 0 12px;
  color: #fff;
}

.welcome-screen p {
  font-size: 15px;
  color: #ccc;
  line-height: 1.5;
}

.icon img {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,175,255,0.4);
}

.installing-screen h2 {
  font-size: 22px;
  margin: 20px 0 10px;
  color: #0af;
}

.installing-screen p {
  color: #aaa;
  margin-bottom: 40px;
}

.progress-container {
  height: 10px;
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
  overflow: hidden;
  margin: 20px 0;
}

#progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0af, #00ff88);
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(0,175,255,0.6);
  transition: width 0.25s ease;
}

.status {
  color: #0af;
  font-size: 14px;
}

.footer {
  padding: 24px 40px;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

button {
  padding: 11px 28px;
  font-size: 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

#cancel-btn {
  background: rgba(255,255,255,0.1);
  color: #ccc;
}

#cancel-btn:hover {
  background: rgba(255,255,255,0.2);
}

.primary {
  background: linear-gradient(135deg, #0af, #00ff88);
  color: #000;
  min-width: 110px;
  box-shadow: 0 6px 20px rgba(0,175,255,0.5);
}

.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,175,255,0.7);
}

.primary:disabled {
  background: #333;
  transform: none;
  cursor: not-allowed;
}

/* MOBILE: smaller, perfectly balanced Windows 11 installer */
@media (max-width: 768px) {
  .installer { padding: 15px; padding-bottom: 90px;}

  .window {
    width: 100%;
    max-width: 380px;           /* fits every phone beautifully */
    border-radius: 20px;
  }

  .header {
    height: 80px;               /* slightly shorter on mobile */
  }

  .content {
    padding: 40px 30px 30px;
  }

  .welcome-screen h1 {
    font-size: 22px;
  }

  .welcome-screen p {
    font-size: 14px;
  }

  .icon img {
    width: 80px;
    height: 80px;
  }

  .installing-screen h2 {
    font-size: 20px;
  }

  .footer {
    padding: 20px 30px;
    gap: 12px;
  }

  .primary {
    padding: 12px 32px;
    font-size: 15px;
  }
}