@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&family=Pixelify+Sans:wght@700&display=swap');

/* --- VARIÁVEIS DE TEMA (DARK / LIGHT) --- */
:root {
  --bg-color: #060816;          /* Fundo escuro */
  --sidebar-bg: #080b1d;       /* Fundo da sidebar */
  --card-bg: rgba(255, 255, 255, 0.02); /* Fundo das boxes */
  --card-hover: rgba(255, 255, 255, 0.04);
  --text-primary: #eaeaea;      /* Texto principal */
  --text-secondary: #9ca3af;    /* Texto secundário/parágrafos */
  --text-muted: #5f647c;        /* Títulos de seções */
  --border-color: rgba(255, 255, 255, 0.04);
  --accent-purple: #8b5cf6;
  --accent-green: #22c55e;
}

body.light-mode {
  --bg-color: #f4f4f5;          /* Fundo claro */
  --sidebar-bg: #ffffff;        /* Sidebar clara */
  --card-bg: #ffffff;           /* Cards brancos */
  --card-hover: #f8fafc;
  --text-primary: #18181b;      /* Texto escuro */
  --text-secondary: #52525b;    /* Texto secundário escuro */
  --text-muted: #64748b;
  --border-color: #e4e4e7;      /* Bordas sutis */
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  display: flex;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* --- SIDEBAR ACTIONS CONTAINER --- */
.sidebar-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  width: 100%;
}

/* --- BOTÃO SWITCH DE TEMA --- */
.theme-toggle-btn {
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0;
  margin: 0;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
}

/* --- SWITCH DE IDIOMA PT / EN --- */
.lang-switch {
  position: relative;
  display: inline-block;
  width: 58px;
  height: 32px;
  user-select: none;
}

.lang-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.lang-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: transparent;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: .3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
}

.lang-slider::before {
  position: absolute;
  content: "";
  height: 22px;
  width: 24px;
  left: 4px;
  bottom: 4px;
  background-color: rgba(139, 92, 246, 0.15);
  border: 1px solid var(--accent-purple);
  border-radius: 6px;
  transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-label-pt, .lang-label-en {
  z-index: 1;
  transition: color .3s ease;
}

.lang-switch input:checked + .lang-slider::before {
  transform: translateX(24px);
}

.lang-switch input:not(:checked) + .lang-slider .lang-label-pt {
  color: var(--accent-purple);
}

.lang-switch input:checked + .lang-slider .lang-label-en {
  color: var(--accent-purple);
}

body.light-mode .lang-slider {
  border-color: #e4e4e7;
}

/* --- LEFT SIDEBAR (BLOCOS FLUTUANTES) --- */
.sidebar {
  position: relative;
  width: 260px;
  min-height: auto;
  height: fit-content;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  margin: 24px 0 24px 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.sidebar-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.logo {
  color: var(--accent-purple) !important;
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
  margin: 0 0 6px 0;
  padding: 0;
  display: block;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.5;
  margin: 0 0 16px 0;
  padding: 0;
  display: block;
  max-width: 170px;
}

.sidebar-block {
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.block-title {
  color: var(--text-muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 4px 10px;
  margin-bottom: 2px;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Base de links para Navigation e Socials */
.sidebar nav a,
.socials a {
  display: grid;
  grid-template-columns: 14px 1fr;
  align-items: center;
  column-gap: 12px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all .2s ease;
}

.sidebar nav a i,
.socials a i {
  width: 14px;
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
}

/* Hover nos links normais */
.sidebar nav a:hover:not(.active),
.socials a:hover {
  background: rgba(139, 92, 246, .1);
  color: var(--accent-purple);
}

.sidebar nav a:hover:not(.active) i,
.socials a:hover i {
  color: var(--accent-purple);
}

/* --- ITEM SELECIONADO / ATIVO DO MENU (ESTILO TERMINAL) --- */
.sidebar nav a.active {
  color: var(--accent-green) !important;
  background: rgba(34, 197, 94, 0.04) !important;
  border: 1px solid rgba(34, 197, 94, 0.25) !important;
  font-weight: 700;
}

/* Esconde o ícone original do FontAwesome no item ativo e substitui por '>' */
.sidebar nav a.active i::before {
  content: ">";
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 13px;
  color: var(--accent-green);
}

.socials {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-gif {
  width: 100%;
  margin-top: 5px;
  border-radius: 14px;
  opacity: .9;
  transition: .3s ease;
}

.sidebar-gif:hover {
  opacity: 1;
}

/* --- TEXTO MATRIX VERDE (BUILDING. LEARNING. SHARING.) --- */
.matrix-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-green);
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
  text-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
  animation: matrixGlitch 3s infinite ease-in-out;
}

.matrix-text::before,
.matrix-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 0 0 0);
}

.matrix-text::before {
  color: var(--accent-purple);
  left: 1px;
  text-shadow: -1px 0 var(--accent-purple);
  animation: glitchAnim1 2s infinite linear alternate-reverse;
  display: none;
}

@keyframes matrixGlitch {
  0%, 100% {
    opacity: 1;
    transform: translate(0);
  }
  92% {
    opacity: 1;
    transform: translate(0);
    text-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
  }
  93% {
    opacity: 0.8;
    transform: translate(-2px, 1px);
    text-shadow: 2px 0 var(--accent-purple), -2px 0 #38bdf8;
  }
  94% {
    opacity: 1;
    transform: translate(2px, -1px);
    text-shadow: -2px 0 var(--accent-purple), 2px 0 var(--accent-green);
  }
  95% {
    opacity: 1;
    transform: translate(0);
    text-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
  }
}

.sidebar-tagline {
  color: var(--text-muted);
  font-size: 10px;
  text-align: center;
  margin-top: 6px;
  display: block;
}

/* --- MAIN --- */
main {
  flex: 1;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.box {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 24px;
  backdrop-filter: blur(10px);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* --- HERO ALINHADO --- */
.hero {
  width: 100%;
}

.hero-inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.hero-text-block {
  flex: 1;
  min-width: 0;
  max-width: calc(100% - 340px); /* Garante o espaço correto para o GIF maior */
}

.hero-small {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 10px;
}

.hero h2 {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 16px;
  color: var(--accent-purple);
}

.hero-subtitle {
  color: var(--accent-green);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 20px;
}

.hero p {
  width: 100%;
  line-height: 1.8;
  color: var(--text-secondary);
  font-size: 13px;
}

.hero-gif-wrapper {
  flex-shrink: 0;
  width: 320px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-gif {
  width: 100%;
  height: 100%;
  max-height: 280px;
  display: block;
  object-fit: cover;
  border-radius: 12px;
}

.mini-status {
  margin-top: 20px;
  width: 100%;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 14px;
}

.mini-status p {
  color: var(--text-secondary);
  font-size: 11px;
  line-height: 1.8;
}

.mini-status .green {
  color: var(--accent-green) !important;
  display: inline;
}

/* --- CURSOR PISCANTE --- */
.cursor {
  display: inline-block;
  width: 11px;
  height: 1.1em;
  background-color: var(--accent-green);
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* --- RIGHT BAR --- */
.rightbar {
  width: 300px;
  min-height: 100vh;
  padding: 24px 20px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rightbar-block {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.rightbar-title {
  color: var(--text-muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* --- STATUS --- */
.status-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
}

.status-item p {
  font-size: 12px;
  color: var(--text-secondary);
}

.info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info span {
  color: var(--text-muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info p {
  color: var(--text-primary);
  font-size: 12px;
  line-height: 1.7;
}

/* --- GITHUB STATS --- */
.github-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.github-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.github-title {
  color: var(--accent-purple);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.github-user-link {
  color: var(--accent-green);
  font-size: 14px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  text-decoration: none;
  width: fit-content;
  transition: opacity 0.2s ease;
}

.github-user-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.github-chart-container {
  width: 100%;
  height: 90px;
  overflow: hidden;
  position: relative;
  border-radius: 6px;
  display: flex;
  align-items: center;
}

.github-chart-crop {
  height: 140%;
  width: auto;
  max-width: none;
  position: absolute;
  right: -5px;
  top: -16px;
  filter: invert(0.93) hue-rotate(180deg) brightness(0.9) contrast(1.2);
  mix-blend-mode: screen;
}

body.light-mode .github-chart-crop {
  mix-blend-mode: multiply;
  filter: none;
}

/* --- LEARNING --- */
.learning-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.learning-list li {
  color: var(--text-primary);
  font-size: 12px;
  line-height: 1.7;
  position: relative;
  padding-left: 14px;
}

.learning-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-purple);
}

/* --- FOOTER --- */
.footer-box {
  gap: 6px;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-title {
  color: #d97706;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.footer-text {
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 600;
}

.footer-subtext-group {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.footer-subtext {
  color: var(--text-muted);
  font-size: 10px;
}

.mug-inline {
  display: inline-flex;
  align-items: center;
}

.pixel-mug {
  image-rendering: pixelated;
}

.pixel-mug path[opacity="0.6"] {
  animation: steam 2.2s infinite ease-in-out alternate;
}

@keyframes steam {
  0% { transform: translateY(0); opacity: 0.3; }
  100% { transform: translateY(-2px); opacity: 0.7; }
}

/* --- SECTIONS COMMON --- */
.section-title {
  display: block;
  color: var(--text-muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

/* --- PROJECTS --- */
.projects-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-card {
  text-decoration: none;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 18px;
  transition: .25s ease;
}

.project-card:hover {
  background-color: var(--card-hover);
  border-color: rgba(139, 92, 246, .3);
}

.project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.project-top h3 {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 400;
}

.project-arrow {
  color: var(--accent-purple);
  font-size: 12px;
}

.project-card p {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tags span {
  background: rgba(34, 197, 94, .08);
  border: 1px solid rgba(34, 197, 94, .2);
  color: var(--accent-green);
  font-size: 10px;
  padding: 6px 10px;
  border-radius: 999px;
}

/* --- DASHBOARD TRIPLE COLUMN (SKILLS, JOURNEY, TECHS) --- */
.skills-dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 16px;
}

.dashboard-col {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --- SKILL TREE --- */
.skill-category {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 6px;
}

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

.skill-item {
  display: grid;
  grid-template-columns: 82px 1fr 28px;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-primary);
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar .progress {
  height: 100%;
  background-color: var(--accent-green);
  border-radius: 2px;
}

.percent {
  font-size: 10px;
  color: var(--text-muted);
  text-align: right;
}

.terminal-footer {
  color: var(--accent-green);
  font-size: 11px;
  margin-top: auto;
  padding-top: 8px;
}

/* --- JOURNEY LOG --- */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  padding-left: 2px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: rgba(34, 197, 94, 0.25);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.year-badge {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--accent-green);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 4px;
  border-radius: 4px;
}

.timeline-content strong {
  display: block;
  font-size: 11px;
  color: var(--text-primary);
}

.timeline-content p {
  font-size: 10px;
  color: var(--text-secondary);
  line-height: 1.3;
}

.next-commit {
  margin-top: auto;
  border: 1px dashed rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.03);
  padding: 8px 6px;
  border-radius: 8px;
  text-align: center;
}

.next-commit code {
  color: var(--accent-green);
  font-size: 10px;
}

/* --- ANIMAÇÃO DOS PONTOS --- */
.typing-dots span {
  opacity: 0;
  animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(1) { animation-delay: 0s; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

/* --- TECH STACK GRID COMPACTA --- */
.tech-grid-compact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 4px;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.tech-item-compact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 4px;
  width: 100%;
}

.tech-item-compact i {
  font-size: 26px;
  color: var(--accent-green) !important;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.tech-item-compact i.bold-icon {
  font-size: 28px;
  font-weight: 800;
  stroke-width: 2px;
  filter: drop-shadow(0 0 2px rgba(34, 197, 94, 0.3));
}

.tech-item-compact:hover i {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 6px rgba(34, 197, 94, 0.4));
}

.tech-item-compact span {
  font-size: 9px;
  color: var(--text-secondary);
}

/* --- HARDWARE / SETUP CARD --- */
.setup-box {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 16px;
  font-family: 'JetBrains Mono', monospace;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.setup-title {
  color: var(--accent-purple);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.setup-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.setup-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}

.setup-dot {
  color: var(--accent-green);
  font-size: 8px;
}

.setup-text {
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.2;
}

/* --- GITHUB DYNAMIC CARD --- */
.github-dynamic-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.github-dynamic-card .project-arrow {
  color: var(--accent-purple);
  font-size: 12px;
}

.github-dynamic-card .project-top h3 i {
  color: var(--accent-purple);
  margin-right: 6px;
}

.github-dynamic-card .project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.github-dynamic-card .project-top h3 {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-primary);
  margin: 0;
}

.github-dynamic-card .project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.github-dynamic-card .project-tags span {
  background: rgba(34, 197, 94, .08);
  border: 1px solid rgba(34, 197, 94, .2);
  color: var(--accent-green);
  font-size: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  text-transform: lowercase;
}

/* --- REGRA DE EXIBIÇÃO POR TEMA (DARK/LIGHT ONLIES) --- */
.light-only, 
.dark-only {
  display: none;
}

body:not(.light-mode) .dark-only,
html:not(.light-mode) .dark-only {
  display: var(--dark-display, block);
}

body.light-mode .light-only,
html.light-mode .light-only {
  display: var(--light-display, block);
}

/* --- MODO CLARO (REGRAS ESPECÍFICAS) --- */
body.light-mode .sidebar,
body.light-mode .box,
body.light-mode .rightbar-block,
body.light-mode .mini-status,
body.light-mode .project-card,
body.light-mode .terminal-box,
body.light-mode .setup-box,
body.light-mode .footer-box {
  background-color: #ffffff !important;
  border-color: #e4e4e7 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
}

body.light-mode .dashboard-col {
  background-color: #fcfcfd !important;
  border-color: #e4e4e7 !important;
}

body.light-mode .progress-bar {
  background: #e4e4e7 !important;
}

body.light-mode .sidebar-block {
  background: #ffffff !important;
  border: 1px solid #e4e4e7 !important;
  border-radius: 14px !important;
  padding: 8px !important;
}

body.light-mode .hero p,
body.light-mode .subtitle,
body.light-mode .status-item p,
body.light-mode .project-card p,
body.light-mode .mini-status p,
body.light-mode .footer-box p,
body.light-mode .info p,
body.light-mode .timeline-content p,
body.light-mode .tech-item-compact span,
body.light-mode .setup-text,
body.light-mode .footer-text,
body.light-mode .github-dynamic-card p {
  color: #52525b !important;
}

body.light-mode .sidebar nav a:not(.active),
body.light-mode .socials a,
body.light-mode .project-top h3,
body.light-mode .skill-item,
body.light-mode .timeline-content strong,
body.light-mode .github-dynamic-card .project-top h3 {
  color: #18181b !important;
}

body.light-mode .tech-item-compact i {
  color: var(--accent-green) !important;
}

body.light-mode .theme-toggle-btn {
  border-color: #e4e4e7 !important;
  color: #18181b !important;
}

/* --- RESPONSIVIDADE BASE --- */
@media(max-width: 1100px) {
  .rightbar {
    display: none;
  }
}

@media(max-width: 950px) {
  .skills-dashboard {
    grid-template-columns: 1fr;
  }
}

@media(max-width: 768px) {
  body {
    flex-direction: column;
  }

  .sidebar {
    width: auto;
    margin: 20px 20px 0 20px;
  }

  .hero h2 {
    font-size: 40px;
  }

  .hero-inner {
    flex-direction: column !important;
    align-items: flex-start;
  }

  .hero-text-block {
    max-width: 100% !important;
  }

  .hero-gif-wrapper {
    width: 100%;
    max-width: 100%;
    margin-top: 16px;
    align-self: center;
  }

  .hero-gif {
    max-height: 220px;
    object-fit: cover;
  }

  main {
    padding: 20px;
  }
}