@font-face {
  font-family: 'Bahnschrift';
  src: local('Bahnschrift Condensed');
  font-stretch: condensed;
}

body {
        margin: 0;
        padding: 0;
        background: radial-gradient(circle at center, #1a1a2e 0%, #000000 100%);
        color: #ffffff;
        font-family: 'Space Grotesk', sans-serif;
        height: 100vh;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        position: relative;
      }

      #root {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
      }

      .title-image {
        position: relative;
        z-index: 1;
        max-width: 400px;
        opacity: 1;
        transition: all 0.5s ease;
        filter: brightness(8) contrast(1.1);
        mix-blend-mode: lighten;
        animation: float 6s ease-in-out infinite;
      }

      .title-image.menu-active {
        opacity: 0;
        transform: scale(0.9);
      }

      @keyframes float {
        0% { transform: translateY(0px); }
        50% { transform: translateY(-20px); }
        100% { transform: translateY(0px); }
      }

      .title-shine {
        position: relative;
        overflow: hidden;
        filter: brightness(12) contrast(1.2) !important;
        animation: pulse 2s ease-in-out infinite;
      }

      @keyframes pulse {
        0% { filter: brightness(12) contrast(1.2); }
        50% { filter: brightness(15) contrast(1.3); }
        100% { filter: brightness(12) contrast(1.2); }
      }

      .title-shine::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(
          45deg,
          transparent 0%,
          rgba(255, 255, 255, 1) 30%,
          rgba(255, 255, 255, 1) 50%,
          rgba(255, 255, 255, 1) 70%,
          transparent 100%
        );
        transform: rotate(0deg);
        animation: shine-sweep 2s infinite;
      }

      @keyframes shine-sweep {
        0% {
          transform: rotate(0deg) translateY(-50%) translateX(-50%);
        }
        100% {
          transform: rotate(360deg) translateY(-50%) translateX(-50%);
        }
      }

      .menu-button {
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        z-index: 9999;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        background: none;
        border: none;
        padding: 0;
        margin: 0;
      }

      #menuButton {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        transition: transform 0.3s ease;
      }

      #menuButton:hover {
        transform: scale(1.1);
      }

      #menuButton svg {
        width: 24px;
        height: 24px;
        stroke: white;
        stroke-width: 2;
        transition: stroke-width 0.3s ease;
      }

      #menuButton:hover svg {
        stroke-width: 2.5;
      }

      .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(26, 26, 46, 0.6) 90%);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 10000;
        opacity: 0;
        transition: all 0.5s ease;
        backdrop-filter: blur(10px);
      }

      .menu-overlay.active {
        display: flex;
        opacity: 1;
      }

      .menu-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4rem;
        transform: translateY(30px);
        opacity: 0;
        transition: all 0.5s ease;
      }

      .menu-overlay.active .menu-content {
        transform: translateY(0);
        opacity: 1;
      }

      .menu-content a {
        color: white;
        text-decoration: none;
        font-size: 2.5rem;
        letter-spacing: 4px;
        transition: all 0.3s ease;
        position: relative;
        padding: 10px 20px;
        text-transform: uppercase;
        font-weight: 300;
        opacity: 0.8;
        font-family: 'Space Grotesk', sans-serif;
      }

      .menu-content a::before {
        content: '';
        position: absolute;
        width: 0%;
        height: 1px;
        bottom: 0;
        left: 50%;
        background: linear-gradient(90deg, transparent, #fff, transparent);
        transition: all 0.3s ease;
      }

      .menu-content a::after {
        content: '';
        position: absolute;
        width: 0%;
        height: 1px;
        top: 0;
        right: 50%;
        background: linear-gradient(90deg, transparent, #fff, transparent);
        transition: all 0.3s ease;
      }

      .menu-content a:hover {
        text-decoration: none;
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
        letter-spacing: 6px;
        transform: scale(1.1);
      }

      .menu-content a:hover::before {
        width: 100%;
        left: 0;
      }

      .menu-content a:hover::after {
        width: 100%;
        right: 0;
      }

      .close-button {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        color: white;
        font-size: 2.5rem;
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 10px;
        opacity: 0.8;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
      }

      .close-button:hover {
        transform: rotate(180deg);
        opacity: 1;
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
      }

      @keyframes menuItemFadeIn {
        from {
          opacity: 0;
          transform: translateY(20px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      .menu-content a {
        animation: menuItemFadeIn 0.5s ease forwards;
        opacity: 0;
      }

      .menu-content a:nth-child(1) { animation-delay: 0.1s; }
      .menu-content a:nth-child(2) { animation-delay: 0.2s; }
      .menu-content a:nth-child(3) { animation-delay: 0.3s; }

      .bottom-text {
        position: fixed;
        bottom: 60px;
        width: 100%;
        text-align: center;
        opacity: 0;
        animation: fadeIn 1s ease 1s forwards;
      }

      .bottom-text a {
        color: white;
        text-decoration: none;
        margin: 0 10px;
        font-weight: 300;
        letter-spacing: 1px;
        position: relative;
        transition: all 0.3s ease;
      }

      .bottom-text a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 0.5px;
        bottom: -2px;
        left: 0;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
        transition: all 0.3s ease;
      }

      .bottom-text a:hover {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
      }

      .bottom-text a:hover::after {
        width: 100%;
      }

      .copyright {
        position: fixed;
        bottom: 20px;
        width: 100%;
        text-align: center;
        opacity: 0;
        animation: fadeIn 1s ease 1s forwards;
        font-weight: 300;
        letter-spacing: 1px;
        font-size: 0.9rem;
      }

      .copyright img {
        max-width: 100px;
        height: auto;
      }

      @keyframes fadeIn {
        from {
          opacity: 0;
        }
        to {
          opacity: 1;
        }
      }
      @keyframes copyrightFadeIn {
        from {
          opacity: 0;
        }
        to {
          opacity: 0.7;
        }
      }

      #root, .menu-button, .bottom-text, .copyright {
        position: relative;
        z-index: 5;
      }

      #starsCanvas {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        opacity: 1;
      }

      canvas {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        opacity: 1;
        background-color: transparent;
        pointer-events: none;
      }

      #trailCanvas {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
        pointer-events: none;
      }

      #root {
        position: relative;
        z-index: 5;
        pointer-events: none;
      }

      .title-image {
        pointer-events: none;
      }

#root {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 5;
  pointer-events: none;
}

.title-image {
  position: relative;
  z-index: 1;
  max-width: 400px;
  opacity: 1;
  transition: all 0.5s ease;
  filter: brightness(8) contrast(1.1);
  mix-blend-mode: lighten;
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

.title-image.menu-active {
  opacity: 0;
  transform: scale(0.9);
}

.impressum-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  text-align: center;
}

.impressum-content h1 {
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 8px;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.impressum-content h2 {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 4px;
  margin-top: 3rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  opacity: 1;
}

.impressum-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 300;
  letter-spacing: 1px;
  opacity: 0.8;
}

.impressum-content .subtitle {
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

.impressum-content .address {
  margin-bottom: 2rem;
}

.impressum-content a {
  color: white;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.impressum-content a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0.5px;
  bottom: -2px;
  left: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  transition: all 0.3s ease;
}

.impressum-content a:hover {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.impressum-content a:hover::after {
  width: 100%;
}

.subtitle {
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

.address {
  margin-bottom: 2rem;
}

.bottom-text {
  font-size: 1.3rem;
  position: fixed;
  bottom: 60px;
  width: 100%;
  text-align: center;
  opacity: 0;
  animation: fadeIn 1s ease 1s forwards;
}

.bottom-text a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
  font-weight: 300;
  letter-spacing: 1px;
  position: relative;
  transition: all 0.3s ease;
}

.bottom-text a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0.5px;
  bottom: -2px;
  left: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  transition: all 0.3s ease;
}

.bottom-text a:hover {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.bottom-text a:hover::after {
  width: 100%;
}

.copyright {
  position: fixed;
  bottom: 20px;
  width: 100%;
  text-align: center;
  opacity: 0;
  animation: fadeIn 1s ease 1s forwards;
  font-weight: 300;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 1;
  background-color: transparent;
  pointer-events: none;
}

#starsCanvas {
  z-index: 0;
}

#particleCanvas {
  z-index: 2;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 0.8; transform: translateY(0); }
}

@keyframes copyrightFadeIn {
  from { opacity: 0; }
  to { opacity: 0.4; }
}

@keyframes menuItemFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-content a {
  animation: menuItemFadeIn 0.5s ease forwards;
  opacity: 0;
}

.menu-content a:nth-child(1) { animation-delay: 0.1s; }
.menu-content a:nth-child(2) { animation-delay: 0.2s; }
.menu-content a:nth-child(3) { animation-delay: 0.3s; }

.login-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  max-width: 400px;
  margin: 0 auto;
  padding: 0 20px;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.login-content h1 {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 6px;
  margin-bottom: 3rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
  width: 100%;
}

.form-group input {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.login-button {
  width: 100%;
  margin-top: 1rem;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  box-sizing: border-box;
}

.login-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.login-links {
  margin-top: 2rem;
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.login-links a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.7;
  transition: all 0.3s ease;
  position: relative;
}

.login-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0.5px;
  bottom: -2px;
  left: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  transition: all 0.3s ease;
}

.login-links a:hover {
  opacity: 1;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.login-links a:hover::after {
  width: 100%;
}

.mission-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  text-align: center;
}

.mission-content h1 {
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 8px;
  margin-bottom: 3rem;
  text-transform: uppercase;
}

.mission-text {
  font-size: 1.5rem;
  line-height: 1.6;
  font-weight: 300;
  letter-spacing: 1px;
  opacity: 0.8;
  max-width: 700px;
}
