/* PWA External Banner Container */
.pwa-external-banner {
  text-align: center;
  margin: 2px auto 35px auto;
  max-width: 500px;
  width: 90%;
  box-sizing: border-box;
  animation: fadeIn 0.4s ease-in-out;
}

.arcade-install-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  height: 52px;
  box-sizing: border-box;
  width: 100%;
  font-family: 'Press Start 2P', monospace, sans-serif;
  font-size: 0.75em;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: #b5be8a;
  background: #49523c;
  border-radius: 50px;
  border: 2px solid #12150f;
  box-shadow: inset 0 -3px 0 #2e3c27, inset 0 2px 0 #606b51, 0 8px 16px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: all 0.15s ease;
}

.arcade-install-btn:hover {
  color: #1e2319;
  background: #606b51;
  border-color: #12150f;
  transform: translateY(-2px);
  box-shadow: inset 0 -3px 0 #49523c, inset 0 2px 0 #7c8a6a, 0 10px 20px rgba(0, 0, 0, 0.35);
}

.arcade-install-btn:active,
.arcade-install-btn:focus {
  transform: translateY(1px);
  box-shadow: inset 0 2px 0 #000, 0 4px 8px rgba(0, 0, 0, 0.2);
}

.pwa-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
}

.pwa-modal-content {
  background-color: #23352c;
  color: #e2e8f0;
  margin: 15% auto;
  padding: 25px;
  border: 2px solid #4a6b5d;
  width: 85%;
  max-width: 380px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  position: relative;
  text-align: left;
}

.pwa-modal-content h3 {
  margin-top: 0;
  color: #a8d5ba;
  font-size: 1.2rem;
  text-align: center;
}

.pwa-modal-content ol {
  padding-left: 20px;
  line-height: 1.6;
  font-size: 0.9rem;
}

.close-pwa-modal {
  color: #888;
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
}

.close-pwa-modal:hover {
  color: #fff;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .arcade-install-btn {
    font-size: 0.7rem;
    line-height: 1.4;
    max-width: 81%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 16px;
    box-sizing: border-box;
  }
  
  .pwa-external-banner {
    text-align: center;
    width: 100%;
  }
}