@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideOutToTop {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-30px);
  }
}

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

#about-page {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  color: #fff;
  display: flex;
  z-index: 10000;
  overflow: hidden;
  animation: fadeIn 0.3s ease;
}

#about-page.closing {
  animation: fadeIn 0.3s ease reverse;
}

#about-tab {
  width: 70%;
}


.about-close-btn {
  position: fixed;
  top: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 24px;
  cursor: pointer;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: slideInFromTop 0.5s ease forwards;
  animation-delay: 0.1s;
  opacity: 0;
}

#about-page.closing .about-close-btn {
  animation: slideOutToTop 0.4s ease forwards;
}

.about-close-btn:hover {
  color: #4ece79;
  border-color: #4ece79;
  transform: scale(1.1) rotate(90deg);
  background: rgba(78, 206, 121, 0.1);
}


.about-sidebar {
  width: 280px;
  background-color: #000;
  padding: 100px 40px 40px 60px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  animation: slideInFromTop 0.6s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

#about-page.closing .about-sidebar {
  animation: slideOutToTop 0.5s ease forwards;
}

.about-menu {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.menu-item {
  font-family: 'DINProCondensedRegular', Helvetica, sans-serif;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  transition: color 0.3s ease;
  cursor: pointer;
}

.menu-item:hover,
.menu-item.active {
  color: #fff;
}


.about-content {
  flex: 1;
  padding: 60px 50px 30px 40px;
  overflow-y: auto;
  max-width: 900px;
  animation: slideInFromTop 0.7s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

#about-page.closing .about-content {
  animation: slideOutToTop 0.6s ease forwards;
}

.about-text {
  max-width: 800px;
}


.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}


.about-title {
  color: #b7b7b7;
  font-family: 'DINNextRoundedLTProLight', Helvetica, sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 40px;
  letter-spacing: 0.3px;
  animation: slideInFromTop 0.5s ease forwards;
  animation-delay: 0.5s;
  opacity: 0;
}

#about-page.closing .about-title {
  animation: slideOutToTop 0.3s ease forwards;
  animation-delay: 0s;
}

.about-paragraph {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 30px;
  letter-spacing: 0.3px;
  animation: slideInFromTop 0.5s ease forwards;
  opacity: 0;
}

.about-paragraph:nth-child(2) {
  animation-delay: 0.6s;
}

.about-paragraph:nth-child(3) {
  animation-delay: 0.7s;
}

.about-paragraph:nth-child(4) {
  animation-delay: 0.8s;
}

.about-paragraph:nth-child(5) {
  animation-delay: 0.9s;
}

#about-page.closing .about-paragraph {
  animation: slideOutToTop 0.3s ease forwards;
  animation-delay: 0s;
}


.credits-text {
  max-width: 800px;
}

.credit-section {
  margin-bottom: 25px;
  animation: slideInFromTop 0.4s ease forwards;
  opacity: 0;
}

.credit-section:nth-child(1) { animation-delay: 0.5s; }
.credit-section:nth-child(2) { animation-delay: 0.55s; }
.credit-section:nth-child(3) { animation-delay: 0.6s; }
.credit-section:nth-child(4) { animation-delay: 0.65s; }
.credit-section:nth-child(5) { animation-delay: 0.7s; }
.credit-section:nth-child(6) { animation-delay: 0.75s; }
.credit-section:nth-child(7) { animation-delay: 0.8s; }
.credit-section:nth-child(8) { animation-delay: 0.85s; }
.credit-section:nth-child(9) { animation-delay: 0.9s; }
.credit-section:nth-child(10) { animation-delay: 0.95s; }
.credit-section:nth-child(n+11) { animation-delay: 1s; }

#about-page.closing .credit-section {
  animation: slideOutToTop 0.2s ease forwards;
  animation-delay: 0s;
}

.credit-role {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideOutToTop {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-30px);
  }
}

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

#about-page {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  color: #fff;
  display: flex;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

#about-page.closing {
  animation: fadeIn 0.3s ease reverse;
}

#about-tab {
  width: 70%;
}


.about-close-btn {
  position: fixed;
  top: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 24px;
  cursor: pointer;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: slideInFromTop 0.5s ease forwards;
  animation-delay: 0.1s;
  opacity: 0;
}

#about-page.closing .about-close-btn {
  animation: slideOutToTop 0.4s ease forwards;
}

.about-close-btn:hover {
  color: #4ece79;
  border-color: #4ece79;
  transform: scale(1.1) rotate(90deg);
  background: rgba(78, 206, 121, 0.1);
}


.about-sidebar {
  width: 280px;
  background-color: #000;
  padding: 100px 40px 40px 60px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  animation: slideInFromTop 0.6s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

#about-page.closing .about-sidebar {
  animation: slideOutToTop 0.5s ease forwards;
}

.about-menu {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.menu-item {
  font-family: 'DINProCondensedRegular', Helvetica, sans-serif;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  transition: color 0.3s ease;
  cursor: pointer;
}

.menu-item:hover,
.menu-item.active {
  color: #fff;
}

/* Main Content Area with Animation */
.about-content {
  flex: 1;
  padding: 60px 50px 30px 40px;
  overflow-y: auto;
  max-width: 900px;
  animation: slideInFromTop 0.7s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

#about-page.closing .about-content {
  animation: slideOutToTop 0.6s ease forwards;
}

.about-text {
  max-width: 800px;
}


.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}


.about-title {
  color: #b7b7b7;
  font-family: 'DINNextRoundedLTProLight', Helvetica, sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 40px;
  letter-spacing: 0.3px;
  animation: slideInFromTop 0.5s ease forwards;
  animation-delay: 0.5s;
  opacity: 0;
}

#about-page.closing .about-title {
  animation: slideOutToTop 0.3s ease forwards;
  animation-delay: 0s;
}

.about-paragraph {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 30px;
  letter-spacing: 0.3px;
  animation: slideInFromTop 0.5s ease forwards;
  opacity: 0;
}

.about-paragraph:nth-child(2) {
  animation-delay: 0.6s;
}

.about-paragraph:nth-child(3) {
  animation-delay: 0.7s;
}

.about-paragraph:nth-child(4) {
  animation-delay: 0.8s;
}

.about-paragraph:nth-child(5) {
  animation-delay: 0.9s;
}

#about-page.closing .about-paragraph {
  animation: slideOutToTop 0.3s ease forwards;
  animation-delay: 0s;
}


.credits-text {
  max-width: 800px;
}

.credit-section {
  margin-bottom: 25px;
  animation: slideInFromTop 0.4s ease forwards;
  opacity: 0;
}

.credit-section:nth-child(1) { animation-delay: 0.5s; }
.credit-section:nth-child(2) { animation-delay: 0.55s; }
.credit-section:nth-child(3) { animation-delay: 0.6s; }
.credit-section:nth-child(4) { animation-delay: 0.65s; }
.credit-section:nth-child(5) { animation-delay: 0.7s; }
.credit-section:nth-child(6) { animation-delay: 0.75s; }
.credit-section:nth-child(7) { animation-delay: 0.8s; }
.credit-section:nth-child(8) { animation-delay: 0.85s; }
.credit-section:nth-child(9) { animation-delay: 0.9s; }
.credit-section:nth-child(10) { animation-delay: 0.95s; }
.credit-section:nth-child(n+11) { animation-delay: 1s; }

#about-page.closing .credit-section {
  animation: slideOutToTop 0.2s ease forwards;
  animation-delay: 0s;
}

.credit-role {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}

.credit-name {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  letter-spacing: 0.3px;
}

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

.about-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

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

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


@media (max-width: 1024px) {
  .about-sidebar {
    width: 220px;
    padding: 80px 30px 30px 40px;
  }

  .about-content {
    padding: 80px 50px 40px 50px;
  }

  .about-title {
    font-size: 24px;
  }

  .about-paragraph {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  #about-tab {
    width: 100%;
  }

  #about-page {
    flex-direction: column;
  }

  .about-sidebar {
    width: 100%;
    padding: 80px 20px 20px 20px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .about-menu {
    flex-direction: row;
    gap: 20px;
    justify-content: center;
  }

  .menu-item {
    font-size: 16px;
  }

  .about-content {
    padding: 40px 30px 30px 30px;
    max-width: 100%;
  }

  .about-title {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .about-paragraph {
    font-size: 14px;
  }

  .about-close-btn {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .about-sidebar {
    padding: 70px 15px 15px 15px;
  }

  .about-content {
    padding: 30px 20px 20px 20px;
  }

  .about-title {
    font-size: 20px;
    line-height: 1.5;
  }

  .about-paragraph {
    font-size: 14px;
    line-height: 1.7;
  }

  .menu-item {
    font-size: 14px;
    letter-spacing: 2px;
  }
}
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}

.credit-name {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  letter-spacing: 0.3px;
}


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

.about-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

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

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


@media (max-width: 1024px) {
  .about-sidebar {
    width: 220px;
    padding: 80px 30px 30px 40px;
  }

  .about-content {
    padding: 80px 50px 40px 50px;
  }

  .about-title {
    font-size: 24px;
  }

  .about-paragraph {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  #about-tab {
    width: 100%;
  }

  #about-page {
    flex-direction: column;
  }

  .about-sidebar {
    width: 100%;
    padding: 80px 20px 20px 20px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .about-menu {
    flex-direction: row;
    gap: 20px;
    justify-content: center;
  }

  .menu-item {
    font-size: 16px;
  }

  .about-content {
    padding: 40px 30px 30px 30px;
    max-width: 100%;
  }

  .about-title {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .about-paragraph {
    font-size: 14px;
  }

  .about-close-btn {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .about-sidebar {
    padding: 70px 15px 15px 15px;
  }

  .about-content {
    padding: 30px 20px 20px 20px;
  }

  .about-title {
    font-size: 20px;
    line-height: 1.5;
  }

  .about-paragraph {
    font-size: 14px;
    line-height: 1.7;
  }

  .menu-item {
    font-size: 14px;
    letter-spacing: 2px;
  }
}