body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #1a1a1a;
  color: #fff;
  overflow: hidden;
  cursor: none;
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.windows-background {
  display: none;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.profile-card {
  background: rgba(18, 18, 18, 0.95);
  border: 1px solid rgba(255, 0, 109, 0.3);
  border-radius: 15px;
  padding: 30px;
  width: 100%;
  max-width: 400px;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(255, 0, 109, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  will-change: transform, opacity;
  transform: translateZ(0); /* Force GPU acceleration */
}

.profile-card.visible {
  animation: slideIn 1s ease forwards;
}

/* Optimized animation keyframes */
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translate(-50%, calc(-50% - 30px)) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.profile-card:hover {
  border-color: rgba(255, 0, 109, 0.4);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(255, 0, 109, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%) scale(1.02);
}

.terminal-header {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 0, 109, 0.3);
  background: rgba(15, 15, 15, 0.98);
}

.terminal-title {
  color: #FF006D;
  font-size: 18px;
  font-weight: bold;
  font-family: 'Consolas', monospace;
  text-shadow: 0 0 5px rgba(255, 0, 109, 0.5);
  letter-spacing: 1px;
}

.profile-content {
  text-align: center;
}

.profile-header {
  margin-bottom: 30px;
}

.profile-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 3px solid rgba(255, 0, 109, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  animation: fadeIn 1s ease 0.5s forwards;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(255, 0, 109, 0.2);
  will-change: transform, opacity;
  transform: translateZ(0);
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.profile-image:hover {
  transform: scale(1.08) rotate(2deg);
  border-color: rgba(255, 0, 109, 0.6);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(255, 0, 109, 0.3);
}

.typing-text {
  font-family: 'Consolas', monospace;
  font-size: 18px;
  margin: 10px 0;
  color: #8b8b8b;
  min-height: 24px;
  position: relative;
}

.typing-text::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 0;
  width: 2px;
  height: 100%;
  background: #FF006D;
  animation: blink 1s infinite;
}

.prompt {
  color: #FF006D;
  margin-right: 10px;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
  opacity: 0;
  animation: fadeInUp 1s ease 1s forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.social-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background: rgba(25, 25, 25, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 0, 109, 0.15);
  border-radius: 8px;
  color: #8b8b8b;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Consolas', monospace;
  position: relative;
  overflow: hidden;
  will-change: transform;
  transform: translateZ(0);
  cursor: pointer;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 109, 0.1), transparent);
  transition: left 0.3s ease;
  will-change: left;
}

.social-link:hover {
  background: rgba(35, 35, 35, 0.7);
  border-color: rgba(255, 0, 109, 0.4);
  color: #fff;
  transform: translateX(8px) translateY(-2px);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.3),
    0 0 15px rgba(255, 0, 109, 0.2);
}

.social-link:hover::before {
  left: 100%;
}

.social-link i {
  font-size: 20px;
  width: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.social-link:hover i {
  transform: scale(1.2);
  color: #FF006D;
}

.console {
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 0, 109, 0.2);
  border-radius: 15px;
  width: 100%;
  max-width: 600px;
  height: 400px;
  position: fixed;
  right: -600px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(255, 0, 109, 0.1);
  display: flex;
  flex-direction: column;
  will-change: transform, right;
  transform: translateZ(0);
}

.console-header {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  background: rgba(22, 22, 22, 0.9);
  border-radius: 10px 10px 0 0;
  border-bottom: 1px solid rgba(255, 0, 109, 0.3);
}

.console-buttons {
  display: flex;
  gap: 8px;
  margin-right: 15px;
}

.console-buttons span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f56;
}

.console-buttons span:nth-child(2) {
  background: #ffbd2e;
}

.console-buttons span:nth-child(3) {
  background: #FF006D;
}

.console-title {
  color: #8b8b8b;
  font-size: 14px;
  font-family: 'Consolas', monospace;
}

.console-content {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  font-family: 'Consolas', monospace;
  font-size: 14px;
  color: #8b8b8b;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 0 0 15px 15px;
}

.console-content::-webkit-scrollbar {
  width: 8px;
}

.console-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.console-content::-webkit-scrollbar-thumb {
  background: rgba(255, 0, 109, 0.3);
  border-radius: 4px;
}

.console-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 0, 109, 0.5);
}

.command-line {
  margin-bottom: 10px;
  padding: 5px 0;
  border-left: 2px solid transparent;
  transition: all 0.3s ease;
}

.command-line:hover {
  border-left-color: rgba(255, 0, 109, 0.5);
  background: rgba(255, 0, 109, 0.05);
  padding-left: 10px;
}

.command {
  color: #fff;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.command-output {
  color: #FF006D;
  margin: 10px 0;
  white-space: pre-line;
  padding: 10px;
  background: rgba(255, 0, 109, 0.05);
  border-radius: 5px;
  border-left: 3px solid #FF006D;
  animation: fadeInUp 0.5s ease;
}

.console-input {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: #FF006D;
  margin-left: 5px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1a1a1a;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: pointer;
}

#enter-text {
  font-family: 'Consolas', monospace;
  font-size: 24px;
  color: #FF006D;
  animation: blink 1s infinite;
}

/* Cursor im Stil eines normalen Mauszeigers */
.cursor-dot {
  width: 16px;
  height: 20px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="20" viewBox="0 0 16 20"><path fill="%23FF006D" d="M0,0 L16,8 L8,10 L14,18 L10,20 L4,12 L0,16 Z"/></svg>') no-repeat;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(0, 0);
  transition: transform 0.05s ease;
}

/* Hover-Effekt für Cursor */
.social-link:hover ~ .cursor-dot,
.profile-image:hover ~ .cursor-dot,
.play-button:hover ~ .cursor-dot {
  transform: scale(1.2);
}

/* Modern effects - bereits oben definiert */

.terminal-title, .console-title {
  color: #FF006D;
  text-shadow: 0 0 5px rgba(255, 0, 109, 0.5);
}

/* Enhanced typing animation */
.typing-text {
  font-family: 'Consolas', monospace;
  font-size: 18px;
  margin: 10px 0;
  color: #8b8b8b;
  min-height: 24px;
  position: relative;
}

.typing-text::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 0;
  width: 2px;
  height: 100%;
  background: #FF006D;
  animation: blink 1s infinite;
}

/* Enhanced console styling */
.console-content {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  font-family: 'Consolas', monospace;
  font-size: 14px;
  color: #8b8b8b;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 0 0 15px 15px;
}

.console-content::-webkit-scrollbar {
  width: 8px;
}

.console-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.console-content::-webkit-scrollbar-thumb {
  background: rgba(255, 0, 109, 0.3);
  border-radius: 4px;
}

.console-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 0, 109, 0.5);
}

/* Enhanced command output */
.command-line {
  margin-bottom: 10px;
  padding: 5px 0;
  border-left: 2px solid transparent;
  transition: all 0.3s ease;
}

.command-line:hover {
  border-left-color: rgba(255, 0, 109, 0.5);
  background: rgba(255, 0, 109, 0.05);
  padding-left: 10px;
}

.command {
  color: #fff;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.command-output {
  color: #FF006D;
  margin: 10px 0;
  white-space: pre-line;
  padding: 10px;
  background: rgba(255, 0, 109, 0.05);
  border-radius: 5px;
  border-left: 3px solid #FF006D;
  animation: fadeInUp 0.5s ease;
}





/* Hintergrund-Varianten */
/* Variante 1: Radial-Verlauf (kreisförmig) */
.background-variant-1 {
  background: 
    radial-gradient(circle at 50% 50%, rgba(255, 0, 109, 0.7) 0%, rgba(0, 0, 0, 0.9) 70%);
}

/* Variante 2: Diagonaler Verlauf */
.background-variant-2 {
  background: 
    linear-gradient(135deg, rgba(255, 0, 109, 0.7) 0%, rgba(0, 0, 0, 0.9) 70%);
}

/* Variante 3: Verwischter Verlauf mit mehreren Radial-Gradienten */
.background-variant-3 {
  background: 
    radial-gradient(circle at 30% 40%, rgba(255, 0, 109, 0.6) 0%, rgba(0, 0, 0, 0.8) 60%),
    radial-gradient(circle at 70% 60%, rgba(255, 0, 109, 0.5) 0%, rgba(0, 0, 0, 0.8) 70%);
}

/* Variante 4: Verwischter Verlauf mit mehr Tiefe */
.background-variant-4 {
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 0, 109, 0.5) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 0, 109, 0.4) 0%, transparent 50%),
    linear-gradient(to bottom right, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.9));
}

/* Variante 5: Verwischter Verlauf mit Textur-Effekt */
.background-variant-5 {
  background: 
    radial-gradient(ellipse at top left, rgba(255, 0, 109, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(255, 0, 109, 0.4) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(20, 20, 20, 0.9));
}

/* Enhanced credits */
.credits {
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: #666;
  font-size: 14px;
  font-family: 'Segoe UI', sans-serif;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.credits:hover {
  opacity: 1;
  color: #FF006D;
  transform: translateY(-2px);
}

.source-link {
  background: rgba(25, 25, 25, 0.5);
  border: 1px solid rgba(255, 0, 109, 0.15);
  transition: all 0.3s ease;
}

.source-link:hover {
  background: rgba(35, 35, 35, 0.7);
  border-color: rgba(255, 0, 109, 0.4);
}

.source-link i {
  color: #FF006D;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    padding: 10px;
  }
  
  .profile-card {
    max-width: 100%;
    transform: none;
    margin: 10px;
  }
  
  .console {
    position: fixed;
    right: -100%;
    width: 100%;
    height: 50vh;
    top: auto;
    bottom: 0;
    transform: none;
    border-radius: 15px 15px 0 0;
    z-index: 1000;
  }

  .console.active {
    right: 0;
  }

  .social-link {
    padding: 12px 15px;
    margin: 5px 0;
  }
  
  .profile-image {
    width: 120px;
    height: 120px;
  }
  
  .typing-text {
    font-size: 16px;
  }
  
  .cursor-dot {
    display: none !important; /* Completely hide custom cursor on mobile */
  }
  
  body {
    cursor: auto !important; /* Restore default cursor on mobile */
  }
  
  /* Ensure all elements show default cursor on mobile */
  a, button, .social-link, .play-button, #overlay, * {
    cursor: auto !important;
  }
}

/* Visitor Counter Styling */
.visitor-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding: 15px;
  background: rgba(25, 25, 25, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 0, 109, 0.15);
  border-radius: 10px;
  color: #8b8b8b;
  transition: all 0.3s ease;
  cursor: default;
  pointer-events: none;
}

.visitor-counter:hover {
  background: rgba(35, 35, 35, 0.7);
  border-color: rgba(255, 0, 109, 0.4);
}

.visitor-counter i {
  color: #FF006D;
  font-size: 18px;
  animation: pulse 2s infinite;
}

.visitor-counter #visitor-count {
  font-family: 'Consolas', monospace;
  font-size: 18px;
  font-weight: bold;
  color: #FF006D;
  text-shadow: 0 0 10px rgba(255, 0, 109, 0.3);
}

@keyframes pulse {
  0% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.7;
  }
}

#audio-background {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  display: none; /* Standardmäßig ausgeblendet, wird nach Initialisierung angezeigt */
}

.audio-container {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(20, 20, 20, 0.85);
  border-radius: 16px;
  border: 1px solid rgba(255, 0, 109, 0.2);
  overflow: hidden;
  width: 32px;
  transition: width 0.3s ease;
}

.audio-container:hover {
  width: 202px; /* 32px (button) + 170px (text) */
  border-color: rgba(255, 0, 109, 0.4);
}

.audio-info {
  color: #8b8b8b;
  padding: 0 15px;
  height: 32px;
  line-height: 32px;
  font-size: 12px;
  font-family: 'Consolas', monospace;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.audio-container:hover .audio-info {
  opacity: 1;
}

.play-button {
  background: transparent;
  border: none;
  color: #8b8b8b;
  min-width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.play-button:hover {
  color: #FF006D;
}

.play-button:focus {
  outline: none;
}

.discord-copy {
  position: relative;
}

.copy-tooltip {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 0, 109, 0.95);
  color: #fff;
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 13px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 10000;
  white-space: nowrap;
  box-shadow: 0 5px 15px rgba(255, 0, 109, 0.4);
}


.credits {
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: #666;
  font-size: 14px;
  font-family: 'Segoe UI', sans-serif;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.credits:hover {
  opacity: 1;
}

.source-link {
  background: rgba(25, 25, 25, 0.5);
  border: 1px solid rgba(255, 0, 109, 0.15);
  transition: all 0.3s ease;
}

.source-link:hover {
  background: rgba(35, 35, 35, 0.7);
  border-color: rgba(255, 0, 109, 0.4);
}

.source-link i {
  color: #FF006D;
}

/* Enhanced focus states for accessibility */
.social-link:focus,
.play-button:focus {
  outline: 2px solid #FF006D;
  outline-offset: 2px;
}

/* Hide cursor on interactive elements */
a, button, .social-link, .play-button, #overlay {
  cursor: none !important;
}


