html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: black;
  overflow: hidden;
}

.swiper,
.swiper-slide {
  height: 100vh;
  width: 100vw;
}
    .video-card {
  width: 100vw;
  height: 100vh;
  position: relative;
  background: black;
  overflow: hidden;
}


video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}



    .poster {
      position: absolute;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      transition: opacity 0.5s ease;
    }

    .poster.hide {
      opacity: 0;
      pointer-events: none;
    }

    .spinner {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 40px;
      height: 40px;
      border: 4px solid rgba(255,255,255,0.3);
      border-top: 4px solid #fff;
      border-radius: 50%;
      animation: spin 1s linear infinite;
      transform: translate(-50%, -50%);
      z-index: 2;
      opacity: 1;
      transition: opacity 0.5s ease;
    }

    @keyframes spin {
      to { transform: translate(-50%, -50%) rotate(360deg); }
    }

    .play-btn {
      position: absolute;
      top: 50%; left: 50%;
      width: 64px;
      height: 64px;
      transform: translate(-50%, -50%);
      background: rgba(0, 0, 0, 0.5);
      border: 3px solid #00a4e3;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      z-index: 3;
      box-shadow: 0 0 5px rgba(0, 164, 227, 0.8);
    }

   .video-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 10;
}

/* WebKit (Chrome, Safari) */
.video-progress::-webkit-progress-bar {
  background: transparent;
}
.video-progress::-webkit-progress-value {
  background: white;
}

/* Firefox */
.video-progress::-moz-progress-bar {
  background: white;
}


    .top-left-icons {
      position: fixed;
      top: 10px;
      left: 10px;
      display: flex;
      gap: 10px;
      z-index: 10;
    }

    .top-left-icons button {
      background: rgba(0, 0, 0, 0.6);
      border: none;
      border-radius: 50%;
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .bottom-right-share {
      position: absolute;
      bottom: 60px;
      right: 10px;
      z-index: 5;
    }

    .share-wrapper button,
    .share-menu button {
      background: rgba(0, 0, 0, 0.6);
      border: none;
      border-radius: 50%;
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }

    .share-menu {
      display: none;
      position: absolute;
      top: -120px;
      right: 0;
      flex-direction: column;
      gap: 8px;
      background: rgba(0,0,0,0.7);
      padding: 8px;
      border-radius: 8px;
    }

    .share-menu.show {
      display: flex;
    }

    .nav-arrows {
      position: fixed;
      top: 50%;
      right: 20px;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
      gap: 12px;
      z-index: 10;
    }

    .nav-arrows button {
      background: rgba(0,0,0,0.6);
      border: none;
      border-radius: 50%;
      width: 36px;
      height: 36px;
      color: white;
      font-size: 18px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    @media (max-width: 768px) {
      .nav-arrows { display: none; }
      html, body, .video-card {
        background: #000;
      }
    }
	/* Default: Desktop View (centered 9:16 player) */
@media (min-width: 769px) {
  .video-card {
    width: 360px;
    height: 640px;
    margin: auto;
    border-radius: 12px;
  }
}

@media (max-width: 768px) {
  .video-card {
    width: 100vw;
    height: 100vh;
    aspect-ratio: auto;
    border-radius: 0;
  }
}

/* Mobile View: Full screen */
@media (max-width: 768px) {
  html, body {
    background: #000;
    height: 100%;
  }

  .video-card {
    width: 100vw;
    height: 100vh;
	aspect-ratio: auto;
    border-radius: 0;
  }
}