/* ===========================
   VOD SITE — Design Erovia Network
   Montserrat + dark zinc palette
   =========================== */

:root {
  --primary-color: #E91E63;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ---- Base ---- */
html { font-size: 16px; }
body {
  background: #09090b; /* zinc-950 */
  color: #f4f4f5;      /* zinc-100 */
  font-family: 'Montserrat', ui-sans-serif, system-ui, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  padding-bottom: 64px; /* space for mobile nav */
}

@media (min-width: 1024px) {
  body { padding-bottom: 0; }
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary-color); }

img { display: block; max-width: 100%; }

/* ---- Layout ---- */
.container {
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1024px) {
  .container { padding: 0 48px; }
}

/* ---- Header ---- */
.site-header {
  background: rgba(24, 24, 27, 0.5); /* zinc-900/50 */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #27272a; /* zinc-800 */
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ---- Logo ---- */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  flex-shrink: 0;
}

.logo__icon {
  width: 32px;
  height: 32px;
  border-radius: 2px;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: skewX(-12deg);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.logo:hover .logo__icon { transform: skewX(-12deg) scale(1.1); }

.logo__icon svg {
  width: 18px;
  height: 18px;
  fill: white;
  transform: skewX(12deg); /* counter-skew the icon */
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo__name {
  font-size: 24px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  color: #fff;
  line-height: 1;
}

.logo__name span {
  color: var(--primary-color);
}

.logo__network {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #71717a; /* zinc-500 */
  margin-top: 1px;
  white-space: nowrap;
}

/* ---- Nav Desktop ---- */
.site-nav {
  display: none;
  align-items: center;
  gap: 24px;
  list-style: none;
}

@media (min-width: 1024px) {
  .site-nav { display: flex; }
}

.site-nav a {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #a1a1aa; /* zinc-400 */
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary-color);
}

/* ---- Header Right (search) ---- */
.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Desktop search */
.search-desktop {
  display: none;
  position: relative;
  align-items: center;
}

@media (min-width: 1024px) {
  .search-desktop { display: flex; }
}

.search-desktop input {
  background: #27272a; /* zinc-800 */
  border: none;
  outline: none;
  color: #f4f4f5;
  font-family: inherit;
  font-size: 12px;
  padding: 8px 16px;
  padding-right: 40px;
  border-radius: 4px;
  width: 256px;
  transition: box-shadow 0.2s;
}

.search-desktop input:focus {
  box-shadow: 0 0 0 2px var(--primary-color);
}

.search-desktop input::placeholder { color: #71717a; }

.search-desktop .search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #71717a;
  pointer-events: none;
  display: flex;
  align-items: center;
}

/* Mobile search button */
.search-mobile-btn {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  color: #71717a;
  transition: background 0.2s, color 0.2s;
}

.search-mobile-btn:hover { background: #27272a; color: #f4f4f5; }

@media (min-width: 1024px) {
  .search-mobile-btn { display: none; }
}

/* Mobile search form (full width below header) */
.search-mobile-form {
  display: none;
  padding: 8px 24px;
  background: #09090b;
  border-bottom: 1px solid #27272a;
}

.search-mobile-form.open { display: block; }

.search-mobile-form input {
  width: 100%;
  background: #27272a;
  border: none;
  outline: none;
  color: #f4f4f5;
  font-family: inherit;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 4px;
}

.search-mobile-form input:focus {
  box-shadow: 0 0 0 2px var(--primary-color);
}

/* ---- Sub-nav (category pills) ---- */
.sub-nav {
  background: #18181b; /* zinc-900 */
  border-bottom: 1px solid #27272a;
  padding: 8px 0;
  overflow-x: auto;
  white-space: nowrap;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.sub-nav::-webkit-scrollbar { display: none; }

.sub-nav .container {
  display: flex;
  gap: 8px;
  align-items: center;
}

.sub-nav a {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #71717a;
  padding: 4px 12px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.sub-nav a:hover,
.sub-nav a.active {
  background: var(--primary-color);
  color: #fff;
}

/* ---- Main ---- */
main {
  min-height: 80vh;
  padding: 32px 0;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #71717a;
  margin-bottom: 24px;
}

.breadcrumb a {
  color: #71717a;
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--primary-color); }

.breadcrumb__sep {
  color: #3f3f46; /* zinc-700 */
}

/* ---- Section heading ---- */
.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.section-heading__bar {
  width: 8px;
  border-radius: 2px;
  background: var(--primary-color);
  flex-shrink: 0;
}

.section-heading h1,
.section-heading h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
}

/* ---- Video Grid ---- */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

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

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

/* ---- Video Card ---- */
.video-card {
  display: block;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.video-card:hover .video-card__title { color: var(--primary-color); }

.video-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: #27272a; /* zinc-800 */
  margin-bottom: 12px;
}

.video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-card:hover .video-card__thumb img { transform: scale(1.1); }

.video-card__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  opacity: 0.6;
}

.video-card__duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.02em;
}

.video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.2s;
}

.video-card:hover .video-card__play { opacity: 1; }

.video-card__play svg {
  width: 64px;
  height: 64px;
  fill: white;
  color: white;
}

.video-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-card__placeholder svg {
  width: 48px;
  height: 48px;
  color: #3f3f46; /* zinc-700 */
  fill: currentColor;
}

.video-card__title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: #f4f4f5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
  transition: color 0.2s;
}

.video-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #71717a;
}

.video-card__category {
  color: var(--primary-color);
}

/* ---- Category Grid ---- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

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

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

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

/* ---- Category Card ---- */
.category-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}

.category-card:hover { transform: translateY(-5px); }

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.category-card:hover img { transform: scale(1.1); }

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.2), transparent);
  opacity: 0.8;
  transition: opacity 0.3s;
}

.category-card:hover .category-card__overlay { opacity: 0.9; }

.category-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  transform: translateY(8px);
  transition: transform 0.3s;
}

.category-card:hover .category-card__body { transform: translateY(0); }

.category-card__name {
  color: #fff;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  font-size: 18px;
  line-height: 1;
  margin-bottom: 4px;
  transition: color 0.2s;
}

.category-card:hover .category-card__name { color: var(--primary-color); }

.category-card__count {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #a1a1aa;
}

.category-card__count svg {
  width: 12px;
  height: 12px;
  fill: var(--primary-color);
  color: var(--primary-color);
}

.category-card__explore {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary-color);
  color: #fff;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 4px 8px;
  border-radius: 3px;
  opacity: 0;
  transition: opacity 0.2s;
}

.category-card:hover .category-card__explore { opacity: 1; }

.category-card__placeholder {
  width: 100%;
  height: 100%;
  background: #27272a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-card__placeholder svg {
  width: 40px;
  height: 40px;
  color: #3f3f46;
  fill: currentColor;
}

/* ---- Tags ---- */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.tag {
  display: inline-block;
  background: #18181b; /* zinc-900 */
  color: #a1a1aa; /* zinc-400 */
  border: 1px solid #27272a; /* zinc-800 */
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}

.tag:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* ---- Pagination ---- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 32px 0;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #a1a1aa;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.pagination a:hover {
  background: #27272a;
  color: var(--primary-color);
}

.pagination .active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--primary-color) 30%, transparent);
}

.pagination .ellipsis {
  background: transparent;
  border: none;
  color: #52525b; /* zinc-600 */
  cursor: default;
  font-style: italic;
}

.pagination .prev-next {
  padding: 0 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---- Footer ---- */
.site-footer {
  background: #09090b; /* zinc-950 */
  border-top: 1px solid #18181b;
  padding: 64px 0;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

@media (min-width: 1024px) {
  .site-footer .container {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.footer__brand {
  max-width: 720px;
  flex: 1;
}

.footer__desc {
  font-size: 13px;
  color: #71717a;
  line-height: 1.7;
  margin: 20px 0;
}

.footer__copyright {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #52525b;
  margin-top: 20px;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 48px;
}

.footer__links-group h4 {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #d4d4d8; /* zinc-300 */
  margin-bottom: 20px;
}

.footer__links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links-group ul li a {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #71717a;
  transition: color 0.2s;
}

.footer__links-group ul li a:hover { color: var(--primary-color); }

.footer__network {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #18181b;
}

.footer__network h4 {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #71717a;
  margin-bottom: 12px;
}

.footer__network-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer__network-links a {
  font-size: 10px;
  font-weight: 700;
  color: #71717a;
  padding: 4px 12px;
  border: 1px solid #27272a;
  border-radius: 999px;
  transition: color 0.2s, border-color 0.2s;
}

.footer__network-links a:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* ---- Mobile Nav ---- */
.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #18181b; /* zinc-900 */
  border-top: 1px solid #27272a;
  padding: 8px 24px 12px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 50;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.3);
}

@media (min-width: 1024px) {
  .mobile-nav { display: none; }
}

.mobile-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  color: #71717a;
  transition: color 0.2s;
  padding: 4px 8px;
}

.mobile-nav__item.active,
.mobile-nav__item:hover {
  color: var(--primary-color);
}

.mobile-nav__item svg {
  width: 22px;
  height: 22px;
}

.mobile-nav__label {
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---- Player ---- */
.player-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}

.player-wrap video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* ---- Video Page ---- */
.video-page {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 1024px) {
  .video-page { flex-direction: row; gap: 48px; }
}

.video-main { flex: 1; min-width: 0; }

.video-sidebar {
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .video-sidebar { width: 320px; }
}

.video-title {
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}

.video-info-block {
  margin-bottom: 24px;
}

.video-meta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid #27272a;
}

.video-action-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background 0.2s;
}

.action-btn--like {
  background: #18181b;
  color: #f4f4f5;
}
.action-btn--like svg { color: #10b981; }
.action-btn--like:hover { background: #27272a; }

.action-btn--share {
  background: #18181b;
  color: #f4f4f5;
}
.action-btn--share svg { color: #0ea5e9; }
.action-btn--share:hover { background: #27272a; }

.action-btn--download {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.action-btn--download:hover { opacity: 0.9; }

.action-btn--flag {
  background: transparent;
  color: #71717a;
  padding: 8px 10px;
}
.action-btn--flag:hover { color: var(--primary-color); }

.hide-mobile { display: none; }
@media (min-width: 640px) { .hide-mobile { display: inline; } }

.video-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid #27272a;
  margin-bottom: 24px;
}

.video-meta-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #71717a;
}

.video-meta-items .with-icon {
  display: flex;
  align-items: center;
  gap: 6px;
}

.video-meta-items .with-icon svg {
  width: 14px;
  height: 14px;
  color: var(--primary-color);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.video-meta-items a {
  color: var(--primary-color);
}

.video-long-desc {
  font-size: 13px;
  color: #a1a1aa;
  line-height: 1.7;
  margin: 16px 0;
  white-space: pre-line;
}

/* ---- Tags section on video page ---- */
.section-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.section-bar__line {
  width: 4px;
  height: 16px;
  background: var(--primary-color);
  border-radius: 2px;
}

.section-bar__title {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #fff;
}

/* ---- Related videos sidebar ---- */
.related-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.related-header__bar {
  width: 6px;
  height: 24px;
  background: var(--primary-color);
  border-radius: 2px;
}

.related-header h2 {
  font-size: 20px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: #fff;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.related-item {
  display: flex;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.related-item:hover .related-item__title { color: var(--primary-color); }

.related-item__thumb {
  width: 128px;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  background: #27272a;
}

.related-item__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.related-item:hover .related-item__thumb img { transform: scale(1.1); }

.related-item__thumb .duration {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: rgba(0,0,0,0.8);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 2px;
}

.related-item__info { flex: 1; min-width: 0; }

.related-item__title {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
  color: #d4d4d8;
  transition: color 0.2s;
}

.related-item__meta {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #71717a;
}

.related-item__category { color: var(--primary-color); }

/* ---- SEO text ---- */
.seo-text {
  font-size: 13px;
  color: #71717a;
  line-height: 1.7;
  max-width: 900px;
  margin: 16px 0 32px;
}

/* ---- Network sites grid (legacy) ---- */
.network-sites-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 16px 0;
}

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

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

.network-site-card {
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 8px;
  padding: 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.network-site-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.network-site-card h3 {
  font-size: 16px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.network-site-card p {
  font-size: 12px;
  color: #71717a;
}

/* ---- Sites Design Grid (page /sites) ---- */
.sites-design-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 16px 0 64px;
}

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

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

.sites-design-card {
  background: #18181b; /* zinc-900 */
  border: 1px solid #27272a; /* zinc-800 */
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.sites-design-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.sites-design-card__desc {
  font-size: 13px;
  color: #a1a1aa; /* zinc-400 */
  line-height: 1.7;
  flex: 1;
  margin-bottom: 24px;
}

.sites-design-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.sites-design-card__domain {
  font-size: 10px;
  font-weight: 700;
  color: #71717a; /* zinc-500 */
  letter-spacing: 0.15em;
}

.sites-design-card__btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.sites-design-card__btn:hover {
  opacity: 0.85;
  color: #fff;
}

/* Logo variant for sites page */
.logo--sites {
  cursor: default;
}

/* ---- Home network logos grid ---- */
.network-logos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 16px 0 48px;
}

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

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

@media (min-width: 1280px) {
  .network-logos-grid { grid-template-columns: repeat(5, 1fr); }
}

.network-logo-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 10px;
  padding: 16px;
  transition: border-color 0.2s, transform 0.2s;
}

.network-logo-card:hover {
  border-color: #3f3f46;
  transform: translateY(-2px);
}

/* ---- Home network sites mini ---- */
.network-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 16px 0 48px;
}

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

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

.network-mini-card {
  display: block;
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 6px;
  padding: 14px;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.network-mini-card:hover {
  border-color: #52525b;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

/* ---- Cross links ---- */
.cross-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.cross-link {
  display: inline-block;
  padding: 6px 14px;
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #a1a1aa;
  transition: color 0.2s, border-color 0.2s;
  text-decoration: none;
}

.cross-link:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* ---- Description area ---- */
.category-desc {
  color: #a1a1aa;
  line-height: 1.7;
  font-size: 13px;
  max-width: 800px;
  margin: 0 0 24px;
}

/* ---- Related categories ---- */
.related-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 24px;
}

/* ---- Video count ---- */
.video-count {
  font-size: 12px;
  color: #71717a;
  margin-bottom: 16px;
}

/* ---- Search ---- */
.search-empty {
  text-align: center;
  padding: 80px 20px;
  color: #71717a;
}

.search-empty p:first-child {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #a1a1aa;
}

.search-empty a {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 28px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---- Utility ---- */
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }

/* ---- Network link (non-generalist) ---- */
.network-link {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 4px 12px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.network-link:hover {
  background: var(--primary-color);
  color: #fff;
}

/* ---- Legal pages ---- */
.legal-content {
  max-width: 800px;
  color: #a1a1aa;
  font-size: 14px;
  line-height: 1.8;
}

.legal-content h3 {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 32px 0 12px;
}

.legal-content p { margin-bottom: 16px; }

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content li { margin-bottom: 8px; }

/* ---- Dev Popup (coming soon) ---- */
.dev-popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.dev-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.dev-popup__card {
  position: relative;
  background: #18181b;
  border: 1px solid #27272a;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  max-width: 380px;
  width: 100%;
  text-align: center;
  animation: popIn 0.2s ease-out;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.dev-popup__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary-color) 15%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--primary-color);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.dev-popup__title {
  font-size: 20px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 8px;
}

.dev-popup__text {
  font-size: 14px;
  color: #71717a;
  line-height: 1.6;
  margin-bottom: 32px;
}

.dev-popup__btn {
  width: 100%;
  padding: 12px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: opacity 0.2s;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--primary-color) 30%, transparent);
}

.dev-popup__btn:hover { opacity: 0.9; }

/* FEAT-054: Player custom — deferred to full custom player implementation */

/* ---- FEAT-056: Share dropdown ---- */
.share-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 8px;
  padding: 4px;
  min-width: 180px;
  z-index: 50;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.share-dropdown button, .share-dropdown a {
  display: block;
  width: 100%;
  padding: 10px 14px;
  background: transparent;
  border: none;
  color: #a1a1aa;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  border-radius: 6px;
}
.share-dropdown button:hover, .share-dropdown a:hover {
  background: #27272a;
  color: #fff;
}
