body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #fef8e8;
  color: #b36b00;
  font-family: Arial, Helvetica, sans-serif;
}

.container {
  background-color: #fef8e8;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  z-index: 1;
}

.container::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 0;
  width: 100%;
  height: 70%;
  background-image: url('../../images/icon_circle.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.2;
  z-index: 0;
}

h1 {
  position: absolute;
  font-size: 8rem;
  color: #f5b919;
  z-index: 1;
  top: 9%;
}

.logo{
  top: 33%;
  margin: auto;
  position: absolute;
  width: 100%;
  height: 50%;
  opacity: 1;
  object-fit: contain;
}

.err-msg {
  position: absolute;
  font-size: 1.4rem;
  bottom: 14%;
  z-index: 1;
}

.hotline{
  position: absolute;
  bottom: 9%;
  font-size: 1.4rem;
}

/* 平板尺寸 */
@media (min-width: 700px) and (max-width: 1000px) {
  h1 {
    top: 5%;
    font-size: 12rem;  /* 更大的字體大小 */
  }
  .err-msg{
    font-size: 2rem;
  }
  .hotline{
    font-size: 2rem;
  }
}

@media (min-width: 250px) and (max-width: 300px) {
  h1 {
    font-size: 6rem;  /* 更大的字體大小 */
  }

  .err-msg {
    font-size: 1rem;
    bottom: 20%;
  }
  .hotline{
    font-size: 1rem;
    bottom: 15%;
  }
}


.back-button, .upgrade-button {
  position: absolute;
  bottom: 3%;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.4rem;
  cursor: pointer;
  z-index: 1;
}

.back-button{
  background-color: #b2975e;
}

.back-button a, .upgrade-button a {
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
}

.back-button:hover {
  background-color: #d4a515;
}

.upgrade-buttons-container {
  position: absolute;
  display: flex;
  justify-content: space-between; /* 這將按鈕分開，無空隙 */
  bottom: -4rem;
}


.upgrade-button {
  width: 100%;
  position: relative;
  margin-top: 1vh;
  bottom: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  border: none;
  background: none;
}

.icon-image{
  max-width: 200px;
  width: 100%;
  object-fit: cover;
  display: block;
  padding: 0;
  margin: 0;

}