* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Lato", sans-serif;
  color: #2b3a54;
  width: 100%;
  height: 100vh;
  overflow: hidden; /* ← changed from overflow-x: hidden */
  position: fixed; /* ← changed from relative */
  top: 0;
  left: 0;
}

#mobile-view {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: #fff;
  z-index: 9999;
  display: none;
  touch-action: none; /* ← add this line */
}

.popup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -35%);
  z-index: 9999;
  width: 90%;
  max-width: 400px;
}

.popup h2 {
  text-align: center;
  font-size: 1.2em;
  margin-top: 32px;
  margin-bottom: 8px;
}

.popup h3 {
  margin-top: 0;
  text-align: center;
  font-size: 1em;
  color: #292828e5;
  margin-bottom: 32px;
  font-weight: 200;
}

.popup img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  width: 100px;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(18, 116, 244, 0.12);
}

.button-container {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 40px;
  width: 90%;
  max-width: 400px;
  left: 50%;
  transform: translateX(-50%);
}

button {
  padding: 10px 20px;
  border: none;
  background-color: #007bff;
  color: #ffffff;
  cursor: pointer;
  font-size: 1em;
  border-radius: 4px;
  font-weight: 500;
  height: 50px;
  width: 100%;
}

button:last-child {
  margin-right: 0;
}

/* DESKTOP  */
body {
  margin: 0;
  padding: 0;
  font-family: "Lato", sans-serif;
  background-color: #f5f5f5;
}

.container {
  height: 100%;
  margin: 0 auto;
  padding: 50px 20px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: #f8f8f8;
}

.column {
  width: 50%;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.column img {
  margin-bottom: 40px;
}

.app-name {
  font-size: 24px;
  margin-bottom: 20px;
}

.main-heading {
  font-size: 25px;
  margin: 20px;
  padding-bottom: 40px;
  font-weight: 400;
  color: #1f1f1f69;
}

#desktop-qr-code {
  width: 150px;
  height: 150px;
  margin-bottom: 40px !important;
}

#desktop-qr-code svg {
  width: 100% !important;
  height: 100% !important;
}

.or-text {
  font-size: 20px;
  margin: 20px;
  padding-bottom: 10px;
  font-weight: 400;
  color: #1f1f1f69;
}

.store-buttons {
  display: flex;
  justify-content: center;
}

.store-buttons img {
  width: 150px;
  margin: 0 5px;
}

#desktop-view {
  display: none;
}

#desktop-app-icon {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  margin-bottom: 40px;
  width: 200px;
  border-radius: 20px; /* Adjust the value to control the roundness of corners */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#desktop-app-name {
  font-size: 30px;
}

@media only screen and (max-width: 768px) {
  .column {
    width: 100%;
  }

  #desktop-app-icon {
    width: 100px;
  }

  .main-heading {
    font-size: 15px;
    margin: 0px;
  }

  .or-text {
    font-size: 15px;
    margin: 20px;
  }
}

.empty-button {
  background-color: transparent;
  border: none;
  padding: 0;
}

.error-message {
  display: none;
}

body.mobile-active {
  overflow: hidden;
}
