/* public/assets/css/video-showcase.css */

/* Section base */
.grandMajesticGoldenVideoShowcaseSection {
  padding: 60px 0;
  background: linear-gradient(180deg, rgba(255,250,245,0.02), rgba(0,0,0,0.02));
  border-radius: 12px;
}

/* Wrapper */
.grandMajesticGoldenVideoShowcaseWrapper {
  text-align: center;
  color: #0f1724;
  position: relative;
}

/* Title / subtitle */
.grandMajesticGoldenVideoShowcaseTitle {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #237cd4;
}
.grandMajesticGoldenVideoShowcaseSubtitle {
  font-size: 15px;
  color: #556972;
  margin-bottom: 28px;
}

/* Grid */
.grandMajesticGoldenVideoShowcaseGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

/* Each video item (poster container) */
.grandMajesticGoldenVideoItem {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(20,30,40,0.06);
  cursor: pointer;
  transition: transform .28s ease, box-shadow .28s ease;
  position: relative;
  min-height: 0;
}

.grandMajesticGoldenVideoItem:focus,
.grandMajesticGoldenVideoItem:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(20,30,40,0.09);
  outline: none;
}

/* Poster wrapper styles */
.vj-poster {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
  overflow: hidden;
}

.vj-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* play button overlay */
.vj-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,199,44,0.98), rgba(255,140,48,0.98));
  border: 3px solid rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(255,140,48,0.18);
  transition: transform .18s ease;
}

.vj-play:active { transform: translate(-50%, -50%) scale(.98); }

.vj-play-icon {
  width: 0;
  height: 0;
  border-left: 16px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
  display: inline-block;
}

/* When actual iframe is inserted, make it responsive */
.grandMajesticGoldenVideoItem iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* HR style (blue→orange gradient) */
.gmgg-hr {
  border: 0;
  height: 4px;
  background: linear-gradient(90deg,#389dff,#ff8b3d);
  border-radius: 8px;
  margin: 36px 0;
}

/* Responsive */
@media (max-width: 991px) {
  .grandMajesticGoldenVideoShowcaseGrid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
  .grandMajesticGoldenVideoShowcaseGrid { grid-template-columns: 1fr; }
  .grandMajesticGoldenVideoShowcaseTitle { font-size: 26px; }
  .grandMajesticGoldenVideoShowcaseSection { padding: 36px 0; }
  .vj-play { width: 56px; height: 56px; }
  .vj-play-icon { border-left-width: 12px; border-top-width: 8px; border-bottom-width: 8px; }
}
