* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #1d1d1d;
}

.main-container {
  min-height: 100vh;
  background-color: #e3e1d9;
}

/* Header Section */
.header-section {
  position: relative;
  width: 100%;
  padding: 4rem 0;
  background-color: #e3e1d9;
}

.header-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  text-align: center;
}

.back-link {
  position: absolute;
  top: -2rem;
  left: 2rem;
  font-size: 1.125rem;
  color: #1d1d1d;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.back-link:hover {
  opacity: 0.7;
}

.main-title {
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s 0.4s forwards;
}

.main-description {
  max-width: 32rem;
  font-size: 1.125rem;
  color: #4a5568;
  opacity: 0;
  animation: fadeInUp 0.8s 0.6s forwards;
}

/* Changelog Section */
.changelog-section {
  padding: 4rem 0;
}

.container {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.timeline-container {
  position: relative;
}

.timeline-line {
  position: absolute;
  left: 2rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #d1d5db;
}

.changelog-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.changelog-item {
  position: relative;
  padding-left: 5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease;
}

.changelog-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-dot {
  position: absolute;
  left: 1.5rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.timeline-dot.major {
  background-color: #ff6b6b;
}

.timeline-dot.minor {
  background-color: #4ecdc4;
}

.timeline-dot.patch {
  background-color: #95e1d3;
}

.content-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  transition: box-shadow 0.3s ease;
}

.content-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.version-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.version-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1a202c;
}

.version-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid;
}

.version-badge.major {
  background-color: #fed7d7;
  color: #9b2c2c;
  border-color: #feb2b2;
}

.version-badge.minor {
  background-color: #bee3f8;
  color: #2a69ac;
  border-color: #90cdf4;
}

.version-badge.patch {
  background-color: #c6f6d5;
  color: #276749;
  border-color: #9ae6b4;
}

.unreleased-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  background-color: #f7fafc;
  color: #4a5568;
  border: 1px solid #e2e8f0;
}

.date-info {
  display: flex;
  align-items: center;
  color: #718096;
  margin-bottom: 1rem;
}

.calendar-icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
}

.changes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.change-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.change-icon {
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.change-icon.added {
  color: #38a169;
}

.change-icon.fixed {
  color: #3182ce;
}

.change-icon.changed {
  color: #dd6b20;
}

.change-icon.default {
  color: #805ad5;
}

.change-text {
  color: #4a5568;
  line-height: 1.625;
}

/* Footer */
.footer {
  border-top: 1px solid #2d3748;
  background-color: black;
  padding: 2rem 0;
}

.footer-content {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-text {
  font-size: 0.875rem;
  color: #a0aec0;
}

.footer-made-in {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.5rem;
}

.flag {
  font-size: 1rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-title {
    font-size: 2.5rem;
  }

  .back-link {
    position: static;
    margin-bottom: 2rem;
  }

  .timeline-line {
    left: 1rem;
  }

  .changelog-item {
    padding-left: 3rem;
  }

  .timeline-dot {
    left: 0.5rem;
  }

  .version-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
