.repos-page { padding-top: 0; }

.repos-page .nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.25rem 6%; display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(20px); background: rgba(5,5,8,0.85);
  border-bottom: 1px solid var(--border); transform: translateY(0);
}
.repos-page .nav a {
  font-family: var(--font-mono); font-size: 0.85rem;
  color: var(--text-2); text-decoration: none; transition: color 0.3s;
}
.repos-page .nav a:hover, .repos-page .nav a.active { color: var(--text); }
.repos-page .nav-links { display: flex; gap: 2rem; }

.repos-page .preloader {
  position: fixed; inset: 0; z-index: 10000; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  transition: opacity 0.5s, visibility 0.5s;
}
.repos-page .preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.repos-page .preloader-counter {
  font-family: var(--font-mono); font-size: 3rem; font-weight: 600; color: var(--text);
}
.repos-page .preloader-bar {
  width: 200px; height: 2px; background: var(--border); border-radius: 2px; overflow: hidden;
}
.repos-page .preloader-bar-fill {
  height: 100%; background: var(--accent); width: 0; transition: width 0.3s;
}
.repos-page .preloader-text {
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.2em;
}

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent); z-index: 1001; transform-origin: left; transform: scaleX(0);
}

.repos-hero {
  padding: 8rem 6% 3rem; text-align: center; position: relative;
  background: radial-gradient(ellipse at 50% 0%, rgba(108,99,255,0.08) 0%, transparent 60%);
}
.repos-hero::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; background: radial-gradient(circle, rgba(108,99,255,0.06) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.repos-hero > * { position: relative; z-index: 1; }
.repos-hero__label {
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 1rem;
  opacity: 0; animation: fadeUp 0.6s 0.2s forwards;
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(108,99,255,0.08); padding: 0.4rem 1rem; border-radius: 20px;
  border: 1px solid rgba(108,99,255,0.15);
}
.repos-hero__label::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
.repos-hero__title {
  font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 800; line-height: 1.1; margin-bottom: 1rem;
}
.repos-hero__title .hero-word {
  display: inline-block;
  background: linear-gradient(135deg, #00f5d4, #00bbf9, #9b5de5);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  opacity: 0; animation: fadeUp 0.8s forwards;
}
.repos-hero__title .hero-word:nth-child(2) { animation-delay: 0.15s; }
.repos-hero__sub {
  font-size: 1.1rem; color: var(--text-2); margin-bottom: 2rem;
  opacity: 0; animation: fadeUp 0.6s 0.4s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.repos-stats {
  display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.6s 0.6s forwards;
}
.repos-stats__item {
  display: flex; flex-direction: column; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.2rem 2rem; min-width: 140px; position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.repos-stats__item::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.repos-stats__item:hover {
  border-color: var(--accent); transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(108,99,255,0.15);
}
.repos-stats__item:hover::before { opacity: 1; }
.repos-stats__number {
  font-size: 2.2rem; font-weight: 800; color: var(--text);
  font-family: var(--font-mono); line-height: 1;
}
.repos-stats__label {
  font-size: 0.7rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.12em;
  margin-top: 0.3rem;
}

/* Featured Repos */
.repos-featured {
  padding: 2rem 6% 0;
}
.repos-featured__title {
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.repos-featured__title::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.repos-featured__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0.75rem;
  margin-bottom: 2rem;
}
.featured-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.5rem; position: relative; overflow: hidden; cursor: pointer;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.featured-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 12px;
  background: linear-gradient(135deg, rgba(108,99,255,0.05), rgba(0,245,212,0.03));
  opacity: 0; transition: opacity 0.3s;
}
.featured-card:hover {
  border-color: var(--accent); transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(108,99,255,0.15);
}
.featured-card:hover::before { opacity: 1; }
.featured-card__badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-family: var(--font-mono); font-size: 0.65rem; color: #ffaa00;
  background: rgba(255,170,0,0.1); padding: 0.2rem 0.6rem; border-radius: 10px;
  margin-bottom: 0.75rem; border: 1px solid rgba(255,170,0,0.2);
}
.featured-card__name {
  font-weight: 700; font-size: 1.1rem; color: var(--text);
  margin-bottom: 0.4rem; position: relative;
}
.featured-card__desc {
  font-size: 0.82rem; color: var(--text-3); line-height: 1.5; margin-bottom: 1rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  position: relative;
}
.featured-card__stats {
  display: flex; align-items: center; gap: 1rem; position: relative;
}
.featured-card__stat {
  display: flex; align-items: center; gap: 0.3rem;
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-2);
}
.featured-card__stat svg { width: 14px; height: 14px; }
.featured-card__lang-dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 0 6px currentColor;
}

.repos-controls {
  padding: 0 6% 1.5rem; position: sticky; top: 60px; z-index: 100;
  background: var(--bg); border-bottom: 1px solid var(--border);
}

.repos-tabs__bar {
  display: flex; gap: 0.25rem; padding-bottom: 0.75rem; overflow-x: auto;
  scrollbar-width: none;
}
.repos-tabs__bar::-webkit-scrollbar { display: none; }

.repos-tab {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 0.85rem; border: none; background: none;
  color: var(--text-3); font-family: var(--font-mono); font-size: 0.8rem;
  cursor: pointer; border-radius: 6px; transition: all 0.2s; white-space: nowrap;
}
.repos-tab:hover { color: var(--text); background: var(--surface); }
.repos-tab.active { color: var(--text); background: var(--surface); font-weight: 600; }
.tab-count {
  font-size: 0.7rem; padding: 0.1rem 0.4rem; background: var(--border);
  border-radius: 10px; color: var(--text-3);
}

.repos-search {
  position: relative; margin-bottom: 0.75rem;
}
.repos-search__icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-3);
}
.repos-search__input {
  width: 100%; padding: 0.7rem 3rem 0.7rem 2.5rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text); font-family: inherit; font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.repos-search__input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.15);
}
.repos-search__input::placeholder { color: var(--text-3); }
.repos-search__kbd {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-3);
  padding: 0.15rem 0.5rem; border: 1px solid var(--border); border-radius: 4px;
  background: var(--bg);
}

.repos-filter {
  display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center;
}
.repos-filter__select {
  padding: 0.45rem 0.65rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: 6px; color: var(--text); font-family: var(--font-mono); font-size: 0.8rem;
  cursor: pointer; transition: border-color 0.2s;
}
.repos-filter__select:focus { outline: none; border-color: var(--accent); }

.repos-view-toggle { display: flex; gap: 0.25rem; margin-left: auto; }
.view-btn {
  padding: 0.4rem 0.5rem; border: 1px solid var(--border); background: var(--surface);
  color: var(--text-3); cursor: pointer; border-radius: 6px; transition: all 0.2s;
  display: flex; align-items: center;
}
.view-btn:hover { color: var(--text); }
.view-btn.active { color: var(--accent); border-color: var(--accent); }

.repos-result-count {
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-3);
  padding-top: 0.75rem;
}

.repos-content { padding: 1.5rem 6% 2rem; min-height: 40vh; }

.repos-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0.75rem;
}

.repo-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.25rem; display: flex; flex-direction: column; gap: 0.6rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: pointer; position: relative; overflow: hidden;
}
.repo-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), #00f5d4);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s;
}
.repo-card:hover {
  border-color: rgba(108,99,255,0.4); transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(108,99,255,0.12), 0 0 0 1px rgba(108,99,255,0.1);
}
.repo-card:hover::after { transform: scaleX(1); }
.repo-card.pinned {
  border-left: 3px solid var(--accent);
  background: linear-gradient(135deg, rgba(108,99,255,0.04), var(--surface));
}
.repo-card.fork {
  border-left: 3px solid #00f5d4;
  background: linear-gradient(135deg, rgba(0,245,212,0.03), var(--surface));
}
.repo-card.archived { opacity: 0.5; }

.repo-card__header { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.repo-card__icon { color: var(--text-3); flex-shrink: 0; transition: color 0.3s; }
.repo-card:hover .repo-card__icon { color: var(--accent); }
.repo-card__name {
  font-weight: 600; font-size: 0.95rem; color: var(--accent);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.repo-card__badge {
  font-size: 0.6rem; padding: 0.15rem 0.5rem; border-radius: 10px;
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.05em;
  font-weight: 600;
}
.pinned-badge {
  background: rgba(108,99,255,0.15); color: var(--accent);
  border: 1px solid rgba(108,99,255,0.2);
}
.fork-badge {
  background: rgba(0,245,212,0.12); color: #00f5d4;
  border: 1px solid rgba(0,245,212,0.2);
}
.archived-badge {
  background: rgba(255,170,0,0.12); color: #ffaa00;
  border: 1px solid rgba(255,170,0,0.2);
}
.repo-card__visibility {
  font-size: 0.6rem; padding: 0.1rem 0.4rem; border: 1px solid var(--border);
  border-radius: 20px; color: var(--text-3); text-transform: uppercase; margin-left: auto;
  font-family: var(--font-mono);
}

.repo-card__desc {
  font-size: 0.82rem; color: var(--text-3); line-height: 1.6; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.repo-card__topics { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.repo-card__topic {
  font-size: 0.65rem; padding: 0.15rem 0.5rem;
  background: rgba(0,245,212,0.06); color: #00f5d4; border-radius: 20px;
  font-family: var(--font-mono); border: 1px solid rgba(0,245,212,0.12);
  transition: background 0.2s;
}
.repo-card__topic:hover {
  background: rgba(0,245,212,0.12);
}

.repo-card__footer {
  display: flex; align-items: center; gap: 0.8rem; font-size: 0.78rem; color: var(--text-3);
  flex-wrap: wrap; padding-top: 0.4rem; border-top: 1px solid var(--border);
}
.repo-card__lang {
  display: flex; align-items: center; gap: 0.35rem;
  background: rgba(255,255,255,0.03); padding: 0.15rem 0.5rem; border-radius: 6px;
}
.repo-card__lang-dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 0 6px currentColor;
}
.repo-card__stat {
  display: flex; align-items: center; gap: 0.25rem;
  transition: color 0.2s;
}
.repo-card__stat:hover { color: var(--text); }
.repo-card__stat svg { width: 14px; height: 14px; }
.repo-card__date { margin-left: auto; font-size: 0.72rem; opacity: 0.7; }

/* List view */
.repos-list { display: flex; flex-direction: column; gap: 0.5rem; }
.repo-list-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1.25rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.repo-list-item:hover { border-color: var(--accent); background: rgba(108,99,255,0.03); }
.repo-list-item.pinned { border-left: 3px solid var(--accent); }
.repo-list-item.fork { border-left: 3px solid #00f5d4; }
.repo-list__left { display: flex; align-items: center; gap: 0.75rem; flex: 1; min-width: 0; }
.repo-list__icon { color: var(--text-3); flex-shrink: 0; }
.repo-list__name { font-weight: 600; font-size: 0.9rem; color: var(--accent); }
.repo-list__desc {
  font-size: 0.8rem; color: var(--text-3);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.repo-list__right {
  display: flex; align-items: center; gap: 1rem; flex-shrink: 0; margin-left: 1rem;
}

/* Loading & empty */
.repos-loading {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  padding: 4rem 0; color: var(--text-3);
}
.repos-loading__spinner {
  width: 32px; height: 32px; border: 3px solid var(--border);
  border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.repos-empty {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  padding: 4rem 0; color: var(--text-3);
}

/* Pagination */
.repos-pagination {
  display: flex; justify-content: center; align-items: center; gap: 0.4rem;
  padding: 1rem 6% 3rem; flex-wrap: wrap;
}
.page-btn {
  padding: 0.4rem 0.75rem; border: 1px solid var(--border); background: var(--surface);
  color: var(--text-3); font-family: var(--font-mono); font-size: 0.8rem;
  border-radius: 6px; cursor: pointer; transition: all 0.2s;
}
.page-btn:hover { border-color: var(--accent); color: var(--text); }
.page-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.page-dots { color: var(--text-3); padding: 0 0.3rem; }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; opacity: 0; pointer-events: none; transition: opacity 0.3s;
  backdrop-filter: blur(4px);
}
.modal-overlay.show { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 12px;
  padding: 2rem; width: 90%; max-width: 550px; max-height: 80vh; overflow-y: auto;
  transform: translateY(20px); transition: transform 0.3s;
}
.modal-overlay.show .modal { transform: translateY(0); }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.modal-title { font-size: 1.1rem; font-weight: 600; }
.modal-close { background: none; border: none; color: var(--text-3); font-size: 1.5rem; cursor: pointer; transition: color 0.2s; }
.modal-close:hover { color: var(--text); }

.repo-modal__section { margin-bottom: 1.25rem; }
.repo-modal__fork-info { font-size: 0.8rem; color: var(--text-3); margin-bottom: 0.5rem; font-style: italic; }
.repo-modal__desc { font-size: 0.9rem; color: var(--text-2); line-height: 1.6; }
.repo-modal__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem;
  margin-bottom: 1.25rem; padding: 1rem; background: var(--surface);
  border-radius: 8px; border: 1px solid var(--border);
}
.repo-modal__stat { text-align: center; }
.repo-modal__stat-num { display: block; font-size: 1.3rem; font-weight: 700; color: var(--text); }
.repo-modal__stat-label { font-size: 0.7rem; color: var(--text-3); text-transform: uppercase; }
.repo-modal__info { margin-bottom: 1.25rem; }
.repo-modal__info-row {
  display: flex; justify-content: space-between; padding: 0.5rem 0;
  border-bottom: 1px solid var(--border); font-size: 0.85rem;
}
.repo-modal__info-row span:first-child { color: var(--text-3); }
.repo-modal__info-row span:last-child { color: var(--text); font-family: var(--font-mono); font-size: 0.8rem; }
.repo-modal__actions { display: flex; gap: 0.75rem; }
.repo-modal__actions .btn { flex: 1; text-align: center; }

/* Footer */
.footer { padding: 2rem 6%; border-top: 1px solid var(--border); margin-top: 2rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-logo { font-family: var(--font-mono); font-size: 1rem; font-weight: 600; color: var(--accent); }
.footer-text, .footer-year { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-3); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999; background: rgba(5,5,8,0.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mobile-menu.active { opacity: 1; pointer-events: all; }
.mobile-menu-links { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.mobile-link {
  font-size: 1.5rem; color: var(--text-2); text-decoration: none;
  font-family: var(--font-mono); transition: color 0.2s;
}
.mobile-link:hover { color: var(--accent); }

.nav-menu-btn {
  display: none; width: 30px; height: 20px; position: relative; background: none; border: none;
  cursor: pointer;
}
.nav-menu-btn span {
  display: block; width: 100%; height: 2px; background: var(--text);
  position: absolute; left: 0; transition: all 0.3s;
}
.nav-menu-btn span:first-child { top: 0; }
.nav-menu-btn span:last-child { bottom: 0; }
.nav-menu-btn.active span:first-child { top: 50%; transform: rotate(45deg); }
.nav-menu-btn.active span:last-child { bottom: 50%; transform: rotate(-45deg); }

/* ===== FILE TREE ===== */
.repo-modal__tree {
  margin-top: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.repo-modal__tree-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(108,99,255,0.04);
}
.repo-modal__tree-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}
.repo-modal__tree-loading {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-2);
  animation: treePulse 1.5s infinite;
}
@keyframes treePulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.repo-modal__tree-body {
  max-height: 350px;
  overflow-y: auto;
  padding: 0.5rem 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(108,99,255,0.3) transparent;
}
.repo-modal__tree-body::-webkit-scrollbar { width: 4px; }
.repo-modal__tree-body::-webkit-scrollbar-thumb { background: rgba(108,99,255,0.3); border-radius: 2px; }

.tree-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tree-list .tree-list {
  padding-left: 1.25rem;
}
.tree-item {
  display: block;
}
.tree-folder, .tree-file {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  cursor: pointer;
  transition: background 0.15s;
  font-size: 0.78rem;
  font-family: var(--font-mono);
}
.tree-folder:hover, .tree-file:hover {
  background: rgba(108,99,255,0.08);
}
.tree-folder {
  color: var(--text);
  font-weight: 500;
}
.tree-file {
  color: var(--text-2);
}
.tree-file:hover {
  color: var(--accent);
}
.tree-arrow {
  font-size: 0.6rem;
  color: var(--text-2);
  width: 0.8rem;
  text-align: center;
  flex-shrink: 0;
}
.tree-icon {
  font-size: 0.85rem;
  width: 1rem;
  text-align: center;
  flex-shrink: 0;
}
.tree-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tree-size {
  font-size: 0.65rem;
  color: var(--text-2);
  opacity: 0.6;
  margin-left: auto;
  flex-shrink: 0;
}
.tree-folder-item.collapsed > .tree-list {
  display: none;
}
.tree-empty {
  padding: 2rem;
  text-align: center;
  color: var(--text-2);
  font-size: 0.8rem;
  font-family: var(--font-mono);
}

@media (max-width: 768px) {
  .repos-hero { padding: 6rem 5% 2rem; }
  .repos-controls { padding: 0 5% 1rem; top: 56px; }
  .repos-content { padding: 1rem 5% 2rem; }
  .repos-grid { grid-template-columns: 1fr; }
  .repos-stats { gap: 1.5rem; }
  .repos-filter { flex-direction: column; }
  .repos-view-toggle { margin-left: 0; }
  .nav-links { display: none; }
  .nav-menu-btn { display: block; }
  .repo-list__right { display: none; }
  .repo-modal__stats { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; gap: 0.75rem; text-align: center; }
  .repos-search__kbd { display: none; }
}
