/* Footer Styles */
.footer {
  background: linear-gradient(135deg, #2d8659 0%, #34a853 50%, #45b96c 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  padding: 40px 0 20px;
  margin-top: 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-info {
  flex: 1;
}

.footer-links {
  flex-shrink: 0;
  min-width: 150px;
  margin-right: 0;
}

.footer-links-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-link-list {
  display: flex;
  flex-direction: row;
  gap: 8px 16px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  position: relative;
}

.footer-link:not(:last-child)::after {
  content: "·";
  color: rgba(255, 255, 255, 0.6);
  margin-left: 16px;
  font-weight: bold;
}

.footer-link.footer-link-no-separator::after {
  content: none;
}

.footer-link:hover {
  color: #ffffff;
  border-bottom-color: #007aff;
  transform: translateY(-1px);
}

.footer-row {
  display: flex;
  gap: 24px;
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-row:last-child {
  margin-bottom: 0;
}

.footer-row span {
  white-space: nowrap;
}

.footer-qr {
  display: flex;
  align-items: flex-start;
}

.qr-section {
  text-align: center;
}

.qr-code {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 8px;
  display: block;
}

.qr-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  font-weight: 500;
}

.footer-counter {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.footer-counter span {
  font-weight: 500;
}

/* Footer Responsive Design */
@media (max-width: 768px) {
  .footer {
    padding: 32px 0 16px;
    margin-top: 60px;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 20px;
  }

  .footer-links {
    order: -1;
    margin-right: 0;
    margin-bottom: 16px;
  }

  .footer-links-title {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .footer-link-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .footer-row {
    flex-direction: column;
    gap: 8px;
  }

  .footer-qr {
    align-self: center;
  }

  .qr-code {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .footer-row span {
    white-space: normal;
    word-break: break-all;
  }
}
