:root {
  --bg: #0f1419;
  --surface: #1a2028;
  --surface-2: #232a35;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.2);
  --text: #e8ecef;
  --text-muted: #8b95a3;
  --accent: #7c8cff;
  --accent-soft: rgba(124, 140, 255, 0.1);
  --timer-color: #7c8cff;
  --recipe-color: #7ad7a8;
  --recipe-soft: rgba(122, 215, 168, 0.1);
}

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

html,
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans',
    'Hiragino Kaku Gothic ProN', 'Yu Gothic Medium', Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ─── ヘッダー ─── */
.site-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 56px;
}

.site-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.site-title {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* ─── アプリグリッド ─── */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
  margin-bottom: 80px;
}

/* ─── アプリカード ─── */
.app-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  cursor: pointer;
}

.app-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.timer-icon {
  background: var(--accent-soft);
  color: var(--timer-color);
  border: 1px solid rgba(124, 140, 255, 0.2);
}

.recipe-icon {
  background: var(--recipe-soft);
  color: var(--recipe-color);
  border: 1px solid rgba(122, 215, 168, 0.2);
}

.card-body {
  flex: 1;
}

.card-title {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--text);
}

.card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 18px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin-bottom: 0;
}

.card-tags li {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
}

.card-arrow {
  position: absolute;
  top: 28px;
  right: 28px;
  font-size: 18px;
  color: var(--text-muted);
  transition: color 0.2s, transform 0.2s;
}

.app-card:hover .card-arrow {
  color: var(--text);
  transform: translateX(3px);
}

/* ─── フッター ─── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.site-footer p {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.5;
}
