/* About Overlay Styles */

.about-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
  padding: 12px 24px;
  font-family: var(--font-mono);
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.about-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  overflow-y: auto;
}

.about-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 40px 100px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.8;
}

.about-close {
  position: fixed;
  top: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
  width: 40px;
  height: 40px;
  font-size: 24px;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.about-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: rotate(90deg);
}

.about-content h1 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #fff;
  font-weight: normal;
}

.about-content h2 {
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: normal;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 10px;
}

.about-content h3 {
  font-size: 18px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: normal;
}

.about-content p {
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.8);
}

.about-content em {
  color: rgba(255, 255, 255, 0.95);
  font-style: italic;
}

.about-content strong {
  color: #fff;
  font-weight: bold;
}

.about-content ul {
  margin: 15px 0;
  padding-left: 30px;
}

.about-content li {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.8);
}

.about-content hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 40px 0;
}

.about-content code {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.95);
}

/* Scrollbar styling */
.about-overlay::-webkit-scrollbar {
  width: 10px;
}

.about-overlay::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
}

.about-overlay::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

.about-overlay::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .about-button {
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    font-size: 12px;
  }
  
  .about-content {
    padding: 80px 20px 80px;
    font-size: 13px;
  }
  
  .about-content h1 {
    font-size: 24px;
  }
  
  .about-content h2 {
    font-size: 20px;
  }
  
  .about-content h3 {
    font-size: 16px;
  }
  
  .about-close {
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
}

/* Fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-overlay.active .about-content {
  animation: fadeIn 0.5s ease-out;
}