body {
  font-family: 'Segoe UI', Tahoma, Geneva, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #f3f2f9, #e0e0f5);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  color: #333;
  line-height: 1.5;
}

.container {
  max-width: 450px;
  width: 80%;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  text-align: center;
  padding: 38px 25px;
  border-top: 8px solid #6264a7;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.container:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.header img {
  height: 42px;
  margin-right: 12px;
}

.header h1 {
  font-size: 1.75em;
  color: #6264a7;
  margin: 0;
  font-weight: 600;
}

.icon-secure {
  margin: 5px 0 5px;
  width: 85%;
  display: flex;
  justify-content: center;
}

.icon-secure img {
  width: 80% !important;
  max-width: 85px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto 1px !important;
  object-fit: contain !important;
  transition: transform 0.3s ease;
  border: 0; /* optional: remove any default borders */
}

.icon-secure img:hover {
  transform: scale(1.01);
}

.message {
  font-size: 17px;
  color: #444;
  margin: 16px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #6264a7;
  color: #fff;
  padding: 5px 10px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 20px;
  text-decoration: none;
  margin-top: 1px;
  cursor: pointer;
  border: none;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.button:hover {
  background-color: #4e51a6;
  transform: translateY(-1px);
}

.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid #ffffff;
  border-top: 3px solid #d4d6f5;
  border-radius: 50%;
  margin-right: 10px;
  animation: spin 1s linear infinite;
  display: none;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.footer {
  font-size: 12px;
  color: #777;
  margin-top: 28px;
  text-align: center;
}

.footer p {
  margin: 0;
  padding: 6px 0;
}

.footer a {
  color: #6264a7;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #4e51a6;
  text-decoration: underline;
}

.install-link {
  font-size: 14px;
  display: block;
  margin-top: 16px;
}

@media (max-width: 600px) {
  .container {
    padding: 10px 16px;
    margin: 10px;
  }

  .header h1 {
    font-size: 1.45em;
  }

  .message {
    font-size: 15px;
    margin: 5px 0;
  }

  .button {
    font-size: 15px;
    padding: 5px 10px;
  }

  .header img {
    height: 30px;
    margin-right: 8px;
  }

  .icon-secure img {
    max-width: 85% !important;
  }

  .icon-secure {
    margin: 28px 0 26px;
  }

  .install-link {
    font-size: 13px;
  }
}
