:root {
  --bg-primary: #0b0f19;
  --bg-secondary: #121826;
  --bg-card: rgba(22, 30, 46, 0.85);
  --bg-card-hover: rgba(30, 41, 64, 0.95);
  --border-color: rgba(56, 189, 248, 0.2);
  --border-glow: rgba(56, 189, 248, 0.5);
  --accent-cyan: #38bdf8;
  --accent-blue: #2563eb;
  --accent-red: #ef4444;
  --accent-orange: #f97316;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-sub: #cbd5e1;
  --font-main: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(56, 189, 248, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(239, 68, 68, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
}

/* ナビゲーションバー */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1400px;
  width: 95%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 1px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--accent-cyan);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.nav-logo span {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 14px;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-links li {
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-sub);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s, text-shadow 0.2s;
  position: relative;
}

.nav-links a:hover {
  color: var(--accent-cyan);
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

.btn-nav {
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  color: white !important;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
}

.btn-lang {
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: var(--accent-cyan) !important;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  line-height: 1.2;
  transition: all 0.2s ease !important;
}

.btn-lang:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ヒーローセクション */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 60px;
  text-align: center;
}

.hero-banner-container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(56, 189, 248, 0.25);
  border: 1px solid var(--border-glow);
  background: #000;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.hero-content {
  margin-top: 36px;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.badge-version {
  color: #a855f7;
  border-color: rgba(168, 85, 247, 0.4);
}

.hero-title {
  font-size: clamp(1.4rem, 2.3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: 0.5px;
  max-width: 1100px;
  margin: 0 auto 16px;
  line-height: 1.4;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.title-chunk {
  display: inline-block;
  white-space: nowrap;
}

.hero-title .title-highlight {
  background: linear-gradient(135deg, #ffffff, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  color: white;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(56, 189, 248, 0.6);
}

.btn-curseforge {
  background: linear-gradient(135deg, #f16436, #e04e22);
  color: white;
  box-shadow: 0 4px 20px rgba(241, 100, 54, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-curseforge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(241, 100, 54, 0.7);
}

.btn-secondary {
  background: rgba(30, 41, 59, 0.7);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(51, 65, 85, 0.8);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* セクション共通 */
.section {
  padding: 90px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* グリッドレイアウト */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
}

/* ビークルカード */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 28px;
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.2);
  background: var(--bg-card-hover);
}

.card-thumbnail {
  margin: -28px -28px 18px -28px;
  height: 210px;
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle at center, #1a2234 0%, #080c14 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

.card-header-flex {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.card-header-flex .card-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.card-header-flex .card-title {
  margin-bottom: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 6px;
  background: rgba(18, 24, 38, 0.9);
  border-radius: 12px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}

.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title .tag {
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  font-weight: 600;
}

.card-text {
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.card-features {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card-features li {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-features li::before {
  content: "✦";
  color: var(--accent-cyan);
  font-size: 0.8rem;
}

/* フィーチャーハイライト（操作・カスタマイズ・展示） */
.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.feature-box-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  padding: 14px;
  border-radius: 12px;
}

.feature-box-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.feature-box-content p {
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* インストール手順 */
.install-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.step-info h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.step-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* コードブロック */
.code-box {
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent-cyan);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

/* ステータスバッジ */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.status-available {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.4);
}

.status-dev {
  background: rgba(234, 179, 8, 0.15);
  color: #facc15;
  border: 1px solid rgba(250, 204, 21, 0.4);
}

.status-planned {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(192, 132, 252, 0.4);
}

/* 操作キー表示 (Controls) */
.controls-box {
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(11, 15, 25, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-size: 0.8rem;
}

.controls-title {
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.controls-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  color: var(--text-sub);
}

.key-badge {
  display: inline-block;
  padding: 1px 6px;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  margin-right: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* ロードマップ & 更新履歴 */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.roadmap-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
}

.roadmap-card.dev {
  border-left: 4px solid #facc15;
}

.roadmap-card.planned {
  border-left: 4px solid #c084fc;
}

.roadmap-list {
  list-style: none;
  margin-top: 12px;
}

.roadmap-list li {
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-sub);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.roadmap-list li strong {
  color: var(--text-main);
}

/* 更新履歴タイムライン */
.changelog-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 30px;
  margin-top: 20px;
}

.changelog-entry {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.changelog-entry:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.changelog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.changelog-version {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.changelog-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.changelog-items {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-sub);
}

.changelog-items li {
  margin-bottom: 6px;
  padding-left: 16px;
  position: relative;
}

.changelog-items li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
}

/* 動画プレイヤー / ムービーセクション */
.video-container {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(56, 189, 248, 0.2);
  border: 1px solid var(--border-glow);
  background: #090d16;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 比率 */
  height: 0;
  overflow: hidden;
  background: #000;
}

.video-wrapper iframe,
.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, rgba(11, 15, 25, 0.95) 70%);
  color: var(--text-main);
  text-align: center;
  padding: 20px;
}

.video-play-icon {
  font-size: 3.5rem;
  color: var(--accent-cyan);
  margin-bottom: 12px;
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.6));
}

.video-placeholder h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.video-placeholder p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* アイテム図鑑ページ */
.item-filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 20px;
  background: rgba(22, 30, 46, 0.8);
  border: 1px solid var(--border-color);
  color: var(--text-sub);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  color: #fff;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.item-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-glow);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(56, 189, 248, 0.2);
}

.item-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.item-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(11, 15, 25, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 6px;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.6);
}

.item-icon-box img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.item-info {
  flex-grow: 1;
}

.item-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.item-id {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
}

.item-category-tag {
  display: inline-block;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 600;
}

.item-desc {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.5;
  margin-bottom: 10px;
  flex-grow: 1;
}

.item-usage {
  font-size: 0.8rem;
  padding: 8px 10px;
  background: rgba(11, 15, 25, 0.6);
  border-radius: 6px;
  border-left: 3px solid var(--accent-cyan);
  color: var(--text-muted);
}

.item-usage strong {
  color: var(--accent-cyan);
}

/* フッター */
.footer {
  border-top: 1px solid var(--border-color);
  background: #060911;
  padding: 40px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--text-sub);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

/* レスポンシブ */
@media (max-width: 1080px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(11, 15, 25, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.8rem !important;
    white-space: normal !important;
  }

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

  .feature-box {
    flex-direction: column;
  }
}

/* 自作モデルガイド用スタイル */
.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.tree-block {
  background: #070b12;
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-left: 4px solid var(--accent-cyan);
  border-radius: 8px;
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.6;
  color: #94a3b8;
  overflow-x: auto;
  margin: 16px 0;
}

.tree-block .tree-highlight {
  color: var(--accent-cyan);
  font-weight: bold;
}

.tree-block .tree-comment {
  color: #64748b;
  font-style: italic;
}

.code-snippet {
  background: #070b12;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.5;
  color: #e2e8f0;
  overflow-x: auto;
  margin: 12px 0;
}

.bone-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 0.9rem;
}

.bone-table th, .bone-table td {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.bone-table th {
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-cyan);
  font-weight: 600;
}

.bone-table td code {
  color: #f43f5e;
  background: rgba(244, 63, 94, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
}

/* ============================================================
   開発進捗状況 (Development Status & Roadmap) スタイル
   ============================================================ */
.status-overview-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  backdrop-filter: blur(12px);
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.status-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.status-stat-box {
  background: rgba(11, 15, 25, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s, border-color 0.2s;
}

.status-stat-box:hover {
  transform: translateY(-2px);
  border-color: var(--accent-cyan);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.stat-sub {
  font-size: 0.8rem;
  color: var(--text-sub);
}

/* プログレスバー */
.progress-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.progress-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
  transition: width 1s ease-in-out;
}

/* ロードマップカード */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.roadmap-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.roadmap-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.roadmap-title {
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-status {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-done {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-wip {
  background: rgba(234, 179, 8, 0.15);
  color: #fde047;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.badge-plan {
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.roadmap-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.roadmap-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.5;
}

.roadmap-list-item .check-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

/* 変更履歴タイムライン */
.timeline-wrap {
  position: relative;
  max-width: 900px;
  margin: 40px auto 0;
  padding-left: 30px;
}

.timeline-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 7px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-cyan), rgba(56, 189, 248, 0.1));
}

.timeline-block {
  position: relative;
  margin-bottom: 36px;
}

.timeline-node {
  position: absolute;
  left: -30px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

.timeline-node.latest {
  background: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.9);
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 22px 24px;
  transition: border-color 0.2s, transform 0.2s;
}

.timeline-card:hover {
  border-color: var(--accent-cyan);
  transform: translateX(4px);
}

.timeline-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.version-tag {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.release-date {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 12px;
  font-weight: 600;
}

.timeline-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 4px;
}

.timeline-details li {
  position: relative;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.5;
}

.timeline-details li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
}
