/* ════════════════════════════════
   VID.CSS — Video & Motion world
════════════════════════════════ */

body {
  background: #08080a;
  color: #f0ece4;
  overflow-x: hidden;
}

/* ── NAV ── */
.world-nav {
  background: rgba(8, 8, 10, 0.9);
  border-bottom: 1px solid rgba(196, 78, 255, 0.1);
  color: #c44eff;
}
.wn-back {
  color: #f0ece4;
}
.wn-logo {
  color: rgba(240, 236, 228, 0.3);
}
.wn-dot {
  color: #c44eff;
  width: 15px;
  height: 15px;
}

/* ── BACKGROUND ── */
.vid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.vid-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.05;
  animation: grainAnim 0.8s steps(1) infinite;
}
@keyframes grainAnim {
  0% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(-2px, 1px);
  }
  40% {
    transform: translate(1px, -2px);
  }
  60% {
    transform: translate(-1px, 2px);
  }
  80% {
    transform: translate(2px, -1px);
  }
  100% {
    transform: translate(0, 0);
  }
}
.vid-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 90% 90% at 50% 50%,
    transparent 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
}
.vid-glow {
  position: absolute;
  width: 700px;
  height: 300px;
  background: radial-gradient(
    ellipse,
    rgba(196, 78, 255, 0.08) 0%,
    transparent 70%
  );
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* ── HERO ── */
.vid-hero {
  padding: 140px 48px 60px;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.vid-eyebrow {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(196, 78, 255, 0.6);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.vid-eyebrow::before,
.vid-eyebrow::after {
  content: "";
  width: 40px;
  height: 1px;
  background: rgba(196, 78, 255, 0.3);
}
.vid-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(56px, 9vw, 110px);
  line-height: 0.88;
  font-weight: 600;
  color: #f0ece4;
  margin-bottom: 16px;
}
.vid-title em {
  font-style: italic;
  font-weight: 300;
  color: #c44eff;
}
.vid-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(240, 236, 228, 0.4);
  max-width: 480px;
  margin: 0 auto 72px;
  line-height: 1.7;
}

/* ── FEATURED VIDEO ── */
.vid-featured {
  position: relative;
  max-width: 900px;
  margin: 0 auto 80px;
  z-index: 2;
  padding: 0 48px;
}
.vid-featured-label {
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(196, 78, 255, 0.5);
  margin-bottom: 16px;
  text-align: left;
}
.vid-embed-wrap {
  position: relative;
  aspect-ratio: 16/9;
  border: 1px solid rgba(196, 78, 255, 0.15);
  overflow: hidden;
}
.vid-embed-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    transparent 70%,
    rgba(8, 8, 10, 0.8) 100%
  );
  pointer-events: none;
}
.vid-embed-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── VIDEO GRID ── */
.vid-grid-wrap {
  padding: 0 48px 120px;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}
.vid-section-label {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(196, 78, 255, 0.4);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.vid-section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(196, 78, 255, 0.1);
}

.vid-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.vid-card {
  position: relative;
  overflow: hidden;
  cursor: none;
  border: 1px solid rgba(196, 78, 255, 0.08);
  transition: border-color 0.3s;
}
.vid-card:hover {
  border-color: rgba(196, 78, 255, 0.3);
}

.vid-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.vid-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.vid-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(196, 78, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(196, 78, 255, 0.2);
}
.vid-card:hover .vid-thumb img {
  transform: scale(1.05);
}

.vid-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.3s;
}
.vid-card:hover .vid-play-btn {
  background: rgba(0, 0, 0, 0.1);
}
.vid-play-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  padding-left: 3px;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.1);
}
.vid-card:hover .vid-play-icon {
  border-color: #c44eff;
  color: #c44eff;
  background: rgba(196, 78, 255, 0.15);
  transform: scale(1.1);
}

.vid-card-info {
  padding: 16px 20px 20px;
  background: rgba(8, 8, 10, 0.9);
}
.vid-card-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 600;
  color: #f0ece4;
  margin-bottom: 4px;
  line-height: 1.1;
}
.vid-card-type {
  font-family: "Space Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(196, 78, 255, 0.5);
}

/* ════ TABLET ════ */
@media (max-width: 1024px) {
  .vid-hero {
    padding: 140px 32px 60px;
  }
  .vid-title {
    font-size: clamp(52px, 8vw, 96px);
  }
  .vid-featured {
    padding: 0 32px;
  }
  .vid-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vid-grid-wrap {
    padding: 0 32px 100px;
  }
}
/* ════ MOBILE ════ */
@media (max-width: 768px) {
  .vid-hero {
    padding: 100px 20px 48px;
  }
  .vid-title {
    font-size: clamp(44px, 13vw, 72px);
  }
  .vid-sub {
    font-size: 14px;
    margin-bottom: 48px;
  }
  .vid-eyebrow {
    font-size: 9px;
    gap: 8px;
  }
  .vid-eyebrow::before,
  .vid-eyebrow::after {
    width: 24px;
  }
  .vid-featured {
    padding: 0 20px;
    margin-bottom: 48px;
  }
  .vid-featured-label {
    font-size: 8px;
  }
  .vid-grid {
    grid-template-columns: 1fr;
  }
  .vid-grid-wrap {
    padding: 0 20px 80px;
  }
  .vid-card-title {
    font-size: 17px;
  }
  .vid-play-icon {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}
/* ════ SMALL PHONES ════ */
@media (max-width: 430px) {
  .vid-title {
    font-size: clamp(38px, 14vw, 60px);
  }
}
