@import url('https://fonts.googleapis.com/css2?family=Anton&family=Cinzel:wght@400;700&family=Inter:wght@300;400;600;900&family=Noto+Sans+JP:wght@300;400;500;700;900&display=swap');

:root {
  --bg: #050505;
  --text: #f0f0f0;
  --gold: #d4af37;
  --accent: #38bdf8;
  --glass: rgba(15, 20, 25, 0.4);
  --border: rgba(255, 255, 255, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { cursor: none; } /* Custom cursor */
body {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden !important;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}
#smooth-wrapper {
  overflow-x: hidden !important;
  width: 100%;
}

/* Custom Cursor */
#cursor {
  position: fixed;
  top: 0; left: 0;
  width: 12px; height: 12px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background 0.3s, mix-blend-mode 0.3s;
  mix-blend-mode: difference;
}
html:active #cursor { transform: translate(-50%, -50%) scale(0.6); }

/* Header & Nav */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 5vw;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}
.logo-text {
  font-family: 'Anton', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: #fff;
  text-decoration: none;
}
.desktop-nav ul {
  display: flex;
  gap: 3rem;
  list-style: none;
}
.desktop-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: #888;
  text-decoration: none;
  transition: color 0.3s;
}
.desktop-nav a:hover {
  color: var(--gold);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: #fff;
  transition: all 0.3s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(5, 5, 5, 0.95);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}
.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}
.mobile-menu ul {
  list-style: none;
  text-align: center;
}
.mobile-menu li {
  margin: 2rem 0;
  overflow: hidden;
}
.mobile-menu a {
  font-family: 'Cinzel', serif; /* More stylish font */
  font-size: 1.8rem; /* Reduced from 3rem */
  color: #fff;
  text-decoration: none;
  display: block;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}
.mobile-menu.active a {
  transform: translateY(0);
}

/* Hamburger Animation */
.menu-open .hamburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .hamburger span:nth-child(2) { opacity: 0; }
.menu-open .hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Backgrounds */
#bg-container {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: -1; pointer-events: none;
}
.bg-layer {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.1);
  will-change: opacity, transform;
}
.bg-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.8) 100%);
}
.noise-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacoty='1'/%3E%3C/svg%3E");
  opacity: 0.05; mix-blend-mode: overlay;
}

/* SPECIFIC BACKGROUNDS - Removed the opacity:0 bug! GSAP will handle opacity */
#bg-hero { background-image: url('bg_hero.png'); }
#bg-about { background-image: url('bg_about.png'); }
#bg-artists { background-image: url('bg_artists.png'); }
#bg-stage { background-image: url('bg_stage.png'); }
#bg-live { background-image: url('bg_live.png'); }

/* Layout */
.panel {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 8rem 5vw;
}
.content { width: 100%; max-width: 1400px; margin: 0 auto; }
.full-width { max-width: 100%; padding: 0 5vw; }

/* Typography */
.gold-text { color: var(--gold); }
.title-huge {
  font-family: 'Anton', sans-serif;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.9;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: -0.02em;
}
.title-large {
  font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; line-height: 1.1; margin-bottom: 1rem;
}
.text-outline {
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,0.3);
}
.subtitle-text {
  font-size: 1.2rem;
  color: #a3a3a3;
  margin-top: 1rem;
  font-weight: 300;
  letter-spacing: 0.2em;
}

/* Masks & Reveals */
.line-mask { overflow: hidden; }
.split-line {
  /* initial state for GSAP */
  transform: translateY(110%);
}
.mask-reveal {
  opacity: 0;
  clip-path: inset(100% 0 0 0); /* will animate to inset(0% 0 0 0) */
}
.reveal-text {
  opacity: 0;
  transform: translateY(30px);
}
.parallax-img {
  width: 100%; height: 130%; object-fit: cover;
  /* GSAP will move it via yPercent */
}

/* Artists Swiper 3D Styles (Converted from Works) */
/* Artists Swiper 3D Styles (Restored and Fixed) */
.works-slider-wrapper {
  margin-top: 4rem;
  padding: 2rem 0;
  width: 100%;
  position: relative;
  perspective: 2000px;
  overflow: hidden; /* Hide slides beyond immediate neighbors */
}
.works-swiper {
  padding: 4rem 0 !important;
  width: 100%;
  overflow: visible !important; 
}
.works-swiper .swiper-slide {
  width: 500px !important;
  height: auto;
  transition: opacity 0.5s;
  display: flex !important;
  justify-content: center;
  align-items: center;
  backface-visibility: hidden;
  opacity: 0 !important;
  pointer-events: none;
}
.works-swiper .swiper-slide-active,
.works-swiper .swiper-slide-next,
.works-swiper .swiper-slide-prev {
  opacity: 1 !important;
  pointer-events: auto;
}
.works-swiper .swiper-slide-active { z-index: 10; }
.works-swiper .swiper-slide-next,
.works-swiper .swiper-slide-prev { z-index: 1; }

.swiper-button-prev, .swiper-button-next {
  color: #fff !important;
  transition: all 0.3s;
}
.swiper-button-prev::after, .swiper-button-next::after {
  font-size: 1.5rem !important;
  font-weight: 900;
}

.work-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.work-img-box {
  width: 100%;
  aspect-ratio: 1/1;
  background: #111;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.8);
  border: 1px solid rgba(255,255,255,0.05);
}
.work-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-meta {
  margin-top: 2rem;
  text-align: center;
  width: 100%;
}
.work-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  color: #fff;
}
.work-socials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1rem;
  max-width: 400px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.8rem;
  text-align: left;
}
.work-socials p {
  font-size: 0.75rem;
  color: #aaa;
  letter-spacing: 0.05em;
  margin: 0;
  line-height: 1.2;
}
.work-socials span {
  display: block;
  color: var(--gold);
  font-size: 0.6rem;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  letter-spacing: 0.2em;
}

.works-swiper .swiper-button-next,
.works-swiper .swiper-button-prev {
  color: #fff !important;
  width: 50px; height: 50px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  transition: all 0.3s;
  top: 45% !important;
  z-index: 100 !important;
}
.works-swiper .swiper-button-prev { left: 10px !important; }
.works-swiper .swiper-button-next { right: 10px !important; }

.works-swiper .swiper-button-next:after,
.works-swiper .swiper-button-prev:after {
  font-size: 1rem !important;
}
.works-swiper .swiper-button-next:hover,
.works-swiper .swiper-button-prev:hover {
  background: #fff;
  color: #000 !important;
}

.view-more-btn {
  background: transparent;
  color: #fff;
  border: 1px solid #333;
  padding: 1.2rem 4rem;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s;
}
.view-more-btn:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* Glass Card */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 1px; /* sharp edges for premium feel */
  padding: 3rem;
}

/* --- Hero Section --- */
.hero-content {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; height: 100vh; padding-top: 10vh;
}
.hero-logo-wrapper {
  width: clamp(100px, 40vw, 150px);
  height: clamp(100px, 40vw, 150px);
  overflow: hidden; border-radius: 20px;
  margin-bottom: 3rem;
  position: relative;
  /* Ensure mask visibility on mobile */
  -webkit-mask-image: -webkit-radial-gradient(white, black); 
}
.hero-logo { 
  width: 100%;
  height: 100% !important; 
  object-fit: contain !important; /* Changed from cover to avoid clipping logo */
}
.huge-title { text-align: center; margin-bottom: 5rem; width: 100%; }
.huge-title h1 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(5rem, 15vw, 12rem);
  line-height: 0.85; margin: 0;
  letter-spacing: -0.03em;
  text-align: center;
}
.huge-title .accent { color: var(--gold); }
.hero-bottom { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.hero-bottom .subtitle { letter-spacing: 0.3em; font-size: 0.9rem; color: #888; }
.scroll-down { display: flex; flex-direction: column; align-items: center; gap: 1rem; font-size: 0.7rem; letter-spacing: 0.2em; color: #666; }
.scroll-line { width: 1px; height: 80px; background: rgba(255,255,255,0.2); position: relative; overflow: hidden; }
.scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: #fff; animation: scrollAnim 2s infinite ease-in-out;
}
@keyframes scrollAnim { 0% { top: -100%; } 100% { top: 100%; } }

/* --- About Section --- */
.section-header { margin-bottom: 5rem; }
.section-header.center { text-align: center; }
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; }
.about-text p { font-size: 1.25rem; line-height: 1.8; margin-bottom: 2rem; color: #ddd; }
.info-list { list-style: none; margin-top: 2rem; }
.info-list li {
  display: flex; justify-content: space-between; border-bottom: 1px solid var(--border);
  padding: 1.5rem 0; font-size: 1.1rem;
}
.info-list span { color: #888; font-size: 0.9rem; width: 100px; display: inline-block; letter-spacing: 0.1em; }

/* --- Members Section --- */
.horizontal-scroll-container {
  display: flex; gap: 3rem; overflow-x: visible;
  padding: 2rem 0;
  justify-content: center; /* Center items on desktop */
  flex-wrap: wrap; /* Allow wrapping if needed */
}
.member-card { flex: 0 0 450px; }
.member-card h3 { font-size: 2rem; margin-bottom: 0.5rem; letter-spacing: 0.1em;}
.member-card .role { font-size: 0.9rem; color: #aaa; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 2rem; }
.member-card hr { border: none; border-top: 1px solid var(--border); margin-bottom: 2rem; }
.member-card .desc { font-size: 1.1rem; line-height: 1.7; color: #ccc; }

/* --- Works Section --- */
.section-flex { display: flex; gap: 5rem; align-items: flex-start; }
.work-left { flex: 1; position: sticky; top: 30vh; }
.work-left .desc { margin-top: 2rem; font-size: 1.3rem; color: #aaa; max-width: 400px;}
.work-right { flex: 1.5; display: flex; flex-direction: column; gap: 2rem; }
.work-item h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.work-item p { font-size: 1.1rem; color: #ccc; line-height: 1.6; }

/* --- Artists Section --- */
.artists-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; }
.artist-item { display: flex; flex-direction: column; }
.mt-offset { margin-top: 15vh; }
.img-mask { width: 100%; height: 60vh; overflow: hidden; margin-bottom: 2rem; }
.artist-content h3 { font-size: 3rem; margin-bottom: 1rem; }
.social-pills { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.social-pills span {
  padding: 0.5rem 1rem; border: 1px solid var(--border); border-radius: 50px;
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
}

/* --- Stage Section --- */
.stage-wrapper { display: flex; gap: 4rem; padding: 0; overflow: hidden; }
.stage-img-mask { flex: 1; overflow: hidden; height: 100%; min-height: 600px; }
.stage-info { flex: 1; padding: 4rem 4rem 4rem 0; display: flex; flex-direction: column; justify-content: center; }
.stage-info .tagline { font-size: 1.2rem; color: #fff; margin: 1rem 0 3rem; letter-spacing: 0.2em; }
.stage-dl { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 2rem; }
.dl-row { display: flex; padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.dl-row:last-child { border-bottom: none; }
.dl-row span { width: 150px; color: var(--gold); font-size: 0.9rem; letter-spacing: 0.1em; }
.cast { line-height: 1.8; color: #aaa; }

/* --- Live Section --- */
.center-focus { display: flex; flex-direction: column; align-items: center; }
.live-card { max-width: 900px; width: 100%; margin-top: -3rem; position: relative; z-index: 2; padding: 4rem; }
.live-date { font-family: 'Anton', sans-serif; font-size: 3rem; color: var(--gold); margin-bottom: 1rem; line-height: 1; }
.live-date span { font-size: 1.2rem; vertical-align: super; }
.live-title { font-size: 4rem; font-weight: 900; margin-bottom: 4rem; line-height: 1.1; letter-spacing: -0.03em; }
.live-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.live-label { font-size: 0.8rem; color: #666; letter-spacing: 0.2em; margin-bottom: 0.5rem; }
.live-val { font-size: 1.2rem; line-height: 1.6; }
.micro { font-size: 0.9rem; color: #888; }
/* Footer */
footer { 
  padding: 8rem 0; 
  text-align: center; 
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
footer h2 { 
  font-family: 'Anton', sans-serif; 
  font-size: 4rem; 
  margin-bottom: 2rem; 
  letter-spacing: 0.05em; 
  text-align: center !important;
  width: 100%;
  display: block;
}

/* Footer Stealth Link Pattern (KI Based) */
.footer-copyright {
  margin-top: 4rem;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  color: #666;
  letter-spacing: 0.1em;
  text-align: center; /* Ensure centered */
}
.footer-copyright .separator {
  color: #333;
}
.stealth-link {
  color: #888; /* Slightly brighter for better visibility on black */
  text-decoration: none;
  transition: color 0.3s, opacity 0.3s;
  position: relative;
  z-index: 5;
}
.stealth-link:hover {
  color: var(--gold);
  opacity: 1;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 50%;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: #fff;
  color: #000;
}

/* Media Queries Adjustment */
@media (max-width: 1024px) {
  #cursor { display: none !important; } /* Hide cursor on mobile/tablet */
  .desktop-nav { display: none; }
  .hamburger { display: flex; }
  .section-flex { flex-direction: column; }
  .work-left { position: static; margin-bottom: 3rem; }
  .about-grid { grid-template-columns: 1fr; }
  .stage-wrapper { flex-direction: column; }
  .stage-img-mask { min-height: 400px; }
  .stage-info { padding: 3rem; }
}

@media (max-width: 768px) {
  .huge-title h1 { font-size: 22vw; }
  .title-huge { font-size: 4rem; }
  .hero-bottom .subtitle {
    text-align: center;
    line-height: 1.6;
    padding: 0 1rem;
  }
  .artists-grid { grid-template-columns: 1fr; }
  .mt-offset { margin-top: 4rem; }
  .live-card { padding: 2rem; margin-top: 2rem; }
  .live-grid { grid-template-columns: 1fr; gap: 2rem; }
  .live-title { font-size: 2.5rem; }
  
  footer h2 { 
    font-size: 3rem; 
    text-align: center !important;
  }
  
  /* Members Vertical Stack on Mobile */
  .horizontal-scroll-container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .member-card { flex: 0 0 auto; width: 100%; max-width: 450px; }
  
  /* Artists Slider Mobile Refinement */
  .works-swiper {
    padding: 4rem 0 !important;
    width: 100%;
  }
  .works-swiper .swiper-slide {
    width: 280px !important; /* Smaller for mobile */
  }
  .swiper-button-prev, .swiper-button-next {
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    z-index: 20;
  }
  .swiper-button-prev { left: 10px !important; }
  .swiper-button-next { right: 10px !important; }
  
  /* Footer Stealth Link Mobile */
  .footer-copyright .separator { display: none; }
  .footer-copyright .designed-by {
    display: block;
    margin-top: 8px;
  }
}
