/* Global Layout */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  color: #f5f5f5;
  background: url("../Image Folder/Backgrounds/Galaxy_Starshower.jpg") no-repeat center center fixed;
  background-size: cover;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

body .layout-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 1rem 2rem 2rem 2rem;

}

/* Overlay for better readability */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;

}

/* Main Container */
main {
  max-width: 1400px;
  width: 100%;
  padding: 2rem;
  background: rgba(20, 20, 20, 0.8);
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(47, 0, 255, 0.2);
}

/* Headings & Text */
h1 {
  color: #00bcd4;
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 2.8rem;
}

.intro-paragraph {
  margin-bottom: 2rem;
  text-align: center;
  font-size: 1.1rem;
}

.section {
  background: #111;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.05);
}

.section h2 {
  color: #f0f0f0;
  margin-top: 0;
}

/* Wallet & QR Styling */
.wallet {
  font-family: monospace;
  background: #222;
  padding: 0.5rem;
  border-radius: 5px;
  word-break: break-word;
  margin-bottom: 1rem;
}

.qr {
  max-width: 180px;
  width: 100%;
  height: auto;
  border: 1px solid #444;
  border-radius: 8px;
  margin: 1rem 0;
  display: block;
}

.qr-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: start;
}

/* Links */
a {
  color: #00bcd4;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Button */
.back-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #ffffff;
  color: #0e0e0e;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(157, 164, 165, 0.4);
  transition: background-color 0.2s ease-in-out;
}

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

/* Querformat-Layout */
.donate-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin: 0 auto;
  max-width: 1400px;
  position: relative;
  top: -35px;
}

.donate-left,
.donate-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Mobile Anpassung */
@media (max-width: 900px) {
  .donate-layout {
    grid-template-columns: 1fr;
  }
}

/* 2x2 Grid für Crypto */
.crypto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

/* Sicherstellen, dass einzelne Blöcke gut aussehen */
.crypto-block {
  background: #111;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.05);
}

/* Overlay wie auf index */
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

/* Universal Shift */
.shift-y {
  transform: translateY(var(--shift-y, 0px));
}

.shift-x {
  transform: translateX(var(--shift-x, 0px));
}

.shift-xy {
  transform: translate(var(--shift-x, 0px), var(--shift-y, 0px));
}

.back-button-wrapper {
  max-width: 960px;
  margin: 1rem auto 2rem auto;
  display: flex;
  justify-content: center;
}

/* Titel & Subtitle */
.hero {
  text-align: center;
  margin-top: 1vh;
}

.title {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  min-height: 3.5rem;
  font-family: monospace;
}

.subtitle {
  font-size: 1.25rem;
  color: #ffffff;
}

.cursor {
  animation: blink 0.75s step-end infinite;
}

.footer {
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}
