/* ============================================================ */
/* Remotionシェイプアニメーション辞典 — 共通CSS                  */
/* 各catページで共有するレイアウト・コンポーネントスタイル        */
/* ============================================================ */

/* カテゴリセクション */
.cat-section { margin-top: 64px; }
.cat-header { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--border); margin-bottom: 24px; }
.cat-header .cat-emoji { font-size: 1.6rem; }
.cat-header h2 { font-size: 1.3rem; font-weight: 700; margin: 0; border: none; padding: 0; color: var(--text-primary); }
.cat-count { font-size: 12px; color: var(--accent-1); background: rgba(0,212,255,0.1); padding: 2px 10px; border-radius: 12px; margin-left: auto; }

/* エフェクト説明カード */
.ef { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; padding: 16px 20px; margin-bottom: 10px; transition: border-color .3s; }
.ef:hover { border-color: rgba(0,212,255,0.15); }
.ef-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.ef-num { font-family: 'Space Grotesk', monospace; font-size: 11px; color: var(--accent-1); background: rgba(0,212,255,0.1); padding: 2px 8px; border-radius: 4px; flex-shrink: 0; }
.ef-name { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.ef-jp { font-size: 12px; color: var(--text-muted); margin-left: 4px; }
.ef p { margin: 0 0 4px; font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.ef p:last-child { margin: 0; }
.ef .use { color: var(--text-muted); font-size: 12px; }
.ef .psy { font-size: 12px; color: #7b6b9e; padding-left: 10px; border-left: 2px solid rgba(168,85,247,0.3); margin-top: 6px; }

/* デモボックス */
.demo-box { position: relative; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; margin: 16px 0; overflow: hidden; }
.demo-label { position: absolute; top: 8px; right: 8px; font-size: 10px; color: var(--accent-1); background: rgba(0,212,255,0.1); padding: 2px 8px; border-radius: 4px; z-index: 2; letter-spacing: 1px; }
.demo-stage { height: 200px; display: flex; align-items: center; justify-content: center; padding: 20px; position: relative; overflow: hidden; }
.demo-btn { display: inline-block; margin: 8px 12px 12px; padding: 6px 16px; font-size: 12px; background: rgba(255,255,255,0.06); color: var(--accent-1); border: 1px solid rgba(0,212,255,0.2); border-radius: 6px; cursor: pointer; transition: background .2s; }
.demo-btn:hover { background: rgba(0,212,255,0.1); }

/* ナビゲーションバー */
.shape-nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.shape-nav a { font-size: 13px; color: var(--accent-1); text-decoration: none; transition: opacity .2s; }
.shape-nav a:hover { opacity: 0.7; }
.shape-nav .nav-center { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* フッターナビ */
.shape-footer-nav { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; margin-top: 48px; border-top: 1px solid var(--border); }
.shape-footer-nav a { font-size: 13px; color: var(--accent-1); text-decoration: none; padding: 8px 16px; border: 1px solid rgba(0,212,255,0.2); border-radius: 6px; transition: background .2s; }
.shape-footer-nav a:hover { background: rgba(0,212,255,0.1); }
.shape-footer-nav .spacer { flex: 1; }
