/* ==========================================================================
   VTuber Profile
   Dedicated styles for the official activity profile page.
   ========================================================================== */

.vt-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 48px) 0 68px;
  background:
    radial-gradient(circle at 72% 20%, rgba(157, 233, 246, 0.2), transparent 30rem),
    radial-gradient(circle at 10% 80%, rgba(232, 215, 170, 0.12), transparent 24rem),
    #05070d;
}

.vt-hero__video,
.vt-hero__shade {
  position: absolute;
  inset: 0;
}

.vt-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  filter: saturate(0.88) contrast(1.05);
}

.vt-hero__shade {
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.95), rgba(5, 7, 13, 0.66) 48%, rgba(5, 7, 13, 0.92)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px);
}

.vt-hero__inner {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: clamp(34px, 6vw, 80px);
}

.vt-hero h1 {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 1;
}

.vt-hero__subtitle {
  margin-top: 18px;
  color: var(--color-gold);
  font-family: var(--font-serif);
  font-size: clamp(1.08rem, 2.3vw, 1.58rem);
  line-height: 1.5;
}

.vt-hero__lead {
  max-width: 680px;
  margin-top: 26px;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.45vw, 1.12rem);
  line-height: 1.9;
}

.vt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.vt-hero__visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(195, 218, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-soft);
}

.vt-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 58%, rgba(5, 7, 13, 0.36)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px);
  pointer-events: none;
}

.vt-hero__visual img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.vt-section {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) 0;
}

.vt-section__heading {
  max-width: 760px;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.vt-section__heading h2,
.vt-visual__body h2 {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  font-weight: 400;
  line-height: 1.08;
}

.vt-section__heading p:not(.eyebrow),
.vt-visual__body p {
  margin-top: 20px;
  color: var(--color-muted);
  line-height: 1.95;
}

.vt-profile__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.78fr);
  gap: 22px;
}

.vt-profile__text,
.vt-profile__data,
.vt-card,
.vt-content,
.vt-guideline,
.vt-link {
  border: 1px solid rgba(195, 218, 255, 0.16);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow-card);
}

.vt-profile__text {
  padding: clamp(26px, 5vw, 46px);
  color: var(--color-muted);
  font-family: var(--font-serif);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 2;
}

.vt-profile__text p + p {
  margin-top: 1.3em;
}

.vt-profile__data {
  padding: 24px;
  display: grid;
  gap: 14px;
}

.vt-profile__data div {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(195, 218, 255, 0.12);
}

.vt-profile__data div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.vt-profile__data dt {
  color: var(--color-gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vt-profile__data dd {
  color: var(--color-text);
  line-height: 1.7;
}

.vt-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.vt-card {
  min-height: 220px;
  padding: 24px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.vt-card:hover,
.vt-content:hover,
.vt-link:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 215, 170, 0.42);
  background: rgba(255, 255, 255, 0.06);
}

.vt-card__index {
  color: var(--color-aqua);
  font-family: var(--font-serif);
  font-size: 1.7rem;
}

.vt-card h3,
.vt-content h3,
.vt-guideline h3 {
  margin-top: 32px;
  font-family: var(--font-serif);
  font-size: 1.42rem;
  font-weight: 400;
}

.vt-card p:not(.vt-card__index),
.vt-content p {
  margin-top: 16px;
  color: var(--color-muted);
  line-height: 1.8;
}

.vt-visual {
  width: 100%;
  padding-inline: max(24px, calc((100% - 1120px) / 2));
  background:
    linear-gradient(90deg, rgba(7, 11, 22, 0.92), rgba(7, 11, 22, 0.62)),
    radial-gradient(circle at 76% 18%, rgba(157, 233, 246, 0.16), transparent 24rem);
}

.vt-visual__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.62fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.vt-visual__image {
  overflow: hidden;
  border: 1px solid rgba(195, 218, 255, 0.18);
  box-shadow: var(--shadow-soft);
}

.vt-visual__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.vt-content-list,
.vt-link-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.vt-content {
  padding: 26px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.vt-content h3 {
  margin-top: 0;
}

.vt-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.vt-gallery__item {
  min-height: 250px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(195, 218, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(137, 184, 255, 0.12), rgba(232, 215, 170, 0.07)),
    rgba(255, 255, 255, 0.03);
}

.vt-gallery__item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 420ms ease;
}

.vt-gallery__item:hover img {
  transform: scale(1.035);
}

.vt-gallery__placeholder span {
  color: rgba(232, 215, 170, 0.72);
  font-family: var(--font-serif);
  font-size: 1.25rem;
}

.vt-guideline-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.vt-guideline {
  padding: 28px;
}

.vt-guideline h3 {
  margin-top: 0;
  color: var(--color-gold);
}

.vt-guideline ul {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  color: var(--color-muted);
}

.vt-guideline li {
  padding-left: 16px;
  border-left: 1px solid rgba(232, 215, 170, 0.36);
  line-height: 1.7;
}

.vt-link {
  min-height: 116px;
  padding: 24px;
  display: grid;
  gap: 12px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.vt-link strong {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
}

.vt-link span {
  color: var(--color-muted);
  line-height: 1.7;
}

@media (max-width: 980px) {
  .vt-hero__inner,
  .vt-profile__grid,
  .vt-visual__layout {
    grid-template-columns: 1fr;
  }

  .vt-hero {
    min-height: auto;
  }

  .vt-hero__visual {
    max-width: 480px;
  }

  .vt-card-grid,
  .vt-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .vt-hero {
    padding: calc(var(--header-height) + 34px) 0 54px;
  }

  .vt-actions,
  .vt-card-grid,
  .vt-content-list,
  .vt-gallery,
  .vt-guideline-grid,
  .vt-link-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .vt-section {
    padding: 62px 0;
  }

  .vt-profile__data div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .vt-card {
    min-height: 0;
  }

  .vt-gallery__item {
    min-height: 220px;
  }
}
