.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
  width: 100%;
}

.info-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 8px 12px;
  width: 100%;
  min-height: 65px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.info-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-color);
}

.info-card-icon {
  width: 40px;
  height: 40px;
  background: rgba(115, 136, 159, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3em;
  color: var(--accent-color);
  flex-shrink: 0;
}

.info-card-content {
  flex: 1;
  min-width: 0;
}

.info-card-value {
  font-size: 0.9em;
  font-weight: bold;
  color: white;
  line-height: 1.2;
  word-break: break-word;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.info-card-label {
  font-size: 0.55em;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
  white-space: nowrap;
}

.info-card.safelink-active .info-card-icon {
  background: rgba(46, 204, 113, 0.2);
  color: var(--verified-color);
}

.info-card.safelink-active .info-card-value {
  color: var(--verified-color);
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.tag {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7em;
  color: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--glass-border);
}

.tag:hover {
  background: var(--accent-color);
  color: white;
}

.vote-buttons {
  display: flex;
  gap: 10px;
  margin: 12px 0;
  flex-wrap: wrap;
}

.vote-button {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 6px 14px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85em;
  font-family: 'Minecraft Font', sans-serif;
}

.vote-button.like:hover {
  background: #27ae60;
}

.vote-button.dislike:hover {
  background: #e74c3c;
}

.vote-button.active.like {
  background: #27ae60;
}

.vote-button.active.dislike {
  background: #e74c3c;
}

.report-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--danger-color);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75em;
}

.author-section {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 15px 0;
  width: fit-content;
  border: 1px solid var(--glass-border);
}

.author-section:hover {
  background: var(--accent-color);
  transform: translateX(5px);
}

.author-avatar-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--verified-color);
}

.author-name-text {
  font-size: 0.9em;
  font-weight: 500;
  color: white;
  font-family: 'Minecraft Font', sans-serif;
}

.addon-detail-title {
  font-size: 2em;
  margin: 0 0 15px 0;
  word-break: break-word;
  color: white;
  font-family: 'Minecraft Title 2', sans-serif;
  display: block;
}

.addon-menu-card {
  height: 100%;
  padding: 20px;
  background: transparent;
  display: flex;
  flex-direction: column;
}

.addon-menu-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2em;
  color: #ccc;
  margin-bottom: 20px;
  font-family: 'Minecraft Title 2', sans-serif;
}

.addon-menu-card h3 i {
  color: var(--accent-color);
  font-size: 1.2em;
}

.addon-menu-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.addon-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  font-family: 'Minecraft Font', sans-serif;
  font-size: 0.9em;
}

.addon-menu-item:hover {
  background: var(--accent-color);
  transform: translateX(5px);
  border-color: transparent;
}

.addon-menu-item i {
  width: 24px;
  color: var(--accent-color);
  font-size: 1.1em;
  text-align: center;
  transition: all 0.3s ease;
}

.addon-menu-item:hover i {
  color: white;
}

.addon-menu-item span {
  flex: 1;
}

.addon-menu-item.danger {
  color: #ff6b6b;
  border-color: rgba(231, 76, 60, 0.3);
  background: rgba(231, 76, 60, 0.1);
}

.addon-menu-item.danger i {
  color: #ff6b6b;
}

.addon-menu-item.danger:hover {
  background: var(--danger-color);
  color: white;
  border-color: transparent;
  transform: translateX(5px);
}

.addon-menu-item.danger:hover i {
  color: white;
}

.addon-menu-divider {
  height: 1px;
  background: var(--glass-border);
  margin: 8px 0;
}

.addon-menu-item[data-action="download"]:hover {
  background: var(--success-color);
}

.addon-menu-item[data-action="edit"]:hover {
  background: var(--accent-color);
}

.addon-menu-item[data-action="delete"]:hover {
  background: var(--danger-color);
}

.addon-menu-item[data-action="report"]:hover {
  background: var(--danger-color);
}

.addon-menu-item[data-action="share"]:hover {
  background: var(--verified-color);
}

.addon-menu-item.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.addon-menu-item.disabled:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.05);
}

.addon-menu-item {
  position: relative;
  overflow: hidden;
}

.addon-menu-item::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
  transform: translateY(-50%);
}

.addon-menu-item:hover::after {
  width: 100%;
}

.addon-menu-item.danger::after {
  background: var(--danger-color);
}

@keyframes menuItemFadeIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.addon-menu-item {
  animation: menuItemFadeIn 0.3s ease forwards;
}

.addon-menu-item:nth-child(1) { animation-delay: 0s; }
.addon-menu-item:nth-child(2) { animation-delay: 0.05s; }
.addon-menu-item:nth-child(3) { animation-delay: 0.1s; }
.addon-menu-item:nth-child(4) { animation-delay: 0.15s; }
.addon-menu-item:nth-child(5) { animation-delay: 0.2s; }
.addon-menu-item:nth-child(6) { animation-delay: 0.25s; }
.addon-menu-item:nth-child(7) { animation-delay: 0.3s; }
.addon-menu-item:nth-child(8) { animation-delay: 0.35s; }

.gallery-card {
  height: 100%;
  padding: 20px;
  background: transparent;
}

.gallery-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 1.2em;
  color: #ccc;
  font-family: 'Minecraft Title 2', sans-serif;
}

.gallery-card h3 i {
  color: var(--accent-color);
}

.gallery-slider-container {
  position: relative;
  width: 100%;
  margin: 15px 0;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-slider-track {
  display: flex;
  gap: 0;
  transition: transform 0.4s ease;
  width: 100%;
}

.gallery-slider-item {
  flex: 0 0 100%;
  min-width: 0;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.gallery-slider-item:hover {
  border-color: var(--accent-color);
  transform: scale(1.02);
}

.gallery-slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.gallery-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid var(--glass-border);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  font-size: 1.2em;
  backdrop-filter: blur(5px);
}

.gallery-slider-nav:hover {
  background: var(--accent-color);
  transform: translateY(-50%) scale(1.1);
  border-color: white;
}

.gallery-slider-nav.prev {
  left: 10px;
}

.gallery-slider-nav.next {
  right: 10px;
}

.gallery-slider-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.gallery-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-indicator:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

.gallery-indicator.active {
  background: var(--accent-color);
  transform: scale(1.3);
  width: 20px;
  border-radius: 10px;
}

.no-gallery-message {
  text-align: center;
  padding: 40px 20px;
  color: #aaa;
}

.no-gallery-message i {
  font-size: 3em;
  margin-bottom: 15px;
  opacity: 0.5;
}

.description-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: transparent;
}

.description-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 1.2em;
  color: #ccc;
  font-family: 'Minecraft Title 2', sans-serif;
  flex-shrink: 0;
}

.description-card h3 i {
  color: var(--accent-color);
}

.description-text {
  line-height: 1.6;
  font-size: 1em;
  color: #ddd;
  font-family: 'Minecraft Font', sans-serif;
  word-wrap: break-word;
  overflow-wrap: break-word;
  width: 100%;
  max-width: 100%;
}

.description-scrollable {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 10px;
  max-height: calc(100% - 50px);
}

.description-scrollable::-webkit-scrollbar {
  width: 6px;
}

.description-scrollable::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
}

.description-scrollable::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 3px;
}

.files-card {
  height: 100%;
  padding: 20px;
  background: transparent;
}

.files-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 1.2em;
  color: #ccc;
  font-family: 'Minecraft Title 2', sans-serif;
}

.files-card h3 i {
  color: var(--accent-color);
}

.file-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.file-item:hover {
  background: var(--accent-color);
  transform: translateX(5px);
}

.file-item i:first-child {
  color: var(--accent-color);
  font-size: 1.2em;
  width: 24px;
  flex-shrink: 0;
}

.file-item:hover i:first-child {
  color: white;
}

.file-item span {
  flex: 1;
  color: var(--text-color);
  font-size: 0.95em;
  word-break: break-word;
}

.file-item i:last-child {
  color: var(--text-color);
  opacity: 0.7;
  font-size: 1em;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.addon-detail-icon-card {
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.addon-detail-info-card {
  padding: 24px;
}

.addon-detail-description-card,
.addon-detail-gallery-card,
.addon-detail-files-card,
.addon-detail-info-card,
.addon-detail-menu-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .info-cards-grid {
    gap: 10px;
  }
  
  .info-card {
    min-height: 60px;
    padding: 6px 10px;
  }
  
  .info-card-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1em;
  }
  
  .info-card-value {
    font-size: 0.85em;
  }
  
  .info-card-label {
    font-size: 0.5em;
  }
  
  .addon-menu-item {
    padding: 10px 14px;
    font-size: 0.85em;
  }
  
  .addon-menu-item i {
    width: 22px;
    font-size: 1em;
  }
  
  .addon-menu-card h3 {
    font-size: 1.1em;
    margin-bottom: 15px;
  }
  
  .addon-menu-divider {
    margin: 6px 0;
  }
  
  .addon-detail-info-card {
    padding: 16px;
  }
  
  .addon-detail-title {
    font-size: 1.7em;
  }
}

@media (max-width: 576px) {
  .info-card-icon {
    width: 32px;
    height: 32px;
    font-size: 1em;
  }
  
  .info-card-value {
    font-size: 0.8em;
  }
  
  .info-card-label {
    font-size: 0.45em;
  }
}

@media (max-width: 480px) {
  .info-cards-grid {
    gap: 8px;
  }
  
  .info-card {
    padding: 5px 8px;
  }
  
  .info-card-icon {
    width: 28px;
    height: 28px;
    font-size: 0.9em;
  }
  
  .info-card-value {
    font-size: 0.75em;
    white-space: normal;
    word-break: break-word;
  }
  
  .info-card-label {
    font-size: 0.4em;
    white-space: normal;
  }
  
  .addon-menu-item {
    padding: 8px 12px;
    font-size: 0.8em;
  }
  
  .addon-menu-item i {
    width: 20px;
    font-size: 0.9em;
  }
  
  .addon-menu-card {
    padding: 15px;
  }
  
  .addon-menu-card h3 {
    font-size: 1em;
    margin-bottom: 12px;
  }
  
  .addon-detail-info-card {
    padding: 12px;
  }
  
  .addon-detail-title {
    font-size: 1.6em;
  }
}