:root {
  --primary: #6c5ce7;
  --secondary: #00cec9;
  --accent: #fd79a8;
  --text: #f5f6fa;
  --glass: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* Behalte user-select hier, wenn du es global für alle Elemente möchtest */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* Partikel-Hintergrund */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: float 15s infinite linear;
  bottom: -50px; /* Startposition unterhalb des sichtbaren Bereichs */
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.8;
  }

  50% {
    opacity: 0.4;
  }

  100% {
    transform: translateY(-120vh) rotate(720deg);
    opacity: 0.8;
  }
}

/* Neon Glow Effekte */
.glow {
  text-shadow: 0 0 10px currentColor, 0 0 20px currentColor;
}

.primary-glow {
  color: var(--primary);
}

.secondary-glow {
  color: var(--secondary);
}

.accent-glow {
  color: var(--accent);
}

/* Glas-Container */
.container {
  background: var(--glass);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
  padding: 4rem 5rem;
  max-width: 800px;
  width: 90%;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 10;
}

.container::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  animation: shine 6s infinite;
  z-index: -1;
}

@keyframes shine {
  0% {
    left: -50%;
  }

  20%,
  100% {
    left: 150%;
  }
}

h1 {
  font-size: 5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -3px;
  line-height: 1;
  position: relative;
  display: inline-block;
}

h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  animation: underlinePulse 3s infinite;
}

@keyframes underlinePulse {
  0%,
  100% {
    width: 50%;
  }

  50% {
    width: 70%;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
  }
}

p {
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  font-weight: 300;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.feature {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem;
  width: 150px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feature h3 {
  font-size: 1rem;
  font-weight: 700;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: white;
  padding: 1.5rem 3rem;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 10px 30px rgba(108, 92, 231, 0.5);
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
  border: none;
  cursor: pointer;
}

.download-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(108, 92, 231, 0.7);
}

.download-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.download-button:hover::before {
  left: 100%;
}

.version {
  font-size: 1rem;
  opacity: 0.7;
  margin-bottom: 2rem;
}

.small-text {
  font-size: 0.9rem;
  opacity: 0.6;
}

/* Floating Elements */
.floating {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.7;
  z-index: -1;
  animation: floatElement 15s infinite alternate;
}

.floating:nth-child(1) {
  width: 300px;
  height: 300px;
  background: var(--primary);
  top: 10%;
  left: 5%;
}

.floating:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--secondary);
  bottom: 10%;
  right: 5%;
  animation-delay: 3s;
}

.floating:nth-child(3) {
  width: 200px;
  height: 200px;
  background: var(--accent);
  top: 50%;
  right: 15%;
  animation-delay: 5s;
}

@keyframes floatElement {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-50px) rotate(180deg);
  }

  100% {
    transform: translateY(0) rotate(360deg);
  }
}

/* Neuer CSS-Bereich für die mobile Meldung */
.mobile-message-overlay {
  display: none; /* Standardmäßig versteckt */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8); /* Dunkler, halbtransparenter Hintergrund */
  backdrop-filter: blur(10px); /* Der gewünschte Blur-Effekt */
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999; /* Ganz oben platzieren */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  color: var(--text);
  opacity: 0; /* Für den Fade-in Effekt */
  transition: opacity 0.5s ease-in-out;
  /* NEU: WICHTIG! Macht das Overlay transparent für Mausereignisse, wenn es ausgeblendet ist */
  pointer-events: none;
}
.mobile-message-overlay.active {
  /* Neue Klasse für die Aktivierung auf Mobile */
  opacity: 1;
  pointer-events: all; /* Macht es wieder interaktiv, wenn es angezeigt wird */
}

.mobile-message-content {
  background: var(--glass);
  border-radius: 15px;
  padding: 30px;
  max-width: 90%;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.mobile-message-content i {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--accent); /* Oder eine andere passende Farbe */
}

.mobile-message-content h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.mobile-message-content p {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 0;
}


@media (max-width: 768px) {

  .container,
  .particles,
  .floating {
    display: none !important;
  }

  .mobile-message-overlay {
    display: flex;
    opacity: 1;
    pointer-events: all;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 3rem;
  }

  h1 {
    font-size: 3.5rem;
  }

  p {
    font-size: 1.2rem;
  }

  .features {
    gap: 1rem;
  }

  .feature {
    width: 120px;
    padding: 1rem;
  }

  .download-button {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 2rem 1.5rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .features {
    flex-direction: column;
    align-items: center;
  }

  .feature {
    width: 100%;
    max-width: 200px;
  }

  .download-button {
    width: 100%;
    padding: 1rem;
  }

  .floating {
    display: none;
  }
}
