* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: #08080a;
  color: #f5f5f7;
  min-height: 100vh;
  padding: 2rem 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.header {
  margin-bottom: 2.5rem;
  max-width: 750px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #c084fc;
  font-size: 0.75rem;
  font-family: monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.dot {
  width: 0.5rem;
  height: 0.5rem;
  background-color: #c084fc;
  border-radius: 50%;
  box-shadow: 0 0 8px #c084fc;
}

.title {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 1.25rem;
  color: #a1a1aa;
  margin-bottom: 1rem;
}

.highlight {
  background: linear-gradient(to right, #c084fc, #f472b6, #38bdf8);
-webkit-background-clip: text;
background-clip: text; /* <--- Adicione esta linha */
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

.description {
  color: #71717a;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Filters */
.filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.filter-btn {
  background: rgba(23, 23, 23, 0.8);
  color: #a1a1aa;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.filter-btn.active {
  background: #ffffff;
  color: #000000;
  font-weight: 600;
}

/* Grid Bento */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.card {
  background: rgba(23, 23, 23, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 20px 40px rgba(168, 85, 247, 0.12);
}

.card-preview {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  background-color: #050505;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

.card:hover .card-preview img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #c084fc;
  font-size: 0.65rem;
  font-family: monospace;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
}

.card-content {
  margin-top: 1rem;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}

.category {
  color: #c084fc;
  font-family: monospace;
}

.date {
  color: #71717a;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.card-desc {
  font-size: 0.8rem;
  color: #a1a1aa;
  line-height: 1.4;
-webkit-line-clamp: 2;
line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #71717a;
  font-family: monospace;
}

.card-action {
  color: #c084fc;
  font-weight: 500;
}

/* Modal Style QuickLook macOS */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(25px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 1000;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.modal {
  background: #101014;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.5rem;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.modal-header {
  background: rgba(23, 23, 23, 0.8);
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.control {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  display: inline-block;
}

.control.close { background: #ef4444; cursor: pointer; }
.control.minimize { background: #eab308; }
.control.maximize { background: #22c55e; }

.file-name {
  margin-left: 0.75rem;
  font-size: 0.75rem;
  font-family: monospace;
  color: #71717a;
}

.close-x {
  background: none;
  border: none;
  color: #a1a1aa;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-body {
  padding: 1.5rem;
  background: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
}

.modal-body img {
  max-height: 60vh;
  width: auto;
  object-fit: contain;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-footer {
  padding: 1rem 1.5rem;
  background: rgba(23, 23, 23, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.modal-info h3 {
  font-size: 1rem;
  color: #ffffff;
}

.modal-info p {
  font-size: 0.8rem;
  color: #a1a1aa;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
}

.btn {
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover { background: rgba(255, 255, 255, 0.2); }

.btn-primary {
  background: #9333ea;
  color: #ffffff;
}

.btn-primary:hover { background: #7e22ce; }

.footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #52525b;
  font-family: monospace;
}