.release-card {
  width: 100%;
  background: rgba(0,0,0,0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform, backdrop-filter;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.release-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  border-color: rgba(164, 215, 244, 0.4);
}

/* Header */
.release-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  font-weight: 600;
  font-size: 1rem;
  background: rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  gap: 10px;
}

.version { 
  flex: 1; 
  overflow: hidden; 
  text-overflow: ellipsis; 
  white-space: nowrap; 
  font-size: inherit; 
  font-weight: inherit; 
  line-height: inherit; 
}

.version-link {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
  color: inherit;
  font-size: 1rem;
  min-width: 0;  
}

.version-link:hover { color: #a4d7f4; }

.version-link .version::before {
  content: "\f02b"; 
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 1em;
  color: #a4d7f4;
  opacity: 0.8;
  margin-right: 6px;
}

.release-header > span:last-child {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

/* Labels */
.release-label, .pre-label, .latest-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 12px;
  white-space: nowrap;
  border: 1px solid transparent;
}

.release-label {
  background: rgba(100, 255, 100, 0.1);
  color: #64ff64;
  border-color: rgba(100, 255, 100, 0.3);
}

.pre-label {
  background: rgba(255, 200, 100, 0.1);
  color: #ffc864;
  border-color: rgba(255, 200, 100, 0.3);
}

.latest-label {
  background: rgba(164,215,244,0.15);
  color: #a4d7f4;
  border: 1px solid rgba(164,215,244,0.3);
}

.latest-label i,
.release-label i,
.pre-label i {
  font-size: 0.9rem;
}

/* Meta */
.release-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  font-size: 0.95rem;
  gap: 10px;
}

.release-meta-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.author-link {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  font-size: inherit;
}

.author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.3);
  flex-shrink: 0; 
}

.author-link:hover { color: #a4d7f4; }
.author-link:hover .author-name { color: #8bc8f0; }

.release-published,
.release-author,
.release-size,
.release-updated {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ccc;
}

.release-published i,
.release-author i,
.release-size i,
.release-updated i {
  width: 16px;
  text-align: center;
  font-size: 0.95rem;
  margin-right: 0;
   color: #fff;
}

.release-author { font-weight: 500; }

.release-author .author-name {
  color: #a4d7f4;
  margin-left: 6px;
  font-weight: 600;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.release-meta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.release-meta-right .release-size {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: inherit;
  color: #ccc;
}

.release-updated {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  color: #ccc;
}

/* Files */
.file-list { border-top: 1px solid rgba(255,255,255,0.15); }

.file-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
}

.file-list-header i { color: #fff;}

.file-list-header .files-title,
.file-list-header .files-title-downloads {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background-color 0.2s ease;
  gap: 12px;
}

.file-item:hover { background: rgba(255,255,255,0.03); }
.file-item:last-child { border-bottom:none; }

.file-item a {
  color: #a4d7f4;
  text-decoration: none;
  font-weight: 500;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: inherit;
}

.file-item a:hover { text-decoration: underline; }

.file-item span:last-child {
  font-weight: 600;
  color: #fff;
  min-width: 70px;
  text-align: right;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: inherit;
}

/* Reactions */
.reactions-section {
  border-top: 1px solid rgba(255,255,255,0.15);
  position: relative;
  z-index: 2;
}

.reactions-section i { color: #fff; }

.reactions-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 20px;
}

.reactions-items span {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 6px;
  background: rgba(164, 215, 244, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(164, 215, 244, 0.2);
  font-size: 0.9rem;
}

.reactions-items i { font-size: 0.9rem; }

/* Adaptive */
@media (max-width:768px){
  .release-header { font-size: 0.95rem; padding: 12px 16px; }
  .release-author .author-name { max-width: 270px; }
  .file-item a { max-width: 75%; }
}

@media (max-width:480px){
  .release-header { font-size: 0.9rem; padding: 10px 14px; }
  .release-author .author-name { max-width: 210px; }
  .file-item a { max-width: 70%; }
  .latest-label { font-size: 0.8rem; padding: 2px 6px; }
  .file-list-header, .file-item { font-size: 0.9rem; padding: 10px 16px; }
  .release-meta { 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 6px; 
    padding: 12px 16px; 
  }
  .release-meta-right {
    align-items: flex-start;
    width: 100%;
  }
  .release-updated { order: 1; }
  .release-size { order: 2; }
}
