body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: radial-gradient(circle at top, #1e1b4b, #0f172a);
  color: #e2e8f0;
}
header {
  padding: 3rem 1rem 1rem;
  text-align: center;
}
header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #d8b4fe;
}
header p {
  max-width: 1190px;
  margin: auto;
  color: #94a3b8;
  font-size: 1rem;
  text-align: justify;
}
.tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1rem;
}
.tab-btn {
  padding: 0.5rem 1.25rem;
  border: none;
  border-radius: 9999px;
  background-color: #334155;
  color: #cbd5e1;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.tab-btn.active {
  background-color: #8b5cf6;
  color: white;
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: auto;
}
.card {
  background-color: #1e293b;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.card:hover {
  transform: translateY(-5px);
}
.card-image-wrapper {
  position: relative;
  width: 100%;
  height: 241px;
  overflow: hidden;
}
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play-icon-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  filter: drop-shadow(0px 5px 10px #000);
  opacity: 0.9;
}
.play-icon-circle:hover {
  background-color: #8b5cf6;
}
.play-icon {
  width: 40px;
  height: 40px;
  background-color: black;
  mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M8 5v14l11-7z"/></svg>')
    center/contain no-repeat;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M8 5v14l11-7z"/></svg>')
    center/contain no-repeat;
}
.card-body {
  padding: 1rem;
  background: #1e293b;
}
.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #f8fafc;
}
.card-text {
  font-size: 0.9rem;
  color: #cbd5e1;
}
.stack {
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  background-color: #5b21b6;
  color: #e0e7ff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 9999px;
  gap: 8px;
}
.stack::before {
  content: "</>";
  font-size: 0.8rem;
  color: #c084fc;
}
.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  flex-direction: column;
  border-radius: 20px;
  padding: 2rem;
}
.lightbox video {
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  border-radius: 16px;
}
.lightbox h3 {
  color: #f3e8ff;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: #f87171;
  cursor: pointer;
}
footer {
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
}
