/*=============== VIDEOS PAGE ===============*/
:root {
  --v-dark: #0e0d16;
  --v-panel: #16151f;
  --v-muted: #a5a3b0;
  --v-accent: #ff2d2d;
  --v-accent-soft: rgba(255, 45, 45, 0.15);
  --v-white: #ffffff;
  --v-max: 1200px;
}

.videos__page {
  background-color: #f7f8fd;
  margin: 0;
}

/*=============== NAV: white over hero, dark once scrolled ===============*/
.videos__page .header {
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.videos__page .nav__toggle,
.videos__page .nav__toggle i {
  color: var(--v-white);
  transition: color 0.35s ease;
}

.videos__page .header.scroll-header .nav__toggle,
.videos__page .header.scroll-header .nav__toggle i {
  color: var(--v-dark);
}

/* Desktop: links sit on the transparent header, so start them white */
@media screen and (min-width: 768px) {
  .videos__page .nav__link {
    color: var(--v-white);
    transition: color 0.35s ease, opacity 0.3s ease;
  }

  .videos__page .nav__link:hover {
    color: var(--v-white);
    opacity: 0.7;
  }

  .videos__page .active-link::before {
    background-color: var(--v-white);
    transition: background-color 0.35s ease;
  }

  .videos__page .header.scroll-header .nav__link {
    color: var(--v-dark);
  }

  .videos__page .header.scroll-header .nav__link:hover {
    color: var(--v-accent);
    opacity: 1;
  }

  .videos__page .header.scroll-header .active-link::before {
    background-color: var(--v-accent);
  }
}

/* Mobile: hamburger must stay white over the dark hero */
@media screen and (max-width: 767px) {
  .videos__page .nav__menu {
    background-color: #fff;
  }

  .videos__page .nav__toggle,
  .videos__page .nav__toggle i,
  .videos__page .header:not(.scroll-header) .nav__toggle,
  .videos__page .header:not(.scroll-header) .nav__toggle i {
    color: #fff;
  }

  .videos__page .header.scroll-header .nav__toggle,
  .videos__page .header.scroll-header .nav__toggle i {
    color: #000;
  }
}

/* Nav layout and spacing now live globally in styles.css */
.videos__page .header:not(.scroll-header) {
  box-shadow: none;
}

/*=============== HERO ===============*/
.vhero {
  position: relative;
  isolation: isolate;
  min-height: 88vh;
  display: grid;
  place-items: center;
  padding: 8rem 1.25rem 6rem;
  overflow: hidden;
  text-align: center;
}

.vhero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.vhero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.12);
  animation: vhero-pan 22s ease-in-out infinite alternate;
}

@keyframes vhero-pan {
  from {
    transform: scale(1.12) translate3d(-1.5%, 0, 0);
  }
  to {
    transform: scale(1.2) translate3d(1.5%, -2%, 0);
  }
}

.vhero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      180deg,
      rgba(14, 13, 22, 0.82) 0%,
      rgba(14, 13, 22, 0.55) 45%,
      rgba(14, 13, 22, 0.95) 100%
    );
}

.vhero__inner {
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
}

.vhero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--v-white);
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.vhero__badge i {
  color: var(--v-accent);
  font-size: 1.05rem;
}

.vhero__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--v-accent);
  box-shadow: 0 0 0 0 rgba(255, 45, 45, 0.7);
  animation: v-pulse 2s infinite;
}

@keyframes v-pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(255, 45, 45, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 45, 45, 0);
  }
}

.vhero__title {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--v-white);
}

.vhero__title span {
  display: block;
  background: linear-gradient(90deg, #ff2d2d, #ffb03a, #ff2d2d);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: v-shine 6s linear infinite;
}

@keyframes v-shine {
  to {
    background-position: 200% center;
  }
}

.vhero__text {
  margin: 1.5rem auto 2.5rem;
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.vhero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/*=============== WATCH BUTTON ===============*/
.v-watch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--v-white);
  background-color: var(--v-accent);
  border-radius: 999px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 12px 30px rgba(255, 45, 45, 0.35);
}

.v-watch i {
  font-size: 1.35rem;
  transition: transform 0.3s ease;
}

.v-watch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 20%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 80%
  );
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}

.v-watch:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(255, 45, 45, 0.45);
}

.v-watch:hover i {
  transform: scale(1.15);
}

.v-watch:hover::after {
  transform: translateX(120%);
}

.v-watch--ghost {
  color: var(--v-white);
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.v-watch--ghost:hover {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

/*=============== PLAY RING ===============*/
.vhero__play {
  margin-top: 3rem;
  display: grid;
  place-items: center;
}

.v-play-ring {
  position: relative;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--v-white);
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.v-play-ring i {
  font-size: 2rem;
  margin-left: 4px;
}

.v-play-ring::before,
.v-play-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  animation: v-ripple 2.8s ease-out infinite;
}

.v-play-ring::after {
  animation-delay: 1.4s;
}

@keyframes v-ripple {
  from {
    transform: scale(1);
    opacity: 0.8;
  }
  to {
    transform: scale(1.9);
    opacity: 0;
  }
}

.v-play-ring:hover {
  transform: scale(1.08);
  background-color: var(--v-accent);
}

/*=============== STATS STRIP ===============*/
.vstats {
  max-width: var(--v-max);
  margin: -3.5rem auto 0;
  position: relative;
  z-index: 2;
  padding-inline: 1.25rem;
}

.vstats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background-color: rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(14, 13, 22, 0.15);
}

.vstats__item {
  padding: 2rem 1.25rem;
  text-align: center;
  background-color: var(--v-white);
  transition: background-color 0.3s ease;
}

.vstats__item:hover {
  background-color: #fffafa;
}

.vstats__item h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--v-dark);
}

.vstats__item p {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--v-muted);
}

/*=============== SECTION HEAD ===============*/
.vsection {
  max-width: var(--v-max);
  margin-inline: auto;
  padding: 6rem 1.25rem;
}

.vsection__head {
  margin-bottom: 3rem;
  text-align: center;
}

.vsection__eyebrow {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--v-accent);
}

.vsection__title {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--v-dark);
}

.vsection__text {
  margin: 1rem auto 0;
  max-width: 640px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--v-muted);
}

/*=============== VIDEO CARDS ===============*/
.vgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.vcard {
  position: relative;
  display: block;
  border-radius: 1rem;
  overflow: hidden;
  background-color: var(--v-dark);
  box-shadow: 0 10px 30px rgba(14, 13, 22, 0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.vcard:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(14, 13, 22, 0.28);
}

.vcard__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.vcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.5s ease;
}

.vcard:hover .vcard__media img {
  transform: scale(1.09);
  filter: brightness(0.65);
}

.vcard__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 13, 22, 0) 35%,
    rgba(14, 13, 22, 0.9) 100%
  );
}

.vcard__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--v-white);
  background-color: rgba(255, 45, 45, 0.9);
  border-radius: 999px;
}

.vcard__duration {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--v-white);
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 5px;
}

.vcard__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.vcard:hover .vcard__play {
  opacity: 1;
  transform: scale(1);
}

.vcard__play span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  color: var(--v-white);
  background-color: var(--v-accent);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(255, 45, 45, 0.45);
}

.vcard__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
}

.vcard__body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--v-white);
}

.vcard__meta {
  margin-top: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
}

.vcard__meta i {
  color: var(--v-accent);
}

/*=============== MARQUEE ===============*/
.vmarquee {
  padding-block: 1.5rem;
  background-color: #211f20;
  border-top: 2px solid #767268;
  border-bottom: 2px solid #767268;
  overflow: hidden;
}

.vmarquee__track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: v-scroll 26s linear infinite;
}

.vmarquee:hover .vmarquee__track {
  animation-play-state: paused;
}

.vmarquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.vmarquee__icon {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  flex-shrink: 0;
}

@keyframes v-scroll {
  to {
    transform: translateX(-50%);
  }
}

/*=============== CTA ===============*/
.vcta {
  max-width: var(--v-max);
  margin-inline: auto;
  padding: 6rem 1.25rem;
}

.vcta__box {
  position: relative;
  isolation: isolate;
  padding: 5rem 1.5rem;
  text-align: center;
  border-radius: 1.25rem;
  overflow: hidden;
}

.vcta__box img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vcta__box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    135deg,
    rgba(14, 13, 22, 0.92),
    rgba(255, 45, 45, 0.6)
  );
}

.vcta__box h2 {
  max-width: 700px;
  margin-inline: auto;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--v-white);
}

.vcta__box p {
  margin: 1rem auto 2.5rem;
  max-width: 560px;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

/*=============== SCROLL REVEAL ===============*/
.v-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.3, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.v-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .v-reveal,
  .vhero__media img,
  .vmarquee__track,
  .v-play-ring::before,
  .v-play-ring::after,
  .vhero__title span {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 767px) {
  .vhero {
    min-height: 78vh;
    padding-top: 6.5rem;
  }

  .vstats {
    margin-top: -2rem;
  }

  .vsection,
  .vcta {
    padding-block: 4rem;
  }
}
