/* ===============================
   VTUBER HERO – POLISHED FINAL
================================ */

.vtuber-hero-poster {
  position: relative;
  height: 100vh;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  background: #0a0c11;
  color: #fff;
  font-family: 'Inter', sans-serif;
}

/* ===============================
   背景ライト
================================ */

.hero-bg-base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 35%, var(--main-color), transparent 60%);
  opacity: 0;
  animation: bgFade 1.2s ease forwards;
}

@keyframes bgFade {
  to {
    opacity: 0.30;
  }
}

/* ===============================
   サブビジュアル（奥）
================================ */

.hero-face {
  position: absolute;
  right: -15%;
  top: 0;
  height: 100%;
  z-index: 2;
  opacity: 0;
  transform: scale(1.1);
  animation: faceEnter 2.5s ease forwards;
  animation-delay: 1.3s;
}

@keyframes faceEnter {
  0% {
    opacity: 0;
    transform: scale(1.15);
  }
  100% {
    opacity: 0.38;
    transform: scale(1);
  }
}

.hero-face img {
  height: 100%;
  width: auto;
  object-fit: cover;
  object-position: center;
}

/* ===============================
   ハーフトーン
================================ */

.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--main-color) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: 0.15;
  z-index: 2;
}

/* ===============================
   クロスライン
================================ */

.hero-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.02) 2px, transparent 2px),
    linear-gradient(-45deg, rgba(255,255,255,0.02) 2px, transparent 2px);
  background-size: 140px 140px;
  opacity: 0.2;
  z-index: 2;
}

/* ===============================
   斜め帯
================================ */

.vtuber-hero-poster::before {
	content: "";
	position: absolute;
	width: 150%;
	height: 260px;
	background: var(--main-color);
	top: 60%;
	left: -25%;
	transform: rotate(-5deg) translateX(120px);
	opacity: 0;
	z-index: 3;
	animation: bandEnter 1s ease forwards;
	animation-delay: 0.4s;
}

@keyframes bandEnter {
	to {
		transform: rotate(-6deg) translateX(0);
		opacity: 0.12;
	}
}

/* ===============================
   英字
================================ */

.hero-outline-wrapper {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 6;
}

.hero-outline-text {
	position: absolute;
	bottom: 7%;
	left: -4%;
	font-size: 15vw;
	font-weight: 900;
	color: transparent;
	-webkit-text-stroke: 3px rgba(255,255,255,0.65);
	transform: rotate(-5deg) translateX(-80px);
	opacity: 0;
	white-space: nowrap;
	animation: outlineEnter 2s cubic-bezier(.2,.8,.2,1) forwards;
	animation-delay: 0.4s;
}


@keyframes outlineEnter {
	0% {
		transform: rotate(-5deg) translateX(-120px);
		opacity: 0;
	}
	60% {
		transform: rotate(-5deg) translateX(10px);
		opacity: 1;
	}
	100% {
		transform: rotate(-5deg) translateX(0);
		opacity: 1;
	}
}

/* ===============================
   メイン立ち絵（軽量版）
================================ */

.hero-visual {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%) scale(1.45);
  z-index: 7;
  will-change: transform;
}

.hero-visual::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 160px;
  background: radial-gradient(
    ellipse at center,
    rgba(0,0,0,0.65),
    transparent 70%
  );
  z-index: -1;
}

.hero-visual img {
  height: 100vh;
  object-fit: contain;
  object-position: top center;
  opacity: 0;
  transform: scale(0.9);
  animation: visualEnter 1.6s cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: 0.2s;
}

@keyframes visualEnter {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===============================
   左情報
================================ */

.hero-info-left {
  position: absolute;
  top: 14%;
  left: 8%;
  max-width: 420px;
  z-index: 9;
  opacity: 0;
  transform: translateY(30px);
  animation: infoEnter 1s ease forwards;
  animation-delay: 0.7s;
}

@keyframes infoEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-code {
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.32),
    0 0 18px rgba(8, 18, 38, 0.22);
}

.hero-title {
	font-size: 4.3rem;
	font-weight: 900;
	margin: 0;
	line-height: 1.05;
  text-shadow:
    0 3px 14px rgba(0, 0, 0, 0.36),
    0 0 26px rgba(8, 18, 38, 0.26);
}

.hero-comment {
  margin-top: 20px;
  font-size: 1rem;
  opacity: 0.85;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.3),
    0 0 18px rgba(8, 18, 38, 0.2);
}

/* ===============================
   Scroll Indicator
================================ */

.hero-scroll-indicator {
	position: absolute;
	bottom: 75px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 12;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	opacity: 0;
/* 	animation:
		scrollFadeIn 1.2s ease forwards,
		scrollFloat 3s ease-in-out infinite,
		scrollGlow 4s ease-in-out infinite; */
	animation: scrollFadeIn 1.2s ease forwards;
	animation-delay: 2.2s;
}

.hero-scroll-indicator::after {
	content: "";
	position: absolute;
	width: 120px;
	height: 120px;
	opacity: 0.15;
	z-index: -1;
/* 	filter: blur(40px); */
}

.scroll-text {
  font-size: 12px;
  letter-spacing: 0.4em;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.9);
  border-bottom: 2px solid rgba(255,255,255,0.9);
  transform: rotate(45deg);
}

@keyframes scrollFadeIn { to { opacity: 1; } }
@keyframes scrollFloat {
  0%   { transform: translate(-50%, 0); }
  50%  { transform: translate(-50%, 12px); }
  100% { transform: translate(-50%, 0); }
}
@keyframes scrollGlow {
  0%   { opacity: 1; }
  50%  { opacity: 0.75; }
  100% { opacity: 1; }
}

/* ===============================
   HERO VIDEO
================================ */

.hero-video {
  margin-top: 30px;
  width: 100%;
  max-width: 420px; /* ← PCで広がりすぎ防止 */
  border-radius: 16px;
  overflow: hidden;
}

@media (max-width: 900px) {

  .vtuber-hero-poster {
    height: 100vh;
    min-height: 600px;
    padding: 50px 20px 30px;
  }

  .hero-face,
  .vtuber-hero-poster::before {
    display: none;
  }

  .hero-visual {
    top: 0;
    right: 0;
    transform-origin: top center;
    transform: translateX(20%) scale(1.9);
    left: auto;
    z-index: 6;
  }

  .hero-visual img {
    height: 100%;
    object-fit: cover;
  }

  .hero-info-left {
    top: 14%;
    left: 8%;
    max-width: 51%;
  }

  .hero-title {
    font-size: 2.1rem;
    margin-bottom: 14px;
  }

  .hero-comment {
    font-size: 0.85rem;
  }

  .hero-outline-text {
    font-size: 34vw;
    bottom: 10%;
    left: -8%;
    transform: rotate(-6deg);
    -webkit-text-stroke: 2px rgba(255,255,255,0.18);
    opacity: 1;
  }

  .hero-video {
    display: block;
    position: relative;
    z-index: 9;
    margin-top: 20px;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
  }

  .hero-video img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .hero-video::before {
/*     content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.55),
      transparent 65%
    );
    pointer-events: none; */
	  display: none;
  }

  .hero-video .play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
  }

  .hero-video .play-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.35);
  }

  .hero-video .play-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 13px solid #fff;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    margin-left: 3px;
  }
}
