:root {
  --bg: #0f0d1a;
  --panel: #1a1628;
  --text: #f5f3ff;
  --muted: #c9b8e8;
  --accent: #ff6ec7;
  --accent-2: #b794f6;
  --accent-3: #81e6d9;
  --danger: #fc8181;
  --success: #68d391;
  --ring: #d69e2e;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  background: 
    radial-gradient(1400px 700px at 15% -5%, rgba(255,110,199,0.25), rgba(255,110,199,0) 45%),
    radial-gradient(1200px 600px at 85% 15%, rgba(183,148,246,0.22), rgba(183,148,246,0) 45%),
    radial-gradient(1000px 500px at 50% 90%, rgba(129,230,217,0.15), rgba(129,230,217,0) 40%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
}

.container { max-width: 1120px; margin: 0 auto; padding: 28px; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-weight: 900; letter-spacing: 0.3px; font-size: 22px; background: linear-gradient(135deg, #ff6ec7, #b794f6, #81e6d9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand em { color: inherit; font-style: normal; }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)) var(--panel);
  border: 1px solid rgba(183,148,246,0.2);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,110,199,0.1) inset;
  transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff6ec7, #b794f6, #81e6d9, #ff6ec7);
  opacity: 0.6;
}
.card:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(183,148,246,0.2); 
  border-color: rgba(183,148,246,0.4); 
}

.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.col-12 { grid-column: span 12; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
@media (max-width: 900px) { .col-6, .col-4 { grid-column: span 12; } }

.input, select {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid rgba(183,148,246,0.25); background: rgba(26,22,40,0.6); color: var(--text);
  outline: none; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  font-size: 15px;
}
.input:focus, select:focus { 
  border-color: var(--accent-2); 
  box-shadow: 0 0 0 4px rgba(183,148,246,0.2); 
  background: rgba(26,22,40,0.8);
}

.button { 
  padding: 13px 18px; border-radius: 14px; border: 1.5px solid rgba(183,148,246,0.3); background: rgba(183,148,246,0.1); color: var(--text); 
  cursor: pointer; transition: transform .12s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; 
  font-weight: 600;
  font-size: 14px;
}
.button:hover { 
  transform: translateY(-2px); 
  border-color: rgba(183,148,246,0.5); 
  background: rgba(183,148,246,0.15);
  box-shadow: 0 4px 12px rgba(183,148,246,0.2);
}
.button.primary { 
  background: linear-gradient(135deg, #ff6ec7, #b794f6); 
  color: #fff; 
  border: none; 
  font-weight: 800; 
  letter-spacing: 0.3px; 
  box-shadow: 0 4px 16px rgba(255,110,199,0.3);
}
.button.primary:hover { 
  filter: brightness(1.1); 
  box-shadow: 0 6px 20px rgba(255,110,199,0.4);
  transform: translateY(-2px);
}

.badge { 
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; 
  border: 1.5px solid rgba(183,148,246,0.3); color: var(--muted); font-size: 12px; 
  background: rgba(183,148,246,0.08); 
  font-weight: 500;
}
.badge.verified { 
  border-color: rgba(129,230,217,0.5); 
  color: var(--accent-3); 
  background: rgba(129,230,217,0.12);
}
.badge.type { 
  border-color: rgba(255,110,199,0.4); 
  color: var(--accent); 
  background: rgba(255,110,199,0.12);
}
.badge.diff { 
  border-color: rgba(183,148,246,0.4); 
  color: var(--accent-2); 
  background: rgba(183,148,246,0.12);
}

/* Paleta de Cores para Tecnologias e Categorias */
.badge.backend { border-color: rgba(255, 110, 199, 0.4); color: #ff6ec7; background: rgba(255, 110, 199, 0.1); }
.badge.frontend { border-color: rgba(129, 230, 217, 0.4); color: #81e6d9; background: rgba(129, 230, 217, 0.1); }
.badge.python { border-color: rgba(214, 158, 46, 0.4); color: #d69e2e; background: rgba(214, 158, 46, 0.1); }
.badge.javascript, .badge.js { border-color: rgba(247, 223, 30, 0.4); color: #f7df1e; background: rgba(247, 223, 30, 0.1); }
.badge.design, .badge.ux-design, .badge.ui-design { border-color: rgba(183, 148, 246, 0.4); color: #b794f6; background: rgba(183, 148, 246, 0.1); }
.badge.ai, .badge.data-science { border-color: rgba(104, 211, 145, 0.4); color: #68d391; background: rgba(104, 211, 145, 0.1); }
.badge.carreira, .badge.career { border-color: rgba(252, 129, 129, 0.4); color: #fc8181; background: rgba(252, 129, 129, 0.1); }
.badge.lgbtqia\+ { border-color: rgba(255, 255, 255, 0.3); color: #fff; background: linear-gradient(90deg, rgba(255,0,0,0.1), rgba(255,165,0,0.1), rgba(255,255,0,0.1), rgba(0,128,0,0.1), rgba(0,0,255,0.1), rgba(75,0,130,0.1), rgba(238,130,238,0.1)); }

.row { display: flex; gap: 10px; align-items: center; }
.stack { display: flex; gap: 10px; flex-wrap: wrap; }

a { color: var(--accent-2); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent); text-decoration: underline; }

h1 { margin: 8px 0 0; font-size: 36px; line-height: 1.2; font-weight: 900; background: linear-gradient(135deg, #fff, #ff6ec7, #b794f6); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1.title-with-sprite {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
h2 { margin: 0; font-size: 22px; color: var(--muted); font-weight: 700; }
h3 { margin: 0; font-size: 18px; font-weight: 700; color: var(--text); }

.sprite-icon {
  width: 42px;
  height: 42px;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 2px 8px rgba(183, 148, 246, 0.3)) 
          drop-shadow(0 0 4px rgba(255, 110, 199, 0.2));
  transition: transform 0.3s ease, filter 0.3s ease;
  flex-shrink: 0;
  vertical-align: middle;
  display: inline-block;
}
.sprite-left {
  animation: float-left 3s ease-in-out infinite;
}
.sprite-right {
  animation: float-right 3s ease-in-out infinite;
  transform: scaleX(-1);
}
.sprite-icon:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 4px 16px rgba(255, 110, 199, 0.6)) 
          drop-shadow(0 0 8px rgba(183, 148, 246, 0.4));
}
.sprite-left:hover {
  animation-play-state: paused;
  transform: scale(1.15);
}
.sprite-right:hover {
  animation-play-state: paused;
  transform: scaleX(-1) scale(1.15);
}

@keyframes float-left {
  0%, 100% { transform: translateY(0px) rotate(-1.5deg); }
  50% { transform: translateY(-3px) rotate(1.5deg); }
}

@keyframes float-right {
  0%, 100% { transform: scaleX(-1) translateY(0px) rotate(1.5deg); }
  50% { transform: scaleX(-1) translateY(-3px) rotate(-1.5deg); }
}

@media (max-width: 600px) {
  .sprite-icon {
    width: 32px;
    height: 32px;
  }
  h1.title-with-sprite {
    gap: 8px;
    font-size: 28px;
  }
}

.sep { height: 2px; background: linear-gradient(90deg, transparent, rgba(183,148,246,0.3), transparent); margin: 18px 0; }

.footer { 
  margin-top: 32px; padding: 20px; 
  color: var(--muted); text-align: center; 
  background: rgba(26,22,40,0.4); 
  border-radius: 12px; 
  border: 1px solid rgba(183,148,246,0.15);
}

.hidden { 
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Melhorias de acessibilidade */
:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

/* Melhor contraste para links */
a:focus {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip link para navegação por teclado */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: var(--bg);
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

