#pwa-installer-container {
  font-family: 'Courier New', monospace;
}

#installbuttoncontainer {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 10vh;
  margin: 0;
  flex-direction: column;
  color: #FFFFFF;
  gap: 20px;
  padding: 20px;
  background: #262626;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}

#installbuttoncontainer::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, 
    rgba(255, 83, 49, 0.1) 0%, 
    transparent 25%, 
    rgba(255, 83, 49, 0.05) 50%, 
    transparent 75%, 
    rgba(255, 83, 49, 0.1) 100%);
  animation: cyber-scan 3s linear infinite;
  pointer-events: none;
}

@keyframes cyber-scan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.pwa-install-button {
  border: 2px solid #FF5331;
  position: relative;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: bold;
  border-radius: 15px;
  padding: 15px 30px;
  display: none;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background: linear-gradient(135deg, #FF5331, #ff6b4a);
  transition: all 0.3s ease;
  text-transform: none;
  letter-spacing: 1px;
  box-shadow: 0 0 20px rgba(255, 83, 49, 0.3);
  font-family: 'Courier New', monospace;
  min-width: 250px;
}

.pwa-install-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.pwa-install-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 30px rgba(255, 83, 49, 0.5);
  border-color: #FFFFFF;
}

.pwa-install-button:hover::before {
  left: 100%;
}

.pwa-install-button:active {
  transform: translateY(0);
}

.pwa-install-button i {
  margin-right: 10px;
  font-size: 18px;
}

#installInstructions {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #262626;
  border: 2px solid #FF5331;
  border-radius: 15px;
  box-shadow: 0 0 50px rgba(255, 83, 49, 0.5);
  z-index: 10000;
  color: #FFFFFF;
  max-width: 90vw;
  width: 400px;
  backdrop-filter: blur(10px);
}

.instruction-content {
  padding: 30px;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #FF5331;
  cursor: pointer;
  font-size: 20px;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #FFFFFF;
}

#instructionText {
  margin: 0;
  line-height: 1.6;
  font-size: 14px;
}

#instructionText ol {
  padding-left: 20px;
}

#instructionText li {
  margin-bottom: 10px;
}

#instructionText strong {
  color: #FF5331;
}

/* Progress indicator */
.progress-container {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.progress-bar {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FF5331, #ff6b4a);
  border-radius: 2px;
  animation: progress-loading 2s ease-in-out;
  box-shadow: 0 0 10px rgba(255, 83, 49, 0.5);
}

@keyframes progress-loading {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

.progress-text {
  color: #FFFFFF;
  font-size: 14px;
  text-align: center;
  font-family: 'Courier New', monospace;
}

.loading-dots::after {
  content: '';
  animation: dots 1.5s infinite;
}

@keyframes dots {
  0%, 20% { content: ''; }
  40% { content: '.'; }
  60% { content: '..'; }
  80%, 100% { content: '...'; }
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
  #installbuttoncontainer {
    padding: 15px;
    gap: 15px;
  }
  
  .pwa-install-button {
    font-size: 14px;
    padding: 12px 20px;
    min-width: 200px;
  }
  
  .pwa-install-button i {
    font-size: 16px;
    margin-right: 8px;
  }
  
  #installInstructions {
    width: 95vw;
    max-width: 350px;
  }
  
  .instruction-content {
    padding: 20px;
  }
  
  #instructionText {
    font-size: 13px;
  }
}

@media screen and (max-width: 480px) {
  .pwa-install-button {
    font-size: 12px;
    padding: 10px 15px;
    min-width: 180px;
  }
  
  .instruction-content {
    padding: 15px;
  }
}