* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  --bg1: #101530;
  --bg2: #050510;

  background:
    radial-gradient(circle at top,
      var(--bg1) 0%,
      var(--bg2) 70%);

  background-size: 140% 140%;

  animation:
    backgroundMove 12s ease-in-out infinite;

  color: white;
  font-family: "Noto Serif JP", serif;

  overflow-x: hidden;

  -webkit-font-smoothing: antialiased;

  scroll-behavior: smooth;
  opacity: 0;

  transition:
    opacity 0.8s ease,
    background 0.8s ease;
}

body::before {
  content: "";

  position: fixed;
  inset: 0;

  pointer-events: none;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px,
      transparent 1px);

  background-size: 100% 32px;

  opacity: 0.18;

  z-index: 0;
}

@keyframes noiseMove {

  0% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(-1%, 1%);
  }

  50% {
    transform: translate(1%, -1%);
  }

  75% {
    transform: translate(1%, 1%);
  }

  100% {
    transform: translate(0, 0);
  }

}

@keyframes backgroundMove {

  0% {
    background-position:
      0% 0%;
  }

  50% {
    background-position:
      100% 40%;
  }

  100% {
    background-position:
      0% 0%;
  }

}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== hero ===== */

.hero {
  min-height: 100svh;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  position: relative;
}

.hero::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at center,
      rgba(108, 99, 255, 0.12),
      transparent 75%);

  pointer-events: none;
  animation:
    glowFloat 10s ease-in-out infinite;
}

@keyframes glowFloat {

  0% {
    transform:
      translateY(0px) scale(1);
  }

  50% {
    transform:
      translateY(-40px) scale(1.12);
  }

  100% {
    transform:
      translateY(0px) scale(1);
  }

}

.hero-inner {
  position: relative;
  z-index: 1;

  max-width: 760px;

  width: 100%;
  padding: 0 20px;
  animation:
    heroFade 1.8s ease forwards;
}

@keyframes heroFade {

  from {
    opacity: 0;

    transform:
      translateY(20px);
  }

  to {
    opacity: 1;

    transform:
      translateY(0);
  }

}

.hero-sub {
  font-size: 14px;
  letter-spacing: 0.3em;
  opacity: 0.5;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(52px, 10vw, 110px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.hero-copy {
  margin-top: 32px;

  font-size: clamp(18px, 2vw, 28px);
  line-height: 2;

  color: rgba(255, 255, 255, 0.88);
}

.hero-text {
  margin-top: 28px;

  color: rgba(255, 255, 255, 0.55);

  line-height: 2.2;
  font-size: 15px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 48px;

  width: 220px;
  height: 58px;

  border-radius: 999px;

  background:
    rgba(255, 255, 255, 0.04);
  border:
    1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 0 20px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);

  transition:
    transform 0.4s,
    background 0.4s,
    box-shadow 0.4s;
}

@media (hover: hover) {

  .hero-button:hover {
    transform:
      translateY(-4px) scale(1.02);

    background: rgba(255, 255, 255, 0.09);

    box-shadow:
      0 10px 30px rgba(0, 0, 0, 0.4),
      0 0 60px rgba(108, 99, 255, 0.18);
  }

}

/* ===== section ===== */

.section {
  padding: 120px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 80px;
}

.section-title p {
  opacity: 0.5;
  margin-bottom: 16px;
  letter-spacing: 0.2em;
  font-size: 14px;
}

.section-title h2 {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 700;
}

/* ===== cards ===== */

.works-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(280px, 1fr));

  justify-content: center;

  gap: 40px;
}

.work-card {
  background: rgba(255, 255, 255, 0.03);

  border: 1px solid rgba(255, 255, 255, 0.05);

  backdrop-filter: blur(10px);

  border-radius: 24px;

  padding: 28px;

  transition:
    transform 0.5s,
    box-shadow 0.5s,
    opacity 0.8s;

  opacity: 0;
  transform: translateY(30px);
  filter: blur(10px);

  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

.work-card.show {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.work-card h3 {
  font-size: 30px;
  margin-bottom: 20px;
}

.work-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 2;
  font-size: 15px;
}

.work-video {
  margin-top: 28px;
}

.work-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;

  border: none;
  border-radius: 16px;

  display: block;
}

.work-link {
  display: inline-block;
  margin-top: 20px;

  color: rgba(180, 190, 255, 0.85);

  transition: opacity 0.3s;
  background: none;

  border: none;

  padding: 0;

  cursor: pointer;

  font-family: inherit;
}

@media (hover: hover) {

  .work-link:hover {
    opacity: 0.7;
  }

}

.work-meta {
  display: flex;
  flex-wrap: wrap;

  gap: 12px;

  margin-bottom: 18px;

  font-size: 12px;

  color: rgba(255, 255, 255, 0.45);

  letter-spacing: 0.08em;
}

/* ===== about ===== */

.about {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.about p {
  color: rgba(255, 255, 255, 0.65);
  line-height: 2.4;
  font-size: 16px;
}

/* ===== links ===== */

.links-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(240px, 1fr));

  gap: 24px;
}

.social-card {
  display: block;

  padding: 28px;

  border-radius: 24px;

  background: rgba(255, 255, 255, 0.03);

  border: 1px solid rgba(255, 255, 255, 0.05);

  transition:
    transform 0.4s,
    background 0.4s,
    box-shadow 0.4s;
}

.social-card h3 {
  font-size: 24px;
  margin-bottom: 14px;
}

.social-card p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  font-size: 14px;
}

@media (hover: hover) {

  .social-card:hover {
    transform: translateY(-6px);

    background: rgba(255, 255, 255, 0.05);

    box-shadow:
      0 10px 30px rgba(0, 0, 0, 0.3),
      0 0 40px rgba(108, 99, 255, 0.08);
  }

}

/* ===== footer ===== */

footer {
  padding: 80px 20px;

  text-align: center;

  color: rgba(255, 255, 255, 0.35);
  font-size: 14px;

}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 140px 0 120px;
  }

  .section {
    padding: 100px 0;
  }

  .hero-copy {
    font-size: 24px;
    line-height: 1.6;
  }

  .hero-text,
  .about p,
  .work-card p {
    font-size: 14px;
    line-height: 2;
  }

  .work-card {
    padding: 22px;
  }

  .work-card h3 {
    font-size: 24px;
  }

  .section-title {
    margin-bottom: 56px;
  }

}

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;

}

.tag {
  padding: 4px 10px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.06);

  border: 1px solid rgba(255, 255, 255, 0.05);

  font-size: 11px;

  color: rgba(255, 255, 255, 0.7);

}

.work-card p,
.hero-copy,
.hero-text,
.about p {

  overflow-wrap: break-word;

  line-height: 2;
  letter-spacing: 0.03em;

  text-wrap: pretty;

}

.video-thumbnail {
  position: relative;

  width: 100%;

  border: none;
  padding: 0;

  background: none;

  cursor: pointer;

  overflow: hidden;
  border-radius: 16px;

}

.video-thumbnail img {
  width: 100%;
  display: block;

  border-radius: 16px;

  transition:
    transform 0.5s,
    opacity 0.5s;

}

.play-button {
  position: absolute;

  top: 50%;
  left: 50%;

  transform:
    translate(-50%, -50%);

  width: 72px;
  height: 72px;

  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 28px;

  background: rgba(0, 0, 0, 0.45);

  backdrop-filter: blur(8px);

  color: white;

  transition:
    transform 0.3s,
    background 0.3s;

}

@media (hover: hover) {

  .video-thumbnail:hover .play-button {
    transform:
      translate(-50%, -50%) scale(1.08);

    background:
      rgba(108, 99, 255, 0.7);
  }

  .video-thumbnail:hover img {
    transform: scale(1.03);

    opacity: 0.9;
  }

}

/* ===== modal ===== */

.modal {
  position: fixed;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;

  background: rgba(0, 0, 0, 0.82);

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.4s,
    visibility 0.4s;

  z-index: 1000;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-inner {
  position: relative;

  width: 100%;
  max-width: 960px;

  transform: scale(0.94);

  transition:
    transform 0.4s ease;
}

.modal.show .modal-inner {
  transform: scale(1);
}

.modal-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;

  border: none;
  border-radius: 20px;

  display: block;
}

.modal-close {
  position: absolute;

  top: -56px;
  right: 0;

  width: 42px;
  height: 42px;

  border: none;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.08);

  color: white;

  font-size: 24px;

  cursor: pointer;

  transition:
    background 0.3s,
    transform 0.3s;
}

@media (hover: hover) {

  .modal-close:hover {
    background: rgba(255, 255, 255, 0.16);

    transform: rotate(90deg);
  }

}

/* ===== filter ===== */

.filter-tags {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  justify-content: center;

  margin-bottom: 60px;

  position: sticky;
  top: 16px;

  z-index: 20;

  backdrop-filter: blur(12px);

  background:
    rgba(5, 5, 16, 0.45);

  border-radius: 999px;

  padding: 12px 18px;

  opacity: 0.82;
}

.filter-tag {
  border: none;

  padding: 10px 18px;

  border-radius: 999px;

  background:
    rgba(255, 255, 255, 0.05);

  border:
    1px solid rgba(255, 255, 255, 0.06);

  color:
    rgba(255, 255, 255, 0.72);

  font-size: 14px;

  cursor: pointer;

  transition:
    background 0.3s,
    transform 0.3s,
    color 0.3s;
}

.filter-tag.active {
  background:
    rgba(108, 99, 255, 0.22);

  border:
    1px solid rgba(140, 130, 255, 0.45);

  color: white;

  box-shadow:
    0 0 20px rgba(108, 99, 255, 0.22);

  border-color:
    rgba(108, 99, 255, 0.5);
}

@media (hover: hover) {

  .filter-tag:hover {
    transform: translateY(-2px);

    background:
      rgba(255, 255, 255, 0.08);

    opacity: 1;
  }

}

.active-filter {

  text-align: center;

  margin-bottom: 24px;

  font-size: 18px;

  color:
    rgba(255, 255, 255, 0.82);

  letter-spacing: 0.08em;

  min-height: 28px;
}

.particles {
  position: fixed;
  inset: 0;

  pointer-events: none;

  z-index: 0;

  opacity: 0.7;

  background-image:
    radial-gradient(rgba(255, 255, 255, 0.18) 1px,
      transparent 1px);

  background-size: 72px 72px;

  animation:
    particlesMove 18s linear infinite;
}

.particles::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at center,
      rgba(120, 120, 255, 0.08),
      transparent 70%);

  filter: blur(80px);

  animation:
    glowFloat 12s ease-in-out infinite;
}

.hero-inner,
.section,
.modal {
  position: relative;
  z-index: 1;
}

@keyframes particlesMove {

  from {
    transform:
      translateY(0);
  }

  to {
    transform:
      translateY(-120px);
  }

}

.work-links {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 18px;

  margin-top: 20px;
}

.work-link,
.work-detail {

  display: flex;

  align-items: center;

  font-size: 14px;

  color:
    rgba(180, 190, 255, 0.85);
}

.work-card-link {
  display: block;
}

.work-card-link:hover .work-card {

  transform:
    translateY(-8px);

  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 50px rgba(108, 99, 255, 0.08);
}

/* ===== detail ===== */

.work-page {

  position: relative;

  z-index: 1;

  padding:
    140px 0;
}

.work-detail-page {

  max-width: 860px;

  margin: 0 auto;
}

.back-link {

  display: inline-flex;

  align-items: center;

  gap: 8px;

  margin-bottom: 60px;

  opacity: 0.55;

  transition: 0.3s;
}

.back-link:hover {

  opacity: 1;

  transform:
    translateX(-4px);
}

.detail-date {

  opacity: 0.45;

  letter-spacing: 0.12em;

  margin-bottom: 24px;
}

.detail-title {

  font-size:
    clamp(48px, 8vw, 92px);

  line-height: 1.1;

  margin-bottom: 32px;
}

.detail-tags {

  margin-bottom: 40px;
}

.detail-text {

  font-size: 18px;

  line-height: 2.5;

  color:
    rgba(255, 255, 255, 0.72);

  margin-bottom: 64px;
}

.detail-video iframe {

  width: 100%;

  aspect-ratio: 16 / 9;

  border: none;

  border-radius: 28px;

  display: block;

  background: black;

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.45);
}

.detail-links {

  display: flex;

  gap: 18px;

  flex-wrap: wrap;

  margin-top: 48px;
}

.hero-button.secondary {

  background:
    rgba(255, 255, 255, 0.03);
}

@media (max-width: 768px) {

  .work-page {

    padding:
      120px 0;
  }

  .detail-title {

    font-size: 52px;
  }

  .detail-text {

    font-size: 15px;

    line-height: 2.2;
  }

  .detail-links {

    flex-direction: column;
  }

  .hero-button {

    width: 100%;
  }
}

/* ===== navigation ===== */

.work-navigation {

  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(260px, 1fr));

  gap: 20px;

  margin-top: 100px;
}

.nav-card {

  display: flex;

  flex-direction: column;

  gap: 10px;

  padding: 28px;

  border-radius: 24px;

  background:
    rgba(255, 255, 255, 0.03);

  border:
    1px solid rgba(255, 255, 255, 0.06);

  transition: 0.35s;
}

.nav-card:hover {

  transform:
    translateY(-6px);

  background:
    rgba(255, 255, 255, 0.05);

  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.35);
}

.nav-label {

  font-size: 12px;

  letter-spacing: 0.12em;

  opacity: 0.45;
}

.nav-card strong {

  font-size: 22px;

  font-weight: 700;
}

/* ===== lyrics ===== */

.lyrics-block {

  margin-top: 72px;
}

.lyrics-toggle {

  background: none;

  border: none;

  color:
    rgba(180, 190, 255, 0.85);

  font-size: 15px;

  cursor: pointer;

  font-family: inherit;

  opacity: 0.75;

  transition: 0.3s;
}

.lyrics-toggle:hover {

  opacity: 1;
}

.lyrics-content {

  color: white;

  white-space: pre-wrap;

  line-height: 2.4;

  margin-top: 2rem;

  display: block;

  opacity: 1;

  margin: 0;

  padding: 0;

  text-indent: 0;

}

.lyrics-content.show {

  max-height: 3000px;

  opacity: 1;

  margin-top: 28px;
}

/* ===== loading ===== */

#loading-screen {

  position: fixed;

  inset: 0;

  z-index: 9999;

  display: flex;

  align-items: center;

  justify-content: center;

  background:
    radial-gradient(circle at top,
      #101530 0%,
      #050510 70%);

  transition:
    opacity 1.2s ease,
    visibility 1.2s ease;
}

#loading-screen h1 {

  font-size:
    clamp(42px, 10vw, 120px);

  letter-spacing: 0.12em;

  opacity: 0;

  animation:
    loadingFade 1.4s ease forwards;
}

#loading-screen.hide {

  opacity: 0;

  visibility: hidden;
}

@keyframes loadingFade {

  0% {

    opacity: 0;

    transform:
      translateY(10px);
  }

  100% {

    opacity: 1;

    transform:
      translateY(0);
  }
}

/* ===== player ===== */

.play-button-audio:hover {

  transform: scale(1.05);

  background:
    rgba(255, 255, 255, 0.14);
}

.music-info span {

  font-size: 15px;

  color:
    rgba(255, 255, 255, 0.8);
}

.music-info {

  flex: 1;
}

.music-title {

  display: block;

  margin-bottom: 10px;

  font-size: 14px;
}

/* ===== mini player ===== */

.mini-player {

  position: fixed;

  left: 50%;

  bottom: 24px;

  transform: translateX(-50%);

  width:
    min(680px, calc(100% - 32px));

  display: flex;

  align-items: center;

  gap: 18px;

  padding: 18px 22px;

  border-radius: 22px;

  z-index: 999;

  background:
    rgba(10, 12, 20, 0.72);

  border:
    1px solid rgba(255, 255, 255, 0.06);

  backdrop-filter:
    blur(18px);

  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.28);

  animation:
    miniFloat 6s ease-in-out infinite;

  opacity: 0;

  pointer-events: none;

  transform: translateY(20px);
}

.mini-player.show {

  opacity: 1;

  pointer-events: auto;

  transform: translateY(0);

}

@keyframes miniFloat {

  0% {

    transform:
      translateX(-50%) translateY(0px);
  }

  50% {

    transform:
      translateX(-50%) translateY(-4px);
  }

  100% {

    transform:
      translateX(-50%) translateY(0px);
  }
}

.mini-play {

  width: 52px;

  height: 52px;

  border: none;

  border-radius: 50%;

  cursor: pointer;

  font-size: 18px;

  color: white;

  background:
    rgba(255, 255, 255, 0.08);

  transition: 0.3s;
}

.mini-play:hover {

  transform: scale(1.05);

  background:
    rgba(255, 255, 255, 0.14);
}

.mini-info {

  flex: 1;
}

#mini-title {

  display: block;

  margin-bottom: 10px;

  font-size: 14px;

  color:
    rgba(255, 255, 255, 0.84);
}

.mini-progress {

  width: 100%;

  height: 4px;

  overflow: hidden;

  border-radius: 999px;

  background:
    rgba(255, 255, 255, 0.08);
}

.mini-progress-bar {

  width: 0%;

  height: 100%;

  background:
    rgba(180, 190, 255, 0.92);
}

.mini-time {

  display: flex;

  gap: 6px;

  margin-bottom: 10px;

  font-size: 12px;

  color:
    rgba(255, 255, 255, 0.5);

  opacity: 0.7;
}

.mini-progress {

  cursor: pointer;

  transition: 0.3s;
}

.mini-progress:hover {

  background:
    rgba(255, 255, 255, 0.14);
}

/* ===== volume ===== */

.volume-control {

  display: flex;

  align-items: center;

  gap: 10px;

  margin-top: 12px;
}

.volume-icon {

  font-size: 12px;

  color:
    rgba(255, 255, 255, 0.5);
}

#volume-slider {

  flex: 1;

  appearance: none;

  height: 3px;

  border-radius: 999px;

  background:
    rgba(255, 255, 255, 0.12);

  outline: none;
}

#volume-slider::-webkit-slider-thumb {

  appearance: none;

  width: 12px;

  height: 12px;

  border-radius: 50%;

  background:
    rgba(220, 225, 255, 0.95);

  cursor: pointer;
}

/* ===== page fade ===== */

body.fade-out {

  opacity: 0;

}

@media (max-width: 768px) {

  .mini-player {

    bottom: 16px;

    padding: 14px 16px;

    gap: 14px;
  }

  .mini-play {

    width: 46px;
    height: 46px;

    font-size: 16px;
  }

  #mini-title {

    font-size: 13px;
  }
}

.play-work-button {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 0.6rem;

  padding:
    0.9rem 1.8rem;

  border-radius: 999px;

  border:
    1px solid rgba(255,
      255,
      255,
      0.08);

  background:
    rgba(255,
      255,
      255,
      0.04);

  color: #fff;

  font-size: 0.95rem;

  letter-spacing: 0.08em;

  cursor: pointer;

  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;

  backdrop-filter:
    blur(12px);

}

.play-work-button:hover {

  transform:
    translateY(-2px);

  background:
    rgba(255,
      255,
      255,
      0.08);

  border-color:
    rgba(255,
      255,
      255,
      0.16);

}

.work-thumbnail {

  width: 100%;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  border-radius: 18px;

  margin-bottom: 1.2rem;

}

.work-thumbnail img {

  width: 100%;

  height: 100%;

  object-fit: cover;

  display: block;

  transition:
    transform 0.6s ease;

}

.work-card:hover .work-thumbnail img {

  transform: scale(1.04);

}

.playlist-section {

  margin-top: 8rem;

}

.playlist-embed {

  position: relative;

  width: 100%;

  aspect-ratio: 16 / 7;

  overflow: hidden;

  border-radius: 28px;

  background:
    rgba(255,
      255,
      255,
      0.03);

  border:
    1px solid rgba(255,
      255,
      255,
      0.06);

  backdrop-filter:
    blur(20px);

}

.playlist-embed iframe {

  width: 100%;

  height: 100%;

  border: 0;

}

@media (max-width: 768px) {

  .filter-tags {

    display: flex;

    flex-wrap: nowrap;

    overflow-x: auto;

    gap: 0.8rem;

    padding-bottom: 0.5rem;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;

    font-size: 0.85rem;

    padding: 0.6rem 1rem;

    white-space: nowrap;
  }

  .filter-tags::-webkit-scrollbar {

    display: none;

  }

}