
:root {
  --md-sys-color-primary: #49c0b6;
  --md-sys-color-primary-dark: #238d86;
  --ink: #202124;
  --muted: #5f6368;
  --soft: #f7f9fb;
  --surface: #ffffff;
  --tint: #ecfbfa;
  --line: rgba(32,33,36,.09);
  --shadow-1: 0 8px 28px rgba(15,23,42,.08);
  --shadow-2: 0 22px 70px rgba(15,23,42,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: Roboto, Arial, sans-serif;
}

a { color: var(--md-sys-color-primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.material-symbols-rounded {
  font-variation-settings: "FILL" 0, "wght" 520, "GRAD" 0, "opsz" 24;
  vertical-align: middle;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.topbar-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.brand:hover { text-decoration: none; }

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  box-shadow: 0 8px 26px rgba(73,192,182,.26);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  padding: 9px 13px;
  border-radius: 999px;
}

.nav a:hover {
  background: #eef3f6;
  color: var(--ink);
  text-decoration: none;
}

.repo-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--md-sys-color-primary);
  color: white !important;
  text-decoration: none;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow-1);
}

.repo-button:hover {
  background: var(--md-sys-color-primary-dark);
  color: white !important;
  text-decoration: none;
}

.hero {
  background:
    radial-gradient(circle at 14% 16%, rgba(73,192,182,.25), transparent 29%),
    radial-gradient(circle at 88% 10%, rgba(32,33,36,.10), transparent 27%),
    linear-gradient(180deg, #fff 0%, #f7f9fb 100%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 76px 22px 74px;
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(300px,.72fr);
  gap: 42px;
  align-items: end;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tint);
  color: var(--md-sys-color-primary-dark);
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 20px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 86px);
  line-height: .92;
  letter-spacing: -.065em;
  max-width: 830px;
}

.hero p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
  max-width: 730px;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--ink) !important;
  border: 1px solid var(--line);
  text-decoration: none;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 700;
}

.secondary-button:hover { text-decoration: none; background: #f3f6f7; }

.hero-panel {
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  border-radius: 32px;
  padding: 22px;
}

.metric {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  gap: 18px;
}

.metric:last-child { border-bottom: 0; }
.metric span { color: var(--muted); font-weight: 700; }
.metric strong { font-size: 28px; letter-spacing: -.04em; }

.main {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 22px 72px;
}

.controls-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow-2);
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(260px,1fr) 270px 185px;
  gap: 14px;
  transform: translateY(-38px);
  position: relative;
  z-index: 4;
}

.field { position: relative; }

.field .material-symbols-rounded {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #8a9099;
}

.field input,
.field select {
  width: 100%;
  height: 54px;
  border: 1px solid #d8dee6;
  border-radius: 19px;
  background: #fff;
  color: var(--ink);
  outline: none;
  font: inherit;
  padding: 0 16px;
}

.field input { padding-left: 48px; }

.field input:focus,
.field select:focus {
  border-color: var(--md-sys-color-primary);
  box-shadow: 0 0 0 4px rgba(73,192,182,.14);
}

.featured-band {
  margin-top: -12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow-1);
  padding: 24px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 18px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--md-sys-color-primary-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 12px 0 0;
  font-size: 30px;
  line-height: 1.06;
  letter-spacing: -.045em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  max-width: 560px;
}

.featured-list {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
}

.featured-tile {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #f8fbfc;
  border: 1px solid rgba(32,33,36,.06);
  border-radius: 22px;
  padding: 15px;
  color: var(--ink);
}

.featured-tile:hover {
  background: var(--tint);
  text-decoration: none;
}

.featured-tile .material-symbols-rounded { color: var(--md-sys-color-primary-dark); }
.featured-tile strong { display: block; line-height: 1.25; letter-spacing: -.02em; }
.featured-tile span span { color: var(--muted); font-size: 13px; }

.category-compact {
  margin-top: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-1);
  padding: 18px;
}

.category-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 2px;
  scrollbar-width: thin;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  border: 0;
  background: #f3f6f7;
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.category-chip:hover,
.category-chip.active {
  background: var(--tint);
  color: var(--md-sys-color-primary-dark);
}

.category-chip .count {
  color: var(--muted);
  font-weight: 700;
}

.results-meta {
  margin: 34px 0 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: var(--muted);
}

.results-meta strong { color: var(--ink); }

.list-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
}

.list-card {
  background: #fff;
  border: 1px solid rgba(32,33,36,.07);
  border-radius: 26px;
  padding: 20px;
  min-height: 265px;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}

.list-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 17px;
  background: var(--tint);
  color: var(--md-sys-color-primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.list-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.list-card h3 a { color: var(--ink); }
.list-card h3 a:hover { color: var(--md-sys-color-primary-dark); text-decoration: none; }

.description {
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 14px;
  flex: 1;
}

.signals {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 14px;
}

.signal {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f1f4f7;
  color: #4b5563;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 800;
}

.signal.primary {
  background: var(--tint);
  color: var(--md-sys-color-primary-dark);
}

.related {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.related strong {
  color: var(--ink);
}

.related a {
  font-weight: 800;
}

.card-footer {
  border-top: 1px solid rgba(32,33,36,.07);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-top: auto;
}

.category-tag {
  max-width: 180px;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.open-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--md-sys-color-primary-dark);
  font-weight: 900;
  white-space: nowrap;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.page-shell{
  max-width:1220px;
  margin:0 auto;
  padding:40px 24px;
}

.page-btn {
  min-width: 42px;
  height: 42px;
  border: 0;
  border-radius: 15px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: var(--shadow-1);
}

.page-btn.active {
  background: var(--md-sys-color-primary);
  color: #fff;
}

.page-btn:disabled { opacity: .45; cursor: not-allowed; }

.empty {
  grid-column: 1 / -1;
  background: #fff;
  border-radius: 26px;
  box-shadow: var(--shadow-1);
  padding: 46px;
  text-align: center;
  color: var(--muted);
}

.footer {
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 30px 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1050px) {
  .list-grid, .featured-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 54px; }
  .controls-card { grid-template-columns: 1fr; }
  .topbar-inner { flex-direction: column; align-items: flex-start; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 46px; }
  .list-grid, .featured-list { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}
