/* =====================================================================
   Three-Dola RenHDrum & Ryuhdr Showcase
   Style: Dark Obsidian Glassmorphism with Dual-Wave Accents
   Palette:
     - Obsidian Base: #0a0d13, #101520, #161e2e
     - Neon Orange (Low-band 160Hz): #FF7A3D
     - Electric Cyan (High-band 320Hz): #00E5FF
     - Card Glass: rgba(22, 30, 46, 0.72)
     - Border Subtle: rgba(255, 255, 255, 0.08)
     - Text Primary: #f0f4fc, Secondary: #93a1be
   ===================================================================== */

:root {
  --bg-dark: #090c12;
  --bg-obsidian: #0d121c;
  --bg-card: rgba(18, 25, 38, 0.75);
  --bg-card-hover: rgba(26, 36, 56, 0.85);
  --bg-glass-elevated: rgba(30, 42, 66, 0.6);
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-active: rgba(0, 229, 255, 0.35);
  --border-orange: rgba(255, 122, 61, 0.4);

  --accent-cyan: #00E5FF;
  --accent-cyan-glow: rgba(0, 229, 255, 0.25);
  --accent-orange: #FF7A3D;
  --accent-orange-glow: rgba(255, 122, 61, 0.25);

  --text-main: #f3f6fc;
  --text-muted: #95a3bf;
  --text-dim: #64748b;
  --text-code: #38bdf8;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* Lưới an toàn: không phần tử nào được kéo rộng trang. clip (không phải hidden) để navbar sticky vẫn chạy. */
html {
  overflow-x: clip;
}

/* Ambient Background Glow */
body::before {
  content: "";
  position: fixed;
  top: -20vh;
  left: 20%;
  width: 60vw;
  height: 60vh;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, rgba(255, 122, 61, 0.05) 50%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* -------------------------------------------------------------
   STICKY NAVBAR
------------------------------------------------------------- */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 12, 18, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.navbar-wrapper.scrolled {
  background: rgba(9, 12, 18, 0.96);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(0, 229, 255, 0.12);
}

.navbar-wrapper .container {
  max-width: 1280px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  padding: 8px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.brand-title {
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title .byline {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  list-style: none;
  flex: 1 1 auto;
  min-width: 0;
}

.nav-item-support {
  display: none;
}

.nav-links a {
  display: inline-block;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a.active {
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.1);
}

/* --- Hierarchical Dropdown Menus --- */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-dropdown-trigger:hover,
.nav-item-dropdown:hover .nav-dropdown-trigger,
.nav-item-dropdown.open .nav-dropdown-trigger,
.nav-dropdown-trigger.active {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}

.nav-dropdown-trigger.active {
  color: var(--accent-cyan);
}

.nav-caret {
  font-size: 0.65rem;
  opacity: 0.7;
  transition: transform 0.18s ease;
  display: inline-block;
  line-height: 1;
}

.nav-item-dropdown:hover .nav-caret,
.nav-item-dropdown:focus-within .nav-caret,
.nav-item-dropdown.open .nav-caret {
  transform: rotate(180deg);
  opacity: 1;
  color: var(--accent-cyan);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 250px;
  background: rgba(13, 18, 28, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 200;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 10px;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu,
.nav-item-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item-dropdown.align-right .nav-dropdown-menu {
  right: 0;
  left: auto;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.nav-dropdown-item:hover,
.nav-dropdown-item.active {
  background: rgba(0, 229, 255, 0.1);
  color: var(--text-main);
}

.nav-dropdown-item.active {
  color: var(--accent-cyan);
  font-weight: 600;
}

.nav-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav-badge.supported {
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.nav-badge.dev {
  background: rgba(255, 122, 61, 0.15);
  color: var(--accent-orange);
  border: 1px solid rgba(255, 122, 61, 0.3);
}

.nav-badge.beta {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.nav-badge.new {
  background: rgba(255, 207, 63, 0.15);
  color: #ffcf3f;
  border: 1px solid rgba(255, 207, 63, 0.35);
}

.nav-dropdown-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 6px 8px;
  list-style: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  font-size: 1.1rem;
  cursor: pointer;
}

.navbar-wrapper.nav-open .nav-burger {
  color: var(--accent-cyan);
  border-color: rgba(0, 229, 255, 0.4);
}

.btn-nav-coffee {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: rgba(255, 122, 61, 0.12);
  border: 1px solid var(--border-orange);
  color: #ff9d6e;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.btn-nav-coffee:hover {
  background: rgba(255, 122, 61, 0.22);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-nav-download,
.btn-nav-demo {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #0099cc 100%);
  color: #031422;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 10px var(--accent-cyan-glow);
  transition: all var(--transition-fast);
}

.btn-nav-download:hover,
.btn-nav-demo:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.lang-dropdown-wrapper {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.lang-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.lang-menu-btn:hover,
.lang-dropdown-wrapper.open .lang-menu-btn {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(0, 229, 255, 0.4);
}

.lang-globe {
  font-size: 0.85rem;
  line-height: 1;
}

.lang-current-label {
  color: var(--accent-cyan);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lang-caret {
  font-size: 0.65rem;
  opacity: 0.7;
  transition: transform 0.18s ease;
  line-height: 1;
}

.lang-dropdown-wrapper.open .lang-caret {
  transform: rotate(180deg);
  opacity: 1;
  color: var(--accent-cyan);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 140px;
  background: rgba(13, 18, 28, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 250;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lang-dropdown-wrapper.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-family: inherit;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.lang-opt:hover {
  background: rgba(0, 229, 255, 0.1);
  color: var(--text-main);
}

.lang-opt.active {
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
  font-weight: 700;
}

.lang-opt .lang-code {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.lang-opt.active .lang-code {
  background: rgba(0, 229, 255, 0.2);
  color: var(--accent-cyan);
}

.lang-opt .lang-name {
  flex: 1;
}

.lang-toggle-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 7px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.lang-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-main);
}

.lang-toggle-btn .lang-active {
  color: var(--accent-cyan);
  font-weight: 700;
}

.lang-toggle-btn .lang-sep {
  opacity: 0.45;
  margin: 0 3px;
}

/* -------------------------------------------------------------
   HERO SECTION
------------------------------------------------------------- */
.hero-section {
  padding: 80px 0 60px 0;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.16;
  margin-bottom: 20px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-cyan) 75%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  max-width: 820px;
  margin: 0 auto 36px auto;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.68;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #009be6 100%);
  color: #031522;
  text-decoration: none;
  box-shadow: 0 8px 28px var(--accent-cyan-glow);
  transition: all var(--transition-normal);
}

.btn-primary-lg:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 12px 36px rgba(0, 229, 255, 0.4);
}

.btn-secondary-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  text-decoration: none;
  transition: all var(--transition-normal);
}

.btn-secondary-lg:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.badge-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  background: rgba(255, 122, 61, 0.15);
  color: #ff9e70;
  border: 1px solid rgba(255, 122, 61, 0.3);
  border-radius: 999px;
  text-transform: uppercase;
}

/* Dual-Wave SVG Box in Hero */
.wave-visual-container {
  max-width: 960px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.wave-visual-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-orange) 30%, var(--accent-cyan) 70%, transparent);
}

.wave-legend {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-dot.orange {
  background: var(--accent-orange);
  box-shadow: 0 0 8px var(--accent-orange-glow);
}

.legend-dot.cyan {
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan-glow);
}

/* -------------------------------------------------------------
   COMMON SECTION HEADINGS
------------------------------------------------------------- */
section[id] {
  scroll-margin-top: 80px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: rgba(13, 18, 28, 0.4);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px auto;
}

.section-subtitle {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* -------------------------------------------------------------
   SECTION 3: OVERVIEW & COMPARISON
------------------------------------------------------------- */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  position: relative;
  transition: all var(--transition-normal);
}

.tech-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.tech-card-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-orange);
  background: rgba(255, 122, 61, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 16px;
}

.tech-card h3 {
  font-size: 1.28rem;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.35;
}

.tech-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.62;
}

/* Comparison Table */
.table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 680px;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
}

.comparison-table th.highlight,
.comparison-table td.highlight {
  background: rgba(0, 229, 255, 0.03);
}

.comparison-table td {
  font-size: 0.93rem;
  line-height: 1.5;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.feature-title {
  font-weight: 600;
  color: var(--text-main);
  display: block;
}

.feature-sub {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.tag-standard {
  color: #fb7185;
}

.tag-renhdrum {
  color: var(--accent-cyan);
  font-weight: 600;
}

/* -------------------------------------------------------------
   SECTION 4: ARCHITECTURE & STORY
------------------------------------------------------------- */
.story-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.story-box h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--accent-orange);
}

.story-box p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 0.98rem;
}

.story-box p:last-child {
  margin-bottom: 0;
}

.arch-diagram-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  overflow-x: auto;
}

.arch-diagram-wrapper svg {
  min-width: 640px;
}

/* -------------------------------------------------------------
   SECTION 5: RYUHDR 0.4.0.1 DEMO & DOWNLOAD
------------------------------------------------------------- */
.showcase-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 44px;
}

.showcase-pill-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: all var(--transition-fast);
}

.showcase-pill-card:hover {
  border-color: rgba(0, 229, 255, 0.3);
  transform: translateY(-2px);
}

.showcase-pill-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.showcase-pill-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Interactive App Screenshot Showcase */
.app-showcase-frame {
  background: #0a0f18;
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 44px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 36px rgba(0, 229, 255, 0.08);
}

.app-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(16, 23, 36, 0.95);
  border-bottom: 1px solid var(--border-subtle);
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-dots .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.window-dots .dot.red { background: #ef4444; }
.window-dots .dot.yellow { background: #f59e0b; }
.window-dots .dot.green { background: #10b981; }

.window-title-text {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.showcase-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.showcase-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 6px 13px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.showcase-tab:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

.showcase-tab.active {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.2) 0%, rgba(255, 122, 61, 0.18) 100%);
  border-color: var(--accent-cyan);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.22);
}

.showcase-stage {
  position: relative;
  background: #06080d;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  overflow: hidden;
  max-height: 620px;
}

.showcase-stage img {
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.showcase-stage:hover img {
  transform: scale(1.008);
}

.showcase-zoom-badge {
  position: absolute;
  bottom: 14px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(9, 13, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  cursor: pointer;
  pointer-events: none;
}

.showcase-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  background: rgba(15, 21, 33, 0.92);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.showcase-caption-content {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.showcase-step-pill {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.28);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  margin-top: 2px;
}

.showcase-caption-content h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.showcase-caption-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.showcase-nav-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.showcase-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.showcase-arrow-btn:hover {
  background: rgba(0, 229, 255, 0.18);
  border-color: var(--accent-cyan);
}

.showcase-thumb-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 14px 18px;
  background: rgba(9, 13, 20, 0.9);
}

.showcase-thumb {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px;
  cursor: pointer;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.showcase-thumb img {
  width: 100%;
  height: 76px;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  opacity: 0.65;
  transition: opacity var(--transition-fast);
}

.showcase-thumb:hover img {
  opacity: 0.92;
}

.showcase-thumb.active {
  border-color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.08);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.18);
}

.showcase-thumb.active img {
  opacity: 1;
}

/* Lightbox Modal */
.showcase-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(5, 8, 14, 0.92);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.showcase-lightbox.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 1120px;
  width: 100%;
  background: #0b101a;
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8);
}

.lightbox-inner img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  background: #05070b;
}

.lightbox-close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(9, 13, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #0f1624;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.94rem;
}

/* Firmware notice box */
.callout-box {
  background: rgba(30, 42, 66, 0.4);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  margin-bottom: 36px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.callout-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
  color: var(--accent-cyan);
}

.callout-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--accent-cyan);
}

.callout-text p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.58;
}

/* Main Download Box */
.download-box {
  background: linear-gradient(180deg, rgba(22, 32, 50, 0.9) 0%, rgba(13, 18, 28, 0.95) 100%);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 229, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.download-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-cyan));
}

.download-hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 36px;
}

.download-release-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.download-release-meta .tag-version {
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.btn-download-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 42px;
  font-size: 1.15rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #0088cc 100%);
  color: #031422;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(0, 229, 255, 0.35);
  transition: all var(--transition-normal);
  margin-bottom: 12px;
}

.btn-download-main:hover {
  transform: translateY(-2px);
  filter: brightness(1.12);
  box-shadow: 0 12px 40px rgba(0, 229, 255, 0.5);
}

.download-subtext {
  font-size: 0.84rem;
  color: var(--text-dim);
}

/* SHA-256 Box */
.checksum-panel {
  background: rgba(9, 13, 20, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.checksum-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.checksum-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.checksum-value-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 10px;
}

.checksum-code {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text-code);
  word-break: break-all;
  flex-grow: 1;
}

.btn-copy {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.btn-copy:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.25);
}

.verify-cmd {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* SmartScreen Warning & Clean Dump Boxes */
.security-warning-box {
  background: rgba(255, 122, 61, 0.06);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 20px;
}

.security-warning-box h5 {
  font-size: 0.96rem;
  font-weight: 700;
  color: #ff9d6e;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.security-warning-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.disclaimer-alert-box {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 20px;
}

.disclaimer-alert-box h5 {
  font-size: 0.96rem;
  font-weight: 700;
  color: #fca5a5;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.disclaimer-alert-box p {
  font-size: 0.88rem;
  color: #e2e8f0;
  line-height: 1.55;
}

.download-footer-links {
  text-align: center;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 24px;
}

.download-footer-links a {
  color: var(--accent-cyan);
  text-decoration: none;
}

.download-footer-links a:hover {
  text-decoration: underline;
}

/* -------------------------------------------------------------
   SECTION 6: ECOSYSTEM & ROADMAP + DEDICATED EMULATOR SECTIONS
------------------------------------------------------------- */
.section-status-row {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}

.status-pill.available {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.status-pill.dev {
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.status-pill.new {
  background: rgba(255, 207, 63, 0.14);
  color: #ffcf3f;
  border: 1px solid rgba(255, 207, 63, 0.4);
}

.emu-story-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin-bottom: 40px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

.emu-story-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 14px;
}

.emu-story-lead {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.68;
  margin-bottom: 24px;
}

.emu-story-lead p {
  margin-bottom: 14px;
}

.emu-story-lead p:last-child {
  margin-bottom: 0;
}

/* Vertical Timeline */
.emu-timeline {
  position: relative;
  margin: 24px 0;
  padding-left: 26px;
  border-left: 2px solid rgba(0, 229, 255, 0.28);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.emu-timeline-item {
  position: relative;
}

.emu-timeline-item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan-glow);
}

.emu-timeline-date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 3px;
}

.emu-timeline-text {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.58;
}

.emu-gold-box {
  margin-top: 24px;
  background: linear-gradient(135deg, rgba(255, 122, 61, 0.1) 0%, rgba(0, 229, 255, 0.08) 100%);
  border: 1px solid rgba(255, 122, 61, 0.35);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.emu-gold-box h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ff9d6e;
  margin-bottom: 6px;
}

.emu-gold-box p {
  font-size: 0.93rem;
  color: var(--text-main);
  line-height: 1.6;
}

/* Two-column Arch + Progress layout */
.emu-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.emu-detail-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}

.emu-detail-panel h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.emu-arch-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.emu-arch-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.58;
}

.emu-arch-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-orange);
  font-weight: 700;
}

.emu-progress-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.emu-progress-row {
  background: rgba(9, 13, 20, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.progress-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 9px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.progress-tag.done {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.progress-tag.wip {
  background: rgba(0, 229, 255, 0.14);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.32);
}

.progress-tag.next {
  background: rgba(168, 85, 247, 0.14);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.32);
}

.emu-progress-row p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Disabled Coming Soon Download Button */
.btn-download-main.disabled,
.btn-download-main[aria-disabled="true"] {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-muted);
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}

.ecosystem-notice {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--accent-cyan);
  margin-bottom: 36px;
}

.ecosystem-notice a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.ecosystem-notice a:hover {
  color: var(--accent-orange);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card-status-badge.available {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.btn-card-jump {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-card-jump:hover {
  background: rgba(0, 229, 255, 0.18);
  color: #ffffff;
  transform: translateX(2px);
}

.ecosystem-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.ecosystem-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-4px);
}

.card-status-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  align-self: flex-start;
  margin-bottom: 16px;
}

.card-status-badge.dev {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.card-status-badge.future {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.ecosystem-card h3 {
  font-size: 1.28rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.35;
}

.ecosystem-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.62;
  margin-bottom: 16px;
  flex-grow: 1;
}

.ecosystem-card .meta-info {
  font-size: 0.82rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

/* -------------------------------------------------------------
   SECTION 7: SUPPORT & DONATE
------------------------------------------------------------- */
.support-card {
  background: radial-gradient(circle at 50% 0%, rgba(255, 122, 61, 0.1) 0%, rgba(18, 25, 38, 0.8) 70%);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-xl);
  padding: 56px 36px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.coffee-icon-box {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.support-text {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px auto;
  line-height: 1.68;
}

.support-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn-kofi {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  background: #ff5e5b;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(255, 94, 91, 0.35);
  transition: all var(--transition-fast);
}

.btn-kofi:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(255, 94, 91, 0.5);
}

.btn-crypto-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-crypto-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Crypto collapse container */
.crypto-panel {
  display: none;
  background: rgba(10, 14, 22, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 24px;
  text-align: left;
}

.crypto-panel.open {
  display: block;
}

.crypto-item {
  margin-bottom: 16px;
}

.crypto-item:last-child {
  margin-bottom: 0;
}

.crypto-network-name {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  margin-bottom: 6px;
}

.crypto-address-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}

.crypto-address-text {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-code);
  word-break: break-all;
  flex-grow: 1;
}

/* -------------------------------------------------------------
   FOOTER
------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0;
  text-align: center;
  background: #06080d;
}

.footer-credits,
.footer-meta {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 12px;
}

.footer-disclaimer {
  font-size: 0.82rem;
  color: var(--text-dim);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.6;
}


/* -------------------------------------------------------------
   SECTION 7: RESEARCH CREDITS & ACKNOWLEDGMENTS
------------------------------------------------------------- */
.credits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.credit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.credit-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 229, 255, 0.28);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.credit-card-header {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.credit-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.badge-orange {
  background: rgba(255, 122, 61, 0.12);
  color: var(--accent-orange);
  border: 1px solid rgba(255, 122, 61, 0.3);
}

.badge-cyan {
  background: rgba(0, 229, 255, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.credit-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.credit-repo {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.credit-repo a {
  color: var(--accent-cyan);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  transition: color var(--transition-fast);
}

.credit-repo a:hover {
  color: #fff;
  text-decoration: underline;
}

.credit-repo-sep {
  color: var(--text-dim);
}

.credit-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.credit-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.credit-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-block;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 4px;
}

.label-foundation {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.label-refinement {
  background: rgba(0, 229, 255, 0.08);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.2);
}

.credit-block p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.credit-block code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 5px;
  border-radius: 4px;
  color: var(--text-code);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.credits-synthesis {
  background: linear-gradient(135deg, rgba(18, 25, 38, 0.85) 0%, rgba(13, 20, 32, 0.95) 100%);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.synthesis-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
  margin-bottom: 12px;
}

.synthesis-title {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.synthesis-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
}

/* -------------------------------------------------------------
   CONTROLLER HUB & DEDICATED CONTROLLER PAGES
------------------------------------------------------------- */
.controller-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.controller-hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.controller-hub-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  box-shadow: 0 14px 36px rgba(0, 229, 255, 0.12);
}

.controller-card-header {
  margin-bottom: 16px;
}

.controller-visual-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #080c14;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.controller-visual-box svg {
  width: 100%;
  height: 100%;
  display: block;
}

.controller-visual-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.controller-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 10px 0 8px 0;
  letter-spacing: -0.01em;
}

.controller-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.controller-spec-list {
  list-style: none;
  margin: 12px 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 14px;
}

.controller-spec-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

.controller-spec-list li strong {
  color: var(--text-main);
  white-space: nowrap;
}

.btn-card-jump {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  background: rgba(0, 229, 255, 0.08);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.28);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  margin-top: auto;
}

.btn-card-jump:hover {
  background: rgba(0, 229, 255, 0.18);
  border-color: var(--accent-cyan);
  transform: translateX(2px);
}

.controller-research-card {
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}

.controller-research-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.controller-research-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
}

.controller-research-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.controller-research-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.controller-research-list li strong {
  color: var(--text-main);
  margin-right: 6px;
}

.controller-research-list a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.controller-research-list a:hover {
  color: #fff;
}

.controller-research-disclaimer {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Dedicated Controller Pages Styles */
.breadcrumb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 32px;
  font-size: 0.88rem;
}

.breadcrumb-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.breadcrumb-back:hover {
  color: #fff;
  text-decoration: underline;
}

.controller-switch-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pill-switch {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-fast);
}

.pill-switch:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

.pill-switch.active {
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.12);
  border-color: rgba(0, 229, 255, 0.35);
}

.spec-pill-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0 36px 0;
}

.spec-pill-card {
  background: rgba(18, 25, 38, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.spec-pill-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-dim);
}

.spec-pill-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.spec-pill-sub {
  font-size: 0.78rem;
  color: var(--accent-cyan);
}

.code-formula-box {
  background: rgba(7, 10, 16, 0.9);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 18px 0;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text-code);
  overflow-x: auto;
  line-height: 1.6;
}

.pipeline-step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin: 22px 0;
}

.pipeline-step-card {
  background: rgba(18, 25, 38, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.pipeline-step-card h4 {
  color: var(--accent-cyan);
  font-size: 0.95rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pipeline-step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.spec-table-container {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}

.spec-table th, .spec-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-table th {
  background: rgba(22, 30, 46, 0.85);
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.spec-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* -------------------------------------------------------------
   RESPONSIVE DESIGN
------------------------------------------------------------- */
@media (max-width: 1120px) {
  .navbar {
    height: auto;
    padding: 10px 0 8px 0;
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  /* Menu điện thoại: nút ☰ mở bảng dọc, nhóm con xổ trong luồng (không nổi, không tràn) */
  .nav-burger {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    order: 3;
    flex: 0 0 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
  }

  .navbar-wrapper.nav-open .nav-links {
    display: flex;
  }

  .nav-links a,
  .nav-dropdown-trigger {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 10px 12px;
    font-size: 0.95rem;
    white-space: normal;
  }

  .nav-item-dropdown {
    position: static;
  }

  .nav-dropdown-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-left: 2px solid rgba(0, 229, 255, 0.22);
    border-radius: 0;
    box-shadow: none;
    margin: 0 0 6px 14px;
    padding: 2px 0 2px 8px;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-item-dropdown.open .nav-dropdown-menu {
    display: flex;
  }

  .nav-dropdown-item {
    white-space: normal;
    font-size: 0.9rem;
  }

  section[id] {
    scroll-margin-top: 86px;
  }

  .ecosystem-grid,
  .showcase-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .controller-hub-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }

  .spec-pill-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-section {
    padding: 50px 0 40px 0;
  }

  .download-box {
    padding: 32px 20px;
  }

  .btn-download-main {
    width: 100%;
    padding: 16px 20px;
  }

  .checksum-value-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-copy {
    align-self: flex-end;
  }

  .showcase-thumb-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-caption-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .emu-story-card,
  .emu-detail-panel {
    padding: 24px 18px;
  }
}

@media (max-width: 560px) {
  .nav-item-support {
    display: block;
  }

  .credits-grid,
  .ecosystem-grid,
  .showcase-feature-grid {
    grid-template-columns: 1fr;
  }

  .spec-pill-grid {
    grid-template-columns: 1fr;
  }

  .breadcrumb-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .credits-synthesis {
    padding: 24px 16px;
  }

  .container {
    padding: 0 16px;
  }

  .brand {
    gap: 8px;
  }

  .brand-icon {
    width: 32px;
    height: 32px;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .brand-title .byline {
    font-size: 0.64rem;
  }

  .nav-actions {
    gap: 8px;
  }

  .btn-nav-coffee {
    display: none;
  }

  .btn-nav-download,
  .btn-nav-demo {
    display: none;
  }

  .lang-toggle-btn {
    padding: 6px 9px;
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .download-release-meta {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
}

/* ============================================================
   HERO CONTROLLER CARDS & NOTE
   ============================================================ */
.hero-ctrl-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 780px;
  margin: 0 auto 14px;
  text-align: left;
}

.hero-ctrl-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.hero-ctrl-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-cyan);
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.12);
}

.hero-ctrl-img {
  width: 128px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
}

.hero-ctrl-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.hero-ctrl-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-ctrl-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
}

.hero-ctrl-pills {
  display: flex;
  gap: 6px;
  align-items: center;
}

.hero-ctrl-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.25);
  letter-spacing: 0.02em;
}

.hero-ctrl-pill.pill-warn {
  background: rgba(255, 122, 61, 0.12);
  color: var(--accent-orange);
  border-color: rgba(255, 122, 61, 0.3);
}

.hero-ctrl-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin: 0;
}

.hero-ctrl-note {
  font-size: 0.83rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0 auto 30px;
  max-width: 680px;
  line-height: 1.5;
}

.hero-ctrl-note a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-ctrl-note a:hover {
  color: #fff;
}

@media (max-width: 700px) {
  .hero-ctrl-cards {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

@media (max-width: 420px) {
  .hero-ctrl-card {
    padding: 10px 12px;
    gap: 10px;
  }
  .hero-ctrl-img {
    width: 96px;
    height: 54px;
  }
  .hero-ctrl-name {
    font-size: 0.9rem;
  }
  .hero-ctrl-desc {
    font-size: 0.78rem;
  }
}

.download-chooser-section {
  padding-top: 50px;
  padding-bottom: 70px;
}

.chooser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}

@media (max-width: 860px) {
  .chooser-grid {
    grid-template-columns: 1fr;
  }
}

.chooser-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.chooser-card:hover {
  transform: translateY(-2px);
}

.chooser-card.featured {
  border-color: rgba(255, 207, 63, 0.45);
  box-shadow: 0 4px 24px rgba(255, 207, 63, 0.08);
}

.chooser-card.featured:hover {
  border-color: rgba(255, 207, 63, 0.7);
  box-shadow: 0 6px 30px rgba(255, 207, 63, 0.16);
}

.chooser-card.stable {
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 4px 24px rgba(0, 229, 255, 0.06);
}

.chooser-card.stable:hover {
  border-color: rgba(0, 229, 255, 0.6);
  box-shadow: 0 6px 30px rgba(0, 229, 255, 0.14);
}

.chooser-card.compact-locked {
  grid-column: 1 / -1;
  background: rgba(255, 255, 255, 0.02);
  border-style: dashed;
  border-color: var(--border-subtle);
  padding: 20px 24px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  opacity: 0.85;
}

@media (max-width: 680px) {
  .chooser-card.compact-locked {
    flex-direction: column;
    align-items: flex-start;
  }
}

.chooser-card-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.chooser-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chooser-card-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

.chooser-card.featured .chooser-card-title {
  color: #ffcf3f;
}

.card-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.card-badge.new {
  background: rgba(255, 207, 63, 0.18);
  color: #ffcf3f;
  border: 1px solid rgba(255, 207, 63, 0.45);
}

.card-badge.stable {
  background: rgba(0, 229, 255, 0.18);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.4);
}

.card-badge.coming {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.chooser-card-tagline {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.chooser-best-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 16px 0 10px;
}

.chooser-best-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chooser-best-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.chooser-best-list li .bullet-icon {
  flex-shrink: 0;
  font-size: 0.95rem;
  line-height: 1.3;
}

.chooser-card.featured .bullet-icon {
  color: #ffcf3f;
}

.chooser-card.stable .bullet-icon {
  color: var(--accent-cyan);
}

.chooser-card-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chooser-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.checksum-mini {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent-cyan);
  word-break: break-all;
}

.chooser-card.featured .checksum-mini {
  color: #f3ead2;
}

.btn-chooser-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-chooser-download.featured-btn {
  background: linear-gradient(135deg, #ffcf3f 0%, #f59e0b 100%);
  color: #0e0c12;
  box-shadow: 0 4px 18px rgba(255, 207, 63, 0.3);
}

.btn-chooser-download.featured-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(255, 207, 63, 0.45);
}

.btn-chooser-download.stable-btn {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #0099cc 100%);
  color: #031422;
  box-shadow: 0 4px 18px var(--accent-cyan-glow);
}

.btn-chooser-download.stable-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-chooser-download.disabled {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  cursor: not-allowed;
  box-shadow: none;
}

.card-learn-more {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.card-learn-more:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.chooser-notes {
  margin-top: 30px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.chooser-note-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.chooser-compare-link {
  margin-top: 4px;
}

.link-compare-highlight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.link-compare-highlight:hover {
  color: #fff;
  text-decoration: underline;
}

.btn-link-highlight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffcf3f;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}

.btn-link-highlight:hover {
  text-decoration: underline;
}

.download-source-row {
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.link-source {
  color: #ffcf3f;
  font-weight: 600;
  text-decoration: none;
}

.link-source:hover {
  text-decoration: underline;
}

/* ============================================================
   BRONTIDE PAGE STYLES (brontide.html)
   ============================================================ */
.gradient-text-yellow {
  background: linear-gradient(135deg, #ffcf3f 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-lightning {
  background: linear-gradient(135deg, #ffcf3f 0%, #f59e0b 100%) !important;
  color: #0e0c12 !important;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(255, 207, 63, 0.3);
}

.btn-lightning:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255, 207, 63, 0.45);
}

.vertical-timeline {
  position: relative;
  max-width: 820px;
  margin: 36px auto 0;
  padding-left: 32px;
}

.vertical-timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 11px;
  width: 2px;
  background: linear-gradient(180deg, #ffcf3f 0%, rgba(255, 207, 63, 0.2) 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-badge {
  position: absolute;
  left: -32px;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0e0c12;
  border: 2px solid #ffcf3f;
  color: #ffcf3f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  z-index: 1;
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}

.timeline-date {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffcf3f;
  margin-bottom: 6px;
}

.timeline-content h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.timeline-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.diff-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.diff-card-header h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.diff-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.diff-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.5;
}

.diff-row.bad {
  background: rgba(239, 68, 68, 0.08);
  border-left: 3px solid #ef4444;
  color: #fca5a5;
}

.diff-row.good {
  background: rgba(16, 185, 129, 0.08);
  border-left: 3px solid #10b981;
  color: #6ee7b7;
}

.diff-label {
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.diff-row.bad .diff-label {
  color: #f87171;
}

.diff-row.good .diff-label {
  color: #34d399;
}

.features-mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.mosaic-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mosaic-icon {
  font-size: 1.4rem;
  color: #ffcf3f;
}

.mosaic-item h4 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.mosaic-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.screenshot-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.screenshot-caption {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
}

@media (max-width: 768px) {
  .screenshots-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   COMPARE PAGE STYLES (compare.html)
   ============================================================ */
.desktop-compare-table {
  display: block;
}

.mobile-compare-cards {
  display: none;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.mobile-card-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-card-item h4 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
}

.mobile-card-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.88rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}

.mobile-card-row.highlight-gold {
  background: rgba(255, 207, 63, 0.08);
  border-left: 3px solid #ffcf3f;
}

.mobile-card-row.highlight-gold strong {
  color: #ffcf3f;
}

.mobile-card-row.highlight-cyan {
  background: rgba(0, 229, 255, 0.08);
  border-left: 3px solid var(--accent-cyan);
}

.mobile-card-row.highlight-cyan strong {
  color: var(--accent-cyan);
}

.audit-note-box {
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Compare Three Grid (Tư liệu E) */
.compare-three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

@property --ring-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

.compare-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.compare-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.compare-card-eden {
  border-color: rgba(239, 68, 68, 0.3);
}

.compare-card-ryubing {
  border-color: rgba(245, 158, 11, 0.3);
}

.compare-card-renhdrum {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-obsidian), var(--bg-obsidian)) padding-box,
    conic-gradient(from var(--ring-angle), var(--accent-cyan), var(--accent-orange), var(--accent-cyan)) border-box;
  animation: ring-spin 6s linear infinite;
  box-shadow: 0 8px 30px rgba(0, 229, 255, 0.08);
}

@keyframes ring-spin { to { --ring-angle: 360deg; } }

.compare-card-renhdrum .compare-card-header h3 {
  color: var(--accent-cyan);
}

.compare-card-header {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.compare-card-header h3 {
  font-size: 1.18rem;
  margin-top: 8px;
  margin-bottom: 0;
  font-weight: 700;
  color: var(--text-primary);
}

.compare-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.compare-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.compare-block-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--text-muted);
}

.compare-block p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

/* Not a copy callout */
.not-a-copy-box {
  display: flex;
  gap: 16px;
  background: rgba(0, 229, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  align-items: flex-start;
  margin-top: 16px;
}

.not-a-copy-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-cyan);
  color: #0b0f19;
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
}

.not-a-copy-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin: 0 0 6px 0;
}

.not-a-copy-content p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* Future Cards Grid (Why SDL3 Matters) */
.future-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.future-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
}

.future-card-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}

.future-card-top h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.future-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
}

@media (max-width: 900px) {
  .compare-three-grid,
  .future-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .desktop-compare-table {
    display: none;
  }
  .mobile-compare-cards {
    display: flex;
  }
}

/* ============================================================
   brontide.html + compare.html
   ============================================================ */
.breadcrumb-trail {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumb-sep {
  color: var(--text-muted);
  opacity: 0.5;
  margin: 0 4px;
}

.breadcrumb-current {
  color: var(--text-secondary);
  font-weight: 500;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.inline-link {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.inline-link:hover {
  color: #ffffff;
}

.table-container {
  width: 100%;
  margin: 28px 0;
  overflow-x: auto;
}

.tech-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}

.tech-table th,
.tech-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
  font-size: 0.92rem;
  line-height: 1.5;
}

.tech-table th {
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: 2px solid var(--border-subtle);
}

.tech-table th:nth-child(3),
.tech-table td:nth-child(3) {
  color: #ffcf3f;
}

.tech-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 820px) {
  .card-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .table-container {
    overflow-x: visible;
  }

  .tech-table,
  .tech-table tbody,
  .tech-table tr,
  .tech-table td {
    display: block;
    width: 100%;
  }

  .tech-table thead {
    display: none;
  }

  .tech-table tr {
    margin-bottom: 16px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    padding: 8px 0;
  }

  .tech-table tr:last-child {
    margin-bottom: 0;
  }

  .tech-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .tech-table td:first-child {
    font-weight: 700;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.95rem;
  }

  .tech-table td:nth-child(2)::before {
    content: "Ryuhdr (SDL2):";
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
  }

  .tech-table td:nth-child(3)::before {
    content: "Brontide (SDL3):";
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #ffcf3f;
  }

  .tech-table td:last-child {
    border-bottom: none;
  }
}

/* -------------------------------------------------------------
   FLOATING BACK TO TOP BUTTON
------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(14, 20, 32, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 229, 255, 0.35);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 990;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45), 0 0 14px rgba(0, 229, 255, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(0, 229, 255, 0.18);
  border-color: var(--accent-cyan);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.6), 0 0 22px rgba(0, 229, 255, 0.4);
  transform: translateY(-2px);
  color: #fff;
}

.back-to-top:active {
  transform: translateY(0);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
  }
}





/* ===== Plan 046: modern reading effects (all pages) ===== */
@view-transition { navigation: auto; }

:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.read-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 1000;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-cyan));
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes grow-x { to { transform: scaleX(1); } }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    main .section {
      animation: reveal-up linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 20%;
    }
    .read-progress {
      animation: grow-x linear both;
      animation-timeline: scroll(root);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ===== Plan 046: Step 3, 4, 5, 7 styles ===== */

/* Section panels & clean inline helpers */
.section-hero {
  padding-top: 10px;
}
.section-panel {
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  margin: 30px 0;
}
.section-panel-cta {
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  margin: 40px 0 60px;
}
.status-pill.pill-eden {
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}
.status-pill.pill-ryubing {
  border-color: rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}
.card-action-link {
  margin-top: 12px;
}
.cta-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.chooser-compare-link {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.chooser-compare-link .btn-chooser-download {
  text-decoration: none;
}

/* Step 5: Sticky Table of Contents */
.page-toc {
  position: sticky;
  top: 70px;
  z-index: 50;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px 0;
  margin-bottom: 20px;
  background: rgba(9, 12, 18, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}
.page-toc::-webkit-scrollbar {
  display: none;
}
.page-toc a {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  white-space: nowrap;
  transition: all 0.2s ease;
}
.page-toc a:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}
.page-toc a.active {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.1);
}
main section[id] {
  scroll-margin-top: 130px;
}

/* Step 3: Summary Table */
.summary-table-wrap {
  overflow-x: auto;
  margin: 24px 0 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}
.compare-summary {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
}
.compare-summary th,
.compare-summary td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}
.compare-summary thead th {
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}
.compare-summary tbody th {
  color: var(--text-primary);
  font-weight: 600;
  width: 28%;
}
.compare-summary td {
  color: var(--text-muted);
}
.compare-summary .col-renhdrum {
  background: rgba(0, 229, 255, 0.06);
  color: var(--text-primary);
  font-weight: 600;
}
.compare-summary thead .col-renhdrum {
  color: var(--accent-cyan);
  border-bottom: 2px solid var(--accent-cyan);
}
.compare-summary .sym {
  display: inline-block;
  margin-right: 6px;
  font-weight: 700;
}
.compare-summary .sym.yes { color: #34d399; }
.compare-summary .sym.no  { color: #f87171; }
.compare-summary .sym.part{ color: #fbbf24; }
.compare-summary .sym.na  { color: var(--text-dim); }

@media (max-width: 700px) {
  .summary-table-wrap {
    border: none;
    background: transparent;
    overflow-x: visible;
  }
  .compare-summary,
  .compare-summary tbody,
  .compare-summary tr,
  .compare-summary td,
  .compare-summary th {
    display: block;
  }
  .compare-summary thead {
    display: none;
  }
  .compare-summary tr {
    margin-bottom: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    padding: 12px 14px;
  }
  .compare-summary tbody th {
    width: 100%;
    padding: 6px 0 10px;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.98rem;
    color: var(--accent-cyan);
  }
  .compare-summary td {
    padding: 8px 0;
    border-bottom: none;
    display: flex;
    align-items: baseline;
    gap: 8px;
  }
  .compare-summary td::before {
    content: attr(data-label);
    font-weight: 700;
    font-size: 0.8rem;
    min-width: 80px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .compare-summary td.col-renhdrum {
    background: transparent;
    border-left: 2px solid var(--accent-cyan);
    padding-left: 8px;
    margin: 4px 0;
  }
}

/* Step 3: Quick Glossary */
.glossary {
  margin: 20px 0;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
}
.glossary summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text-primary);
  user-select: none;
}
.glossary summary:hover {
  color: var(--accent-cyan);
}
.glossary[open] summary {
  margin-bottom: 14px;
  color: var(--accent-cyan);
}
.glossary-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.glossary-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.glossary-item dt {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.9rem;
}
.glossary-item dd {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Step 4: Pipeline Flow */
.pipe-flow { display: grid; gap: 14px; }
.pipe-head, .pipe-lane { grid-template-columns: 1.1fr 1.4fr 1.4fr 0.9fr; column-gap: 28px; }
.pipe-head {
  display: grid; padding: 0 15px;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim);
}
.pipe-lane {
  display: grid;
  row-gap: 10px;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}
.lane-eden { border-color: rgba(239, 68, 68, 0.3); }
.lane-ryubing { border-color: rgba(245, 158, 11, 0.3); }
.lane-renhdrum { border-color: var(--border-active); background: rgba(0, 229, 255, 0.05); }
.pipe-step { position: relative; display: flex; flex-direction: column; gap: 4px; min-width: 0; overflow-wrap: anywhere; font-size: 0.85rem; color: var(--text-muted); }
.lane-eden .pipe-name strong { color: #f87171; }
.lane-ryubing .pipe-name strong { color: #fbbf24; }
.lane-renhdrum .pipe-name strong { color: var(--accent-cyan); }
.pipe-step strong { color: var(--text-main); font-size: 0.9rem; }
.pipe-step:not(:last-child)::after {
  content: "→"; position: absolute; right: -21px; top: 0; color: var(--text-dim);
}
.pipe-result.good strong { color: #34d399; }
.pipe-result.part strong { color: #fbbf24; }
.pipe-result.bad strong { color: #f87171; }

.lane-renhdrum { position: relative; overflow: hidden; }
.lane-renhdrum::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  background-size: 40% 100%; background-repeat: no-repeat;
  animation: pipe-signal 2.4s linear infinite;
}
@keyframes pipe-signal { from { background-position: -40% 0; } to { background-position: 140% 0; } }

@media (max-width: 700px) {
  .pipe-head { display: none; }
  .pipe-lane { grid-template-columns: 1fr; }
  .pipe-step:not(:last-child)::after { content: "↓"; right: auto; left: 0; top: auto; bottom: -14px; }
  .pipe-step:not(:last-child) { padding-bottom: 14px; }
}

/* Step 7: Audio Demo */
.audio-demo-box {
  margin: 18px 0 20px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.audio-demo-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.audio-demo-buttons .demo-btn {
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.audio-demo-buttons .demo-btn:hover {
  transform: translateY(-1px);
}
.audio-demo-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-dim);
  font-style: italic;
  line-height: 1.45;
}

/* Demo buttons & pipe-name */
.pipe-name {
  font-weight: 700;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-outline {
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-primary);
}
.btn-primary {
  border: 1px solid var(--accent-cyan);
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
}

/* ============================================================
   What's New Section & Highlights (Plan 054)
   ============================================================ */
.whats-new-hero-card {
  background: linear-gradient(135deg, rgba(255, 207, 63, 0.08) 0%, rgba(14, 18, 28, 0.85) 100%);
  border: 1px solid rgba(255, 207, 63, 0.35);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.whats-new-hero-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #ffcf3f, #00e5ff, transparent);
}

.wn-hero-header {
  margin-bottom: 16px;
}

.wn-badge-group {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.card-badge.featured {
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.4);
}

.wn-hero-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.wn-hero-body p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0;
}

.wn-hero-body a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wn-hero-body a:hover {
  color: #fff;
}

/* Version Callout Card (brontide.html) */
.version-callout-card {
  background: linear-gradient(135deg, rgba(255, 207, 63, 0.06) 0%, rgba(18, 26, 42, 0.6) 100%);
  border: 1px solid rgba(255, 207, 63, 0.25);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 30px;
}

.version-callout-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.version-callout-header h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.version-notes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.version-notes-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.version-notes-list .bullet-icon {
  color: #ffcf3f;
  flex-shrink: 0;
  line-height: 1.3;
}

/* DualSense Connection Cards (dualsense.html) */
.connection-modes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.connection-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.connection-card.active-mode {
  border-color: rgba(0, 229, 255, 0.35);
  background: rgba(0, 229, 255, 0.03);
}

.connection-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.connection-card-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.connection-card-desc {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.connection-card-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
}

/* Sources Transparency Table (compare.html) */
.sources-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}

.sources-table th,
.sources-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.5;
}

.sources-table th {
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: 2px solid var(--border-subtle);
}

.sources-table tr:last-child td {
  border-bottom: none;
}

.sources-table a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 640px) {
  .connection-modes-grid {
    grid-template-columns: 1fr;
  }
  .whats-new-hero-card {
    padding: 22px 20px;
  }
  .sources-table,
  .sources-table tbody,
  .sources-table tr,
  .sources-table td {
    display: block;
    width: 100%;
  }
  .sources-table thead {
    display: none;
  }
  .sources-table tr {
    margin-bottom: 16px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    padding: 8px 0;
  }
  .sources-table tr:last-child {
    margin-bottom: 0;
  }
  .sources-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 8px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .sources-table td:first-child {
    font-weight: 700;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.95rem;
  }
  .sources-table td::before {
    content: attr(data-label);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-dim);
  }
  .sources-table td:first-child::before {
    display: none;
  }
  .sources-table td:last-child {
    border-bottom: none;
  }
}

/* ============================================================
   LINEAGE & TWO ANCESTORS PAGE (lineage.html)
   ============================================================ */
.lineage-timeline-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 24px 0;
  overflow-x: auto;
}

.lineage-svg-container {
  min-width: 760px;
  width: 100%;
}

.lineage-svg {
  display: block;
  width: 100%;
  height: auto;
}

.ancestor-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.ancestor-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ancestor-card:hover {
  transform: translateY(-2px);
}

.ancestor-card.yuzu {
  border-top: 3px solid var(--accent-cyan);
}

.ancestor-card.ryujinx {
  border-top: 3px solid var(--accent-orange);
}

.ancestor-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}

.ancestor-card-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}

.ancestor-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ancestor-card.yuzu .ancestor-badge {
  background: rgba(0, 229, 255, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.ancestor-card.ryujinx .ancestor-badge {
  background: rgba(255, 122, 61, 0.12);
  color: var(--accent-orange);
  border: 1px solid rgba(255, 122, 61, 0.3);
}

.ancestor-meta-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ancestor-meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ancestor-meta-label {
  color: var(--text-dim);
}

.ancestor-meta-val {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-primary);
}

.ancestor-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.lineage-legal-note {
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--border-subtle);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.lineage-legal-note strong {
  color: var(--text-primary);
}

.cpu-pipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.cpu-pipe-card {
  background: rgba(18, 25, 38, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cpu-pipe-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cpu-pipe-badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(0, 229, 255, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.25);
}

.cpu-pipe-flow {
  background: rgba(7, 9, 14, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-code);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.cpu-pipe-flow .flow-arrow {
  color: var(--text-dim);
}

.cpu-pipe-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.pgo-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.pgo-card {
  background: rgba(18, 25, 38, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pgo-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.pgo-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.recomp-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.recomp-card {
  background: rgba(18, 25, 38, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.recomp-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin: 0;
}

.recomp-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.fact-card {
  background: rgba(18, 25, 38, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.fact-card:hover {
  border-color: rgba(0, 229, 255, 0.3);
  transform: translateY(-2px);
}

.fact-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fact-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(0, 229, 255, 0.2);
}

.fact-source {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

.fact-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.fact-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.github-monograph-card {
  background: linear-gradient(135deg, rgba(18, 25, 38, 0.85) 0%, rgba(13, 17, 23, 0.95) 100%);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.github-monograph-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: var(--text-primary);
}

.github-monograph-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.github-monograph-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--accent-cyan);
  color: #07090e;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.github-monograph-btn:hover {
  background: #33ebff;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

@media (max-width: 640px) {
  .ancestor-cards-grid,
  .cpu-pipes-grid,
  .pgo-cards-grid,
  .recomp-cards-grid,
  .facts-grid {
    grid-template-columns: 1fr;
  }
  .github-monograph-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px;
  }
  .github-monograph-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== Discover: nav menu dot, home news strip, "Keep reading" cards (built by common.js) ===== */
.hero-ctrl-pill.pill-new {
  background: rgba(255, 207, 63, 0.14);
  color: #ffcf3f;
  border-color: rgba(255, 207, 63, 0.4);
}

.nav-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffcf3f;
  box-shadow: 0 0 0 0 rgba(255, 207, 63, 0.6);
  animation: nav-dot-pulse 2s infinite;
}

@keyframes nav-dot-pulse {
  70% { box-shadow: 0 0 0 7px rgba(255, 207, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 207, 63, 0); }
}

.news-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 18px;
  padding: 6px 8px 6px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 207, 63, 0.35);
  background: rgba(255, 207, 63, 0.07);
  color: var(--text-main);
  font-size: 0.88rem;
  text-decoration: none;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.news-strip:hover {
  border-color: rgba(255, 207, 63, 0.7);
  background: rgba(255, 207, 63, 0.13);
}

.news-strip-badge {
  flex: none;
  padding: 2px 9px;
  border-radius: 999px;
  background: #ffcf3f;
  color: #1a1400;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-strip-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-strip-more {
  flex: none;
  color: #ffcf3f;
  font-weight: 600;
  padding-right: 6px;
}

.keep-reading {
  padding: 72px 0 56px;
  border-top: 1px solid var(--border-subtle);
}

.keep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.keep-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-main);
  text-decoration: none;
  transition: border-color var(--transition-fast), transform var(--transition-fast), background var(--transition-fast);
}

.keep-card:hover {
  border-color: var(--border-active);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.keep-card h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.35;
}

.keep-card p {
  margin: 0;
  flex: 1;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.keep-more {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .nav-dot { animation: none; }
  .keep-card:hover { transform: none; }
}

.nav-discover .nav-dot {
  margin: 0 auto 0 6px;
}

/* ===== Changelog under each download box (filled by common.js from changelog.json) ===== */
.changelog { margin-top: 28px; text-align: left; }
.changelog-title { margin: 0 0 12px; font-size: 1rem; color: var(--text-main); }
.changelog-entry { border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); background: var(--bg-card); margin-bottom: 8px; }
.changelog-entry summary { display: flex; align-items: center; gap: 12px; padding: 10px 14px; cursor: pointer; color: var(--text-main); }
.changelog-entry summary time { color: var(--text-dim); font-size: 0.85rem; }
.changelog-entry ul { margin: 0; padding: 0 14px 12px 34px; color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
