/* Grundlayout */
body {
  background: #111;
  color: #eee;
  font-family: system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 2rem;
  min-height: 100vh;
}

/* Karte */
.card {
  background: #1e1e1e;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 25px rgba(0,0,0,0.6);
  max-width: 500px;
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

/* Sichtbar nach dem Laden */
.card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Bitcoin-Adresse */
.addr {
  font-family: monospace;
  background: #222;
  padding: 0.5rem;
  border-radius: 0.5rem;
  word-break: break-all;
  margin: 1rem 0;
}

/* QR-Code */
.qr {
  margin: 1rem auto;
  animation: fadeIn 1.2s ease forwards;
}

/* Buttons */
.btn {
  display: inline-block;
  background: #f7931a;
  color: white;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 0.5rem;
  margin: 0.5rem;
  transition: background 0.3s, transform 0.2s;
  font-weight: bold;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.8s ease forwards;
}

.btn:nth-child(1) { animation-delay: 1s; }
.btn:nth-child(2) { animation-delay: 1.2s; }

.btn:hover {
  background: #ffae42;
  transform: scale(1.05);
}

/* Footer + Bild */
footer {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #ccc;
}

.bread-img {
  display: block;
  margin: 1rem auto 0;
  width: 300px;
  max-width: 90%;
  border-radius: 0.5rem;
  opacity: 0;
  transform: scale(0.9);
  animation: fadeInZoom 1.2s ease 1.3s forwards;
}

/* Animationen */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInZoom {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}