body {
  font-family: "Inter", sans-serif;
  background: #f4f6f9;
  margin: 0;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: #111;
  color: white;
}
.header h2 {
  margin: 0;
}

.add-btn {
  background: #007bff;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}
.add-btn:hover {
  background: #0056b3;
}

.container {
  padding: 30px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
}

.card {
  background: var(--nav-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.media {
  width: 100%;
  height: 220px;
  background: #eee;
  overflow: hidden;
}
.media img, .media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content {
  padding: 20px;
}
.content h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #111;
}
.content p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.actions {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
}

.btn {
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.2s;
}
.btn:hover {
  opacity: 0.85;
}

.edit {
  background: #28a745;
  color: white;
}

.delete {
  background: #dc3545;
  color: white;
}

.empty {
  text-align: center;
  margin-top: 100px;
  color: #999;
}
.empty i {
  font-size: 50px;
  margin-bottom: 15px;
  display: block;
}
