/* ═══════════════════════════════════════
   MeteALL — Community Site
   Theme: Bright Pop × Starfall Social
════════════════════════════════════════ */

:root {
  --sky:      #0b1640;
  --sky-mid:  #132060;
  --navy:     #0d1a4a;
  --pop-blue: #2563f0;
  --star-y:   #ffd166;
  --star-o:   #ff9f43;
  --pink:     #ff6b9d;
  --teal:     #06d6a0;
  --lavender: #c084fc;
  --white:    #ffffff;
  --offwhite: #f0f4ff;
  --muted:    rgba(240,244,255,0.6);
  --faint:    rgba(240,244,255,0.25);
  --card-bg:  rgba(255,255,255,0.06);
  --card-border: rgba(255,255,255,0.12);
  --radius:   16px;
  --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--sky);
  color: var(--white);
  font-family: 'Outfit', 'Zen Maru Gothic', sans-serif;
  overflow-x: hidden;
}

/* ── background gradient ── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 10%, rgba(37,99,240,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 5%,  rgba(255,209,102,0.15) 0%, transparent 55%),
    radial-gradient(ellipse 70% 80% at 90% 90%, rgba(192,132,252,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 5%  90%, rgba(6,214,160,0.15)  0%, transparent 55%),
    linear-gradient(175deg, #0b1640 0%, #0d1a4a 50%, #0c1535 100%);
  pointer-events: none;
}

/* ── star canvas ── */
#starCanvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
}

/* ─────────────────────────
   NAV
───────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 60px;
  transition: background 0.4s, padding 0.3s;
}
nav.scrolled {
  background: rgba(11,22,64,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,209,102,0.2);
  padding: 12px 60px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: inherit;
}
.logo-star {
  font-size: 1.5rem;
  animation: spin-slow 8s linear infinite;
  display: inline-block;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
.logo-name {
  font-family: 'Outfit', cursive;
  font-size: 1.6rem; letter-spacing: 0.12em;
  background: linear-gradient(90deg, var(--star-y), var(--star-o));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
  color: var(--muted); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--star-y); }
.nav-join {
  padding: 9px 24px;
  background: linear-gradient(135deg, var(--star-y), var(--star-o));
  color: #1a0e00; font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.08em; text-decoration: none;
  border-radius: 100px;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(255,209,102,0.35);
}
.nav-join:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,209,102,0.5); }

/* ─────────────────────────
   HERO
───────────────────────── */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 60px 80px;
  z-index: 1; overflow: hidden;
  justify-content: center;
}

.hero-content {
  position: relative; max-width: 620px;
}

.hero-content::after{
  z-index: -3;
  content: "";
  position: absolute;
  opacity: 0.6;
  top: 0;
  left: 60%;
  background-image: url("img/meteALL.png");
  background-size: contain;
  background-repeat: no-repeat;
  width: 80%;
  height: 80%;
}

.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 18px; border-radius: 100px;
  background: rgba(255,209,102,0.15);
  border: 1px solid rgba(255,209,102,0.4);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  color: var(--star-y); margin-bottom: 28px;
  animation: fadeUp 0.7s 0.1s both;
}

.pill-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.3;} }

.subtitle-24h {
  color: var(--navy);
  font-size: clamp(24px, 12vw, 24px);
  text-shadow: 0 0 40px rgba(209,209,209,0.75);
  -webkit-text-stroke: 0.5px white;
  animation: fadeUp 0.7s 0.3s both;
}

.hero-title {
  font-family: 'Outfit', cursive;
  font-size: clamp(72px, 12vw, 140px);
  line-height: 0.92;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  animation: fadeUp 0.8s 0.3s both;
}


.title-mete {
  color: var(--star-y);
  text-shadow: 0 0 40px rgba(209,209,209,0.75);
  -webkit-text-stroke: 4px black;
  paint-order: stroke;
}

.title-all {
  -webkit-text-stroke: 4px black;
  paint-order: stroke;
  color: var(--white);
  text-shadow: 0 0 40px rgba(209,209,209,0.75);
}

.title-tagline-en {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 300; letter-spacing: 0.25em;
  color: var(--muted); margin-top: 6px;
  animation: fadeUp 0.8s 0.3s both;
  -webkit-text-stroke: 3px black;
  paint-order: stroke;
}

.hero-desc {
  font-size: 1rem;
  line-height: 1.85;
  color: white var(--muted);
  margin: 28px 0 36px;
  animation: fadeUp 0.8s 0.4s both;
  -webkit-text-stroke: 2px black;
  paint-order: stroke;
}

.hero-btns {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeUp 0.8s 0.5s both;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 100px;
  background: linear-gradient(135deg, var(--star-y), var(--star-o));
  color: #1a0e00; font-weight: 700; font-size: 0.95rem;
  text-decoration: none; letter-spacing: 0.06em;
  box-shadow: 0 6px 24px rgba(255,159,67,0.4);
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(255,159,67,0.55); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: var(--offwhite); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; letter-spacing: 0.06em;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--star-y); background: rgba(255,209,102,0.08); }

/* ── hero stats bar ── */
.hero-stats {
  display: flex; gap: 32px; margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: fadeUp 0.8s 0.65s both;
}
.hstat-n {
  font-family: 'Bebas Neue', cursive;
  font-size: 2.2rem; color: var(--star-y); line-height: 1;
  text-align:center;
}
.hstat-l {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.15em;
  color: var(--muted); margin-top: 3px;
}

/* ── Hero FF14キャラクター ── */
/*
  【画像配置ガイド — HERO】
  ファイル名: images/hero-chara.png
  推奨: 立ち絵・全身・透過PNG
  ポーズ: 片手を上げた歓迎ポーズ（こちらを向いて笑顔）
  配置:  画面右端に下揃えで立たせる。足元は少し画面外にかかってもOK。
  サイズ: 高さ75vh程度
  加工:  左端に向かってほんのり透明グラデーション（blend）
*/
.hero-chara {
  position: relative;
  right: -20px; bottom: 0; z-index: 2;
  height: 75vh; max-height: 700px;
  pointer-events: none;
  /* -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.6) 18%, black 40%);
          mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.6) 18%, black 40%); */
  animation: floatChara 5s ease-in-out infinite;
  filter: drop-shadow(-8px 0 32px rgba(37,99,240,0.4));
}
@keyframes floatChara {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-14px); }
}
.hero-chara img { height: 100%; width: auto; display: block; }

/* プレースホルダー */
.hero-chara-placeholder {
  position: absolute;
  right: 60px; bottom: 0; z-index: 2;
  height: 70vh; max-height: 620px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  pointer-events: none;
  animation: floatChara 5s ease-in-out infinite;
}
.chara-silhouette {
  width: 220px; height: 500px;
  background: linear-gradient(180deg, rgba(255,209,102,0.08) 0%, rgba(37,99,240,0.12) 100%);
  border: 2px dashed rgba(255,209,102,0.2);
  border-radius: 120px 120px 20px 20px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
}
.chara-placeholder-icon { font-size: 4rem; opacity: 0.4; }
.chara-placeholder-text {
  font-size: 0.7rem; letter-spacing: 0.15em;
  color: rgba(255,209,102,0.5); text-align: center; line-height: 1.8;
}

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

/* 流れ星 */
.sstar {
  position: absolute; pointer-events: none; z-index: 1;
  width: 2px; border-radius: 100px;
  background: linear-gradient(to top, var(--star-y), transparent);
  animation: sshoot linear infinite;
}
.ss1 { height: 90px;  top: 10%; left: 55%; animation-duration: 5s;  animation-delay: 0.5s; transform: rotate(45deg); }
.ss2 { height: 130px; top: 25%; left: 72%; animation-duration: 7s;  animation-delay: 2.2s; transform: rotate(45deg); }
.ss3 { height: 70px;  top: 15%; left: 40%; animation-duration: 6s;  animation-delay: 4s;   transform: rotate(45deg); }
@keyframes sshoot {
  0%   { opacity:0; transform: translateY(-30px) rotate(inherit); }
  8%   { opacity:1; }
  90%  { opacity:0.7; }
  100% { opacity:0; transform: translateY(260px) rotate(inherit); }
}

/* ─────────────────────────
   TICKER
───────────────────────── */
.ticker-wrap {
  position: relative; z-index: 10;
  background: linear-gradient(90deg, var(--star-y), var(--star-o), var(--pink), var(--star-o), var(--star-y));
  background-size: 300% 100%;
  animation: gradShift 6s linear infinite;
  padding: 11px 0; overflow: hidden;
}
@keyframes gradShift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}
.ticker-track {
  display: flex; gap: 56px; width: max-content;
  animation: ticker 22s linear infinite;
}
.ticker-track span {
  font-family: 'Bebas Neue', cursive;
  font-size: 0.9rem; letter-spacing: 0.25em; color: #1a0e00;
  white-space: nowrap;
}
.ticker-track .sep { opacity: 0.5; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─────────────────────────
   共通セクション
───────────────────────── */
.section-wrap {
  position: relative; z-index: 5;
  max-width: 1200px; margin: 0 auto;
  padding: 100px 60px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Bebas Neue', cursive;
  font-size: 0.78rem; letter-spacing: 0.45em;
  color: var(--star-o); margin-bottom: 14px;
}
.eyebrow::before {
  content: ''; display: block;
  width: 28px; height: 2px;
  background: var(--star-o); border-radius: 2px;
}
.section-title {
  font-family: 'Kaisei Tokumin', serif;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 800; line-height: 1.2;
  margin-bottom: 18px;
}
.section-title em { font-style: normal; color: var(--star-y); }
.section-desc {
  font-size: 0.95rem; line-height: 1.9;
  color: var(--muted); max-width: 560px;
}

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1),
              transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: none; }

/* ─────────────────────────
   ABOUT
───────────────────────── */
#about { border-top: 1px solid rgba(255,255,255,0.07); }

.about-layout {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 80px; align-items: center;
}

/* FF14 キャラ — About セクション */
/*
  【画像配置ガイド — ABOUT】
  ファイル名: images/about-chara.png
  推奨: 半身〜全身・透過PNG
  ポーズ: 座っているか、腕を組んで得意げなポーズ（説明員風）
  配置:  テキストの左隣のカード内に配置。カード下部からはみ出て上に飛び出す演出。
  サイズ: カード高さより約15%大きく（上にはみ出す）
  加工:  下部に薄いグラデーションフェード
*/
.about-chara-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  min-height: 420px;
  overflow: visible;
  display: flex; align-items: flex-end; justify-content: center;
}
.about-chara-img {
  position: absolute; bottom: 0;
  height: 115%;
  z-index: 2;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, black 20%);
          mask-image: linear-gradient(to top, transparent 0%, black 20%);
  filter: drop-shadow(0 -4px 24px rgba(255,209,102,0.2));
}
.about-chara-img img { height: 100%; width: auto; }

.about-chara-card::before {
  content: '';
  position: absolute; inset: -1px;
  background: linear-gradient(135deg, rgba(255,209,102,0.15), rgba(37,99,240,0.1));
  border-radius: inherit; z-index: -1;
}

/* プレースホルダー */
.about-chara-placeholder {
  position: absolute; bottom: 0;
  width: 200px; height: 115%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  z-index: 2;
}
.about-chara-placeholder .sil {
  width: 180px; height: 90%;
  background: linear-gradient(180deg, rgba(255,209,102,0.06), rgba(37,99,240,0.08));
  border: 2px dashed rgba(255,255,255,0.1);
  border-radius: 90px 90px 20px 20px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
}
.about-chara-placeholder .sil-icon { font-size: 3rem; opacity: 0.3; }
.about-chara-placeholder .sil-text {
  font-size: 0.62rem; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.2); text-align: center; line-height: 1.9;
}

.about-text .section-title { margin-bottom: 24px; }
.about-text .body-p {
  font-size: 0.95rem; line-height: 1.95; color: var(--muted); margin-bottom: 18px;
}

.feature-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 100px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em;
  color: var(--offwhite);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.chip:hover { background: rgba(255,209,102,0.12); border-color: rgba(255,209,102,0.35); transform: translateY(-2px); }

/* ─────────────────────────
   FEATURES（3カラム）
───────────────────────── */
#features { border-top: 1px solid rgba(255,255,255,0.06); }

/* FF14 キャラ — Features セクション */
/*
  【画像配置ガイド — FEATURES】
  ファイル名: images/features-chara.png
  推奨: 全身・透過PNG
  ポーズ: 指差し・案内ポーズ（コンテンツを指し示す感じ）
  配置:  セクションタイトル右横、カードグリッドの外側に立つ。
  サイズ: 高さ280px程度
  加工:  底部フェード、右側フェード
*/
.features-header {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 40px;
  margin-bottom: 52px;
}
.features-chara {
  position: relative; flex-shrink: 0; height: 260px;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, black 25%), linear-gradient(to left, transparent 0%, black 15%);
          mask-image: linear-gradient(to top, transparent 0%, black 25%), linear-gradient(to left, transparent 0%, black 15%);
  -webkit-mask-composite: intersect; mask-composite: intersect;
  animation: floatChara 6s ease-in-out infinite; animation-delay: 1s;
}
.features-chara img { height: 100%; width: auto; }

.features-chara-placeholder {
  height: 260px; width: 160px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
}
.features-chara-placeholder .sil {
  width: 140px; height: 240px;
  background: rgba(255,255,255,0.04);
  border: 2px dashed rgba(255,255,255,0.08);
  border-radius: 70px 70px 16px 16px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
}

.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.feat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.feat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  opacity: 0; transition: opacity 0.3s;
}
.feat-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.2); box-shadow: 0 16px 48px rgba(0,0,0,0.3); }
.feat-card:hover::before { opacity: 1; }

.fc-blue::before   { background: linear-gradient(90deg, var(--pop-blue), var(--lavender)); }
.fc-yellow::before { background: linear-gradient(90deg, var(--star-y), var(--star-o)); }
.fc-teal::before   { background: linear-gradient(90deg, var(--teal), var(--pop-blue)); }

.feat-icon {
  font-size: 2.4rem; margin-bottom: 20px; display: block;
  filter: drop-shadow(0 4px 12px rgba(255,209,102,0.3));
}
.feat-title {
  font-family: 'Kaisei Tokumin', serif;
  font-size: 1.1rem; font-weight: 700;
  letter-spacing: 0.06em; margin-bottom: 12px;
}
.feat-desc { font-size: 0.83rem; line-height: 1.85; color: var(--muted); }

/* ─────────────────────────
   TWITTER TIMELINE
───────────────────────── */
#twitter { border-top: 1px solid rgba(255,255,255,0.06); position: relative; overflow: visible; }

/* FF14 キャラ — Twitter セクション */
/*
  【画像配置ガイド — TWITTER】
  ファイル名: images/twitter-chara.png
  推奨: 上半身〜全身・透過PNG
  ポーズ: スマートフォンやパソコンを覗き込むポーズ、もしくは驚き顔
  配置:  Twitterウィジェットの右横、少しウィジェットに重なる形で配置。
  サイズ: 高さ380px程度
  加工:  下部・左部フェード
*/
.twitter-layout {
  display: grid; grid-template-columns: 1fr 440px;
  gap: 56px; align-items: start;
}
.twitter-info .section-desc { margin-bottom: 28px; }

.twitter-account-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 20px;
  background: rgba(29,161,242,0.12);
  border: 1px solid rgba(29,161,242,0.3);
  border-radius: var(--radius-sm);
  margin-bottom: 24px; text-decoration: none;
  transition: background 0.2s;
}
.twitter-account-badge:hover { background: rgba(29,161,242,0.2); }
.twitter-bird { font-size: 1.3rem; }
.twitter-handle-name { font-weight: 700; font-size: 0.95rem; color: var(--white); display: block; }
.twitter-handle-id   { font-size: 0.75rem; color: rgba(29,161,242,0.8); letter-spacing: 0.05em; }

.twitter-chara-wrap { position: relative; margin-top: 20px; height: 280px; }
.twitter-chara {
  position: absolute; right: -20px; bottom: 0; height: 320px;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, black 20%),
                      linear-gradient(to right, transparent 0%, black 20%);
          mask-image: linear-gradient(to top, transparent 0%, black 20%),
                      linear-gradient(to right, transparent 0%, black 20%);
  -webkit-mask-composite: intersect; mask-composite: intersect;
  animation: floatChara 7s ease-in-out infinite; animation-delay: 0.5s;
}
.twitter-chara img { height: 100%; width: auto; }

.twitter-chara-placeholder {
  position: absolute; right: 0; bottom: 0; height: 300px; width: 200px;
  display: flex; align-items: flex-end; justify-content: center;
}
.twitter-chara-placeholder .sil {
  width: 180px; height: 280px;
  background: rgba(29,161,242,0.05);
  border: 2px dashed rgba(29,161,242,0.15);
  border-radius: 90px 90px 16px 16px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
}

.twitter-embed-wrap {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden; min-height: 520px;
  display: flex; flex-direction: column;
}
.twitter-embed-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; gap: 10px;
  background: rgba(29,161,242,0.08);
}
.twitter-embed-header .bird { font-size: 1.1rem; }
.twitter-embed-header span { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; color: rgba(29,161,242,0.9); }

.twitter-timeline-container {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
}
.twitter-embed-placeholder { text-align: center; padding: 48px 32px; }
.twitter-embed-placeholder .tw-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.4; }
.twitter-embed-placeholder p { font-size: 0.85rem; color: var(--muted); line-height: 1.8; letter-spacing: 0.05em; }
.twitter-embed-placeholder code {
  display: block; margin-top: 16px; padding: 12px 16px;
  background: rgba(255,255,255,0.06); border-radius: 8px;
  font-size: 0.72rem; color: rgba(29,161,242,0.8);
  letter-spacing: 0.03em; text-align: left; line-height: 1.7;
}

/* ─────────────────────────
   JOIN CTA
───────────────────────── */
#join {
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center; position: relative; overflow: hidden;
}

/* FF14 キャラ — JOIN セクション */
/*
  【画像配置ガイド — JOIN（CTA）】
  ファイル名: images/join-chara-l.png / images/join-chara-r.png（左右2体）
  ポーズ:
    左キャラ: こちらを向いて手を振るポーズ
    右キャラ: Discordへ誘うような指差しポーズ（or 並んで笑顔）
  配置:  CTAボックスの左右に1体ずつ対称に配置。下揃え。
  サイズ: 高さ380px程度
  加工:  左キャラは右側をフェード、右キャラは左側をフェード。両方底部フェード。
*/
.join-chara-left {
  position: absolute; left: 0; bottom: 0; height: 380px; z-index: 2;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, black 20%),
                      linear-gradient(to left, transparent 0%, black 15%);
          mask-image: linear-gradient(to top, transparent 0%, black 20%),
                      linear-gradient(to left, transparent 0%, black 15%);
  -webkit-mask-composite: intersect; mask-composite: intersect;
  animation: floatChara 6s ease-in-out infinite;
}
.join-chara-right {
  position: absolute; right: 0; bottom: 0; height: 380px; z-index: 2;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, black 20%),
                      linear-gradient(to right, transparent 0%, black 15%);
          mask-image: linear-gradient(to top, transparent 0%, black 20%),
                      linear-gradient(to right, transparent 0%, black 15%);
  -webkit-mask-composite: intersect; mask-composite: intersect;
  animation: floatChara 6s ease-in-out infinite; animation-delay: 1.5s;
}
.join-chara-left img, .join-chara-right img { height: 100%; width: auto; }

.join-chara-ph {
  position: absolute; bottom: 0;
  height: 360px; width: 200px;
  display: flex; align-items: flex-end; justify-content: center;
  pointer-events: none;
}
.join-chara-ph.left  { left: 40px; }
.join-chara-ph.right { right: 40px; }
.join-chara-ph .sil {
  width: 180px; height: 340px;
  background: rgba(255,209,102,0.04);
  border: 2px dashed rgba(255,255,255,0.07);
  border-radius: 90px 90px 16px 16px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
}
.join-chara-ph .sil-icon { font-size: 2.8rem; opacity: 0.2; }
.join-chara-ph .sil-label {
  font-size: 0.6rem; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.15); text-align: center; line-height: 1.8;
}

#join .section-wrap { position: relative; z-index: 3; }
.join-glow {
  position: absolute; top: 50%; left: 50%;
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(255,209,102,0.1) 0%, transparent 70%);
  transform: translate(-50%,-50%); pointer-events: none;
}
.join-box {
  max-width: 680px; margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px; padding: 64px 56px;
  position: relative;
}
.join-box::before {
  content: '';
  position: absolute; inset: -1px; border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,209,102,0.2), rgba(37,99,240,0.15), rgba(192,132,252,0.15));
  z-index: -1;
}
.join-stars {
  font-size: 2rem; margin-bottom: 20px; letter-spacing: 0.2em;
  animation: twinkleRow 3s ease-in-out infinite;
}
@keyframes twinkleRow { 0%,100%{opacity:1;} 50%{opacity:0.5;} }
.join-title {
  font-family: 'Kaisei Tokumin', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; line-height: 1.25; margin-bottom: 18px;
}
.join-title em { font-style: normal; color: var(--star-y); }
.join-desc { font-size: 0.95rem; line-height: 1.85; color: var(--muted); margin-bottom: 36px; }
.join-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─────────────────────────
   FOOTER
───────────────────────── */
footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative; z-index: 5;
  background: rgba(0,0,0,0.2);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 44px 60px;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo-star { font-size: 1.8rem; animation: spin-slow 10s linear infinite; display: inline-block; }
.footer-site-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.4rem; letter-spacing: 0.12em;
  background: linear-gradient(90deg, var(--star-y), var(--star-o));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.footer-tagline { font-size: 0.68rem; letter-spacing: 0.2em; color: var(--faint); }
.footer-links { display: flex; gap: 28px; }
.footer-links a {
  font-size: 0.78rem; font-weight: 500;
  color: var(--muted); text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--star-y); }
.footer-copy { font-size: 0.65rem; letter-spacing: 0.12em; color: var(--faint); }

/* ─────────────────────────
   RESPONSIVE
───────────────────────── */
@media (max-width: 960px) {
  nav { padding: 14px 24px; }
  nav.scrolled { padding: 10px 24px; }
  .nav-links, .nav-join { display: none; }
  #hero { padding: 100px 24px 60px; }
  .hero-chara, .hero-chara-placeholder { display: none; }
  .section-wrap { padding: 72px 24px; }
  .about-layout { grid-template-columns: 1fr; }
  .about-chara-card { min-height: 280px; }
  .feature-cards { grid-template-columns: 1fr 1fr; }
  .features-chara-placeholder { display: none; }
  .twitter-layout { grid-template-columns: 1fr; }
  .twitter-chara-wrap { display: none; }
  .join-chara-ph, .join-chara-left, .join-chara-right { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 600px) {
  .feature-cards { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .join-box { padding: 40px 24px; }
}
