/* ============================================
   YANO☆FACTORY — Official Website Styles
   Theme: Blueprint Factory × Wonder & Adventure
   ============================================ */

/* --- CSS Variables --- */
:root {
  --bg-deep: #0a0e27;
  --bg-dark: #0d1233;
  --bg-mid: #131942;
  --bg-card: #161d4a;
  --bg-card-hover: #1c2558;
  --blue-line: #2a4a8a;
  --blue-glow: #4a7aff;
  --blue-bright: #5e9eff;
  --cyan: #00d4ff;
  --gold: #ffd700;
  --gold-light: #ffe44d;
  --gold-dark: #cc9900;
  --star-glow: #fff3b0;
  --orange: #ff8c42;
  --red-accent: #ff4757;
  --green-accent: #2ed573;
  --purple: #a855f7;
  --white: #e8eaf6;
  --white-bright: #ffffff;
  --text-main: #c5cae9;
  --text-dim: #7986cb;
  --text-bright: #e8eaf6;
  --font-display: 'Bungee', 'Orbitron', sans-serif;
  --font-tech: 'Rajdhani', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --border-blueprint: 1px solid rgba(74, 122, 255, 0.2);
  --shadow-glow: 0 0 20px rgba(74, 122, 255, 0.15);
  --shadow-gold: 0 0 20px rgba(255, 215, 0, 0.3);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.8;
  overflow-x: hidden;
  position: relative;
}

a { color: var(--cyan); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }

img { max-width: 100%; height: auto; }

/* --- Particle Canvas --- */
#particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* --- Loading Screen --- */
#loading-screen {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-factory {
  text-align: center;
  position: relative;
}

.loading-gear {
  font-size: 3rem;
  color: var(--blue-glow);
  position: absolute;
  animation: spin 3s linear infinite;
}

.loading-gear.gear-1 { top: -30px; left: -60px; }
.loading-gear.gear-2 { top: -20px; right: -60px; animation-direction: reverse; font-size: 2.2rem; }

.loading-star {
  font-size: 4rem;
  color: var(--gold);
  animation: pulse-star 1.5s ease-in-out infinite;
  display: block;
  margin-bottom: 1rem;
  text-shadow: 0 0 30px var(--gold), 0 0 60px rgba(255, 215, 0, 0.5);
}

.loading-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.3em;
  margin-bottom: 1.5rem;
}

.loading-bar {
  width: 200px;
  height: 4px;
  background: var(--bg-mid);
  border-radius: 2px;
  margin: 0 auto;
  overflow: hidden;
}

.loading-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-glow), var(--gold), var(--cyan));
  border-radius: 2px;
  animation: loading-fill 2s ease-out forwards;
}

@keyframes loading-fill {
  0% { width: 0%; }
  80% { width: 90%; }
  100% { width: 100%; }
}

/* --- Navigation --- */
#main-nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 14, 39, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(74, 122, 255, 0.15);
  transition: var(--transition);
}

#main-nav.scrolled {
  background: rgba(10, 14, 39, 0.95);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--white-bright) !important;
  display: flex;
  gap: 2px;
}

.logo-star {
  color: var(--gold);
  text-shadow: 0 0 10px var(--gold);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.2rem;
}

.nav-menu a {
  font-family: var(--font-tech);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  letter-spacing: 0.1em;
  transition: var(--transition);
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--gold);
  background: rgba(255, 215, 0, 0.08);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 60%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* --- Cosmic Background --- */
.cosmic-bg {
  overflow: hidden;
}

.cosmic-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 5%   8%,  rgba(255,255,255,0.85) 0%, transparent 100%),
    radial-gradient(1px 1px at 12%  22%, rgba(255,255,255,0.6)  0%, transparent 100%),
    radial-gradient(2px 2px at 18%  55%, rgba(180,210,255,0.7)  0%, transparent 100%),
    radial-gradient(1px 1px at 25%  12%, rgba(255,255,255,0.5)  0%, transparent 100%),
    radial-gradient(1px 1px at 33%  78%, rgba(255,255,255,0.8)  0%, transparent 100%),
    radial-gradient(2px 2px at 40%  35%, rgba(255,215,0,0.5)    0%, transparent 100%),
    radial-gradient(1px 1px at 47%  90%, rgba(255,255,255,0.6)  0%, transparent 100%),
    radial-gradient(1px 1px at 55%  18%, rgba(255,255,255,0.9)  0%, transparent 100%),
    radial-gradient(2px 2px at 62%  63%, rgba(180,210,255,0.6)  0%, transparent 100%),
    radial-gradient(1px 1px at 70%  42%, rgba(255,255,255,0.7)  0%, transparent 100%),
    radial-gradient(1px 1px at 77%   7%, rgba(255,255,255,0.5)  0%, transparent 100%),
    radial-gradient(2px 2px at 83%  85%, rgba(255,215,0,0.4)    0%, transparent 100%),
    radial-gradient(1px 1px at 90%  30%, rgba(255,255,255,0.8)  0%, transparent 100%),
    radial-gradient(1px 1px at 96%  68%, rgba(255,255,255,0.6)  0%, transparent 100%),
    radial-gradient(1px 1px at  8%  95%, rgba(255,255,255,0.4)  0%, transparent 100%),
    radial-gradient(2px 2px at 15%  47%, rgba(180,210,255,0.5)  0%, transparent 100%),
    radial-gradient(1px 1px at 22%  72%, rgba(255,255,255,0.7)  0%, transparent 100%),
    radial-gradient(1px 1px at 38%  15%, rgba(255,255,255,0.6)  0%, transparent 100%),
    radial-gradient(1px 1px at 52%  58%, rgba(255,255,255,0.5)  0%, transparent 100%),
    radial-gradient(2px 2px at 65%  25%, rgba(255,215,0,0.45)   0%, transparent 100%),
    radial-gradient(1px 1px at 73%  80%, rgba(255,255,255,0.7)  0%, transparent 100%),
    radial-gradient(1px 1px at 86%  50%, rgba(255,255,255,0.6)  0%, transparent 100%),
    radial-gradient(1px 1px at 93%  15%, rgba(180,210,255,0.8)  0%, transparent 100%),
    radial-gradient(2px 2px at 28%  88%, rgba(255,255,255,0.5)  0%, transparent 100%),
    radial-gradient(1px 1px at 44%  44%, rgba(255,255,255,0.9)  0%, transparent 100%),
    radial-gradient(1px 1px at 58%  97%, rgba(255,215,0,0.4)    0%, transparent 100%),
    radial-gradient(1px 1px at 80%  10%, rgba(255,255,255,0.6)  0%, transparent 100%),
    radial-gradient(2px 2px at  3%  40%, rgba(180,210,255,0.5)  0%, transparent 100%),
    radial-gradient(1px 1px at 97%  85%, rgba(255,255,255,0.7)  0%, transparent 100%),
    radial-gradient(1px 1px at 50%   5%, rgba(255,255,255,0.8)  0%, transparent 100%);
  animation: cosmicTwinkle 6s ease-in-out infinite alternate;
}

.cosmic-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 40% 30% at 15% 50%, rgba(74,122,255,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 30% 40% at 80% 30%, rgba(168,85,247,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 25% 25% at 60% 80%, rgba(0,212,255,0.05)  0%, transparent 70%);
  animation: nebulaShift 12s ease-in-out infinite alternate;
}

.cosmic-bg > * {
  position: relative;
  z-index: 1;
}

@keyframes cosmicTwinkle {
  0%   { opacity: 0.6; }
  50%  { opacity: 1; }
  100% { opacity: 0.7; }
}

@keyframes nebulaShift {
  0%   { transform: scale(1)    rotate(0deg); opacity: 0.8; }
  100% { transform: scale(1.05) rotate(2deg); opacity: 1; }
}

/* --- Sections --- */
.section {
  position: relative;
  z-index: 1;
  padding: 6rem 1.5rem;
}

.section-alt {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-mid) 50%, var(--bg-dark) 100%);
}

.section-alt::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-glow), transparent);
}

.section-alt::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-glow), transparent);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
  text-shadow: var(--shadow-gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--white-bright);
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.section-line {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  margin: 0.8rem auto;
  border-radius: 2px;
}

.section-label {
  font-family: var(--font-tech);
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* --- Hero Section --- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 64px;
  overflow: hidden;
  background: radial-gradient(ellipse at center, var(--bg-mid) 0%, var(--bg-deep) 70%);
}

/* ============================
   CLOUDS
   ============================ */

.clouds-layer {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.cloud {
  position: absolute;
  opacity: 0.9;
  filter: drop-shadow(0 4px 12px rgba(255, 230, 255, 0.4))
          brightness(1.1)
          saturate(1.2);
}

/* 各雲の初期位置・サイズ・アニメ */
.c1 {
  width: 260px;
  top: 6%;
  left: -280px;
  animation: cloudDrift1 30s linear infinite,
             cloudWiggle 4s ease-in-out infinite;
}
.c2 {
  width: 150px;
  top: 20%;
  left: -170px;
  animation: cloudDrift1 42s linear 5s infinite,
             cloudWiggle 5s ease-in-out 1.2s infinite;
  filter: drop-shadow(0 4px 10px rgba(255,200,255,0.5)) brightness(1.15) hue-rotate(10deg);
}
.c3 {
  width: 310px;
  top: 58%;
  left: -340px;
  animation: cloudDrift1 24s linear 3s infinite,
             cloudWiggle 6s ease-in-out 0.5s infinite;
  opacity: 0.75;
}
.c4 {
  width: 200px;
  top: 4%;
  right: -220px;
  left: auto;
  animation: cloudDrift2 36s linear 2s infinite,
             cloudWiggle 4.5s ease-in-out 0.8s infinite;
  filter: drop-shadow(0 4px 12px rgba(255,240,200,0.5)) brightness(1.1);
}
.c5 {
  width: 170px;
  top: 35%;
  right: -190px;
  left: auto;
  animation: cloudDrift2 28s linear 9s infinite,
             cloudWiggle 3.8s ease-in-out 2s infinite;
  opacity: 0.85;
  filter: drop-shadow(0 4px 10px rgba(200,230,255,0.5)) brightness(1.12) hue-rotate(-10deg);
}
.c6 {
  width: 130px;
  top: 70%;
  right: -150px;
  left: auto;
  animation: cloudDrift2 46s linear 0.5s infinite,
             cloudWiggle 5.5s ease-in-out 3.5s infinite;
}
.c7 {
  width: 220px;
  top: 48%;
  left: -250px;
  animation: cloudDrift1 38s linear 14s infinite,
             cloudWiggle 7s ease-in-out 4s infinite;
  opacity: 0.6;
  filter: drop-shadow(0 4px 10px rgba(255,210,240,0.5)) brightness(1.08) hue-rotate(20deg);
}

/* 左から右へ流れる */
@keyframes cloudDrift1 {
  0%   { transform: translateX(0) translateY(0); }
  100% { transform: translateX(calc(100vw + 400px)) translateY(0); }
}

/* 右から左へ流れる */
@keyframes cloudDrift2 {
  0%   { transform: translateX(0) translateY(0); }
  100% { transform: translateX(calc(-100vw - 400px)) translateY(0); }
}

/* ふわふわ＋ゆらゆら */
@keyframes cloudWiggle {
  0%   { margin-top: 0px;   transform-origin: center; }
  25%  { margin-top: -14px; }
  50%  { margin-top: -22px; }
  75%  { margin-top: -10px; }
  100% { margin-top: 0px;   }
}

/* スマホは小さめ */
@media (max-width: 768px) {
  .cloud { transform: scale(0.6); }
}

/* マスコットキャラ 走るアニメ */
.mascot-run-wrap {
  position: absolute;
  bottom: 8%;
  left: 0;
  width: 100%;
  height: 230px;
  pointer-events: none;
  z-index: 4;
  overflow: hidden;
}

.mascot-run {
  position: absolute;
  bottom: 0;
  height: 170px;
  width: auto;
  animation: mascotRun 32s linear infinite, mascotBounce 0.6s ease-in-out infinite;
  transform-origin: center bottom;
}

@keyframes mascotRun {
  0%   { left: -180px;  transform: scaleX(-1); }
  48%  { left: calc(100% + 180px); transform: scaleX(-1); }
  49%  { left: calc(100% + 180px); transform: scaleX(1); }
  50%  { left: calc(100% + 180px); transform: scaleX(1); }
  98%  { left: -180px;  transform: scaleX(1); }
  99%  { left: -180px;  transform: scaleX(-1); }
  100% { left: -180px;  transform: scaleX(-1); }
}

@keyframes mascotBounce {
  0%   { bottom: 0px; }
  30%  { bottom: 18px; }
  50%  { bottom: 28px; }
  70%  { bottom: 18px; }
  100% { bottom: 0px; }
}

@media (max-width: 768px) {
  .mascot-run {
    height: 100px;
  }
}

/* 視差スクロール背景 */
.parallax-bg {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 130%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.parallax-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.18;
  filter: blur(1px) saturate(1.4);
  will-change: transform;
}

.hero-blueprint-grid {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 2;
  background-image:
    linear-gradient(rgba(74, 122, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 122, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 4;
}

.hero-badge {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.3em;
  margin-bottom: 2rem;
  border: var(--border-blueprint);
  display: inline-block;
  padding: 0.3rem 1.5rem;
  border-radius: 2px;
}

.hero-logo-img {
  width: min(600px, 90vw);
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 8px 24px rgba(255, 215, 0, 0.4));
  animation: heroBounce 2.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite;
  transform-origin: center bottom;
}

@keyframes heroBounce {
  0%   { transform: translateY(0) scaleX(1)    scaleY(1); }
  10%  { transform: translateY(0) scaleX(1.08) scaleY(0.92); }
  20%  { transform: translateY(-28px) scaleX(0.95) scaleY(1.05); }
  40%  { transform: translateY(-42px) scaleX(0.93) scaleY(1.07); }
  55%  { transform: translateY(0) scaleX(1.1)  scaleY(0.9); }
  65%  { transform: translateY(-14px) scaleX(0.97) scaleY(1.03); }
  75%  { transform: translateY(0) scaleX(1.04) scaleY(0.96); }
  85%  { transform: translateY(-6px) scaleX(0.99) scaleY(1.01); }
  100% { transform: translateY(0) scaleX(1)    scaleY(1); }
}

.hero-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.title-line {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  color: var(--white-bright);
  letter-spacing: 0.1em;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

.title-star {
  font-size: clamp(2.5rem, 8vw, 5rem);
  color: var(--gold);
  text-shadow: 0 0 40px var(--gold), 0 0 80px rgba(255, 215, 0, 0.4);
  animation: starSpin 6s linear infinite, starGlow 3s ease-in-out infinite;
  display: inline-block;
}

@keyframes starSpin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes starGlow {
  0%, 100% { text-shadow: 0 0 20px var(--gold), 0 0 40px rgba(255,215,0,0.4); }
  50%       { text-shadow: 0 0 50px var(--gold), 0 0 100px rgba(255,215,0,0.7), 0 0 140px rgba(255,215,0,0.3); }
}

@keyframes pulse-star {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.15); filter: brightness(1.3); }
}

.hero-subtitle {
  font-family: 'RocknRoll One', sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  color: var(--gold);
  letter-spacing: 0.35em;
  margin-bottom: 3rem;
  text-shadow: 0 0 18px rgba(255, 215, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.2);
  animation: subtitleGlow 3s ease-in-out infinite;
}

@keyframes subtitleGlow {
  0%, 100% { text-shadow: 0 0 12px rgba(255,215,0,0.4), 0 0 30px rgba(255,215,0,0.15); }
  50%       { text-shadow: 0 0 24px rgba(255,215,0,0.8), 0 0 50px rgba(255,215,0,0.35); }
}

.hero-pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.2rem;
  border: var(--border-blueprint);
  border-radius: 8px;
  background: rgba(74, 122, 255, 0.05);
  transition: var(--transition);
  animation: fadeInUp 0.8s ease-out backwards;
}

.pipeline-step:nth-child(1) { animation-delay: 0.3s; }
.pipeline-step:nth-child(3) { animation-delay: 0.5s; }
.pipeline-step:nth-child(5) { animation-delay: 0.7s; }
.pipeline-step:nth-child(7) { animation-delay: 0.9s; }

.pipeline-step:hover {
  border-color: var(--gold);
  background: rgba(255, 215, 0, 0.08);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.pipe-icon {
  font-size: 1.5rem;
  color: var(--gold);
}

.pipeline-step span {
  font-family: var(--font-tech);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
}

.pipeline-arrow {
  font-family: var(--font-tech);
  font-size: 1.2rem;
  color: var(--blue-glow);
  animation: arrow-pulse 2s ease-in-out infinite;
}

@keyframes arrow-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; color: var(--gold); }
}

.hero-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-tech);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold) !important;
  letter-spacing: 0.2em;
  padding: 1rem 2.5rem;
  border: 2px solid var(--gold);
  border-radius: 50px;
  background: rgba(255, 215, 0, 0.05);
  transition: var(--transition);
  animation: fadeInUp 1.2s ease-out backwards;
}

.hero-cta:hover {
  background: rgba(255, 215, 0, 0.15);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: var(--gold-light) !important;
}

.hero-cta i {
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* Hero Gears */
.hero-gears { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }

.gear {
  position: absolute;
  color: rgba(74, 122, 255, 0.08);
  animation: spin 20s linear infinite;
}

.gear-hero-1 { font-size: 15rem; top: 5%; right: -3%; }
.gear-hero-2 { font-size: 10rem; bottom: 10%; left: -2%; animation-direction: reverse; }
.gear-hero-3 { font-size: 7rem; top: 20%; left: 8%; animation-duration: 15s; }

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Profile Section --- */
.profile-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  background: var(--bg-card);
  border: var(--border-blueprint);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow-glow);
  transition: var(--transition);
}

.profile-card:hover {
  border-color: rgba(255, 215, 0, 0.3);
}

.profile-image-wrapper {
  position: relative;
}

.profile-image-frame {
  width: 100%;
  aspect-ratio: 3/4;
  border: 2px solid var(--blue-glow);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.profile-image-frame:hover .profile-photo {
  transform: scale(1.04);
}

.profile-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-mid), var(--bg-dark));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--gold);
}

.profile-image-placeholder i {
  font-size: 4rem;
  animation: pulse-star 3s ease-in-out infinite;
}

.profile-image-placeholder span {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
}

.profile-badge {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: var(--bg-deep);
  font-family: var(--font-tech);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 1.5rem;
  border-radius: 20px;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.profile-name {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 900;
  color: var(--white-bright);
  margin-bottom: 0.2rem;
}

.profile-name-en {
  font-family: 'RocknRoll One', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dim);
  letter-spacing: 0.2em;
  margin-bottom: 0.8rem;
}

.profile-tagline {
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: var(--border-blueprint);
}

.profile-specs {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.spec-item {
  display: flex;
  gap: 1rem;
  align-items: baseline;
}

.spec-label {
  font-family: var(--font-tech);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.1em;
  min-width: 90px;
  flex-shrink: 0;
}

.spec-value {
  font-size: 0.95rem;
  color: var(--text-bright);
}

.profile-motto {
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 8px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.motto-label {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.motto-label::before,
.motto-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,215,0,0.4));
}

.motto-label::after {
  background: linear-gradient(90deg, rgba(255,215,0,0.4), transparent);
}

.fav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.fav-list li {
  font-size: 0.8rem;
  font-family: var(--font-body);
  color: var(--text-dim);
  letter-spacing: 0.08em;
  padding: 0.3rem 0;
  position: relative;
  transition: var(--transition);
  cursor: default;
}

/* スラッシュ区切り */
.fav-list li:not(:last-child)::after {
  content: '/';
  margin-left: 0.6rem;
  color: rgba(255,215,0,0.25);
}

.fav-list li:hover {
  color: var(--white-bright);
}

.motto-gear {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 4rem;
  color: rgba(255, 215, 0, 0.08);
  animation: spin 15s linear infinite;
}

.profile-motto p {
  font-size: 0.95rem;
  color: var(--gold-light);
  line-height: 2;
  position: relative;
  z-index: 1;
}

/* --- Biography Timeline --- */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding: 1rem 0;
}

.timeline-line {
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--blue-glow), var(--gold), var(--blue-glow), transparent);
}

.timeline-item {
  position: relative;
  padding-left: 75px;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-item::before {
  content: attr(data-year);
  position: absolute;
  left: 50px;
  top: 0;
  font-family: var(--font-display);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  width: 20px;
}

.timeline-dot {
  position: absolute;
  left: 16px;
  top: 5px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--blue-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--cyan);
  z-index: 1;
}

.timeline-item.highlight .timeline-dot {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.timeline-content {
  background: var(--bg-card);
  border: var(--border-blueprint);
  border-radius: 8px;
  padding: 1.5rem;
  transition: var(--transition);
}

.timeline-item.highlight .timeline-content {
  border-color: rgba(255, 215, 0, 0.3);
  background: rgba(255, 215, 0, 0.05);
}

.timeline-content:hover {
  transform: translateX(5px);
  border-color: rgba(255, 215, 0, 0.3);
}

.timeline-content h4 {
  font-family: var(--font-tech);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white-bright);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-main);
}

/* テレビ出演リスト */
.tv-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.tv-list li {
  font-size: 0.9rem;
  color: var(--text-bright);
  padding-left: 1.2rem;
  position: relative;
}

.tv-list li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.6rem;
  top: 0.3rem;
}

.tv-list .tv-etc {
  color: var(--text-dim);
  font-style: italic;
}

.tv-list .tv-etc::before {
  content: '…';
  font-style: normal;
}

/* --- HANAMOKU Banner --- */
.hanamoku-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.4rem;
  margin-bottom: 2rem;
  background: var(--bg-card);
  border: 1px solid rgba(255,60,60,0.25);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hanamoku-banner:hover {
  border-color: rgba(255,60,60,0.5);
  box-shadow: 0 4px 20px rgba(255,0,0,0.1);
}

.hanamoku-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hanamoku-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4444;
  animation: livePulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.hanamoku-icon {
  font-size: 1.1rem;
  color: #ff4444;
}

.hanamoku-title {
  font-family: var(--font-tech);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white-bright);
  letter-spacing: 0.08em;
}

.hanamoku-sub {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.1rem;
}

.hanamoku-day {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.hanamoku-day-label {
  font-size: 0.7rem;
  color: var(--text-dim);
}

.hanamoku-day-name {
  font-family: var(--font-tech);
  font-size: 0.9rem;
  font-weight: 700;
  color: #ff6666;
}

.hanamoku-day-time {
  font-family: var(--font-tech);
  font-size: 0.8rem;
  color: var(--text-dim);
}

@media (max-width: 600px) {
  .hanamoku-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- Schedule Calendar --- */
.schedule-calendar {
  background: var(--bg-card);
  border: var(--border-blueprint);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 2.5rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(74,122,255,0.12);
}

.cal-month-label {
  font-family: 'RocknRoll One', sans-serif;
  font-size: 0.85rem;
  color: var(--white-bright);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.cal-btn {
  background: none;
  border: 1px solid rgba(74,122,255,0.25);
  color: var(--text-dim);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  transition: var(--transition);
}

.cal-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  margin-bottom: 3px;
}

.cal-dow {
  font-family: 'RocknRoll One', sans-serif;
  font-size: 0.55rem;
  color: var(--text-dim);
  text-align: center;
  letter-spacing: 0.08em;
  padding: 0.25rem 0;
  opacity: 0.6;
}

.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-family: 'RocknRoll One', sans-serif;
  font-size: 0.7rem;
  color: var(--text-dim);
  position: relative;
  cursor: default;
  transition: var(--transition);
  letter-spacing: 0;
}

.cal-day.empty { background: none; }

.cal-day.today {
  border: 1px solid rgba(74,122,255,0.4);
  color: var(--cyan);
}

.cal-day.has-event {
  background: rgba(255,215,0,0.12);
  border: 1px solid rgba(255,215,0,0.4);
  color: var(--gold);
  font-weight: 700;
  cursor: pointer;
  animation: calPulse 2.5s ease-in-out infinite;
}

.cal-day.has-event:hover {
  background: rgba(255,215,0,0.25);
  transform: scale(1.1);
  box-shadow: 0 0 14px rgba(255,215,0,0.35);
}

.cal-day.has-event::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

@keyframes calPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,215,0,0.3); }
  50%       { box-shadow: 0 0 8px 2px rgba(255,215,0,0.2); }
}

.cal-day.sun { color: rgba(255,100,100,0.6); }
.cal-day.sat { color: rgba(100,150,255,0.6); }
.cal-day.has-event.sun,
.cal-day.has-event.sat { color: var(--gold); }

/* --- Schedule --- */
.schedule-board {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.schedule-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--bg-card);
  border: var(--border-blueprint);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  transition: var(--transition);
}

.schedule-item:hover {
  border-color: rgba(255, 215, 0, 0.3);
  transform: translateX(5px);
}

.schedule-item.upcoming {
  border-color: rgba(255, 215, 0, 0.3);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), var(--bg-card));
}

.schedule-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
  padding: 0.5rem;
  border-right: var(--border-blueprint);
  padding-right: 1.5rem;
}

.date-month {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 0.15em;
}

.date-day {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white-bright);
  line-height: 1;
}

.date-year {
  font-family: var(--font-tech);
  font-size: 0.7rem;
  color: var(--text-dim);
}

.schedule-detail {
  flex: 1;
}

.schedule-badge {
  display: inline-block;
  font-family: var(--font-tech);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 0.15rem 0.8rem;
  border-radius: 3px;
  margin-bottom: 0.3rem;
}

.schedule-badge.live { background: var(--red-accent); color: #fff; }
.schedule-badge.event { background: var(--blue-glow); color: #fff; }
.schedule-badge.media { background: var(--purple); color: #fff; }

.schedule-detail h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white-bright);
  margin-bottom: 0.3rem;
}

.schedule-detail p {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.schedule-detail p i {
  width: 16px;
  margin-right: 0.3rem;
  color: var(--cyan);
}

.schedule-ticket {
  font-family: var(--font-tech);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold) !important;
  border: 1px solid var(--gold);
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  letter-spacing: 0.1em;
  white-space: nowrap;
  transition: var(--transition);
}

.schedule-ticket:hover {
  background: var(--gold);
  color: var(--bg-deep) !important;
}

.schedule-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 1.5rem;
}

/* --- News 背景動画 --- */
.news-video-section {
  position: relative;
  overflow: hidden;
}

.news-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  z-index: 0;
  opacity: 0.22;
  filter: saturate(1.3) brightness(0.9);
}

.news-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(13, 18, 51, 0.75) 0%,
      rgba(13, 18, 51, 0.55) 50%,
      rgba(13, 18, 51, 0.75) 100%
    );
}

.news-video-section .section-header,
.news-video-section .container {
  position: relative;
  z-index: 2;
}

/* ニュースカードを半透明に */
.news-video-section .news-card {
  background: rgba(22, 29, 74, 0.65);
  backdrop-filter: blur(12px);
  border-color: rgba(74, 122, 255, 0.25);
}

.news-video-section .news-card:hover {
  background: rgba(22, 29, 74, 0.85);
  border-color: rgba(255, 215, 0, 0.4);
}

/* --- News --- */
.news-feed {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news-card {
  display: flex;
  gap: 1.5rem;
  background: var(--bg-card);
  border: var(--border-blueprint);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  transition: var(--transition);
}

.news-card:hover {
  border-color: rgba(255, 215, 0, 0.3);
  transform: translateX(5px);
}

.news-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
  padding-right: 1.5rem;
  border-right: var(--border-blueprint);
}

.news-month {
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
}

.news-day {
  font-family: var(--font-tech);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.news-body { flex: 1; }

.news-tag {
  display: inline-block;
  font-family: var(--font-tech);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 0.1rem 0.7rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

.news-tag.new { background: var(--red-accent); color: #fff; }
.news-tag.info { background: var(--blue-glow); color: #fff; }
.news-tag.goods { background: var(--green-accent); color: var(--bg-deep); }

.news-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white-bright);
  margin-bottom: 0.3rem;
}

.news-body p {
  font-size: 0.85rem;
  color: var(--text-main);
}

/* --- Links / SNS --- */
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.2rem;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  background: var(--bg-card);
  border: 1px solid rgba(74, 122, 255, 0.2);
  border-radius: 14px;
  padding: 1.5rem 1.8rem;
  transition: var(--transition);
  color: var(--text-main) !important;
  position: relative;
  overflow: hidden;
}

.link-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 14px;
}

.link-x::before        { background: linear-gradient(135deg, rgba(255,255,255,0.04), transparent); }
.link-youtube::before  { background: linear-gradient(135deg, rgba(255,0,0,0.07), transparent); }
.link-instagram::before{ background: linear-gradient(135deg, rgba(228,64,95,0.07), transparent); }
.link-tiktok::before   { background: linear-gradient(135deg, rgba(0,242,234,0.07), transparent); }
.link-line::before     { background: linear-gradient(135deg, rgba(6,199,85,0.07), transparent); }
.link-tiget::before    { background: linear-gradient(135deg, rgba(255,215,0,0.07), transparent); }
.link-note::before     { background: linear-gradient(135deg, rgba(65,201,180,0.07), transparent); }

.link-card:hover::before { opacity: 1; }

.link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.link-icon {
  font-size: 2.2rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.link-card:hover .link-icon {
  transform: scale(1.12);
}

.link-youtube .link-icon { color: #ff0000; }
.link-x .link-icon       { color: #fff; }
.link-instagram .link-icon{ color: #e4405f; }
.link-tiktok .link-icon  { color: #00f2ea; }
.link-line .link-icon    { color: #06c755; }
.link-tiget .link-icon   { color: var(--gold); }
.link-note .link-icon    { color: #41c9b4; }

.link-youtube:hover { border-color: rgba(255,0,0,0.5); box-shadow: 0 12px 40px rgba(255,0,0,0.15); }
.link-x:hover       { border-color: rgba(255,255,255,0.4); }
.link-instagram:hover{ border-color: rgba(228,64,95,0.5); box-shadow: 0 12px 40px rgba(228,64,95,0.15); }
.link-tiktok:hover  { border-color: rgba(0,242,234,0.5); box-shadow: 0 12px 40px rgba(0,242,234,0.15); }
.link-line:hover    { border-color: rgba(6,199,85,0.5); box-shadow: 0 12px 40px rgba(6,199,85,0.15); }
.link-tiget:hover   { border-color: rgba(255,215,0,0.5); box-shadow: 0 12px 40px rgba(255,215,0,0.15); }
.link-note:hover    { border-color: rgba(65,201,180,0.5); box-shadow: 0 12px 40px rgba(65,201,180,0.15); }
.link-membership .link-icon { color: var(--gold); }
.link-membership { border-color: rgba(255,215,0,0.3) !important; }
.link-membership:hover { border-color: rgba(255,215,0,0.7) !important; box-shadow: 0 12px 40px rgba(255,215,0,0.2) !important; }
.link-membership::before { background: linear-gradient(135deg, rgba(255,215,0,0.1), transparent); }
.link-booth .link-icon { color: #f47c7c; }
.link-booth:hover   { border-color: rgba(244,124,124,0.5); box-shadow: 0 12px 40px rgba(244,124,124,0.15); }
.link-booth::before { background: linear-gradient(135deg, rgba(244,124,124,0.07), transparent); }

.link-info { flex: 1; }

.link-info h4 {
  font-family: var(--font-tech);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white-bright);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.link-info p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.link-arrow {
  font-size: 1rem;
  color: var(--text-dim);
  transition: var(--transition);
}

.link-card:hover .link-arrow {
  color: var(--gold);
  transform: translateX(5px);
}

/* --- Goods --- */
.goods-intro {
  text-align: center;
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 2rem;
}

.goods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.goods-card {
  background: var(--bg-card);
  border: var(--border-blueprint);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
}

.goods-card:hover {
  border-color: rgba(255, 215, 0, 0.4);
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
}

.goods-image {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--bg-mid), var(--bg-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}

.goods-placeholder {
  font-size: 4rem;
  color: rgba(74, 122, 255, 0.2);
  transition: var(--transition);
}

.goods-card:hover .goods-placeholder {
  color: rgba(255, 215, 0, 0.3);
  transform: scale(1.1);
}

.goods-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--red-accent);
  color: #fff;
  font-family: var(--font-tech);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.8rem;
  border-radius: 3px;
  letter-spacing: 0.1em;
}

.goods-info {
  padding: 1.2rem;
}

.goods-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white-bright);
  margin-bottom: 0.3rem;
}

.goods-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.goods-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.goods-btn {
  display: inline-block;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bg-deep) !important;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  padding: 0.5rem 1.2rem;
  border-radius: 5px;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.goods-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

/* LINE スタンプ */
.stamp-section {
  margin-top: 3rem;
  border-top: var(--border-blueprint);
  padding-top: 2.5rem;
}

.stamp-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.stamp-line-icon {
  font-size: 1.8rem;
  color: #06c755;
}

.stamp-header h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white-bright);
  letter-spacing: 0.1em;
}

.stamp-card {
  display: flex;
  gap: 2rem;
  align-items: center;
  background: var(--bg-card);
  border: var(--border-blueprint);
  border-radius: 12px;
  padding: 1.8rem;
  transition: var(--transition);
}

.stamp-card:hover {
  border-color: #06c755;
  box-shadow: 0 0 20px rgba(6, 199, 85, 0.15);
}

.stamp-image-wrap {
  position: relative;
  flex-shrink: 0;
}

.stamp-img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
  padding: 8px;
  display: block;
}

.stamp-badge {
  position: absolute;
  bottom: -8px;
  right: -8px;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: var(--bg-deep);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.25rem 0.8rem;
  border-radius: 20px;
}

.stamp-info {
  flex: 1;
}

.stamp-info h4 {
  font-family: var(--font-tech);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white-bright);
  margin-bottom: 0.6rem;
}

.stamp-info p {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.stamp-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #06c755;
  color: #fff !important;
  font-family: var(--font-tech);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.stamp-buy-btn:hover {
  background: #05a847;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
  color: #fff !important;
}

@media (max-width: 600px) {
  .stamp-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .stamp-img {
    width: 120px;
    height: 120px;
  }
}

.goods-shop-link {
  text-align: center;
  margin-top: 2rem;
}

.btn-factory {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-tech);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold) !important;
  border: 2px solid var(--gold);
  padding: 0.8rem 2.5rem;
  border-radius: 50px;
  letter-spacing: 0.1em;
  transition: var(--transition);
}

.btn-factory:hover {
  background: var(--gold);
  color: var(--bg-deep) !important;
  box-shadow: var(--shadow-gold);
}

/* --- Contact --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-intro h3 {
  font-family: var(--font-tech);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white-bright);
  margin-bottom: 1rem;
}

.contact-intro > p {
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 2rem;
}

.contact-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.contact-type {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1rem;
  background: var(--bg-card);
  border: var(--border-blueprint);
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--text-main);
  transition: var(--transition);
}

.contact-type:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.contact-type i {
  color: var(--gold);
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

/* メンバーシップバナー */
.membership-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 1.6rem 2rem;
  background: linear-gradient(135deg, #1a0a00, #2a1500, #1a0a00);
  border: 2px solid var(--gold);
  border-radius: 16px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 30px rgba(255,215,0,0.15);
}

.membership-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,215,0,0.06), transparent);
  animation: bannerShimmer 3s ease-in-out infinite;
}

@keyframes bannerShimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.membership-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 50px rgba(255,215,0,0.3);
}

.membership-banner-left {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.membership-crown {
  font-size: 2.4rem;
  color: var(--gold);
  filter: drop-shadow(0 0 10px rgba(255,215,0,0.6));
  animation: crownFloat 2.5s ease-in-out infinite;
}

@keyframes crownFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

.membership-banner-title {
  font-family: var(--font-tech);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.membership-banner-sub {
  font-size: 0.85rem;
  color: var(--text-main);
}

.membership-banner-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #ff0000;
  color: #fff;
  font-family: var(--font-tech);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.7rem 1.6rem;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: 0.05em;
  transition: background 0.2s ease, transform 0.2s ease;
}

.membership-banner:hover .membership-banner-btn {
  background: #cc0000;
  transform: scale(1.05);
}

@media (max-width: 600px) {
  .membership-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* ファンレター住所 */
.fanmail-card {
  margin-top: 2rem;
  background: linear-gradient(135deg, rgba(255,215,0,0.06), rgba(74,122,255,0.06));
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
}

.fanmail-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gold);
  font-family: var(--font-tech);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.fanmail-header i {
  font-size: 1.1rem;
}

.fanmail-address {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--text-bright);
  line-height: 2;
  margin-bottom: 0.8rem;
}

.fanmail-address strong {
  color: var(--gold);
  font-size: 1.05rem;
}

.fanmail-note {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group label {
  display: block;
  font-family: var(--font-tech);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
}

.required {
  color: var(--red-accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg-card);
  border: var(--border-blueprint);
  border-radius: 6px;
  color: var(--white-bright);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%237986cb' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.form-group select option {
  background: var(--bg-dark);
  color: var(--white);
}

.btn-submit {
  align-self: flex-start;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: var(--bg-deep) !important;
  font-weight: 700;
  padding: 1rem 3rem;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

/* ============================
   MOVIE SECTION
   ============================ */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.8rem;
}

.movie-card {
  background: var(--bg-card);
  border: var(--border-blueprint);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.movie-card:hover {
  border-color: rgba(255,215,0,0.4);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), var(--shadow-gold);
}

.movie-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
  cursor: pointer;
}

.movie-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.movie-card:hover .movie-preview {
  transform: scale(1.04);
}

/* 再生ボタン */
.movie-play-btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.35);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.movie-play-btn:hover {
  background: rgba(0,0,0,0.15);
}

.movie-play-btn i {
  font-size: 2.8rem;
  color: #fff;
  filter: drop-shadow(0 0 12px rgba(255,215,0,0.8));
  transition: transform 0.2s ease;
  pointer-events: none;
  margin-left: 6px;
}

.movie-play-btn:hover i {
  transform: scale(1.2);
}

/* 波紋 */
.mplay-ring {
  position: absolute;
  width: 70px; height: 70px;
  border-radius: 50%;
  border: 2px solid rgba(255,215,0,0.7);
  animation: mRingExp 2s ease-out infinite;
  pointer-events: none;
}
.mplay-ring.r2 { animation-delay: 1s; }

@keyframes mRingExp {
  0%   { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2);   opacity: 0; }
}

.movie-info {
  padding: 1.2rem 1.4rem;
}

.movie-tag {
  font-family: var(--font-tech);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 0.15rem 0.8rem;
  border-radius: 3px;
  background: var(--blue-glow);
  color: #fff;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.movie-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white-bright);
  margin-bottom: 0.3rem;
}

.movie-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* モーダル */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.video-modal.open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.modal-inner {
  position: relative;
  z-index: 1;
  width: min(900px, 94vw);
  transform: scale(0.88) translateY(24px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-modal.open .modal-inner {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--red-accent);
  border-color: var(--red-accent);
  transform: rotate(90deg) scale(1.1);
}

.modal-video-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255,215,0,0.25);
  box-shadow: 0 0 60px rgba(255,215,0,0.12), 0 24px 60px rgba(0,0,0,0.7);
  background: #000;
  aspect-ratio: 16/9;
}

.modal-video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
}

/* --- Footer --- */
#footer {
  position: relative;
  z-index: 1;
  background: var(--bg-deep);
  border-top: 1px solid rgba(74, 122, 255, 0.15);
  padding: 3rem 1.5rem 2rem;
  text-align: center;
  overflow: hidden;
}

.footer-gears {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.gear-f1 {
  position: absolute;
  font-size: 12rem;
  bottom: -4rem;
  left: -3rem;
  color: rgba(74, 122, 255, 0.04);
  animation: spin 30s linear infinite;
}

.gear-f2 {
  position: absolute;
  font-size: 8rem;
  top: -2rem;
  right: -2rem;
  color: rgba(74, 122, 255, 0.04);
  animation: spin 25s linear infinite reverse;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white-bright);
  letter-spacing: 0.15em;
  margin-bottom: 0.3rem;
  position: relative;
}

.footer-tagline {
  font-family: var(--font-tech);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.3em;
  margin-bottom: 1.5rem;
}

.footer-sns {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-sns a {
  font-size: 1.2rem;
  color: var(--text-dim);
  transition: var(--transition);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--border-blueprint);
  border-radius: 50%;
}

.footer-sns a:hover {
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-dim);
  position: relative;
}

/* ============================
   YANO ENTRANCE ANIMATION
   ============================ */

.yano-entrance-wrap {
  position: absolute;
  bottom: 0;
  right: 5%;
  width: 340px;
  z-index: 6;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* キャラクター本体 */
.yano-chara {
  width: 100%;
  max-width: 320px;
  display: block;
  position: relative;
  z-index: 3;
  /* 初期状態：右外から飛び込む */
  transform: translateX(160%) rotate(12deg);
  opacity: 0;
  filter: drop-shadow(0 10px 30px rgba(255, 100, 180, 0.5));
  transition: none;
}

/* 登場アニメ発動後 */
.yano-chara.entered {
  animation: yanoSlideIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards,
             yanoFloat 3.5s ease-in-out 0.75s infinite;
}

@keyframes yanoSlideIn {
  0%   { transform: translateX(160%) rotate(12deg); opacity: 0; }
  60%  { transform: translateX(-8%) rotate(-4deg);  opacity: 1; }
  80%  { transform: translateX(4%)  rotate(2deg);   opacity: 1; }
  100% { transform: translateX(0%)  rotate(0deg);   opacity: 1; }
}

@keyframes yanoFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-14px) rotate(1deg); }
}

/* 影 */
.yano-shadow {
  width: 180px;
  height: 22px;
  background: radial-gradient(ellipse, rgba(255,100,180,0.35) 0%, transparent 70%);
  border-radius: 50%;
  margin: 0 auto;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s ease 0.6s;
}

.yano-entrance-wrap.shadow-on .yano-shadow {
  opacity: 1;
  animation: shadowPulse 3.5s ease-in-out 0.75s infinite;
}

@keyframes shadowPulse {
  0%, 100% { transform: translateX(-50%) scaleX(1);   opacity: 0.35; }
  50%       { transform: translateX(-50%) scaleX(0.75); opacity: 0.18; }
}

/* 登場時のキラキラ */
.yano-sparkles {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 4;
}

.sp {
  position: absolute;
  font-size: 1.6rem;
  color: var(--gold);
  opacity: 0;
  text-shadow: 0 0 10px var(--gold), 0 0 20px rgba(255,215,0,0.6);
}

.sp1 { top: 10%; left: 5%; }
.sp2 { top: 5%;  right: 10%; }
.sp3 { top: 35%; left: -5%; }
.sp4 { top: 20%; right: -5%; }
.sp5 { top: 55%; left: 8%; }
.sp6 { top: 50%; right: 5%; }

.yano-entrance-wrap.sparkle-on .sp {
  animation: sparklePopIn 0.5s ease-out forwards;
}
.yano-entrance-wrap.sparkle-on .sp1 { animation-delay: 0.6s; }
.yano-entrance-wrap.sparkle-on .sp2 { animation-delay: 0.7s; }
.yano-entrance-wrap.sparkle-on .sp3 { animation-delay: 0.75s; }
.yano-entrance-wrap.sparkle-on .sp4 { animation-delay: 0.65s; }
.yano-entrance-wrap.sparkle-on .sp5 { animation-delay: 0.8s; }
.yano-entrance-wrap.sparkle-on .sp6 { animation-delay: 0.72s; }

@keyframes sparklePopIn {
  0%   { opacity: 0; transform: scale(0) rotate(-30deg); }
  60%  { opacity: 1; transform: scale(1.3) rotate(10deg); }
  100% { opacity: 0; transform: scale(1) rotate(0deg) translateY(-20px); }
}

/* スマホでは小さめに */
@media (max-width: 900px) {
  .yano-entrance-wrap {
    width: 200px;
    right: 0;
  }
}

@media (max-width: 600px) {
  .yano-entrance-wrap {
    width: 140px;
    right: -10px;
  }
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 900px) {
  .profile-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile-image-wrapper {
    max-width: 250px;
    margin: 0 auto;
  }

  .spec-item {
    justify-content: center;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-types {
    grid-template-columns: repeat(3, 1fr);
  }

  .schedule-item {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(20px);
    padding: 1rem;
    gap: 0;
    transform: translateY(-120%);
    transition: transform 0.4s ease;
    border-bottom: 1px solid rgba(74, 122, 255, 0.15);
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .nav-menu a {
    display: block;
    padding: 0.8rem 1rem;
    text-align: center;
  }

  .hero-pipeline {
    flex-direction: column;
    gap: 0.8rem;
  }

  .pipeline-arrow {
    transform: rotate(90deg);
  }

  .pipeline-step {
    flex-direction: row;
    width: 100%;
    max-width: 250px;
  }

  .section {
    padding: 4rem 1rem;
  }

  .links-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-types {
    grid-template-columns: 1fr 1fr;
  }

  .schedule-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .schedule-date {
    flex-direction: row;
    gap: 0.5rem;
    border-right: none;
    border-bottom: var(--border-blueprint);
    padding-right: 0;
    padding-bottom: 0.8rem;
    width: 100%;
  }

  .timeline-item::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .goods-grid {
    grid-template-columns: 1fr;
  }

  .contact-types {
    grid-template-columns: 1fr;
  }

  .title-line {
    font-size: 2.5rem;
  }

  .title-star {
    font-size: 2rem;
  }
}

/* --- Scroll Animations --- */
.section-header,
.profile-card,
.schedule-item,
.news-card,
.link-card,
.goods-card,
.contact-wrapper {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.section-header.visible,
.profile-card.visible,
.schedule-item.visible,
.news-card.visible,
.link-card.visible,
.goods-card.visible,
.contact-wrapper.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.schedule-item:nth-child(2) { transition-delay: 0.1s; }
.schedule-item:nth-child(3) { transition-delay: 0.2s; }
.news-card:nth-child(2) { transition-delay: 0.1s; }
.news-card:nth-child(3) { transition-delay: 0.2s; }
.link-card:nth-child(2) { transition-delay: 0.05s; }
.link-card:nth-child(3) { transition-delay: 0.1s; }
.link-card:nth-child(4) { transition-delay: 0.15s; }
.link-card:nth-child(5) { transition-delay: 0.2s; }
.link-card:nth-child(6) { transition-delay: 0.25s; }
.goods-card:nth-child(2) { transition-delay: 0.1s; }
.goods-card:nth-child(3) { transition-delay: 0.2s; }
.goods-card:nth-child(4) { transition-delay: 0.3s; }

/* YouTube Modal */
.youtube-modal-inner {
  position: relative;
  width: 90vw;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  z-index: 1001;
}

/* ============================================
   FAN ART Section
   ============================================ */
.fanart-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
  margin-top: 1.2rem;
}

.fanart-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid rgba(74, 122, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.fanart-item:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.25);
  border-color: rgba(255, 215, 0, 0.5);
  z-index: 1;
}

.fanart-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.fanart-item:hover img {
  transform: scale(1.08);
}

.fanart-item::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  background: rgba(10, 14, 39, 0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.fanart-item:hover::after {
  opacity: 1;
}

/* Fan Art Lightbox */
.fanart-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 8, 20, 0.92);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  cursor: pointer;
}

.fanart-lightbox.open {
  display: flex;
}

.fanart-lightbox img {
  max-width: 88vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 60px rgba(255, 215, 0, 0.2);
  cursor: default;
}

.fanart-lightbox-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.fanart-nav-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  display: flex; align-items: center; justify-content: center;
}

.fanart-nav-btn:hover {
  background: rgba(255, 215, 0, 0.2);
  border-color: var(--gold);
}

.fanart-lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}

.fanart-lightbox-close:hover {
  color: var(--gold);
}

.fanart-counter {
  color: rgba(255,255,255,0.5);
  font-family: var(--font-tech);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

@media (max-width: 900px) {
  .fanart-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
  }
}

@media (max-width: 600px) {
  .fanart-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }
}
