/* Nyan Cat Modal Styles */
.nyan-cat-container {
  position: relative;
  width: 100%;
  height: 180px;
  background-color: #003366;
  background: linear-gradient(to bottom, #000033 0%, #0066cc 100%);
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.nyan-cat-container:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 3px),
    radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 2px),
    radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 3px);
  background-size: 550px 550px, 350px 350px, 250px 250px;
  background-position: 0 0, 40px 60px, 130px 270px;
  z-index: 1;
}

.nyan-unit {
  position: absolute;
  left: -300px;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 100px;
  animation: nyan-unit-fly 8s linear infinite;
  z-index: 3;
}

.nyan-cat {
  position: absolute;
  left: 120px;
  top: 50%;
  transform: translateY(-50%);
  width: 110px;
  height: 75px;
  background-image: url('../../img/neko-cat.gif');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 3;
}

.rainbow {
  position: absolute;
  top: 50%;
  left: 0;
  height: 36px;
  width: 330px;
  transform: translateY(-40%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.rainbow-stripe {
  height: 16.666%;
  width: 100%;
  box-shadow: 0 0 10px #ffffff00;
  position: relative;
  transform-origin: left center;
  border-radius: 0 4px 4px 0;
  display: flex;
}

/* Einzelne Segmente für jeden Regenbogenstreifen */
.rainbow-segment {
  width: 20px;
  height: 100%;
  margin-right: 2px;
  border-radius: 0 2px 2px 0;
}

/* Verbesserte wellenförmige Animation für die Regenbogenstreifen */
@keyframes rainbow-segment-wave {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-6px);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(6px);
  }
  100% {
    transform: translateY(0);
  }
}

.rainbow-stripe:nth-child(1) { 
  background-color: transparent; 
}
.rainbow-stripe:nth-child(2) { 
  background-color: transparent; 
}
.rainbow-stripe:nth-child(3) { 
  background-color: transparent; 
}
.rainbow-stripe:nth-child(4) { 
  background-color: transparent; 
}
.rainbow-stripe:nth-child(5) { 
  background-color: transparent; 
}
.rainbow-stripe:nth-child(6) { 
  background-color: transparent; 
}

@keyframes nyan-unit-fly {
  0% {
    left: -300px;
  }
  100% {
    left: calc(100% + 50px);
  }
}

@keyframes rainbow-pulse {
  0% {
    opacity: 0.7;
    transform: scaleX(0.98);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
  100% {
    opacity: 0.7;
    transform: scaleX(0.98);
  }
}

.developer-info {
  padding: 25px;
  background-color: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.developer-info h4 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #2c3e50;
  font-size: 1.3rem;
  border-bottom: 2px solid #e8f4fd;
  padding-bottom: 10px;
}

.developer-info p {
  margin-bottom: 15px;
  line-height: 1.5;
}

.developer-info a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: bold;
}

.developer-info a:hover {
  text-decoration: underline;
  color: #2980b9;
}

.message-box {
  background-color: #e8f4fd;
  border-left: 4px solid #0079C7;
  padding: 15px 20px;
  margin-top: 20px;
  border-radius: 0 8px 8px 0;
  position: relative;
}

.message-box:before {
  content: '\f10d';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: rgba(52, 152, 219, 0.2);
  font-size: 24px;
  position: absolute;
  top: 10px;
  left: 10px;
}

.message-box p {
  margin: 10px 0;
  position: relative;
  z-index: 1;
}

/* Anpassungen für verschiedene Bildschirmgrößen */
@media (max-width: 768px) {
  .nyan-cat-container {
    height: 150px;
  }
  
  .developer-info {
    padding: 15px;
  }
} 