/* Reset & Grundlayout */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body-Grund und Farbverlauf */
body {
  font-family: Arial, sans-serif;
  color: white;
  font-size: 16px;
  padding-bottom: 80px; /* Platz für Footer */
  background: linear-gradient(135deg, #00b0ff, #003366);
  position: relative;
  z-index: 0;
}

/* Galaxy-Hintergrund als Overlay mit Blur */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('bg-galaxy.jpg') no-repeat center center fixed;
  background-size: cover;
  filter: blur(8px);
  z-index: -1;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2%;
}

/* Header */
header {
  position: relative;
  padding: 50px 0;
  text-align: center;
}
header .logo {
  position: absolute; top: 20px; left: 20px;
  max-width: 50px; z-index: 1;
}
header h1 {
  font-size: 3rem; margin-bottom: 10px;
}
header p {
  font-size: 1.2rem; margin-top: 10px;
}

/* Content-Sektion */
.content.container {
  width: 100%;
  padding: 40px 5%;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 1;
  margin-top: -40px;
  gap: 5%;
}

/* Vertikaler Divider */
.vertical-divider {
  position: absolute; top: 0; bottom: 0;
  left: 50%; transform: translateX(-50%);
  width: 6px; background-color: white;
  border-radius: 3px; z-index: 0;
}

/* Spalten-Breite */
.content .left,
.content .right {
  flex: 0 0 48%;
}

/* Linke Spalte */
.content .left {
  text-align: left;
}

/* Purchase-Tabelle */
.purchase-table {
  width: 100%; max-width: 450px;
  table-layout: fixed; border-collapse: collapse;
  background: rgba(0, 0, 0, 0.4); border-radius: 8px;
  overflow: hidden; margin-bottom: 30px;
}
.purchase-table th {
  width: 35%; padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  color: white; text-align: left; white-space: nowrap;
}
.purchase-table td {
  width: 65%; padding: 12px 16px;
  color: white; border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* PayPal-Formular */
.paypal-section {
  margin-top: 30px; display: flex;
  flex-direction: column; gap: 10px;
}
.paypal-section label {
  font-size: 1rem; color: white;
}
.paypal-section input {
  width: 100%; max-width: 300px;
  padding: 8px; border-radius: 4px;
  border: 1px solid #ccc; background: white;
  color: #333;
}

/* Ausklappbare Info-Blöcke */
.info-block summary {
  list-style: none; cursor: pointer;
  font-size: 1.5rem; padding: 8px 0;
  color: white; position: relative; user-select: none;
}
.info-block summary::-webkit-details-marker {
  display: none;
}
.info-block summary::after {
  content: '▶'; position: absolute; right: 0; top: 8px;
  font-size: 1.2rem; transition: transform 0.2s;
}
.info-block[open] summary::after {
  content: '▼';
}
.info-content {
  padding-left: 20px; margin-top: 8px;
}
.info-content > * {
  opacity: 0; transform: translateX(-20px);
  animation: flyIn 0.4s forwards;
}
.info-block[open] .info-content > *:nth-child(1) {
  animation-delay: 0.1s;
}
.info-block[open] .info-content > *:nth-child(2) {
  animation-delay: 0.2s;
}
@keyframes flyIn {
  to { opacity: 1; transform: translateX(0); }
}

/* Ergebnis-Bilder */
.result-images {
  display: flex; flex-direction: column;
  gap: 1rem; margin-top: 20px;
}
.result-image {
  width: 400px; height: auto; border-radius: 4px;
  cursor: pointer;
}

/* Discord-Link */
.discord-link a {
  color: #00b0ff; text-decoration: underline;
  margin-top: 8px; display: inline-block;
}

/* Footer */
footer {
  background-color: rgba(0, 0, 0, 0.9);
  color: white; padding: 13px; text-align: center;
  position: fixed; bottom: 0; width: 100%; z-index: 10;
}

/* Lightbox Overlay */
#lightbox {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex; justify-content: center; align-items: center;
  z-index: 1000; opacity: 0; transition: opacity 0.3s;
}
#lightbox.visible {
  opacity: 1;
}
#lightbox.hidden {
  pointer-events: none;
}
#lightbox-img {
  max-width: 90%; max-height: 90%; border-radius: 4px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
#lightbox-close {
  position: absolute; top: 20px; right: 30px;
  font-size: 2rem; color: white; cursor: pointer;
  user-select: none; z-index: 1001;
}
