/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", serif;
      font-optical-sizing: auto;
      font-style: normal;
    }
  
  body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
  }
  
  .app-container {
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  /* Header */
  .header {
    background-color: #713d92;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px 0;
  }
  
  .header h1 {
    color: #f7b330;
    font-size: 20px;
    text-align: center;
  }
  
  /* Banner */
  .banner img {
    width: 100%;
    display: block;
  }
  
  /* Product Section */
  .products {
    padding: 20px;
  }
  
  .products h2 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
  }
  
  .product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .product-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: center;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 250px;
  }
  
  .product-card img {
    width: 100%;
    max-width: 130px;
    margin: 0 auto 10px;
    display: block;
  }
  
  .price {
    margin: 0px 0;
  }
  
  .current-price {
    font-weight: bold;
    color: #713d92;
    margin-right: 5px;
  }
  
  .original-price {
    text-decoration: line-through;
    color: #999;
  }
  
  .product-name {
    font-size: 15px;
    font-weight: 500;
    color: #272727;
    margin-bottom: 10px;
  }
  
  .buy-now {
    background: #713d92;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 30px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
  }
  .buy-now:hover {
    background: #5311a8;
  }
  
  /* Hide the app container on larger screens */
  .app-container {
    display: block;
  }
  
  /* Desktop fallback message */
  .desktop-message {
    display: none;
    text-align: center;
    font-family: 'Arial', sans-serif;
    padding: 50px;
    background-color: #f5f5f5;
    color: #333;
    font-size: 18px;
  }
  
  /* Show only on mobile screens */
  @media (min-width: 500px) {
    .app-container {
      display: none; /* Hide the mobile app container */
    }
  
    .desktop-message {
      display: block; /* Show the desktop fallback message */
    }
    .container{
      display: none;
    }
  }

.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 0px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


.header h1 {
  font-size: 20px;
  color: white;
}

.back-arrow, .wallet-icon {
  font-size: 18px;
}

/* Main Content */
main {
  padding: 20px;
}

h2 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.input-container {
  position: relative;
  margin-bottom: 15px;
}

textarea {
  width: 100%;
  height: 120px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  resize: none;
}

textarea:focus {
  outline: none;
  border-color: #713d92;
}

.error-message {
  display: none;
  color: #d9534f;
  font-size: 14px;
  margin-top: 5px;
}

/* Buttons */
.btn {
  display: block;
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  text-align: center;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-passphrase {
  background: #713d92;
  color: #fff;
}

.btn-passphrase:hover {
  background: #5311a8;
}

.btn-faceid {
  background: #ddd;
  color: #333;
}

.btn-faceid:hover {
  background: #bbb;
}

/* Info Text */
.info-text {
  font-size: 14px;
  margin-top: 20px;
  text-align: center;
  color: #666;
}

.info-text a {
  color: #713d92;
  text-decoration: none;
}

.info-text a:hover {
  text-decoration: underline;
}
.center-logo{
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
}
footer{
  background: #ffffff;
  text-align: center;
}

.button--primary
{padding:10px;
background-color: #713d92;
color: #fff;
border: none;
border-radius:20px;
width: 70%;
font-size:20px;
font-weight: 500;
text-decoration: none;}

.button--secondary
{padding:10px;
background-color: #cccccc;
color: #fff;
border: none;
border-radius:5px;
width: 100%;
margin-top: 10px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
text-decoration: none;}

/* Popup background */
    .popup-overlay {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.5);
      justify-content: center;
      align-items: center;
    }

    /* Popup box */
    .popup {
      background: #3f2152;
      padding: 20px;
      border-radius: 10px;
      text-align: center;
      width:80%;
      height:60%;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      align-items: center;
      color: #ffffff;
    }

    .popup button {
      margin-top: 10px;
    }