@import url('https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600;6..72,700&family=Outfit:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Noto+Sans+SC:wght@300;400;500;600;700&family=Noto+Serif+SC:wght@400;500;600;700&display=swap');

:root {
  /* Surfaces — warm dark, oklch perceptual uniform */
  --bg-base: oklch(0.135 0.006 65);
  --bg-elevated: oklch(0.175 0.006 65);
  --bg-overlay: oklch(0.21 0.006 65);
  --bg-glass: oklch(1 0 0 / 6%);
  --bg-glass-strong: oklch(1 0 0 / 11%);

  /* Borders — hairlines */
  --border: oklch(1 0 0 / 9%);
  --border-strong: oklch(1 0 0 / 16%);
  --border-focus: oklch(0.72 0.14 55 / 60%);

  /* Text */
  --text-1: oklch(0.97 0.003 80);
  --text-2: oklch(0.74 0.01 80);
  --text-3: oklch(0.52 0.012 80);
  --text-4: oklch(0.38 0.012 80);

  /* Accent — warm amber/ochre (refined, not corporate blue, not AI purple) */
  --accent: oklch(0.74 0.135 60);
  --accent-hover: oklch(0.68 0.135 60);
  --accent-soft: oklch(0.74 0.135 60 / 14%);
  --accent-fg: oklch(0.13 0.006 65);

  /* Semantic — oklch derived, harmonized */
  --success: oklch(0.68 0.135 150);
  --warning: oklch(0.78 0.14 80);
  --error:   oklch(0.62 0.18 25);
  --info:    oklch(0.65 0.115 230);

  /* Typography */
  --font-display: 'Newsreader', 'Noto Serif SC', Georgia, serif;
  --font-sans: 'Outfit', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
  --font-cjk: 'Noto Sans SC', 'Outfit', -apple-system, sans-serif;

  /* Spacing — 8pt */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  /* Radius — refined, smaller than typical AI output */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-pill: 999px;

  /* Shadows — minimal, hairline-first */
  --shadow-1: 0 1px 0 oklch(1 0 0 / 3%) inset;
  --shadow-2: 0 1px 2px oklch(0 0 0 / 30%), 0 1px 0 oklch(1 0 0 / 4%) inset;
  --shadow-3: 0 8px 24px oklch(0 0 0 / 35%);
  --shadow-4: 0 20px 60px oklch(0 0 0 / 50%);

  /* Motion */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 150ms;
  --t-med: 240ms;
  --t-slow: 400ms;
}

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

html {
  scroll-behavior: smooth;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

body {
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

::selection {
  background: var(--accent-soft);
  color: var(--text-1);
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 60px;
  background: oklch(0.135 0.006 65 / 75%);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 40px;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-cjk);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-fg);
  font-style: italic;
}

.nav-search {
  flex: 1;
  max-width: 360px;
  position: relative;
}

.nav-search input {
  width: 100%;
  height: 36px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 0 14px 0 38px;
  font-size: 13.5px;
  font-family: var(--font-cjk);
  color: var(--text-1);
  outline: none;
  transition: var(--t-fast) var(--ease);
}

.nav-search input::placeholder {
  color: var(--text-3);
}

.nav-search input:focus {
  background: var(--bg-glass-strong);
  border-color: var(--border-focus);
}

.nav-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-3);
  pointer-events: none;
  display: flex;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  font-size: 13.5px;
  color: var(--text-2);
  font-family: var(--font-cjk);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  transition: var(--t-fast) var(--ease);
}

.nav-links a:hover {
  color: var(--text-1);
  background: var(--bg-glass);
}

.nav-links a.active {
  color: var(--text-1);
  background: var(--bg-glass-strong);
}

/* ============ HERO ============ */
.hero {
  padding: 140px 40px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(ellipse 60% 50% at 50% 30%, oklch(0.74 0.135 60 / 12%) 0%, transparent 65%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: var(--accent-soft);
  border: 1px solid oklch(0.74 0.135 60 / 25%);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  font-family: var(--font-cjk);
  margin-bottom: 28px;
  position: relative;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-title {
  font-family: var(--font-cjk);
  font-size: clamp(40px, 6.5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--text-1);
  position: relative;
}

.hero-title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  padding: 0 4px;
}

.hero-subtitle {
  font-family: var(--font-cjk);
  font-size: 17px;
  color: var(--text-2);
  font-weight: 400;
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.65;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

.hero-stat {
  text-align: left;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  color: var(--text-1);
  letter-spacing: -0.02em;
  font-feature-settings: 'tnum';
}

.hero-stat-label {
  font-family: var(--font-cjk);
  font-size: 12.5px;
  color: var(--text-3);
  margin-top: 4px;
  letter-spacing: 0.01em;
}

/* ============ SECTION ============ */
.section {
  padding: 64px 40px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-family: var(--font-cjk);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-3);
  letter-spacing: 0;
}

.section-link {
  font-family: var(--font-cjk);
  font-size: 13px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--t-fast) var(--ease);
}

.section-link:hover {
  color: var(--accent);
}

/* ============ CATEGORY TABS ============ */
.category-tabs {
  display: flex;
  gap: 6px;
  padding: 0 40px 0;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 4px;
  background: transparent;
  border: none;
  font-family: var(--font-cjk);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-3);
  cursor: pointer;
  transition: var(--t-fast) var(--ease);
  white-space: nowrap;
  position: relative;
  margin-right: 24px;
  text-decoration: none;
}

.category-tab:hover {
  color: var(--text-1);
}

.category-tab.active {
  color: var(--text-1);
}

.category-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.category-tab-icon {
  display: flex;
  width: 16px;
  height: 16px;
  color: currentColor;
}

/* ============ APP GRID ============ */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);
  border-top: 1px solid transparent;
  border-left: 1px solid transparent;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.app-grid.large {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* ============ APP CARD ============ */
.app-card {
  background: var(--bg-base);
  padding: 24px;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.app-card:hover {
  background: var(--bg-elevated);
}

.app-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.app-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: oklch(0.99 0 0 / 96%);
  flex-shrink: 0;
  box-shadow: 0 1px 0 oklch(1 0 0 / 8%) inset, 0 6px 16px oklch(0 0 0 / 25%);
}

.app-card-rating {
  text-align: right;
  font-size: 12px;
  font-family: var(--font-cjk);
  color: var(--text-3);
  font-feature-settings: 'tnum';
}

.app-card-rating-star {
  color: var(--accent);
  font-weight: 500;
  margin-right: 2px;
}

.app-card-name {
  font-family: var(--font-cjk);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-1);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.app-card-dev {
  font-family: var(--font-cjk);
  font-size: 12px;
  color: var(--text-3);
  margin-top: -10px;
}

.app-card-desc {
  font-family: var(--font-cjk);
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.app-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-family: var(--font-cjk);
  font-size: 11.5px;
  color: var(--text-3);
  letter-spacing: 0.02em;
}

.app-card-type {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: var(--r-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.app-card-type.mcp {
  background: oklch(0.65 0.115 230 / 14%);
  color: oklch(0.78 0.115 230);
}

.app-card-type.skill {
  background: oklch(0.68 0.135 150 / 14%);
  color: oklch(0.78 0.135 150);
}

.app-card-meta {
  font-feature-settings: 'tnum';
}

/* ============ TODAY SECTION ============ */
.today-section {
  padding: 24px 40px 64px;
}

.today-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.today-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 60%;
  height: 180%;
  background: radial-gradient(ellipse, oklch(0.74 0.135 60 / 8%) 0%, transparent 60%);
  pointer-events: none;
}

.today-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.today-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.today-title {
  font-family: var(--font-cjk);
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.today-desc {
  font-family: var(--font-cjk);
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 480px;
}

.today-meta {
  display: flex;
  gap: 24px;
  font-size: 12.5px;
  color: var(--text-3);
  font-family: var(--font-cjk);
  margin-bottom: 32px;
}

.today-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.today-meta-item strong {
  color: var(--text-1);
  font-weight: 500;
  font-feature-settings: 'tnum';
}

.today-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.today-icon {
  width: 200px;
  height: 200px;
  border-radius: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: oklch(0.99 0 0 / 98%);
  box-shadow: 0 1px 0 oklch(1 0 0 / 10%) inset, 0 24px 60px oklch(0 0 0 / 50%);
  transform: rotate(-4deg);
  transition: transform var(--t-slow) var(--ease-out);
}

.today-icon:hover {
  transform: rotate(0deg);
}

/* ============ DETAIL PAGE ============ */
.detail-page {
  padding-top: 84px;
  min-height: 100vh;
}

.detail-header {
  padding: 40px 40px 0;
  max-width: 1180px;
  margin: 0 auto;
}

.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-family: var(--font-cjk);
  color: var(--text-3);
  margin-bottom: 36px;
}

.detail-breadcrumb a {
  color: var(--text-2);
  transition: var(--t-fast) var(--ease);
}

.detail-breadcrumb a:hover {
  color: var(--accent);
}

.detail-breadcrumb-sep {
  color: var(--text-4);
}

.detail-main {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  padding-bottom: 80px;
}

.detail-sidebar {
  position: sticky;
  top: 92px;
  height: fit-content;
}

.detail-icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: oklch(0.99 0 0 / 98%);
  margin-bottom: 24px;
  box-shadow: 0 1px 0 oklch(1 0 0 / 8%) inset, 0 12px 32px oklch(0 0 0 / 40%);
}

.detail-name {
  font-family: var(--font-cjk);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.detail-tagline {
  font-family: var(--font-cjk);
  font-size: 14.5px;
  color: var(--text-2);
  margin-bottom: 12px;
  line-height: 1.5;
}

.detail-dev {
  font-family: var(--font-cjk);
  font-size: 12.5px;
  color: var(--text-3);
  margin-bottom: 24px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 28px;
}

.detail-meta-item {
  font-family: var(--font-cjk);
  font-size: 12px;
  color: var(--text-2);
  background: var(--bg-glass);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
}

.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  font-family: var(--font-cjk);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--t-fast) var(--ease);
  border: 1px solid transparent;
  outline: none;
  width: 100%;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-1);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--bg-glass-strong);
  border-color: var(--border-strong);
}

.btn-large {
  padding: 14px 28px;
  font-size: 14px;
  width: auto;
}

.detail-content {
  max-width: 720px;
}

.detail-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.detail-section:last-child {
  border-bottom: none;
}

.detail-section-title {
  font-family: var(--font-cjk);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-section-title-num {
  font-family: var(--font-mono);
  color: var(--text-4);
  font-weight: 400;
}

.detail-description {
  font-family: var(--font-cjk);
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-2);
}

.detail-description p {
  margin-bottom: 18px;
}

.detail-description strong {
  color: var(--text-1);
  font-weight: 600;
}

.detail-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}

.feature-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--bg-base);
  font-family: var(--font-cjk);
  font-size: 13.5px;
  color: var(--text-1);
}

.feature-tag::before {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 0 0 3px oklch(0.68 0.135 150 / 18%);
}

/* ============ PROMPT BLOCK ============ */
.prompt-block {
  background: oklch(0.10 0.006 65);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}

.prompt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-glass);
  border-bottom: 1px solid var(--border);
}

.prompt-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
}

.prompt-title::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px oklch(0.74 0.135 60 / 20%);
}

.prompt-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--bg-glass);
  color: var(--text-1);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-family: var(--font-cjk);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--t-fast) var(--ease);
}

.prompt-copy:hover {
  background: var(--bg-glass-strong);
  border-color: var(--border-strong);
}

.prompt-copy.copied {
  background: var(--success);
  color: oklch(0.13 0.006 65);
  border-color: var(--success);
}

.prompt-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--text-2);
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 420px;
  overflow-y: auto;
}

.prompt-body::-webkit-scrollbar {
  width: 8px;
}

.prompt-body::-webkit-scrollbar-track {
  background: transparent;
}

.prompt-body::-webkit-scrollbar-thumb {
  background: var(--bg-overlay);
  border-radius: 4px;
}

.prompt-body::-webkit-scrollbar-thumb:hover {
  background: var(--border-strong);
}

/* ============ SCREENSHOTS ============ */
.screenshots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.screenshot-item {
  aspect-ratio: 16/10;
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--border);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.screenshot-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, oklch(1 0 0 / 4%) 0%, transparent 50%);
  pointer-events: none;
}

.screenshot-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: oklch(1 0 0 / 80%);
}

.screenshot-label {
  font-family: var(--font-cjk);
  font-size: 11.5px;
  color: var(--text-2);
  text-align: center;
  letter-spacing: 0.05em;
}

/* ============ RATING ============ */
.rating-block {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  background: var(--bg-glass);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
}

.rating-score {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 500;
  color: var(--text-1);
  line-height: 1;
  letter-spacing: -0.03em;
  font-feature-settings: 'tnum';
}

.rating-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rating-stars {
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 2px;
}

.rating-count {
  font-family: var(--font-cjk);
  font-size: 12.5px;
  color: var(--text-3);
}

/* ============ FOOTER ============ */
.footer {
  padding: 64px 40px 48px;
  border-top: 1px solid var(--border);
  margin-top: 80px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  font-family: var(--font-cjk);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo-mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 12px;
  font-weight: 700;
}

.footer-desc {
  font-family: var(--font-cjk);
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.7;
}

.footer-cols {
  display: flex;
  gap: 48px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-4);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  font-family: var(--font-cjk);
  font-size: 13px;
  color: var(--text-2);
  transition: var(--t-fast) var(--ease);
}

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

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-4);
  letter-spacing: 0.02em;
}

/* ============ SEARCH PAGE ============ */
.search-page,
.category-page,
.about-page {
  padding: 100px 40px 60px;
  max-width: 1180px;
  margin: 0 auto;
}

.search-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
}

.search-result {
  font-family: var(--font-cjk);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.search-result span {
  color: var(--accent);
}

.search-result-count {
  font-family: var(--font-cjk);
  font-size: 14px;
  color: var(--text-3);
  margin-bottom: 40px;
}

/* ============ CATEGORY PAGE ============ */
.category-page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.category-page-title {
  font-family: var(--font-cjk);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  gap: 16px;
}

.category-page-title-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.category-page-count {
  font-family: var(--font-cjk);
  font-size: 13px;
  color: var(--text-3);
}

/* ============ ABOUT PAGE ============ */
.about-hero {
  text-align: center;
  margin-bottom: 80px;
  padding-top: 32px;
}

.about-logo {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 44px;
  font-weight: 700;
  color: var(--accent-fg);
  margin: 0 auto 32px;
  box-shadow: 0 1px 0 oklch(1 0 0 / 10%) inset, 0 12px 32px oklch(0 0 0 / 40%);
}

.about-title {
  font-family: var(--font-cjk);
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.about-subtitle {
  font-family: var(--font-cjk);
  font-size: 17px;
  color: var(--text-2);
  margin-bottom: 32px;
}

.about-section {
  margin-bottom: 56px;
  max-width: 720px;
}

.about-section h2 {
  font-family: var(--font-cjk);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: -0.015em;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.about-section h2::before {
  content: '';
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}

.about-section p {
  font-family: var(--font-cjk);
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.85;
  margin-bottom: 16px;
}

.about-section p strong {
  color: var(--text-1);
  font-weight: 600;
}

.about-section ul {
  list-style: none;
  margin-top: 12px;
}

.about-section li {
  font-family: var(--font-cjk);
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.8;
  padding-left: 20px;
  position: relative;
}

.about-section li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-weight: 700;
}

.about-team {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-top: 24px;
}

.team-card {
  background: var(--bg-base);
  padding: 28px 20px;
  text-align: left;
}

.team-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  background: var(--bg-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--text-2);
  margin-bottom: 16px;
  border: 1px solid var(--border);
}

.team-name {
  font-family: var(--font-cjk);
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 4px;
}

.team-role {
  font-family: var(--font-cjk);
  font-size: 12px;
  color: var(--text-3);
}

/* ============ SCROLL TOP ============ */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: oklch(0.175 0.006 65 / 80%);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--t-fast) var(--ease);
  color: var(--text-2);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--bg-overlay);
  color: var(--text-1);
  border-color: var(--border-strong);
}

/* ============ EMPTY STATE ============ */
.empty-state {
  text-align: center;
  padding: 80px 40px;
  color: var(--text-3);
}

.empty-state-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  color: var(--text-4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-state-title {
  font-family: var(--font-cjk);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 8px;
}

.empty-state-desc {
  font-family: var(--font-cjk);
  font-size: 13.5px;
  color: var(--text-3);
  margin-bottom: 24px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
    gap: 16px;
  }

  .nav-search {
    display: none;
  }

  .nav-links a {
    padding: 6px 10px;
    font-size: 13px;
  }

  .hero {
    padding: 120px 20px 56px;
  }

  .hero-stats {
    gap: 32px;
    flex-wrap: wrap;
  }

  .section,
  .today-section {
    padding: 40px 20px;
  }

  .today-card {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 32px;
  }

  .today-visual {
    order: -1;
  }

  .today-icon {
    width: 140px;
    height: 140px;
  }

  .today-title {
    font-size: 28px;
  }

  .detail-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .detail-sidebar {
    position: static;
  }

  .detail-header {
    padding: 20px 20px 0;
  }

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

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

  .search-page,
  .category-page,
  .about-page {
    padding: 84px 20px 40px;
  }

  .category-page-title,
  .search-result,
  .about-title {
    font-size: 28px;
  }

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

  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer-cols {
    gap: 32px;
  }
}
