/* ===== Base ===== */
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0f1115;
  color: #eaeaea;
  line-height: 1.6;
}

/* ===== Header ===== */
.header {
  text-align: center;
  padding: 32px 16px;
}

.logo {
  width: 120px;
  height: auto;
  margin-bottom: 12px;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.35));
}

.header h1 {
  margin: 8px 0 4px;
  font-size: 26px;
}

.header p {
  margin: 0;
  font-size: 14px;
  color: #aaa;
}

/* ===== Search ===== */
.search {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto 24px;
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
  background: #161a20;
  color: #eaeaea;
  font-size: 14px;
}

/* ===== Main ===== */
main {
  max-width: 760px;
  margin: auto;
  padding: 16px;
}

/* ===== Major Title ===== */
.major-title {
  margin-top: 36px;
  margin-bottom: 14px;
  color: #9aa0a6;
  font-size: 18px;
  border-bottom: 1px solid #222;
  padding-bottom: 6px;
  letter-spacing: 0.5px;
}

/* ===== Release Card ===== */
.release {
  background: #161a20;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 14px;
  transition: background 0.2s ease;
}

.release[open] {
  background: #1a1f26;
}

/* ===== Summary ===== */
.release summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  outline: none;
}

.release summary::-webkit-details-marker {
  display: none;
}

/* 📦 Icon */
.release summary::before {
  content: "📦";
  margin-right: 8px;
}

.release.minor summary::before { content: "✨"; }
.release.major summary::before { content: "🚨"; }
.release.patch summary::before { content: "🐞"; }

.release summary::after {
  content: "▾";
  float: right;
  color: #888;
}

.release[open] summary::after {
  content: "▴";
}

/* ===== Summary Meta ===== */
.version {
  font-weight: 600;
}

.meta {
  float: right;
  font-size: 12px;
  color: #aaa;
}

.type {
  text-transform: uppercase;
  margin-right: 8px;
}

/* ===== Badges ===== */
.badge-new {
  background: #ff6b6b;
  color: #fff;
  font-size: 11px;
  padding: 3px 6px;
  border-radius: 6px;
  margin-left: 8px;
}

/* ===== Markdown ===== */
.release div {
  margin-top: 14px;
}

.release ul {
  padding-left: 18px;
}

.release li {
  margin-bottom: 8px;
}

/* ===== CTA Button ===== */
.cta-button {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s;
}

.cta-button:hover {
  transform: scale(1.05);
}

/* ===== Desktop ===== */
@media (min-width: 768px) {
  .logo {
    width: 165px;
  }

  .header {
    padding: 48px 16px;
  }

  main {
    max-width: 840px;
  }

  .header h1 {
    font-size: 30px;
  }

  .major-title {
    font-size: 20px;
  }

  .release summary {
    font-size: 17px;
  }
}
