/* ===========================
   YOUTUBE SHORTS STYLE
=========================== */

html,
body {
  margin: 0;
  padding: 0;
  background: #000;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

body::-webkit-scrollbar {
  display: none;
}

.shorts-feed {
  width: 100%;
  background: #000;
}

/* One Short = One Screen */
.short-screen {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  scroll-snap-align: start;
  position: relative;
  background: #000;
  overflow: hidden;
}

/* Video Container */
.short-video {
  width: 390px;
  height: 92vh;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: #000;
  box-shadow: 0 10px 35px rgba(255, 255, 255, 0.08);
}

/* Youtube iframe */
.short-frame {
  width: 100%;
  height: 100%;
  border: none;
}

/* Optional dark overlay */
.short-video::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.1)
  );
}

/* Desktop */
@media (min-width: 1200px) {
  .short-video {
    width: 400px;

    height: 92vh;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .short-video {
    width: 380px;

    height: 92vh;
  }
}

/* Mobile */
@media (max-width: 768px) {
  html,
  body {
    scroll-snap-type: y mandatory;
  }

  .short-screen {
    padding: 0;
  }

  .short-video {
    width: 100vw;

    height: 100vh;

    border-radius: 0;

    box-shadow: none;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .short-video {
    width: 100vw;

    height: 100vh;
  }
}
