/* ==========================================================================
   GTA VI PC TRACKER — FULL-WIDTH MODERN LAYOUT (VICE CITY DARK)
   adonioalves.com/gtavi
   ========================================================================== */

:root {
  --bg-deep: #090414;
  --bg-mid: #140822;
  --surface: rgba(18, 10, 32, 0.78);
  --surface-hover: rgba(26, 14, 46, 0.9);
  --surface-subtle: rgba(255, 255, 255, 0.035);

  --vc-pink: #ff2e93;
  --vc-purple: #9b51e0;
  --vc-orange: #ff9e2c;
  --vc-gold: #ffd700;
  --vc-cyan: #00f0ff;
  --emerald: #10b981;

  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-pink: rgba(255, 46, 147, 0.28);
  --border-gold: rgba(255, 158, 44, 0.42);

  --text-primary: #f8fafc;
  --text-secondary: #d8cef0;
  --text-muted: #9888b8;

  --font-display: 'Anton', 'Impact', sans-serif;
  --font-heading: 'Barlow Condensed', 'Inter', sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

a {
  color: inherit;
}

/* ==========================================================================
   VICE CITY SUBTLE BACKDROP
   ========================================================================== */
.vc-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(180deg, #090414 0%, #140822 55%, #230926 100%);
}

.vc-glow-top {
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 460px;
  background: radial-gradient(ellipse at center, rgba(255, 46, 147, 0.16) 0%, rgba(155, 81, 224, 0.09) 45%, transparent 75%);
  filter: blur(40px);
}

.vc-glow-horizon {
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 360px;
  background: radial-gradient(ellipse at center, rgba(255, 158, 44, 0.16) 0%, rgba(255, 46, 147, 0.14) 45%, transparent 78%);
  filter: blur(50px);
}

.vc-skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 200px;
  color: rgba(7, 3, 15, 0.72);
  opacity: 0.65;
}

.vc-skyline svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ==========================================================================
   LAYOUT & SURFACES — FULL WIDTH
   ========================================================================== */
.page-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.glass-surface {
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-pink);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(4, 1, 10, 0.55), 0 0 28px rgba(255, 46, 147, 0.06);
}

/* ==========================================================================
   1. CABEÇALHO LIMPO — FULL WIDTH
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(9, 4, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.18s ease;
}

.back-btn:hover {
  background: rgba(255, 46, 147, 0.14);
  border-color: var(--border-pink);
  color: #ffffff;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 11px;
}

.gta-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 5px 10px 4px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(255, 158, 44, 0.2), rgba(255, 46, 147, 0.16));
  border: 1px solid rgba(255, 158, 44, 0.52);
}

.gta-word {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1;
  color: #ffffff;
}

.vi-word {
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1;
  font-style: italic;
  background: linear-gradient(135deg, var(--vc-gold), var(--vc-orange), var(--vc-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.brand-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #ffffff;
}

.brand-sub {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 2px 7px;
  border-radius: 5px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--vc-pink), var(--vc-purple));
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.38);
  color: #34d399;
}

.live-pill.is-fallback {
  background: rgba(255, 158, 44, 0.14);
  border-color: rgba(255, 158, 44, 0.45);
  color: var(--vc-orange);
}

.live-pill.is-syncing {
  background: rgba(0, 240, 255, 0.12);
  border-color: rgba(0, 240, 255, 0.35);
  color: var(--vc-cyan);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.updated-meta {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   CONTEÚDO PRINCIPAL — FULL WIDTH
   ========================================================================== */
.main-content {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 28px 32px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 1;
}

/* ==========================================================================
   2. HERO EM DESTAQUE
   ========================================================================== */
.hero-card {
  padding: 28px 30px;
  border-color: rgba(255, 46, 147, 0.34);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr);
  gap: 28px;
  align-items: center;
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--vc-cyan);
  margin-bottom: 10px;
}

.hero-headline {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 22px;
}

.headline-accent {
  background: linear-gradient(90deg, var(--vc-pink) 0%, var(--vc-orange) 55%, var(--vc-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-leader-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero-giant-pct {
  font-size: clamp(46px, 6vw, 66px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--vc-gold) 0%, var(--vc-orange) 50%, var(--vc-pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(255, 46, 147, 0.25));
}

.hero-leader-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-leader-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--vc-orange);
}

.hero-leader-name {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.05;
  color: #ffffff;
}

.hero-leader-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
}

/* Barra das 5 Fases */
.hero-progress-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-progress-track {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--vc-pink) 0%, var(--vc-purple) 35%, var(--vc-orange) 70%, var(--vc-cyan) 100%);
  box-shadow: 0 0 18px rgba(255, 46, 147, 0.45);
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-milestones {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.hm-step {
  text-align: center;
  padding: 5px 6px;
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hm-step.is-reached {
  color: #ffd394;
  background: rgba(255, 158, 44, 0.12);
  border-color: rgba(255, 158, 44, 0.28);
}

.hm-step.is-current {
  color: #ffffff;
  font-weight: 700;
  background: linear-gradient(90deg, rgba(255, 46, 147, 0.3), rgba(0, 240, 255, 0.25));
  border-color: rgba(0, 240, 255, 0.45);
}

/* Cartão Compacto de Estado (Hero Direita) */
.hero-status-card {
  padding: 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hsc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hsc-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.hsc-refresh {
  font-size: 11px;
  color: var(--vc-cyan);
}

.hsc-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hsc-stat {
  padding: 10px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hsc-stat-val {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
}

.hsc-stat-lbl {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.25;
}

.hsc-note {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.yt-live-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 16px;
  border-radius: 11px;
  background: linear-gradient(135deg, #e11d48 0%, #ff2e93 100%);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.34);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.yt-live-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 46, 147, 0.45);
}

/* Badges partilhadas */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
}

.pill-stage {
  color: var(--vc-cyan);
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.pill-fps {
  color: var(--vc-gold);
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.28);
}

.pill-gpu {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pill-private {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   3. GRELHA PRINCIPAL — 2 COLUNAS LARGAS (1.4fr / 1fr) EM ECRÃS >= 1280px
   ========================================================================== */
.body-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 1280px) {
  .body-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 28px;
    align-items: start;
  }
}

.right-column {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

/* LISTA LIMPA DA CORRIDA (RANKING EXPANDÍVEL) */
.race-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #ffffff;
}

.section-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.section-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--vc-pink);
  background: rgba(255, 46, 147, 0.1);
  border: 1px solid var(--border-pink);
  padding: 4px 10px;
  border-radius: 999px;
}

.race-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-card {
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.project-card:hover {
  border-color: var(--border-pink);
  background: var(--surface-hover);
}

.project-card.is-leader {
  border-color: var(--border-gold);
  box-shadow: 0 0 24px rgba(255, 158, 44, 0.09);
}

.project-card.is-open {
  border-color: rgba(0, 240, 255, 0.35);
}

.project-row-btn {
  width: 100%;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: minmax(190px, 1.2fr) minmax(110px, 1fr) auto;
  align-items: center;
  gap: 18px;
  cursor: pointer;
}

.project-id-col {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.rank-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  min-width: 28px;
}

.project-card.is-leader .rank-num {
  color: var(--vc-gold);
}

.project-main-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.project-title-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.project-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
}

.project-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.project-repo-sub {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-bar-col {
  display: flex;
  align-items: center;
  gap: 12px;
}

.row-track {
  flex: 1;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.row-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--vc-pink) 0%, var(--vc-orange) 55%, var(--vc-cyan) 100%);
  transition: width 0.7s ease;
}

.project-pct-col {
  display: flex;
  align-items: center;
  gap: 10px;
}

.row-pct {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  min-width: 56px;
  text-align: right;
}

.expand-chevron {
  color: var(--text-muted);
  font-size: 14px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.project-card.is-open .expand-chevron {
  transform: rotate(180deg);
  color: var(--vc-cyan);
}

/* Painel Expandível de Detalhes Técnicos */
.project-drawer {
  display: none;
  padding: 0 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(9, 4, 20, 0.45);
}

.project-card.is-open .project-drawer {
  display: block;
  animation: fadeDown 0.22s ease;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.drawer-summary {
  padding-top: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.drawer-submetrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.sub-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sub-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 11.5px;
}

.sub-label {
  color: var(--text-muted);
  font-weight: 600;
}

.sub-val {
  color: var(--vc-cyan);
  font-weight: 700;
}

.sub-track {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.sub-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--vc-pink), var(--vc-orange), var(--vc-cyan));
}

.drawer-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}

.list-box {
  padding: 14px 16px;
  border-radius: 12px;
}

.list-box-ok {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.24);
}

.list-box-bad {
  background: rgba(255, 46, 147, 0.06);
  border: 1px solid rgba(255, 46, 147, 0.24);
}

.list-box-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.list-box-ok .list-box-title { color: #34d399; }
.list-box-bad .list-box-title { color: #ff77b7; }

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

.list-box li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-primary);
}

.drawer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.drawer-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--vc-cyan);
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 7px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.24);
  transition: background 0.16s ease;
}

.drawer-link:hover {
  background: rgba(0, 240, 255, 0.16);
}

/* ==========================================================================
   4. NOTÍCIAS, REPOSITÓRIOS & COMMITS — COLUNA DIREITA
   ========================================================================== */
.feed-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
}

.feed-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.feed-section-title {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 800;
  color: #ffffff;
}

.feed-section-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.badge-portwatch {
  color: var(--vc-pink);
  background: rgba(255, 46, 147, 0.12);
  border: 1px solid rgba(255, 46, 147, 0.3);
}

.badge-github {
  color: var(--vc-cyan);
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.32);
}

.badge-cached {
  color: var(--vc-orange);
  background: rgba(255, 158, 44, 0.12);
  border: 1px solid rgba(255, 158, 44, 0.32);
}

/* Filtros Rápidos */
.news-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  appearance: none;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}

.filter-btn:hover {
  border-color: var(--border-pink);
  color: #ffffff;
  background: rgba(255, 46, 147, 0.12);
}

.filter-btn.is-active {
  background: linear-gradient(135deg, rgba(255, 46, 147, 0.32), rgba(155, 81, 224, 0.32));
  border-color: rgba(255, 46, 147, 0.65);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(255, 46, 147, 0.25);
}

.vertical-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feed-item {
  display: block;
  padding: 13px 15px;
  border-radius: 12px;
  background: var(--surface-subtle);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}

a.feed-item:hover {
  border-color: var(--border-pink);
  background: rgba(255, 255, 255, 0.06);
}

.feed-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
  flex-wrap: wrap;
}

.feed-meta-left {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.feed-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--vc-pink);
  background: rgba(255, 46, 147, 0.14);
}

.feed-tag-commit {
  color: var(--vc-cyan);
  background: rgba(0, 240, 255, 0.14);
}

.feed-tag-reddit {
  color: var(--vc-orange);
  background: rgba(255, 158, 44, 0.16);
}

.feed-tag-repo {
  color: #c084fc;
  background: rgba(155, 81, 224, 0.18);
}

.feed-source {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
}

.feed-sha {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--vc-orange);
}

.feed-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.feed-title {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-primary);
}

.feed-dek {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-muted);
}

.repo-stars {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--vc-gold);
}

.repo-lang {
  font-size: 11px;
  color: var(--text-muted);
}

/* ==========================================================================
   RODAPÉ DISCRETO — FULL WIDTH
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(9, 4, 20, 0.72);
}

.footer-inner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-muted);
}

.footer-inner a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--vc-cyan);
}

/* ==========================================================================
   RESPONSIVIDADE
   ========================================================================== */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .project-row-btn {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .project-pct-col {
    justify-content: space-between;
  }
}

@media (max-width: 680px) {
  .header-inner {
    padding: 14px 16px;
  }

  .main-content {
    padding: 18px 16px 36px;
    gap: 24px;
  }

  .footer-inner {
    padding: 18px 16px;
  }

  .hero-card {
    padding: 20px 18px;
  }

  .hero-milestones {
    gap: 4px;
  }

  .hm-step {
    font-size: 9.5px;
    padding: 4px 2px;
  }

  .hsc-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

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

  .drawer-lists {
    grid-template-columns: 1fr;
  }
}