#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.apple-loader {
  width: 60px;
  height: 60px;
  position: relative;
}

.spinner {
  width: 100%;
  height: 100%;
  border: 4px solid rgba(0, 113, 227, 0.1);
  border-top-color: #0071e3;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.apple-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background: #0071e3;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.apple-logo::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background: white;
  border-radius: 50%;
  top: -7px;
  left: 5px;
}

.loader-text {
  margin-top: 25px;
  font-size: 1.2rem;
  color: #666;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.progress {
  width: 200px;
  height: 4px;
  background: rgba(0, 113, 227, 0.1);
  border-radius: 2px;
  margin-top: 20px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: #0071e3;
  border-radius: 2px;
  transition: width 0.3s ease;
}