* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
     overflow: hidden;
     height: 100%;
     background-color: #000; /* Fix gegen Artefakt */
     touch-action: none; /* verhindert Scrollen/Gesten */
}

body {
  font-family: 'Poppins', sans-serif;
  background: #000;
  color: #fff;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow: hidden;
  position: relative;

  height: 100%;
  background-color: #000; /* Fix gegen Artefakt */
  touch-action: none; /* verhindert Scrollen/Gesten */
}

/* Hintergrund-Elemente */
.bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  contain: layout style paint;
  will-change: transform;
  backface-visibility: hidden;
}

.bg-red {
  background: rgba(255, 0, 0, 0.7);
  width: 400px; height: 400px;
  top: -100px; left: -100px;
  animation: float-top-left 15s infinite ease-in-out alternate;
}

.bg-white {
  background: rgba(255, 255, 255, 0.8);
  width: 300px; height: 300px;
  bottom: -50px; right: -50px;
  animation: float-bottom-right 15s infinite ease-in-out alternate;
  animation-delay: 3s;
}

.bg-dark {
  background: rgba(50, 50, 50, 0.9);
  width: 280px; height: 280px;
  top: 40%; left: 65%;
  animation: float-center 15s infinite ease-in-out alternate;
  animation-delay: 6s;
}

/* Separate animations for each position */
@keyframes float-top-left {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(30px, -40px) scale(1.1); }
  100% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes float-bottom-right {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-20px, 30px) scale(1.1); } /* Moves away from edge */
  100% { transform: translate(15px, -15px) scale(0.95); }
}

@keyframes float-center {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-15px, 25px) scale(1.1); }
  100% { transform: translate(20px, -30px) scale(0.95); }
}

/* Glas-Effekt Box */
.glass-box {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 50px 35px;
  text-align: center;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  max-width: 650px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 1;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
  animation: fadeIn 1.5s ease forwards;
  opacity: 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #ff4d4d;
  font-weight: 400;
}

p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  font-weight: 300;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, #ff0000, #cc0000);
  color: #fff;
  padding: 16px 35px;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
  animation: fadeIn 2s ease forwards;
  opacity: 0;
  animation-delay: 0.5s;
}

.btn:hover {
  background: linear-gradient(135deg, #cc0000, #990000);
  transform: scale(1.07);
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.8);
}

footer {
  margin-top: 25px;
  font-size: 0.8rem;
  color: #ccc;
}

/* --- Responsives Design --- */
@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.2rem; }
  p  { font-size: 1rem; }
  .btn { font-size: 1.1rem; padding: 14px 28px; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1rem; }
  p  { font-size: 0.95rem; }
  .btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    font-size: 1rem;
    padding: 14px;
  }
}