@font-face {
  font-family: 'Perfect DOS VGA 437';
  src: url('fonts/PerfectDOSVGA437.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body,
.win95-btn,
.loading-message,
.power-icon,
.win95-loader,
.win95-loader .square {
  font-family: 'Perfect DOS VGA 437', 'MS Sans Serif', 'Tahoma', 'Geneva', sans-serif;
}

body {
  background: #008080;
  color: #fff;
font-family: 'Perfect DOS VGA 437';
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
}

.win95-btn,
.loading-message {
  font-family: 'Perfect DOS VGA 437';
}

.win95-btn {
  background: #c0c0c0;
  color: #000;
  font-size: 1.2rem;
  font-weight: bold;
  border: 2px solid #fff;
  border-right-color: #808080;
  border-bottom-color: #808080;
  box-shadow: 2px 2px 0 #808080;
  padding: 14px 44px;
  margin: 4px 0;
  cursor: pointer;
  outline: none;
  transition: background 0.1s, box-shadow 0.1s;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.win95-btn:active {
  border: 2px solid #808080;
  border-right-color: #fff;
  border-bottom-color: #fff;
  background: #d4d0c8;
  box-shadow: none;
  padding: 15px 43px 13px 45px;
}
.loading-message {
  background: #c0c0c0;
  padding: 48px 32px;
  text-align: center;
  font-size: 1.5rem;
  box-shadow: 0 0 32px #222;
  margin-bottom: 32px;
  display: none;
  border: 2px solid #808080;
  color: #000;
}
.spinner {
  margin: 24px auto 0 auto;
  width: 32px;
  height: 32px;
  border: 4px solid #fff;
  border-top: 4px solid #c0c0c0;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: inline-block;
}
@keyframes spin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}
.power-icon {
  font-size: 32px;
  vertical-align: middle;
  margin-right: 10px;
  color: #000;
  text-shadow: 0 0 2px #fff;
}
.win95-loader {
  display: flex;
  gap: 6px;
  margin: 24px auto 0 auto;
  height: 24px;
  align-items: center;
  justify-content: center;
}

.win95-loader .square {
  width: 16px;
  height: 16px;
  background: #c0c0c0;
  border: 2px solid #808080;
  box-shadow: 1px 1px 0 #fff;
  opacity: 0.5;
  animation: win95-square 1s linear infinite;
}

.win95-loader .square:nth-child(2) { animation-delay: 0.125s; }
.win95-loader .square:nth-child(3) { animation-delay: 0.25s; }
.win95-loader .square:nth-child(4) { animation-delay: 0.375s; }
.win95-loader .square:nth-child(5) { animation-delay: 0.5s; }
.win95-loader .square:nth-child(6) { animation-delay: 0.625s; }
.win95-loader .square:nth-child(7) { animation-delay: 0.75s; }
.win95-loader .square:nth-child(8) { animation-delay: 0.875s; }

@keyframes win95-square {
  0%   { opacity: 0.5; background: #c0c0c0; }
  20%  { opacity: 1; background: #008080; }
  40%  { opacity: 0.5; background: #c0c0c0; }
  100% { opacity: 0.5; background: #c0c0c0; }
}