/* ==========================================================================
   Video Portfolio Page
   ========================================================================== */

/* ---------- Dark hero + reel zone ---------- */
.vp_dark_zone {
  position: relative;
  background:
    radial-gradient(
      1200px 600px at 50% -10%,
      rgba(245, 110, 44, 0.22),
      transparent 60%
    ),
    linear-gradient(180deg, #05081f 0%, #020842 55%, #05081f 100%);
  overflow: hidden;
}

.vp_dark_zone::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px
  );
  background-size: 26px 26px;
  pointer-events: none;
}

.vp_hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 180px 20px 40px;
}

.vp_hero_badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid rgba(245, 110, 44, 0.45);
  background: rgba(245, 110, 44, 0.12);
  color: #ffb38a;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.vp_hero_badge .vp_live_dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f56e2c;
  animation: vpPulse 1.6s ease-in-out infinite;
}

@keyframes vpPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(245, 110, 44, 0.6);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(245, 110, 44, 0);
  }
}

.vp_hero_title {
  color: #ffffff;
  font-size: clamp(34px, 5.4vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 auto 18px;
  max-width: 900px;
}

.vp_hero_title span {
  background: linear-gradient(92deg, #f56e2c 10%, #ffb038 55%, #f56e2c 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vp_hero_subtitle {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(15px, 1.6vw, 19px);
  max-width: 620px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.vp_hero_hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.vp_hero_hint i {
  color: #f56e2c;
  animation: vpBounce 1.8s ease-in-out infinite;
}

@keyframes vpBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* ---------- Reel slider ---------- */
.vp_reel_section {
  position: relative;
  z-index: 1;
  padding: 30px 0 90px;
}

.reel_carousel {
  overflow: visible;
  padding: 20px 0 30px;
}

.reel_carousel .swiper-slide {
  transform: scale(0.86);
  opacity: 0.55;
  transition:
    transform 0.5s ease,
    opacity 0.5s ease;
}

.reel_carousel .swiper-slide-active {
  transform: scale(1);
  opacity: 1;
}

.reel_card {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(140deg, #10142e 0%, #1b2150 50%, #10142e 100%);
  background-size: 300% 300%;
  animation: vpShimmer 2.4s ease infinite;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transform: translateZ(0);
}

@keyframes vpShimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.reel_video {
  position: absolute;
  inset: 0;
}

.reel_video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.reel_click_layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(2, 8, 30, 0.72) 100%
  );
}

.reel_play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 110, 44, 0.92);
  color: #ffffff;
  font-size: 20px;
  opacity: 0;
  transform: scale(0.7);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(245, 110, 44, 0.5);
}

.reel_play i {
  margin-left: 3px;
}

.reel_click_layer:hover .reel_play,
.swiper-slide-active .reel_click_layer .reel_play {
  opacity: 1;
  transform: scale(1);
}

.reel_sound_tag {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(2, 8, 30, 0.65);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.reel_sound_tag i {
  color: #f56e2c;
  margin-right: 6px;
}

/* slider arrows */
.vp_nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}

.vp_nav:hover {
  background: #f56e2c;
  border-color: #f56e2c;
}

.vp_nav_prev {
  left: 28px;
}
.vp_nav_next {
  right: 28px;
}

@media (max-width: 991px) {
  .vp_nav {
    display: none;
  }
}

/* ---------- Marquee ribbon ---------- */
.vp_marquee {
  background: #f56e2c;
  overflow: hidden;
  padding: 16px 0;
  transform: rotate(-1.2deg);
  margin: -18px 0 0;
  position: relative;
  z-index: 2;
}

.vp_marquee_track {
  display: flex;
  width: max-content;
  animation: vpMarquee 26s linear infinite;
}

.vp_marquee_track span {
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 0 26px;
  white-space: nowrap;
}

@keyframes vpMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Stats strip ---------- */
.vp_stats {
  background: #05081f;
  padding: 70px 0;
}

.vp_stats_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.vp_stat {
  text-align: center;
  position: relative;
}

.vp_stat + .vp_stat::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.vp_stat_num {
  color: #ffffff;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  line-height: 1;
}

.vp_stat_num em {
  font-style: normal;
  color: #f56e2c;
}

.vp_stat_label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 12px;
}

@media (max-width: 767px) {
  .vp_stats_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }
  .vp_stat + .vp_stat::before {
    display: none;
  }
}

/* ---------- CTA section ---------- */
.vp_cta {
  position: relative;
  background:
    radial-gradient(
      900px 420px at 50% 120%,
      rgba(245, 110, 44, 0.28),
      transparent 65%
    ),
    #020842;
  text-align: center;
  padding: 110px 20px;
  overflow: hidden;
}

.vp_cta_title {
  color: #ffffff;
  font-size: clamp(30px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  max-width: 820px;
  margin: 0 auto 18px;
  /* the global `h2 { text-align: left }` would otherwise win over the section's centering */
  text-align: center;
}

.vp_cta_title span {
  color: #f56e2c;
}

.vp_cta_text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.vp_cta .btns_group {
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  row-gap: 16px;
  margin: 0 auto;
}

.vp_cta .btn.btn-outline-light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.vp_cta .btn.btn-outline-light:hover {
  color: #ffffff;
  border-color: #f56e2c;
  background: rgba(245, 110, 44, 0.15);
}

/* ---------- Fullscreen modal ---------- */
.vp_modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.vp_modal.is-open {
  display: flex;
}

.vp_modal_backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 5, 18, 0.92);
  backdrop-filter: blur(10px);
}

.vp_modal_player {
  position: relative;
  z-index: 2;
  height: min(86vh, 860px);
  aspect-ratio: 9 / 16;
  max-width: calc(100vw - 32px);
  border-radius: 20px;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8);
  animation: vpModalIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes vpModalIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.vp_modal_video,
.vp_modal_video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.vp_modal_close {
  position: absolute;
  top: 22px;
  right: 26px;
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease;
}

.vp_modal_close:hover {
  background: #f56e2c;
  border-color: #f56e2c;
}

.vp_modal_prev,
.vp_modal_next {
  position: relative;
  z-index: 3;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0 26px;
  transition: background 0.25s ease;
}

.vp_modal_prev:hover,
.vp_modal_next:hover {
  background: #f56e2c;
  border-color: #f56e2c;
}

@media (max-width: 767px) {
  .vp_modal_prev,
  .vp_modal_next {
    position: absolute;
    bottom: 26px;
    margin: 0;
  }

  .vp_modal_prev {
    left: calc(50% - 70px);
  }
  .vp_modal_next {
    right: calc(50% - 70px);
  }

  .vp_modal_player {
    height: auto;
    width: calc(100vw - 32px);
    max-height: 80vh;
  }
}

body.vp_modal_open {
  overflow: hidden;
}

body.vp_modal_open .icon-bar,
body.vp_modal_open .backtotop {
  display: none;
}
