/* 精选应用画廊 — 参考 SmallYoung 卡片布局 */
body {
  font-family: 'Noto Sans SC', -apple-system, sans-serif;
  background: #f4f5f7;
  color: #1a1a2e;
  min-height: 100vh;
}

.gallery-header {
  background: #fff;
  border-bottom: 1px solid #e8eaed;
  position: sticky;
  top: 0;
  z-index: 50;
}

.gallery-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gallery-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  color: #1a1a2e;
}

.gallery-logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eefbff;
  border: 1px solid #b8f0ff;
  border-radius: 8px;
  font-size: 0.75rem;
  color: #00a8c5;
}

.gallery-logo .accent { color: #00a8c5; }

.gallery-nav {
  display: flex;
  gap: 28px;
}

.gallery-nav a {
  text-decoration: none;
  color: #666;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.gallery-nav a:hover,
.gallery-nav a.active { color: #1a1a2e; font-weight: 500; }

.gallery-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.gallery-hero {
  margin-bottom: 40px;
}

.gallery-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.gallery-hero > p {
  color: #666;
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.gallery-filters button {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #555;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.gallery-filters button:hover {
  border-color: #00a8c5;
  color: #00a8c5;
}

.gallery-filters button.active {
  background: #1a1a2e;
  border-color: #1a1a2e;
  color: #fff;
}

.gallery-stats {
  font-size: 0.85rem;
  color: #999;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 960px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-nav { display: none; }
  .gallery-hero h1 { font-size: 1.85rem; }
}

.app-card {
  border-radius: 16px;
  padding: 28px 24px 24px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  color: #fff;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

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

.app-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.app-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.app-card-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  opacity: 0.92;
  flex: 1;
  margin-bottom: 20px;
}

.app-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.app-card-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

.app-card:hover .app-card-btn {
  background: rgba(255,255,255,0.25);
}

.app-card-status {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0,0,0,0.2);
  opacity: 0.85;
}

.app-card-status.live { background: rgba(255,255,255,0.25); }

.gallery-footer {
  text-align: center;
  padding: 24px;
  font-size: 0.8rem;
  color: #999;
}

.gallery-footer a { color: #666; text-decoration: none; }
.gallery-footer a:hover { color: #00a8c5; }
