@font-face {
  font-family: "MerchantCopy";
  src: url("/assets/fonts/merchant-copy-regular.ttf") format("truetype");
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "MerchantCopy", monospace;
  background-image: url("/assets/images/captain-reef-bg.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

#app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 16px;
  min-height: 100vh;
}

.status {
  margin-top: 25vh;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  color: #3e2723;
  font-size: 22px;
  text-align: center;
}

.receipt {
  width: 384px;
  max-width: 100%;
  padding: 16px;
  background: #fff;
  border: 4px solid #3e2723;
  display: flex;
  flex-direction: column;
}

.receipt-header {
  width: 100%;
  height: auto;
  display: block;
}

.title {
  text-align: center;
  font-size: 24px;
  font-weight: normal;
  margin: 16px 0;
}

.fortune {
  font-size: 24px;
  line-height: 1.3;
  white-space: pre-wrap;
  margin: 0 0 16px;
  color: #111;
}

.qrcode {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.qrcode img,
.qrcode canvas {
  width: 100px;
  height: 100px;
}

.share {
  text-align: center;
  font-size: 24px;
  margin: 0;
}

.share-btn {
  font-family: "MerchantCopy", monospace;
  font-size: 22px;
  padding: 10px 28px;
  color: #fff;
  background: #3e2723;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.share-btn:hover {
  background: #5d4037;
}

.made-by img {
  width: 200px;
  height: auto;
  display: block;
}
