* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #f8dc66;
  font-family: Georgia, 'Times New Roman', serif;
  color: #8f1d1d;
  padding: 48px 24px;
}

.header-space {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-space {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.card {
  max-width: 460px;
  width: 100%;
  text-align: center;
}

.label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 22px;
  font-weight: bold;
  color: #8f1d1d;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  text-decoration: none;
}

.tip-box {
  border: 2px dashed #8f1d1d;
  border-radius: 6px;
  padding: 36px 32px;
  margin: 0 0 32px;
}

#tip {
  font-family: 'Courier Prime', 'Courier New', Courier, monospace;
  font-size: 19px;
  line-height: 1.7;
  font-weight: normal;
  color: #b6564f;
  margin: 0;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

button {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 32px;
  border: 1.5px solid #8f1d1d;
  border-radius: 6px;
  background: transparent;
  color: #8f1d1d;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.2s ease, color 0.2s ease;
}

button:hover {
  background: #8f1d1d;
  color: #f8dc66;
}

button:active {
  transform: scale(0.97);
}

.share-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.share-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1.5px solid #b6564f;
  border-radius: 50%;
  color: #b6564f;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.share-btn svg {
  width: 20px;
  height: 20px;
}

.share-btn:hover {
  background: #b6564f;
  color: #f8dc66;
}

.share-btn:active {
  transform: scale(0.94);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.credits {
  max-width: 420px;
  width: 100%;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.credits .name {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
  color: #8f1d1d;
}

.credits .newsletter {
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  color: #a8483f;
}

.credits .newsletter a {
  color: #8f1d1d;
  font-weight: 600;
  text-decoration: underline;
}
