

.page {
  min-height: 100vh;
  background: var(--color-obsidian);
  color: var(--color-card-foreground);
}


.page-hero {
  position: relative;
  padding-top: calc(var(--header-height) + var(--header-band-height) + 2.5rem);
  padding-bottom: 2.25rem;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 20%,
    rgba(220, 38, 38, 0.18),
    transparent 60%
  );
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.9rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}

.page-title {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 0;
  line-height: 1;
}

.page-subtitle {
  max-width: 72ch;
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.05rem;
}


.toolbar {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
}

.toolbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  border: 1px solid rgba(220, 38, 38, 0.28);
  background: rgba(0, 0, 0, 0.24);
  color: rgba(255, 255, 255, 0.86);
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease,
    background 0.15s ease;
  white-space: nowrap;
}

.chip:hover {
  transform: translateY(-1px);
  border-color: rgba(220, 38, 38, 0.55);
}

.chip.is-active {
  background: linear-gradient(
    135deg,
    rgba(220, 38, 38, 0.22),
    rgba(220, 38, 38, 0.08)
  );
  border-color: rgba(220, 38, 38, 0.75);
}

.search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  min-width: min(420px, 100%);
}

.search i {
  position: absolute;
  left: 0.9rem;
  opacity: 0.8;
}

.search input {
  width: 100%;
  padding: 0.85rem 0.95rem 0.85rem 2.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  outline: none;
}

.search input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.search input:focus {
  border-color: rgba(220, 38, 38, 0.55);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}


.videos {
  padding: 2rem 0 3.25rem 0;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.video-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.video-card:hover {
  transform: translateY(-2px);
  border-color: rgba(220, 38, 38, 0.45);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.35);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.meta {
  padding: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(220, 38, 38, 0.55);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.meta h4 {
  margin: 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
}

.meta p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.empty {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.78);
  display: none;
}

.empty.is-showing {
  display: block;
}
