/* Footer Section */
.footer-section {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  padding: 4rem 2rem 2rem;
  margin-top: 0;
  border-top: 2px solid var(--accent-primary);
  position: relative;
  transition: background-color 0.8s cubic-bezier(0.4, 0.0, 0.2, 1), color 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: start;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-family: 'VT323', monospace;
  font-size: 1.4rem;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
  text-shadow: 0 0 5px var(--glow-color);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
  letter-spacing: 1px;
  opacity: 0.8;
}

.footer-links a:hover {
  color: var(--accent-primary);
  opacity: 1;
  text-shadow: 0 0 5px var(--glow-color);
  transform: translateX(5px);
}

.footer-text {
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  opacity: 0.8;
  letter-spacing: 0.5px;
}

.footer-cta {
  font-family: 'VT323', monospace;
  font-size: 1.2rem;
  color: var(--accent-primary);
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border: 2px solid var(--accent-primary);
  border-radius: 5px;
  transition: all 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
  display: inline-block;
  text-align: center;
  letter-spacing: 1px;
  background: transparent;
}

.footer-cta:hover {
  background: var(--accent-primary);
  color: var(--bg-primary);
  text-shadow: none;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--glow-color);
}

.footer-bottom {
  margin-top: 2rem;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--accent-primary) 50%,
    transparent 100%
  );
  margin-bottom: 2rem;
  opacity: 0.5;
}

.footer-copyright {
  text-align: center;
}

.footer-copyright p {
  font-family: 'VT323', monospace;
  font-size: 1rem;
  margin: 0.5rem 0;
  color: var(--text-tertiary);
  opacity: 0.6;
  letter-spacing: 1px;
}

.footer-subtitle {
  color: var(--accent-secondary) !important;
  opacity: 0.8 !important;
  font-size: 0.9rem !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-section {
    padding: 3rem 1rem 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .footer-links a {
    font-size: 1rem;
  }

  .footer-text {
    font-size: 1rem;
  }

  .footer-cta {
    font-size: 1.1rem;
    padding: 0.7rem 1.2rem;
  }

  .footer-copyright p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .footer-section {
    padding: 2rem 1rem 1rem;
  }

  .footer-content {
    gap: 1.5rem;
  }

  .footer-title {
    font-size: 1.2rem;
  }

  .footer-links a {
    font-size: 0.9rem;
  }

  .footer-text {
    font-size: 0.9rem;
  }

  .footer-cta {
    font-size: 1rem;
    padding: 0.6rem 1rem;
  }
}

/* Smooth scroll behavior for footer links */
html {
  scroll-behavior: smooth;
}

/* Hover effects for footer sections */
.footer-column:hover .footer-title {
  text-shadow: 0 0 10px var(--glow-color);
}

/* Animation for footer appearance */
.footer-section {
  animation: fadeInUp 0.8s ease-out;
}

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