/* =====================================================
   SECTION 3 – CINEMA MODE COMPLETE
===================================================== */

.vtuber-video-section {
	position: relative;
	padding: 100px 8vw;
	overflow: hidden;
	color: #233246;
	background:
		radial-gradient(circle at 50% 20%, #1b2230 0%, transparent 60%),
		linear-gradient(180deg, #0e131c 0%, #070a12 100%);
}

/* =========================================
   背景ギミック①：動画フィルムライン
========================================= */

.vtuber-video-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background:
    repeating-linear-gradient(
      90deg,
      rgba(109,126,154,0.08) 0px,
      rgba(109,126,154,0.08) 2px,
      transparent 2px,
      transparent 180px
    );

  opacity: 0.42;
}

/* =========================================
   背景ギミック②：にじみ光
========================================= */

.vtuber-video-section::after {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
  z-index: 0;

  background:
    radial-gradient(circle at 70% 40%, var(--main-color), transparent 60%);
  filter: blur(160px);
  opacity: 0.13;
}

/* =========================================
   内側ラッパー
========================================= */

.vtuber-video-inner {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  z-index: 2;
  text-align: center;
}

/* =========================================
   見出し
========================================= */

.vtuber-video-heading {
  font-size: 22px;
  letter-spacing: 0.35em;
  margin-bottom: 40px;
  color: #fff;
  opacity: 1;
}

/* =========================================
   2×2レイアウト
========================================= */

.vtuber-video-sublist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 100px 80px;
  margin-bottom: 120px;
}

@media (max-width: 768px) {
  .vtuber-video-sublist {
    gap: 50px 30px;
  }
}


/* =========================================
   動画カード
========================================= */

.video-card {
  position: relative;
  cursor: pointer;
}

.video-card--placeholder {
  cursor: default;
}

.video-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 22px;
  border: 1px solid rgba(132,149,177,0.16);
  box-shadow: 0 28px 56px rgba(114,132,163,0.18);
  transition: filter 0.25s ease, box-shadow 0.25s ease;
}

.video-placeholder-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  border: 1px solid rgba(132,149,177,0.16);
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.12), transparent 28%),
    linear-gradient(180deg, rgba(30,37,52,0.94) 0%, rgba(14,19,28,0.98) 100%);
  box-shadow: 0 28px 56px rgba(114,132,163,0.18);
  overflow: hidden;
}

.video-placeholder-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(152,176,212,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(152,176,212,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.video-placeholder-copy {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  width: calc(100% - 32px);
}

.video-placeholder-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: rgba(219, 230, 246, 0.72);
}

.video-placeholder-text {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  color: #ffffff;
}

/* =========================================
   角線（左上＋右下 / 5pxオフセット）
========================================= */

.video-card::before,
.video-card::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 60px;
  pointer-events: none;
  transition: 0.25s ease;
}

/* 左上 */
.video-card::before {
  top: -10px;
  left: -10px;
  border-top: 2px solid rgba(87,108,141,0.28);
  border-left: 2px solid rgba(87,108,141,0.28);
}

/* 右下 */
.video-card::after {
  bottom: -10px;
  right: -10px;
  border-bottom: 2px solid rgba(87,108,141,0.28);
  border-right: 2px solid rgba(87,108,141,0.28);
}

/* =========================================
   再生ボタン
========================================= */

.play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;

  opacity: 0;
  z-index: 5;
}

.play-icon.is-visible {
  opacity: 1;
}

/* 円背景 */
.play-circle {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 28px rgba(105, 124, 155, 0.18);
}

/* 三角 */
.play-triangle {
  position: relative;
  width: 0;
  height: 0;
  border-left: 24px solid #31425b;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}

/* =========================================
   ホバー演出（即時）
========================================= */

.video-card:hover img {
  filter: brightness(1.08) contrast(1.05);
  box-shadow: 0 34px 64px rgba(110,132,168,0.24);
}

.video-card:hover .play-icon {
  opacity: 1;
}

.video-card:hover::before,
.video-card:hover::after {
  border-color: var(--main-color);
  box-shadow: 0 0 14px var(--main-color);
}

.video-card--placeholder:hover img {
  filter: none;
  box-shadow: none;
}

.video-card--placeholder:hover::before,
.video-card--placeholder:hover::after {
  border-color: rgba(87,108,141,0.28);
  box-shadow: none;
}

/* =========================================
   YouTubeチャンネルボタン
========================================= */

.vtuber-youtube-button {
  display: inline-block;
  padding: 16px 48px;
  border: 1px solid rgba(104,123,154,0.26);
  background: rgba(255,255,255,0.86);
  color: #2d3d55;
  text-decoration: none;
  letter-spacing: 0.25em;
  font-size: 14px;
  box-shadow: 0 18px 40px rgba(115,136,168,0.12);
  transition: all 0.3s ease;
}

.vtuber-youtube-button:hover {
  background: var(--main-color);
  border-color: var(--main-color);
  box-shadow: 0 0 18px var(--main-color);
}

@media (max-width: 768px) {
  .video-placeholder-copy {
    bottom: 16px;
    width: calc(100% - 24px);
  }

  .video-card--placeholder .video-placeholder-kicker {
    font-size: 8px;
    letter-spacing: 0.14em;
  }

  .video-card--placeholder .video-placeholder-text {
    font-size: 12px;
    line-height: 1.4;
  }

  .play-circle {
    width: 46px;
    height: 46px;
  }

  .play-triangle {
    border-left-width: 13px;
    border-top-width: 7px;
    border-bottom-width: 7px;
    margin-left: 3px;
  }
}
