* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
}

body {
  background-color: #f5f7fa;
  color: #333;
  line-height: 1.6;
  padding: 20px;
  overflow-y: scroll;
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

header {
  text-align: center;
  margin-bottom: 40px;
  padding: 20px;
  background: linear-gradient(135deg, #4283f3 0%, #27b3eb 100%);
  border-radius: 12px;
  color: white;
  box-shadow: 0 8px 20px rgba(15, 61, 187, 0.2);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.subtitle {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  padding-left: 40px;
}

.subtitle .text {
  opacity: 0.9;
  font-size: 1.2rem;
  font-weight: 300;
}

.official-site {
  opacity: 0.7;
  top: 10px;
  left: 15px;
}

.official-site a {
  text-decoration: none;
  color: white;
}

.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.search-box {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 12px 20px 12px 45px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s;
}

.search-box input:focus {
  outline: none;
  border-color: #4283f3;
  box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.1);
}

.search-box i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
}

.filter-buttons {
  display: flex;
  gap: 10px;
}

.filter-btn {
  padding: 10px 20px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: #4283f3;
  color: white;
  border-color: #4283f3;
}

.releases-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.release-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  border-left: 5px solid #4283f3;
}

.release-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.release-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 10px;
}

.version-badge {
  display: inline-block;
  padding: 6px 15px;
  background: linear-gradient(to right, #4283f3, #27b3eb);
  color: white;
  border-radius: 20px;
  font-weight: 600;
  font-size: 1.2rem;
}

.release-date {
  color: #666;
  font-size: 1rem;
  margin-left: 5px;
}

.release-brief {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #444;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.details-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 10px 0;
  font-weight: 600;
  color: #4283f3;
  user-select: none;
}

.details-toggle i {
  transition: transform 0.3s;
}

.details-toggle.active i {
  transform: rotate(180deg);
}

.release-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease;
}

.release-details.active {
  max-height: 1000px;
}

.details-list {
  padding: 20px 0 0 20px;
}

.details-list li {
  margin-bottom: 10px;
  padding-left: 5px;
}

.details-list li:last-child {
  margin-bottom: 0;
}

.type-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 8px;
}

.type-feature {
  background-color: #e3f2fd;
  color: #1976d2;
}

.type-fix {
  background-color: #ffebee;
  color: #d32f2f;
}

.type-improvement {
  background-color: #f3e5f5;
  color: #7b1fa2;
}

.type-security {
  background-color: #fff3e0;
  color: #f57c00;
}

.type-todo {
  background-color: #e3f9ed;
  color: #3db2b9;
}

.type-others {
  background-color: #e7e8ff;
  color: #928bed;
}

footer {
  text-align: center;
  margin-top: 50px;
  padding: 20px;
  color: #666;
  font-size: 0.9rem;
}

footer a, a:hover, a:visited {
  text-decoration: none;
  color: currentColor;
}

footer a:hover {
  text-decoration: underline;
  color: #1976d2;
}

.no-results {
  text-align: center;
  padding: 40px;
  color: #888;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .release-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-box {
    min-width: 100%;
  }

  .controls {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-buttons {
    justify-content: center;
  }
}
