/* Buttons */
.btn {
  padding: 10px 16px;
  border-radius: var(--radius);
  border: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}
.btn.primary {
  background: var(--gradient-primary);
  color: #000000;
  border: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 4px 12px rgba(27, 217, 111, 0.3);
  font-weight: 600;
}
.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 217, 111, 0.4);
  filter: brightness(1.1);
}
.btn.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  transition: all 0.2s ease;
}
.btn.ghost:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.cta-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.cta-row .btn {
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
}

/* Cards */
.card {
  padding: 24px;
  border-radius: 0;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
  border-color: var(--accent-primary);
}
.card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--text);
  font-weight: 700;
}
.card p {
  margin: 0 0 4px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

/* Utility */
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}

/* Notifications */
.notification {
  position: fixed;
  right: 20px;
  top: 100px;
  background: var(--accent);
  color: #ffffff;
  padding: 12px 16px;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-6px);
  opacity: 0;
  animation: notify-in 0.3s forwards;
}
@keyframes notify-in {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Featured Spotlight Cards */
.featured-spotlight {
  margin: 2rem 0;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.spotlight-card {
  position: relative;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.spotlight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  border-color: var(--accent);
}

.spotlight-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gradient-primary);
  color: #000;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.spotlight-badge i {
  font-size: 10px;
}

.spotlight-image {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-secondary);
  position: relative;
}

.spotlight-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--card), transparent);
}

.spotlight-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.spotlight-content h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.spotlight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
}

.version-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-primary);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
}

.meta-item i {
  color: var(--accent);
}

.spotlight-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
  flex-wrap: wrap;
}

.btn-spotlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  flex: 1;
  justify-content: center;
  min-width: 120px;
}

.btn-spotlight.primary {
  background: var(--gradient-primary);
  color: #000;
  border: none;
}

.btn-spotlight.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(27, 217, 111, 0.4);
  filter: brightness(1.1);
}

.btn-spotlight.ghost {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text);
}

.btn-spotlight.ghost:hover {
  background: var(--bg-secondary);
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 768px) {
  .spotlight-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .spotlight-image {
    height: 180px;
  }

  .spotlight-actions {
    flex-direction: column;
  }

  .btn-spotlight {
    flex: auto;
    width: 100%;
  }
}
