* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: radial-gradient(circle at center, #14001f 0%, #000000 80%);
  height: 100vh;
  overflow: hidden;
  color: white;
}

/* Canvas */
canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

/* Zentrierung */
.wrapper {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 3D Perspektive */
.card-container {
  perspective: 1500px;
}

/* Card */
.card {
  width: 650px;
  height: 500px;
  max-width: 95vw;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1.2s ease-in-out;
  border-radius: 40px;
}

/* Halo hinter Card */
.card::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -60px;
  width: calc(100% + 120px);
  height: calc(100% + 120px);
  background: radial-gradient(circle, rgba(180,0,255,0.35), rgba(255,0,255,0.2), transparent 95%);
  border-radius: 60px;
  filter: blur(70px);
  z-index: -1;
  animation: haloPulse 4s ease-in-out infinite;
}

@keyframes haloPulse {
  0%,100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.15); opacity: 0.8; }
}

.card.flipped {
  transform: rotateY(180deg);
}

/* Card Faces */
.card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 40px;
  padding: 40px;
  backface-visibility: hidden;

  /* Glassmorphism */
  background: rgba(25, 0, 40, 0.35);
  backdrop-filter: blur(35px) brightness(3.0);
  border: 1px solid rgba(255,255,255,0.1);

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

.back {
  transform: rotateY(180deg);
  justify-content: center;
}

/* Logo */
.logo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 10px;
}

/* Titel */
h1 {
  margin: 10px 0 20px 0;
  font-size: 28px;
  text-shadow: 0 0 25px #b84dff;
}

/* Buttons */
.buttons {
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  margin: 6px;
  padding: 12px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  color: white;
  transition: 0.3s;
}

.discord { background: #5865F2; }
.instagram { background: linear-gradient(45deg,#f58529,#dd2a7b,#8134af); }
.event { background: #8a2be2; }

.btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px #b84dff;
}

/* Beschreibung */
.description {
  font-size: 0.85rem;
  line-height: 1rem;
}