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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f7;
  padding: 20px;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

header {
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 2px solid #e5e5e7;
}

h1 {
  font-size: 2.5em;
  color: #1d1d1f;
  margin-bottom: 10px;
  font-weight: 700;
}

.subtitle {
  font-size: 1.1em;
  color: #86868b;
  font-weight: 400;
}

.version {
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e5e5e7;
}

.version:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.version-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.version-number {
  font-size: 1.8em;
  font-weight: 600;
  color: #0071e3;
}

.version-date {
  font-size: 1em;
  color: #86868b;
  font-weight: 400;
}

.change-category {
  margin-bottom: 25px;
}

.category-title {
  font-size: 1.1em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1d1d1f;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
}

.category-title.added {
  background-color: #d1f4e0;
  color: #0d7d3a;
}

.category-title.changed {
  background-color: #d6e9ff;
  color: #0051a5;
}

.category-title.fixed {
  background-color: #ffe6cc;
  color: #b35900;
}

.category-title.removed {
  background-color: #ffe0e0;
  color: #c41e3a;
}

.category-title.deprecated {
  background-color: #f5f5f7;
  color: #6e6e73;
}

.category-title.security {
  background-color: #f4d7d7;
  color: #8b0000;
}

.change-list {
  list-style: none;
  margin-left: 0;
}

.change-list li {
  padding-left: 25px;
  margin-bottom: 8px;
  position: relative;
  color: #515154;
}

.change-list li:before {
  content: "•";
  position: absolute;
  left: 10px;
  color: #86868b;
  font-weight: bold;
}

@media (max-width: 768px) {
  .container {
    padding: 25px;
  }

  h1 {
    font-size: 2em;
  }

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

  .version-number {
    font-size: 1.5em;
  }
}

.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75em;
  font-weight: 600;
  margin-left: 8px;
  vertical-align: middle;
}

.badge.latest {
  background-color: #34c759;
  color: white;
}

.badge.beta {
  background-color: #ff9500;
  color: white;
}
