:root {
  --bg: #090511;
  --bg2: #12081d;
  --bg3: #191126;
  --bg4: #221632;
  --border: #33204d;
  --border2: #4b2d70;
  --primary: #6d28d9;
  --primary-2: #a855f7;
  --accent: #c084fc;
  --accent-2: #ede9fe;
  --cyan: #a855f7;
  --green: #10b981;
  --amber: #f59e0b;
  --red: #f43f5e;
  --blue: #38bdf8;
  --text: #f8fafc;
  --text2: #cbd5e1;
  --text3: #94a3b8;
  --text4: #64748b;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
  --shadow-soft: 0 12px 32px rgba(109, 40, 217, 0.18);
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: auto;
  min-height: 100%;
  background: #07030d;
  overflow-x: hidden;
  overscroll-behavior: none;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Sora", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  overscroll-behavior: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--primary-2);
  text-decoration: none;
  transition: color var(--transition), border-color var(--transition), transform var(--transition);
}

a:hover {
  color: var(--accent-2);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.3rem, 6vw, 4.6rem);
  line-height: 0.98;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--primary-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mono,
.vote-sigla,
.mono-chip {
  font-family: "JetBrains Mono", monospace;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-sm {
  padding: 48px 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-header p {
  color: var(--text3);
  font-size: 1rem;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.3);
  background: rgba(109, 40, 217, 0.16);
  color: var(--accent-2);
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: "Chakra Petch", sans-serif;
  font-weight: 600;
  margin-bottom: 12px;
}

.text-center {
  text-align: center;
}

.text-muted,
.text-small {
  color: var(--text3);
}

.text-small {
  font-size: 0.85rem;
}

.grid-2,
.grid-3,
.grid-4,
.features-grid,
.metric-grid,
.kit-grid,
.identity-preview-grid {
  display: grid;
  gap: 20px;
}

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

.compact-grid {
  gap: 14px;
  align-items: start;
}

.grid-3,
.features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.feature-card,
.vote-card,
.stat-card,
.login-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0)), var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card,
.feature-card,
.vote-card,
.stat-card {
  padding: 24px;
}

.card::before,
.feature-card::before,
.vote-card::before,
.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(192, 132, 252, 0.08), rgba(109, 40, 217, 0.04));
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover::before,
.feature-card:hover::before,
.vote-card:hover::before,
.stat-card:hover::before {
  opacity: 1;
}

.card:hover,
.feature-card:hover,
.vote-card:hover,
.stat-card:hover,
.identity-preview-card:hover,
.admin-action-card:hover {
  transform: translateY(-5px);
  border-color: rgba(168, 85, 247, 0.42);
  box-shadow: 0 28px 64px rgba(0,0,0,.3), 0 0 32px rgba(168,85,247,.08);
}

.card-glow {
  border-color: rgba(192, 132, 252, 0.32);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24), 0 12px 32px rgba(109, 40, 217, 0.18);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 14px;
  padding: 12px 20px;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn-primary,
.vote-btn.voted {
  background: linear-gradient(135deg, var(--accent), var(--primary-2));
  color: #14081d;
  box-shadow: 0 12px 28px rgba(109, 40, 217, 0.26);
}

.btn-primary:hover,
.vote-btn.voted:hover {
  color: #14081d;
  box-shadow: 0 18px 34px rgba(109, 40, 217, 0.34);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border2);
}

.btn-secondary:hover {
  border-color: rgba(168, 85, 247, 0.28);
  color: var(--accent-2);
}

.btn-outline-red {
  background: transparent;
  color: var(--red);
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.btn-outline-red:hover {
  background: rgba(244, 63, 94, 0.08);
}

.btn-sm {
  padding: 9px 14px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 15px 26px;
}

.btn-block {
  width: 100%;
}

.flash-wrap {
  position: fixed;
  top: 84px;
  right: 18px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
}

.flash {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  animation: flashIn 0.25s ease;
}

.flash-success {
  border: 1px solid rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.12);
  color: #8df0c5;
}

.flash-error {
  border: 1px solid rgba(244, 63, 94, 0.25);
  background: rgba(244, 63, 94, 0.12);
  color: #fda4af;
}

.flash-info {
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: rgba(56, 189, 248, 0.12);
  color: #a5f3fc;
}

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

.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  will-change: transform;
  transform: translateZ(0);
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.navbar.scrolled {
  background: rgba(9, 5, 17, 0.97);
  border-bottom: 1px solid rgba(168, 85, 247, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.navbar-brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #f8fafc;
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-text {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
}

.brand-highlight {
  color: var(--accent);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  color: var(--text3);
}

.nav-link.active,
.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav-cta {
  margin-left: 8px;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: 0;
}

.navbar-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero {
  padding: 132px 0 92px;
}

.hero-bg,
.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 20%, rgba(192,132,252,.18), transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 10%, rgba(109,40,217,.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 90%, rgba(56,189,248,.06), transparent 50%),
    linear-gradient(180deg, transparent 55%, rgba(9,5,17,.85));
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent);
}

.hero-layout,
.split-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: start;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.22);
  background: rgba(109, 40, 217, 0.16);
  color: var(--accent-2);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  font-family: "Chakra Petch", sans-serif;
}

.hero-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(168,85,247,.2), 0 0 14px rgba(168,85,247,.45);
  animation: pulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}

.hero-content h1,
.hero-title {
  max-width: 10ch;
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  line-height: 0.95;
  text-wrap: balance;
}

.hero-title-main {
  display: block;
  margin-bottom: 10px;
}

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

.hero-sub,
.section-copy {
  color: var(--text2);
  font-size: 1rem;
}

.hero-sub {
  max-width: 700px;
  margin-top: 18px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 42px;
}

.hero-stat .num,
.metric-value,
.stat-num,
.code {
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
}

.hero-stat .num,
.metric-value {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--primary-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat .lbl,
.metric-label {
  color: var(--text4);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.hero-stack,
.stack-list,
.signal-list,
.progress-stack {
  display: grid;
  gap: 14px;
}

.signal-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.signal-item p,
.metric-copy,
.vote-summary-card small,
.idea-summary-card small,
.admin-action-card p,
.empty-card {
  color: var(--text3);
  font-size: 0.9rem;
}

.signal-step,
.mono-chip {
  min-width: 52px;
  min-height: 52px;
  padding: 0 10px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(109, 40, 217, 0.16);
  border: 1px solid rgba(168, 85, 247, 0.24);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
}

.metric-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-card {
  min-height: 190px;
}

.feature-card,
.identity-preview-card {
  transition: transform var(--transition), border-color var(--transition);
}

.features-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon.purple {
  background: rgba(109, 40, 217, 0.16);
  color: var(--accent);
}

.feature-icon.cyan {
  background: rgba(139, 92, 246, 0.16);
  color: var(--accent-2);
}

.feature-icon.green {
  background: rgba(16, 185, 129, 0.12);
  color: var(--green);
}

.feature-icon.amber {
  background: rgba(245, 158, 11, 0.12);
  color: var(--amber);
}

.feature-icon.blue {
  background: rgba(56, 189, 248, 0.12);
  color: var(--blue);
}

.cursos-grid,
.tag-list,
.profile-social,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.curso-pill,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid var(--border2);
  background: var(--bg3);
}

.curso-pill {
  padding: 12px 18px;
}

.tag {
  padding: 6px 10px;
  font-size: 0.82rem;
  color: var(--text2);
}

.tag.purple {
  color: var(--accent);
}

.tag.cyan {
  color: var(--primary-2);
}

.tag.green {
  color: var(--green);
}

.identity-preview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.identity-preview-card {
  display: grid;
  gap: 10px;
  text-align: left;
}

.identity-preview-card strong {
  font-size: 1.15rem;
  font-family: "Chakra Petch", sans-serif;
}

.identity-preview-card span {
  color: var(--text4);
  font-size: 0.82rem;
  line-height: 1.5;
}

.leader-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.16), rgba(9, 5, 17, 0.24)), var(--bg3);
  border: 1px solid rgba(168, 85, 247, 0.18);
}

.recruitment-section .container {
  display: grid;
  gap: 28px;
}

.recruitment-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
}

.recruitment-copy {
  max-width: 760px;
}

.recruitment-cta {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

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

.role-card {
  min-height: 220px;
}

.role-card h3 {
  margin-bottom: 10px;
  font-size: 1.02rem;
  line-height: 1.15;
}

.role-card p {
  color: var(--text3);
  font-size: 0.95rem;
  line-height: 1.55;
}

.leader-badge,
.profile-avatar,
.admin-user-avatar {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--primary-2));
  color: #f8fafc;
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
}

.page-hero {
  padding: 132px 0 68px;
}

.page-hero .container {
  position: relative;
  z-index: 1;
  max-width: 820px;
  text-align: center;
}

.page-hero p {
  color: var(--text3);
  font-size: 1rem;
}

.timeline {
  position: relative;
  display: grid;
  gap: 26px;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--primary-2), transparent);
}

.timeline-item {
  position: relative;
}

.timeline-dot {
  position: absolute;
  top: 8px;
  left: -28px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.16);
}

.timeline-date,
.profile-role {
  color: var(--primary-2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-family: "Chakra Petch", sans-serif;
}

.detail-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.profile-card {
  padding: 34px 26px;
  text-align: center;
  background: linear-gradient(180deg, rgba(109,40,217,.08), rgba(9,5,17,.2)), var(--bg3);
  border: 1px solid rgba(168,85,247,.2);
}

.profile-avatar {
  margin: 0 auto 18px;
}

.profile-name {
  font-size: 1.25rem;
}

.social-btn,
.social-link {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg4);
  border: 1px solid var(--border2);
  color: var(--text3);
}

.social-btn:hover,
.social-link:hover {
  color: var(--accent);
  border-color: rgba(168, 85, 247, 0.28);
}

.section-copy + .section-copy {
  margin-top: 14px;
}

.profile-photo-frame {
  width: 220px;
  height: 280px;
  margin: 0 auto 18px;
  padding: 6px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(192, 132, 252, 0.95), rgba(109, 40, 217, 0.6));
  box-shadow: 0 20px 44px rgba(109, 40, 217, 0.26);
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  background: var(--bg4);
}

.bio-card {
  min-height: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text2);
}

.req {
  color: var(--red);
}

.form-control,
.filter-select,
.table-search input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--text);
  background: var(--bg4);
  border: 1px solid var(--border2);
  border-radius: 12px;
}

.form-control:focus,
.filter-select:focus,
.table-search input:focus {
  outline: none;
  border-color: rgba(168, 85, 247, 0.34);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.12);
}

textarea.form-control {
  min-height: 132px;
  resize: vertical;
}

.form-hint {
  display: inline-block;
  margin-top: 8px;
  color: var(--text4);
  font-size: 0.78rem;
}

.form-upload {
  display: grid;
  gap: 8px;
  padding: 24px;
  text-align: center;
  background: rgba(109, 40, 217, 0.08);
  border: 1px dashed rgba(168, 85, 247, 0.28);
  border-radius: 16px;
}

.form-upload input[type="file"] {
  display: none;
}

.section-line {
  width: 100%;
  height: 2px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--accent), var(--primary-2), transparent);
  border-radius: 999px;
}

.error-list {
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(244, 63, 94, 0.22);
  background: rgba(244, 63, 94, 0.08);
}

.error-list li {
  color: #fda4af;
  font-size: 0.9rem;
}

.error-list li + li {
  margin-top: 8px;
}

.highlight-box,
.admin-note,
.empty-card {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(109, 40, 217, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.18);
}

.vote-banner,
.idea-banner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.18), rgba(168, 85, 247, 0.1));
  border: 1px solid rgba(168, 85, 247, 0.14);
}

.vote-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.vote-summary-card,
.idea-summary-card {
  padding: 16px;
  border-radius: 16px;
  background: rgba(8, 16, 24, 0.45);
  border: 1px solid rgba(168, 85, 247, 0.12);
}

.vote-summary-card span,
.idea-summary-card span {
  display: block;
  color: var(--text4);
  font-size: 0.78rem;
  margin-bottom: 8px;
}

.vote-summary-card strong,
.idea-summary-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

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

.identity-lab {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 24px;
  align-items: start;
}

.idea-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.idea-category-card {
  min-height: 100%;
}

.idea-category-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.idea-category-card p,
.idea-group-head p,
.idea-card p,
.idea-author span {
  color: var(--text3);
  font-size: 0.92rem;
}

.idea-form-card {
  position: sticky;
  top: 96px;
}

.idea-groups {
  display: grid;
  gap: 28px;
}

.idea-group {
  display: grid;
  gap: 18px;
}

.idea-group-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  flex-wrap: wrap;
}

.idea-group-head > div,
.idea-group-head p {
  min-width: 0;
}

.idea-group-head p {
  max-width: 560px;
  overflow-wrap: anywhere;
}

.idea-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.idea-card {
  display: grid;
  gap: 14px;
  min-height: 100%;
  min-width: 0;
  overflow: hidden;
  align-content: start;
}

.idea-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--text4);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-wrap: wrap;
}

.idea-card-meta span,
.idea-card h4 {
  font-size: 1.02rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.idea-author {
  display: grid;
  gap: 4px;
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid rgba(168, 85, 247, 0.14);
  min-width: 0;
}

.idea-author strong {
  font-size: 0.92rem;
}

.idea-card p,
.idea-card .tag-list,
.idea-card .tag,
.idea-author strong,
.idea-author span {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.idea-card .tag-list {
  display: flex;
  flex-wrap: wrap;
}

.idea-card .tag {
  white-space: normal;
}

.vote-card {
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.vote-card.voted {
  border-color: rgba(168, 85, 247, 0.34);
  box-shadow: var(--shadow-soft);
}

.vote-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 14px;
  border-radius: 18px;
  background: rgba(109, 40, 217, 0.16);
  color: var(--accent);
  font-size: 1.1rem;
}

.vote-name {
  margin-bottom: 6px;
  font-size: 1.22rem;
}

.vote-sigla {
  color: var(--primary-2);
  margin-bottom: 12px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.vote-desc {
  color: var(--text3);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.vote-btn-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vote-btn {
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(168, 85, 247, 0.18);
  background: rgba(109, 40, 217, 0.14);
  color: var(--accent-2);
  font-weight: 700;
}

.vote-count {
  color: var(--text4);
  font-size: 0.82rem;
}

.vote-count span {
  color: var(--text2);
  font-weight: 700;
}

.color-swatches {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.swatch {
  flex: 1;
  height: 58px;
  border-radius: 12px;
  position: relative;
}

.swatch::after {
  content: attr(data-name);
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  white-space: nowrap;
  color: var(--text4);
  font-size: 0.7rem;
}

.logo-card-icon {
  width: 78px;
  height: 78px;
  margin-bottom: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.18), rgba(168, 85, 247, 0.12));
  color: var(--primary-2);
  font-size: 1.8rem;
}

.vote-style-tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(109, 40, 217, 0.16);
  color: var(--accent-2);
  font-size: 0.72rem;
}

.kit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mockup-section {
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.08), rgba(9, 5, 17, 0.24));
  border: 1px solid rgba(168, 85, 247, 0.16);
}

.mockup-tshirt {
  position: relative;
  width: fit-content;
  margin: 0 auto;
}

.tshirt-svg {
  fill: #12081d;
  stroke: rgba(168, 85, 247, 0.32);
  stroke-width: 2;
}

.tshirt-logo {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-family: "Chakra Petch", sans-serif;
  font-size: 1rem;
}

.tshirt-logo small {
  display: block;
  color: var(--text4);
  font-size: 0.72rem;
}

.footer {
  padding: 68px 0 24px;
  border-top: 1px solid rgba(168, 85, 247, 0.12);
  background: rgba(9, 5, 17, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 28px;
  margin-bottom: 36px;
}

.footer-brand p,
.footer-links li,
.footer-contact p {
  color: var(--text4);
  font-size: 0.9rem;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 12px;
  color: var(--text2);
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links li + li,
.footer-contact p + p {
  margin-top: 8px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(168, 85, 247, 0.12);
  color: var(--text4);
  font-size: 0.84rem;
}

.cta-section {
  padding: 96px 0;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(109,40,217,.22), transparent 60%),
    radial-gradient(ellipse 40% 40% at 15% 80%, rgba(14,165,233,.07), transparent 50%),
    var(--bg2);
  border-top: 1px solid rgba(168,85,247,.1);
}

.cta-section p {
  max-width: 660px;
  margin: 14px auto 28px;
  color: var(--text3);
}

.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 70px;
  text-align: center;
}

.code {
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--accent);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.badge-pendente {
  color: #cbd5e1;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.badge-em_analise {
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.18);
}

.badge-aprovado {
  color: #8df0c5;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.18);
}

.badge-rejeitado {
  color: #fda4af;
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.18);
}

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-card {
  width: min(520px, 100%);
  padding: 34px;
}

.login-header {
  text-align: center;
  margin-bottom: 28px;
}

.login-header h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.96;
  margin: 10px 0 14px;
  text-wrap: balance;
}

.login-header p {
  max-width: 420px;
  margin: 0 auto;
  color: var(--text2);
}

.admin-wrap {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 270px;
  min-width: 270px;
  display: flex;
  flex-direction: column;
  background: var(--bg2);
  border-right: 1px solid rgba(168, 85, 247, 0.12);
  position: sticky;
  top: 0;
  height: 100vh;
}

.admin-sidebar-header,
.admin-sidebar-footer {
  padding: 22px 18px;
}

.admin-sidebar-header {
  border-bottom: 1px solid rgba(168, 85, 247, 0.12);
}

.admin-badge {
  display: inline-flex;
  padding: 4px 10px;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(109, 40, 217, 0.16);
  color: var(--accent-2);
  font-size: 0.72rem;
}

.admin-nav {
  flex: 1;
  padding: 18px 12px;
}

.admin-nav-label {
  margin: 12px 8px 8px;
  color: var(--text4);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  margin-bottom: 6px;
  color: var(--text3);
  border-radius: 12px;
}

.admin-nav-link.active,
.admin-nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.admin-user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 0.9rem;
}

.admin-user-role {
  font-size: 0.78rem;
  color: var(--text4);
}

.admin-main {
  flex: 1;
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 22px;
  background: rgba(9, 5, 17, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(168, 85, 247, 0.12);
}

.admin-page-title {
  font-size: 1.25rem;
  font-family: "Chakra Petch", sans-serif;
}

.admin-content {
  padding: 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  min-height: 140px;
}

.stat-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.stat-card.total::after { background: var(--primary-2); }
.stat-card.pendente::after { background: var(--text4); }
.stat-card.analise::after { background: var(--amber); }
.stat-card.aprovado::after { background: var(--green); }
.stat-card.rejeitado::after { background: var(--red); }

.stat-label {
  color: var(--text4);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.stat-num {
  font-size: 2.3rem;
  margin-top: 14px;
}

.stat-icon {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.08);
  font-size: 2rem;
}

.progress-row {
  display: grid;
  gap: 8px;
}

.progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.progress-head span {
  color: var(--text4);
  font-size: 0.82rem;
}

.progress-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
}

.progress-fill.accent {
  background: linear-gradient(90deg, var(--accent), var(--primary-2));
}

.admin-action-card {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg4);
  color: var(--text);
}

.admin-action-card i {
  color: var(--accent);
  margin-top: 4px;
}

.admin-table-wrap {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg3);
}

.admin-table-header {
  padding: 16px;
  border-bottom: 1px solid rgba(168, 85, 247, 0.12);
}

.table-search {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead th {
  padding: 14px 16px;
  text-align: left;
  font-size: 0.78rem;
  color: var(--text4);
  letter-spacing: 0.08em;
}

tbody tr {
  border-top: 1px solid rgba(168, 85, 247, 0.08);
}

tbody td {
  padding: 14px 16px;
  font-size: 0.92rem;
  vertical-align: middle;
}

.td-nome strong {
  display: block;
}

.td-nome span {
  color: var(--text4);
  font-size: 0.8rem;
}

.td-actions {
  display: flex;
  gap: 8px;
}

.table-empty {
  padding: 56px 24px;
  text-align: center;
  color: var(--text4);
}

.detail-info-list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(168, 85, 247, 0.08);
}

.detail-info-list li:last-child {
  border-bottom: 0;
}

.detail-info-list i {
  color: var(--accent);
  margin-top: 4px;
}

.di-label,
.detail-section h4 {
  display: block;
  color: var(--text4);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.detail-section + .detail-section {
  margin-top: 18px;
}

.detail-text {
  padding: 14px;
  border-radius: 14px;
  background: var(--bg4);
  color: var(--text2);
  font-size: 0.92rem;
}

.status-form {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--bg3);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

@media (max-width: 1100px) {
  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .hero-layout,
  .split-section,
  .detail-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .kit-grid,
  .vote-banner,
  .vote-summary-grid,
  .idea-banner,
  .idea-summary-grid,
  .metric-grid,
  .identity-preview-grid,
  .featured-roles-grid,
  .recruitment-top,
  .identity-lab,
  .idea-category-grid,
  .idea-board {
    grid-template-columns: 1fr;
  }

  .leader-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .recruitment-cta {
    justify-content: flex-start;
  }

  .idea-form-card {
    position: static;
  }

  .idea-group-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    gap: 20px;
  }

  .admin-sidebar {
    position: fixed;
    left: -270px;
    z-index: 300;
    transition: left var(--transition);
  }

  .admin-sidebar.open {
    left: 0;
  }
}

@media (max-width: 760px) {
  .navbar-toggle {
    display: flex;
  }

  .navbar-nav {
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: rgba(8, 16, 24, 0.96);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(168, 85, 247, 0.12);
    border-radius: 18px;
  }

  .navbar-nav.open {
    display: flex;
  }

  .nav-cta {
    margin-left: 0;
    width: 100%;
  }

  .hero,
  .page-hero {
    padding-top: 118px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats {
    gap: 18px;
  }

  .featured-roles-grid {
    gap: 14px;
  }

  .role-card {
    min-height: 0;
  }

  .hero-content h1,
  .hero-title {
    max-width: 100%;
    font-size: clamp(2.4rem, 11vw, 3.4rem);
  }

  .form-row,
  .table-search {
    grid-template-columns: 1fr;
  }

  .table-search {
    flex-direction: column;
  }

  .progress-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-content {
    padding: 16px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .vote-btn-wrap,
  .footer-bottom,
  .admin-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn,
  .table-search .btn {
    width: 100%;
  }

  .login-card {
    padding: 26px 18px;
  }

  .profile-photo-frame {
    width: 100%;
    max-width: 240px;
    height: 300px;
  }

  .idea-card-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ══════════════════════════════════════════════════════════════
   MASCOTE VOTING SYSTEM — identidade.ejs
   ══════════════════════════════════════════════════════════════ */

/* ── PAGE ─────────────────────────────────────────── */
.id-page { background: var(--bg); }

/* ── HERO ─────────────────────────────────────────── */
.m-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 90px;
}

.m-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(14,165,233,.14) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 85% 85%, rgba(168,85,247,.1) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 10% 75%, rgba(249,115,22,.07) 0%, transparent 55%),
    #030509;
}

.m-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14,165,233,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.m-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.m-particle {
  position: absolute;
  border-radius: 50%;
  animation: mFloat linear infinite;
  opacity: 0;
}

@keyframes mFloat {
  0%   { opacity: 0; transform: translateY(0) scale(0); }
  15%  { opacity: .9; transform: translateY(-20px) scale(1); }
  85%  { opacity: .3; }
  100% { opacity: 0; transform: translateY(-140px) scale(.3); }
}

.m-live-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14,165,233,.08);
  border: 1px solid rgba(14,165,233,.28);
  color: #38bdf8;
  padding: 6px 18px;
  border-radius: 100px;
  font-size: .75rem;
  font-family: 'Chakra Petch', sans-serif;
  letter-spacing: .1em;
  font-weight: 600;
}

.m-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0ea5e9;
  box-shadow: 0 0 10px #0ea5e9, 0 0 20px rgba(14,165,233,.4);
  animation: mDotPulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes mDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .35; transform: scale(.55); }
}

.m-gradient {
  background: linear-gradient(90deg, #38bdf8 0%, #a855f7 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.m-counters {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px;
  padding: 18px 0;
  max-width: 540px;
  margin: 0 auto;
  background: rgba(14, 8, 28, 0.7);
}

.m-count-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.m-count-num {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #38bdf8, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.m-count-lbl {
  font-size: .62rem;
  letter-spacing: .1em;
  color: var(--text4);
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 600;
}

.m-count-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,.08);
  flex-shrink: 0;
}

.m-hero-cta {
  position: relative;
  z-index: 2;
}

/* ── MASCOTE GRID ─────────────────────────────────── */
.mascote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.mascote-card {
  position: relative;
  border-radius: 20px;
  background: rgba(255,255,255,.022);
  border: 1.5px solid rgba(255,255,255,.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s cubic-bezier(.4,0,.2,1), border-color .3s ease, box-shadow .3s ease;
  animation: cardIn .6s ease both;
  will-change: transform;
}

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

.mascote-grid .mascote-card:nth-child(2) { animation-delay: .12s; }
.mascote-grid .mascote-card:nth-child(3) { animation-delay: .24s; }

.mascote-card:hover {
  transform: translateY(-8px) scale(1.01);
}

#card-cerberus:hover { border-color: rgba(249,115,22,.4); box-shadow: 0 12px 40px rgba(249,115,22,.15); }
#card-hydra:hover    { border-color: rgba(14,165,233,.4);  box-shadow: 0 12px 40px rgba(14,165,233,.15); }
#card-dragao:hover   { border-color: rgba(168,85,247,.4);  box-shadow: 0 12px 40px rgba(168,85,247,.15); }

#card-cerberus.m-selected { border-color: rgba(249,115,22,.65); box-shadow: 0 0 50px rgba(249,115,22,.18), inset 0 0 50px rgba(249,115,22,.04); }
#card-hydra.m-selected    { border-color: rgba(14,165,233,.65);  box-shadow: 0 0 50px rgba(14,165,233,.18),  inset 0 0 50px rgba(14,165,233,.04); }
#card-dragao.m-selected   { border-color: rgba(168,85,247,.65);  box-shadow: 0 0 50px rgba(168,85,247,.18),  inset 0 0 50px rgba(168,85,247,.04); }

.m-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
  font-family: 'Chakra Petch', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(255,255,255,.45);
  background: rgba(0,0,0,.75);
  border: 1px solid rgba(255,255,255,.1);
  padding: 5px 10px;
  border-radius: 8px;
}

.m-badge span { color: rgba(255,255,255,.85); }

/* ── ART WRAP ────────────────────────────────────── */
.m-art-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(0,0,0,.4);
  border-bottom: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
  will-change: transform;
}

.m-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 65% at 50% 55%, var(--mc, #a855f7), transparent 68%);
  opacity: .18;
  pointer-events: none;
}

.m-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.m-ring {
  position: absolute;
  width: var(--s, 120px);
  height: var(--s, 120px);
  border-radius: 50%;
  border: 1.5px solid var(--c, rgba(168,85,247,.15));
  animation: mRingPulse 3s ease-in-out var(--d, 0s) infinite;
}

@keyframes mRingPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.1); opacity: .4; }
}

/* (emoji animation rules removidos — substituídos por imagens reais) */

/* E-sports badge */
.m-badge-esport {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: 'Chakra Petch', sans-serif;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--mc, #a855f7);
  border: 1px solid var(--mc, #a855f7);
  background: rgba(0,0,0,.65);
  padding: 4px 9px;
  border-radius: 6px;
  opacity: .9;
}

/* ── INFO ────────────────────────────────────────── */
.m-info {
  padding: 20px 20px 0;
  flex-shrink: 0;
}

.m-name {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--mc, #a855f7);
  margin: 0 0 10px;
  line-height: 1.1;
}

.m-desc {
  font-size: .87rem;
  color: var(--text3);
  line-height: 1.65;
  margin: 0 0 14px;
}

.m-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.m-tags span {
  font-family: 'Chakra Petch', sans-serif;
  font-size: .65rem;
  letter-spacing: .08em;
  color: var(--tc, #a855f7);
  background: rgba(168,85,247,.07);
  border: 1px solid var(--tc, #a855f7);
  opacity: .85;
  padding: 4px 11px;
  border-radius: 100px;
}

/* ── MOCKUPS ─────────────────────────────────────── */
.m-mockups {
  padding: 16px 20px 0;
}

.m-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.m-tab {
  flex: 1;
  font-family: 'Chakra Petch', sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--text3);
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}

.m-tab:hover {
  background: rgba(255,255,255,.07);
  color: var(--text);
}

.m-tab.active {
  background: rgba(168,85,247,.1);
  border-color: rgba(168,85,247,.3);
  color: #c084fc;
}

.m-mockup-display {
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.m-mockup {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.m-mockup.active {
  display: flex;
}

.m-mockup-label {
  font-family: 'Chakra Petch', sans-serif;
  font-size: .62rem;
  letter-spacing: .1em;
  color: var(--text4);
  text-align: center;
  text-transform: uppercase;
}

.mockup-svg {
  width: 124px;
  height: 150px;
  filter: drop-shadow(0 4px 18px rgba(0,0,0,.45));
  transition: transform .25s ease;
}

.mascote-card:hover .mockup-svg {
  transform: scale(1.05);
}

.flag-svg {
  width: 100%;
  max-width: 210px;
  height: auto;
}

/* ── Imagens reais dos mascotes ─────────────────── */
.m-mascot-img {
  position: relative;
  z-index: 2;
  width: 170px;
  height: 170px;
  object-fit: contain;
  animation: dFloat 3.5s ease-in-out infinite;
  will-change: transform;
  transform: translateZ(0);
  transition: transform .3s ease;
}

/* box-shadow on wrapper instead of filter on img — GPU composited, no repaint */
.cerberus-img { filter: drop-shadow(0 0 20px rgba(249,115,22,.55)); }
.hydra-img    { filter: drop-shadow(0 0 20px rgba(14,165,233,.55)); }
.dragao-img   { filter: drop-shadow(0 0 20px rgba(168,85,247,.55)); }

.mascote-card:hover .m-mascot-img { transform: translateZ(0) scale(1.07) translateY(-5px); }

/* ── VOTE SECTION ────────────────────────────────── */
.m-vote-section {
  padding: 16px 20px 22px;
  margin-top: auto;
}

.m-progress-wrap {
  margin-bottom: 14px;
}

.m-progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: var(--text3);
  margin-bottom: 7px;
}

.m-vote-num {
  font-weight: 700;
  color: var(--text);
}

.m-vote-pct {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  font-size: .85rem;
}

.m-progress-bar {
  height: 7px;
  background: rgba(255,255,255,.07);
  border-radius: 4px;
  overflow: hidden;
}

.m-progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width .8s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 0 10px currentColor;
}

.m-vote-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Chakra Petch', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--bc, #a855f7);
  background: transparent;
  border: 2px solid var(--bc, #a855f7);
  border-radius: 10px;
  padding: 12px 20px;
  cursor: pointer;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}

.m-vote-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bcs, rgba(168,85,247,.25));
  opacity: 0;
  transition: opacity .25s;
}

.m-vote-btn:hover::before { opacity: 1; }

.m-vote-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px var(--bcs, rgba(168,85,247,.3));
}

.m-vote-btn.m-voted {
  background: var(--bc, #a855f7);
  color: #fff;
  box-shadow: 0 0 24px var(--bcs, rgba(168,85,247,.4));
}

.m-vote-btn.m-voted::before { opacity: 0; }

.m-btn-icon {
  font-size: 1rem;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.m-btn-text {
  position: relative;
  z-index: 1;
}

/* ── TOAST ────────────────────────────────────────── */
.m-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: rgba(9,5,17,.96);
  border: 1.5px solid #a855f7;
  border-radius: 14px;
  padding: 13px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Chakra Petch', sans-serif;
  font-size: .84rem;
  font-weight: 600;
  color: var(--text);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s cubic-bezier(.4,0,.2,1), transform .35s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
  box-shadow: 0 10px 36px rgba(0,0,0,.5);
}

.m-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.m-toast-icon { font-size: 1.1rem; }

/* ══════════════════════════════════════════════════════════════
   PLACAR DE VOTOS
   ══════════════════════════════════════════════════════════════ */

.placar-wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}

.placar-bars {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.placar-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.placar-name {
  font-family: 'Chakra Petch', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .07em;
}

.placar-num {
  font-size: .8rem;
  color: var(--text3);
  font-family: 'Chakra Petch', sans-serif;
  white-space: nowrap;
}

.placar-bar-track {
  height: 11px;
  background: rgba(255,255,255,.06);
  border-radius: 6px;
  overflow: hidden;
}

.placar-bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width .9s cubic-bezier(.4,0,.2,1);
}

/* ══════════════════════════════════════════════════════════════
   APLICAÇÃO REAL
   ══════════════════════════════════════════════════════════════ */

.aplicacao-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.aplicacao-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 250px;
}

.aplicacao-label {
  font-family: 'Chakra Petch', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--text4);
  text-transform: uppercase;
}

.aplicacao-team {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 10px;
  flex: 1;
  padding: 8px 0;
}

.team-shirt-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.team-shirt-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-shirt-svg {
  width: 62px;
  height: 74px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.35));
  transition: transform .25s ease;
}

.team-shirt-logo {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 22px;
  height: 22px;
  object-fit: contain;
  transform: translateX(-50%);
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.4));
  pointer-events: none;
}

.team-shirt-caption {
  font-size: .63rem;
  color: var(--text4);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
}

.team-shirt-item:hover .team-shirt-svg {
  transform: translateY(-5px) scale(1.06);
}

.aplicacao-flags {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bleacher-scene {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bleacher-mascots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 6px;
}

.bleacher-mascot-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--chip) 40%, transparent);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--chip) 16%, transparent), transparent),
    rgba(255,255,255,.03);
}

.bleacher-mascot-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.45));
}

.bleacher-mascot-chip span {
  font-size: .64rem;
  color: var(--text3);
  text-align: center;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bleacher-row {
  display: flex;
  gap: 4px;
  justify-content: center;
}

.bleacher-flag {
  width: 30px;
  height: 18px;
  border-radius: 3px;
  flex-shrink: 0;
  transition: transform .2s, opacity .2s;
}

.bleacher-flag:hover {
  transform: scaleY(1.15);
  opacity: 1 !important;
}

.bleacher-row.top .bleacher-flag { height: 26px; }

.bleacher-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  margin-top: 6px;
}

.aplicacao-social {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-banner-mock {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.35);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sb-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(109,40,217,.14), rgba(14,165,233,.09));
  pointer-events: none;
}

.sb-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sb-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
}

.sb-avatar svg { width: 100%; height: 100%; }

.sb-gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.sb-gallery-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 8px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 18%, transparent), transparent),
    rgba(255,255,255,.03);
}

.sb-gallery-image {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.42));
}

.sb-gallery-card span {
  font-size: .63rem;
  color: var(--text3);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
}

.sb-post {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  background: rgba(255,255,255,.04);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.06);
}

.sb-post-headline {
  font-family: 'Chakra Petch', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
}

.sb-post-sub {
  font-size: .72rem;
  color: var(--text4);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — MASCOTE SYSTEM
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
  .mascote-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  .mascote-grid .mascote-card:last-child {
    grid-column: 1 / -1;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .placar-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .aplicacao-grid {
    grid-template-columns: 1fr 1fr;
  }

  .aplicacao-grid .aplicacao-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .m-hero {
    padding: 100px 0 70px;
    min-height: auto;
  }

  .m-counters {
    flex-direction: column;
    gap: 0;
    padding: 0;
    border: none;
    background: none;
    backdrop-filter: none;
  }

  .m-count-item {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }

  .m-count-item:last-child { border-bottom: none; }

  .m-count-divider { display: none; }

  .mascote-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .mascote-grid .mascote-card:last-child {
    grid-column: auto;
    max-width: none;
    margin: 0;
  }

  .aplicacao-grid {
    grid-template-columns: 1fr;
  }

  .aplicacao-grid .aplicacao-card:last-child {
    grid-column: auto;
  }

  .m-art-wrap { height: 180px; }
  .d-main { font-size: 4rem; }

  .team-shirt-logo {
    width: 18px;
    height: 18px;
    top: 20px;
  }

  .team-shirt-caption,
  .bleacher-mascot-chip span,
  .sb-gallery-card span {
    font-size: .58rem;
  }

  .bleacher-mascot-img {
    width: 34px;
    height: 34px;
  }

  .sb-gallery-image {
    width: 42px;
    height: 42px;
  }

  .m-toast {
    bottom: 16px;
    font-size: .78rem;
    padding: 11px 16px;
    max-width: 90vw;
    white-space: normal;
  }

  .placar-wrap { grid-template-columns: 1fr; gap: 20px; }
}

/* Identity Page Enhancements */
.id-page .mascote-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0)),
    radial-gradient(circle at top, rgba(59, 130, 246, 0.09), transparent 38%),
    rgba(8, 8, 14, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.id-page .mascote-card::before {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.08), rgba(14, 165, 233, 0.05));
}

.m-mascot-photo {
  position: absolute;
  inset: 22px 26px auto 26px;
  width: calc(100% - 52px);
  height: calc(100% - 48px);
  object-fit: contain;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.42));
  opacity: 0.92;
  pointer-events: none;
  z-index: 1;
}

.cerberus-heads,
.hydra-heads,
.dragao-body,
.m-fire,
.m-water,
.m-badge-esport {
  z-index: 2;
}

.mockup-stage {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mockup-logo-image {
  position: absolute;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
}

.shirt-logo-image {
  width: 46px;
  height: 46px;
  top: 55px;
  left: 50%;
  transform: translateX(-50%);
}

.flag-logo-image {
  width: 88px;
  height: 88px;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.9;
}

.m-mockup-display {
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px;
}

.m-vote-btn {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.m-vote-btn .m-btn-text,
.m-vote-btn .m-btn-icon {
  text-shadow: 0 0 20px currentColor;
}

.placar-bar-fill {
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.16);
}

/* Admin Extensions */
.admin-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
}

.admin-stack-grid {
  display: grid;
  gap: 24px;
}

.admin-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.admin-switch {
  min-height: 48px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  border: 1px solid var(--border2);
  background: var(--bg4);
  color: var(--text2);
}

.admin-switch input {
  width: 18px;
  height: 18px;
}

.admin-data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-data-item {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg4);
}

.admin-data-item span {
  display: block;
  color: var(--text4);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.admin-data-item strong {
  display: block;
  color: var(--text);
  word-break: break-word;
}

.admin-users-list {
  display: grid;
  gap: 18px;
}

.admin-user-card {
  background: var(--bg4);
}

.admin-user-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-user-card-head p {
  color: var(--text4);
  font-size: 0.82rem;
  margin-top: 4px;
}

@media (max-width: 980px) {
  .admin-split,
  .admin-data-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .m-mascot-photo {
    inset: 26px 20px auto 20px;
    width: calc(100% - 40px);
    height: calc(100% - 54px);
  }

  .shirt-logo-image {
    width: 40px;
    height: 40px;
    top: 58px;
  }

  .flag-logo-image {
    width: 72px;
    height: 72px;
    top: 34px;
  }

  .admin-actions-row {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Site-wide polish */
:root {
  --surface-1: rgba(19, 11, 31, 0.82);
  --surface-2: rgba(32, 19, 49, 0.86);
  --surface-3: rgba(14, 9, 24, 0.94);
  --glow-purple: rgba(168, 85, 247, 0.22);
  --glow-blue: rgba(56, 189, 248, 0.14);
  --glow-orange: rgba(249, 115, 22, 0.12);
}

html {
  scrollbar-color: rgba(168, 85, 247, 0.45) rgba(255, 255, 255, 0.06);
}

body {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 0%, var(--glow-blue), transparent 18%),
    radial-gradient(circle at 84% 8%, var(--glow-orange), transparent 18%),
    radial-gradient(circle at 50% 100%, rgba(109, 40, 217, 0.12), transparent 34%),
    linear-gradient(180deg, #090511 0%, #0b0614 46%, #07030d 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 14% 0%, var(--glow-blue), transparent 18%),
    radial-gradient(circle at 84% 8%, var(--glow-orange), transparent 18%),
    radial-gradient(circle at 50% 100%, rgba(109, 40, 217, 0.12), transparent 34%),
    linear-gradient(180deg, #090511 0%, #0b0614 46%, #07030d 100%);
  pointer-events: none;
}

::selection {
  background: rgba(192, 132, 252, 0.28);
  color: #fff;
}

.container {
  width: min(1200px, calc(100% - 32px));
}

.card,
.feature-card,
.vote-card,
.stat-card,
.login-card,
.admin-table-wrap,
.leader-banner,
.vote-banner,
.idea-banner {
  /* backdrop-filter removed — not GPU-friendly on scrolled elements */
}

.card,
.feature-card,
.vote-card,
.stat-card,
.login-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, rgba(56, 189, 248, 0.04), transparent 34%),
    linear-gradient(225deg, rgba(168, 85, 247, 0.08), transparent 46%),
    var(--surface-1);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.card:hover,
.feature-card:hover,
.vote-card:hover,
.stat-card:hover,
.identity-preview-card:hover,
.admin-action-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(168, 85, 247, 0.12),
    0 0 28px rgba(168, 85, 247, 0.12);
}

.card-glow,
.hero-panel,
.metric-card,
.leader-banner,
.profile-card,
.login-card,
.not-found > div {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0)),
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.14), transparent 34%),
    radial-gradient(circle at bottom left, rgba(56, 189, 248, 0.08), transparent 34%),
    var(--surface-2);
  border-color: rgba(192, 132, 252, 0.22);
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(192, 132, 252, 0.08),
    0 20px 42px rgba(109, 40, 217, 0.18);
}

.btn {
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}

.btn::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -30%;
  width: 34%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: skewX(-24deg) translateX(-180%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.btn:hover::after {
  transform: skewX(-24deg) translateX(420%);
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn:focus-visible,
.nav-link:focus-visible,
.social-link:focus-visible,
.social-btn:focus-visible,
.form-control:focus-visible,
.filter-select:focus-visible,
.table-search input:focus-visible {
  outline: 2px solid rgba(192, 132, 252, 0.65);
  outline-offset: 2px;
}

.btn-primary,
.vote-btn.voted {
  background: linear-gradient(135deg, #f3e8ff 0%, #c084fc 18%, #a855f7 56%, #6d28d9 100%);
  color: #15081d;
  box-shadow:
    0 16px 34px rgba(109, 40, 217, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-primary:hover,
.vote-btn.voted:hover {
  box-shadow:
    0 22px 40px rgba(109, 40, 217, 0.34),
    0 0 30px rgba(168, 85, 247, 0.14);
}

.btn-secondary {
  background: rgba(16, 8, 26, 0.72);
  border-color: rgba(192, 132, 252, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.btn-secondary:hover {
  background: rgba(20, 10, 34, 0.88);
  border-color: rgba(192, 132, 252, 0.34);
}

.btn-outline-red {
  background: rgba(49, 8, 18, 0.24);
}

.navbar {
  padding-top: 12px;
}

.navbar .container {
  min-height: 78px;
  padding: 0 18px;
  margin-top: 4px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    rgba(9, 5, 17, 0.82);
  box-shadow:
    0 20px 36px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.navbar.scrolled .container {
  border-color: rgba(192, 132, 252, 0.12);
}

.brand-icon {
  box-shadow:
    0 12px 28px rgba(109, 40, 217, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.brand-text {
  letter-spacing: 0.1em;
}

.nav-link {
  position: relative;
  font-weight: 600;
  color: var(--text2);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.nav-link.active,
.nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

.hero {
  padding: 148px 0 96px;
}

.hero-bg,
.page-hero-bg {
  background:
    radial-gradient(circle at 10% 8%, rgba(56, 189, 248, 0.16), transparent 18%),
    radial-gradient(circle at 88% 12%, rgba(249, 115, 22, 0.12), transparent 18%),
    radial-gradient(circle at 50% 40%, rgba(168, 85, 247, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(7, 3, 13, 0.1), rgba(9, 5, 17, 0.82));
}

.hero-grid {
  opacity: 0.55;
}

.hero-content,
.hero-stack {
  position: relative;
  z-index: 1;
}

.hero-panel {
  padding: 28px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  max-width: 760px;
}

.hero-stat {
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    rgba(14, 9, 24, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-stat .num {
  margin-bottom: 10px;
  text-shadow: 0 0 24px rgba(192, 132, 252, 0.24);
}

.metric-card,
.identity-preview-card,
.role-card,
.bio-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    rgba(16, 10, 28, 0.84);
}

.metric-card {
  min-height: 210px;
}

.metric-label,
.hero-stat .lbl,
.section-header .label {
  letter-spacing: 0.14em;
}

.section-header {
  margin-bottom: 54px;
}

.section-header h2 {
  margin-bottom: 12px;
  text-wrap: balance;
}

.section-header p {
  max-width: 660px;
  margin: 0 auto;
}

.feature-card,
.role-card,
.identity-preview-card,
.curso-pill,
.tag,
.admin-action-card,
.timeline-item,
.social-link,
.social-btn {
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition);
}

.feature-card h3,
.role-card h3,
.identity-preview-card strong {
  margin-bottom: 8px;
}

.feature-icon,
.signal-step,
.mono-chip {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 20px rgba(0, 0, 0, 0.18);
}

.curso-pill {
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
    rgba(18, 11, 30, 0.82);
}

.curso-pill:hover,
.tag:hover,
.social-link:hover,
.social-btn:hover {
  transform: translateY(-3px);
}

.leader-banner {
  gap: 24px;
  border-radius: 28px;
}

.page-hero {
  padding: 150px 0 78px;
}

.page-hero .container {
  padding: 38px 42px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.1), transparent 30%),
    radial-gradient(circle at bottom left, rgba(168, 85, 247, 0.16), transparent 38%),
    rgba(13, 7, 22, 0.74);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.page-hero p {
  max-width: 620px;
  margin: 0 auto;
}

.timeline-item {
  padding: 16px 18px 16px 14px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    rgba(17, 10, 28, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.timeline-item h4 {
  margin: 6px 0 8px;
}

.profile-card {
  padding: 36px 28px;
  border-radius: 28px;
}

.profile-photo-frame {
  box-shadow:
    0 26px 54px rgba(109, 40, 217, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.profile-photo {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.detail-grid > div > .card {
  border-radius: 22px;
}

.form-label {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.form-control,
.filter-select,
.table-search input {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    rgba(18, 11, 30, 0.9);
  border-color: rgba(192, 132, 252, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    transform var(--transition);
}

.form-control:hover,
.filter-select:hover,
.table-search input:hover {
  border-color: rgba(192, 132, 252, 0.28);
}

.form-control::placeholder,
.table-search input::placeholder {
  color: rgba(148, 163, 184, 0.72);
}

.form-control:focus,
.filter-select:focus,
.table-search input:focus {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    rgba(20, 12, 34, 0.98);
  box-shadow:
    0 0 0 4px rgba(168, 85, 247, 0.12),
    0 0 28px rgba(168, 85, 247, 0.08);
  transform: translateY(-1px);
}

.form-upload {
  background:
    linear-gradient(180deg, rgba(168, 85, 247, 0.14), rgba(56, 189, 248, 0.05)),
    rgba(16, 10, 28, 0.76);
  border-style: solid;
  border-color: rgba(192, 132, 252, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.form-upload:hover {
  border-color: rgba(192, 132, 252, 0.38);
  transform: translateY(-2px);
}

.highlight-box,
.admin-note,
.empty-card {
  background:
    linear-gradient(180deg, rgba(168, 85, 247, 0.14), rgba(255, 255, 255, 0.01)),
    rgba(16, 10, 28, 0.76);
}

.footer {
  position: relative;
  overflow: hidden;
  padding: 76px 0 24px;
  background:
    linear-gradient(180deg, rgba(7, 3, 13, 0.38), rgba(7, 3, 13, 0.92)),
    radial-gradient(circle at 20% 0%, rgba(56, 189, 248, 0.08), transparent 20%),
    radial-gradient(circle at 80% 0%, rgba(168, 85, 247, 0.16), transparent 26%);
  border-top: 1px solid rgba(192, 132, 252, 0.14);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(192, 132, 252, 0.45), transparent);
}

.footer-links a,
.footer-admin-link {
  color: var(--text3);
}

.footer-links a:hover,
.footer-admin-link:hover {
  color: var(--accent-2);
}

.social-link,
.social-btn {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    rgba(17, 10, 28, 0.88);
  border-color: rgba(192, 132, 252, 0.18);
  box-shadow:
    0 12px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.social-link:hover,
.social-btn:hover {
  color: var(--accent-2);
  border-color: rgba(192, 132, 252, 0.34);
  box-shadow:
    0 16px 26px rgba(0, 0, 0, 0.24),
    0 0 24px rgba(168, 85, 247, 0.12);
}

.cta-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(168, 85, 247, 0.18), transparent 32%),
    radial-gradient(circle at 22% 22%, rgba(56, 189, 248, 0.08), transparent 16%);
}

.not-found > div {
  max-width: 700px;
  padding: 38px 34px;
  border-radius: 30px;
}

.code {
  text-shadow: 0 0 28px rgba(192, 132, 252, 0.26);
}

.login-page {
  position: relative;
  background:
    radial-gradient(circle at 18% 20%, rgba(56, 189, 248, 0.08), transparent 18%),
    radial-gradient(circle at 82% 18%, rgba(249, 115, 22, 0.06), transparent 14%);
}

.login-card {
  border-radius: 28px;
}

.admin-wrap {
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.06), transparent 18%),
    linear-gradient(180deg, rgba(10, 5, 18, 0.92), rgba(9, 5, 17, 0.98));
}

.admin-sidebar {
  background:
    linear-gradient(180deg, rgba(17, 10, 28, 0.98), rgba(10, 6, 18, 0.98)),
    rgba(18, 11, 30, 0.92);
  border-right-color: rgba(192, 132, 252, 0.12);
  box-shadow: 24px 0 48px rgba(0, 0, 0, 0.18);
}

.admin-header {
  background:
    linear-gradient(180deg, rgba(14, 9, 24, 0.94), rgba(14, 9, 24, 0.84)),
    rgba(9, 5, 17, 0.92);
  border-bottom-color: rgba(192, 132, 252, 0.12);
}

.admin-nav-link {
  border: 1px solid transparent;
}

.admin-nav-link.active,
.admin-nav-link:hover {
  border-color: rgba(192, 132, 252, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.admin-content {
  padding: 28px;
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.stat-card {
  min-height: 148px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0)),
    rgba(18, 11, 30, 0.88);
}

.stat-card.total {
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 28px rgba(168, 85, 247, 0.08);
}

.stat-card.analise {
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 28px rgba(245, 158, 11, 0.08);
}

.stat-card.aprovado {
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 28px rgba(16, 185, 129, 0.08);
}

.admin-action-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    rgba(20, 12, 33, 0.86);
  border-color: rgba(255, 255, 255, 0.08);
}

.admin-table-wrap {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    rgba(17, 10, 28, 0.9);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

tbody tr {
  transition: background var(--transition);
}

tbody tr:hover {
  background: rgba(168, 85, 247, 0.06);
}

@media (max-width: 980px) {
  .hero-layout,
  .split-section,
  .detail-grid,
  .leader-banner,
  .recruitment-top {
    grid-template-columns: 1fr;
  }

  .page-hero .container {
    padding: 32px 28px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .navbar {
    padding-top: 10px;
  }

  .navbar .container {
    min-height: 68px;
    padding: 0 14px;
    border-radius: 18px;
  }

  .navbar-nav {
    top: 88px;
    background:
      linear-gradient(180deg, rgba(17, 10, 28, 0.97), rgba(10, 6, 18, 0.97)),
      rgba(8, 16, 24, 0.96);
    border-color: rgba(192, 132, 252, 0.18);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.32);
  }

  .hero,
  .page-hero {
    padding-top: 126px;
  }

  .hero-stats,
  .metric-grid,
  .featured-roles-grid,
  .identity-preview-grid,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .page-hero .container,
  .not-found > div,
  .login-card {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .admin-content {
    padding: 20px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100%, calc(100% - 24px));
  }

  .hero {
    padding-bottom: 84px;
  }

  .hero-stat {
    min-width: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .leader-badge {
    width: 62px;
    height: 62px;
  }
}

/* Launch polish */

.navbar .container {
  background:
    linear-gradient(180deg, rgba(23, 14, 36, 0.94), rgba(12, 7, 21, 0.92)),
    rgba(9, 5, 17, 0.88);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(14, 165, 233, 0), rgba(168, 85, 247, 0.9), rgba(249, 115, 22, 0));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition);
}

.nav-link.active::after,
.nav-link:hover::after {
  opacity: 1;
  transform: translateY(0);
}

body:not(.id-page) .page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 130px 0 80px;
  background: var(--bg);
}

/* animated glow orbs */
body:not(.id-page) .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 72% 60% at 8% 0%, rgba(168, 85, 247, 0.26), transparent 58%),
    radial-gradient(ellipse 55% 50% at 95% 10%, rgba(109, 40, 217, 0.28), transparent 52%),
    radial-gradient(ellipse 40% 55% at 50% 100%, rgba(14, 165, 233, 0.10), transparent 50%);
  pointer-events: none;
}

/* grid lines */
body:not(.id-page) .page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.7) 0%, transparent 100%);
  pointer-events: none;
}

body:not(.id-page) .page-hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 52px 56px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(30, 18, 50, 0.92) 0%, rgba(13, 8, 24, 0.88) 100%);
  border: 1px solid rgba(168, 85, 247, 0.18);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 60px rgba(109, 40, 217, 0.14);
}

/* top accent line */
body:not(.id-page) .page-hero .container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.7), rgba(109, 40, 217, 0.5), transparent);
}

/* decorative right orb */
body:not(.id-page) .page-hero .container::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -120px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 40, 217, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

body:not(.id-page) .page-hero .page-hero-content {
  grid-column: 1;
}

body:not(.id-page) .page-hero .page-hero-deco {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.55;
  font-size: 1.8rem;
  line-height: 1.2;
  filter: blur(0px);
}

body:not(.id-page) .page-hero .page-hero-deco strong {
  font-family: "Chakra Petch", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--text);
}

body:not(.id-page) .page-hero .container > .label,
body:not(.id-page) .page-hero .container > h1,
body:not(.id-page) .page-hero .container > p {
  grid-column: 1;
}

body:not(.id-page) .page-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-top: 12px;
  margin-bottom: 16px;
}

body:not(.id-page) .page-hero p {
  max-width: 56ch;
  color: var(--text3);
  font-size: 1.03rem;
  margin: 0;
}

@media (max-width: 768px) {
  body:not(.id-page) .page-hero .container {
    grid-template-columns: 1fr;
    padding: 36px 28px;
  }
  body:not(.id-page) .page-hero .page-hero-deco { display: none; }
}

body:not(.id-page) .section-header {
  margin-bottom: 54px;
}

body:not(.id-page) .section-header h2 {
  letter-spacing: -0.03em;
  line-height: 1;
}

body:not(.id-page) .section-header p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

body:not(.id-page) .feature-card,
body:not(.id-page) .role-card,
body:not(.id-page) .identity-preview-card,
body:not(.id-page) .grid-3 .card,
body:not(.id-page) .stack-list .card,
body:not(.id-page) .detail-grid > div > .card,
body:not(.id-page) .leader-banner,
body:not(.id-page) .profile-card,
body:not(.id-page) .curso-pill,
body:not(.id-page) .hero-panel,
body:not(.id-page) .metric-card,
body:not(.id-page) .idea-summary-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(22, 14, 36, 0.94), rgba(10, 6, 18, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body:not(.id-page) .feature-card,
body:not(.id-page) .role-card,
body:not(.id-page) .identity-preview-card,
body:not(.id-page) .grid-3 .card,
body:not(.id-page) .curso-pill,
body:not(.id-page) .hero-panel,
body:not(.id-page) .metric-card,
body:not(.id-page) .leader-banner,
body:not(.id-page) .profile-card {
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

body:not(.id-page) .feature-card:hover,
body:not(.id-page) .role-card:hover,
body:not(.id-page) .identity-preview-card:hover,
body:not(.id-page) .grid-3 .card:hover,
body:not(.id-page) .curso-pill:hover,
body:not(.id-page) .hero-panel:hover,
body:not(.id-page) .metric-card:hover,
body:not(.id-page) .leader-banner:hover,
body:not(.id-page) .profile-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 165, 233, 0.2);
  box-shadow:
    0 30px 78px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 32px rgba(14, 165, 233, 0.08);
}

body:not(.id-page) .split-section,
body:not(.id-page) .detail-grid,
body:not(.id-page) .leader-banner {
  gap: 28px;
}

body:not(.id-page) .section-copy,
body:not(.id-page) .metric-copy,
body:not(.id-page) .feature-card p,
body:not(.id-page) .role-card p,
body:not(.id-page) .identity-preview-card span {
  color: var(--text3);
}

body:not(.id-page) .profile-card {
  position: sticky;
  top: 120px;
}

body:not(.id-page) .profile-photo-frame {
  box-shadow:
    0 26px 58px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 34px rgba(168, 85, 247, 0.16);
}

body:not(.id-page) .profile-photo {
  filter: saturate(1.05) contrast(1.03);
}

body:not(.id-page) .leader-banner {
  align-items: center;
}

body:not(.id-page) .card.card-glow,
body:not(.id-page) .login-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(31, 21, 48, 0.94), rgba(10, 6, 18, 0.96)),
    rgba(12, 7, 21, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 28px 78px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 44px rgba(168, 85, 247, 0.12);
}

body:not(.id-page) .card.card-glow::before,
.login-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 220px;
  height: 220px;
  transform: translate(30%, -30%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18), transparent 70%);
  pointer-events: none;
}

body:not(.id-page) .form-control,
.login-card .form-control {
  background:
    linear-gradient(180deg, rgba(12, 8, 20, 0.86), rgba(8, 11, 18, 0.9)),
    rgba(10, 8, 18, 0.9);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body:not(.id-page) .form-control:focus,
.login-card .form-control:focus {
  border-color: rgba(14, 165, 233, 0.55);
  box-shadow:
    0 0 0 4px rgba(14, 165, 233, 0.1),
    0 18px 32px rgba(0, 0, 0, 0.22);
}

.login-page {
  overflow: hidden;
}

.login-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.84), transparent 90%);
  opacity: 0.12;
  pointer-events: none;
}

.login-header h1 {
  max-width: 9ch;
  margin: 10px auto 16px;
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.login-header p {
  max-width: 430px;
  margin: 0 auto 28px;
}

.footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(14, 165, 233, 0.08), transparent 18%),
    radial-gradient(circle at 86% 24%, rgba(168, 85, 247, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(10, 6, 18, 0.98), rgba(6, 4, 12, 1));
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 96%);
  opacity: 0.16;
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 980px) {
  body:not(.id-page) .profile-card {
    position: relative;
    top: auto;
  }
}

@media (max-width: 760px) {
  body:not(.id-page) .page-hero h1 {
    max-width: none;
  }
}

/* ══════════════════════════════════════════════════════════════
   PERFORMANCE & GLOBAL SMOOTHNESS
   ══════════════════════════════════════════════════════════════ */

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

.btn,
.mascote-card,
.card,
.feature-card,
.nav-link,
.m-vote-btn,
.m-tab {
  backface-visibility: hidden;
}

/* Smooth transitions on all interactive elements */
.btn       { transition: transform .22s cubic-bezier(.4,0,.2,1), box-shadow .22s cubic-bezier(.4,0,.2,1), background .22s ease, color .22s ease; }
.btn:hover { transform: translateY(-2px) scale(1.01); }
.btn:active{ transform: translateY(0) scale(.99); }

/* Better btn-primary glow */
.btn-primary { box-shadow: 0 8px 24px rgba(109,40,217,.3), 0 0 0 0 rgba(168,85,247,0); }
.btn-primary:hover { box-shadow: 0 16px 36px rgba(109,40,217,.42), 0 0 30px rgba(168,85,247,.12); }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVIDADE EXTRA — TABLETS E MOBILE
   ══════════════════════════════════════════════════════════════ */

/* Tablet landscape (1024px) */
@media (max-width: 1024px) {
  .hero { padding: 120px 0 80px; }
  .featured-roles-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-layout { gap: 24px; }
  .detail-grid { grid-template-columns: 280px minmax(0,1fr); }
}

/* Tablet portrait (820px) */
@media (max-width: 820px) {
  h1 { font-size: clamp(2rem,8vw,3.8rem); }
  h2 { font-size: clamp(1.5rem,5vw,2.4rem); }
  .section { padding: 64px 0; }
  .section-sm { padding: 36px 0; }
  .cta-section { padding: 72px 0; }
  .hero { padding: 110px 0 72px; }
  .page-hero { padding: 110px 0 56px; }
  .hero-layout, .split-section { grid-template-columns: 1fr; }
  .hero-stack { display: none; } /* hero right panel hidden on mobile */
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile (640px) */
@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .cta-section { padding: 60px 0; }
  .page-hero { padding: 100px 0 48px; }
  .hero-stats { flex-direction: column; gap: 14px; }
  .hero-stat { display: flex; align-items: center; gap: 14px; }
  .hero-stat .num { font-size: 2rem; }
  .hero-stat .lbl { font-size: .7rem; }
  .cursos-grid { justify-content: center; }
  .leader-banner { padding: 20px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer { padding: 52px 0 20px; }
  .cta-section h2 { font-size: clamp(1.5rem,6vw,2rem); }
  .timeline { padding-left: 22px; }
  .identity-lab { grid-template-columns: 1fr; }
}

/* Small mobile (420px) */
@media (max-width: 420px) {
  .container { width: calc(100% - 20px); }
  .card, .feature-card { padding: 18px; }
  .hero-ctas { gap: 10px; }
  .btn-lg { padding: 13px 20px; }
  .mascot-grid { gap: 16px; }
  .m-art-wrap { height: 200px; }
  .m-mascot-img { width: 140px; height: 140px; }
}

/* ── Mural idea vote button ─────────────────────────────── */
.idea-vote-row {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.idea-vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(168,85,247,.08);
  border: 1px solid rgba(168,85,247,.22);
  color: var(--text3);
  border-radius: 99px;
  padding: 5px 14px;
  font-size: .82rem;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}

.idea-vote-btn:hover {
  background: rgba(168,85,247,.16);
  border-color: rgba(168,85,247,.45);
  color: #c084fc;
  transform: scale(1.04);
}

.idea-vote-btn.voted {
  background: rgba(168,85,247,.22);
  border-color: #a855f7;
  color: #c084fc;
}

.idea-vote-btn.voted .fa-heart {
  color: #f43f5e;
}

.idea-vote-btn:disabled {
  opacity: .6;
  cursor: default;
  transform: none;
}

/* Image lightbox */
body.lightbox-open {
  overflow: hidden !important;
}

.lightbox-trigger-image {
  cursor: zoom-in;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.lightbox-trigger-image:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.86);
  outline-offset: 4px;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background:
    radial-gradient(circle at top, rgba(14, 165, 233, 0.14), transparent 34%),
    radial-gradient(circle at bottom, rgba(249, 115, 22, 0.14), transparent 30%),
    rgba(4, 6, 18, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 3000;
  transition: opacity .22s ease, visibility .22s ease;
}

.image-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.image-lightbox::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 60px rgba(59, 130, 246, 0.08);
}

.image-lightbox-figure {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0;
  display: grid;
  gap: 16px;
  justify-items: center;
}

.image-lightbox-img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 170px);
  height: auto;
  object-fit: contain;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 12, 24, 0.92);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 0 48px rgba(168, 85, 247, 0.12);
}

.image-lightbox-caption {
  max-width: min(860px, 100%);
  text-align: center;
  color: rgba(226, 232, 240, 0.86);
  font-size: 0.96rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.image-lightbox-close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 23, 42, 0.88);
  color: #f8fafc;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  z-index: 2;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.image-lightbox-close:hover {
  transform: scale(1.04);
  background: rgba(30, 41, 59, 0.94);
  border-color: rgba(255, 255, 255, 0.3);
}

.image-lightbox-close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.86);
  outline-offset: 3px;
}

.vote-entry-modal {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: min(420px, calc(100vw - 24px));
  max-width: 420px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px) scale(0.96);
  transform-origin: bottom right;
  z-index: 2900;
  transition: opacity .24s ease, visibility .24s ease, transform .24s ease;
}

.vote-entry-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.vote-entry-backdrop {
  display: none;
}

.vote-entry-dialog {
  position: relative;
  width: 100%;
  padding: 22px 20px 18px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.16), transparent 38%),
    radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(19, 12, 34, 0.97), rgba(9, 7, 19, 0.98));
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(168, 85, 247, 0.08);
  overflow: hidden;
}

.vote-entry-dialog::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.3;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.78), transparent 100%);
}

.vote-entry-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.86);
  color: #f8fafc;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
  z-index: 2;
}

.vote-entry-close:hover {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(30, 41, 59, 0.94);
}

.vote-entry-close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.86);
  outline-offset: 3px;
}

.vote-entry-head {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
  padding-right: 36px;
}

.vote-entry-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.28);
  color: #c084fc;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.66rem;
  font-family: "Chakra Petch", sans-serif;
  margin-bottom: 10px;
}

.vote-entry-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.02;
}

.vote-entry-head p {
  margin: 0;
  color: var(--text3);
  font-size: 0.92rem;
  line-height: 1.55;
}

.vote-entry-showcase {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.vote-entry-mascot {
  position: relative;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.vote-entry-mascot::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  opacity: 0.22;
  filter: blur(16px);
  z-index: 0;
}

.vote-entry-mascot.is-cerberus::before {
  background: radial-gradient(circle, rgba(249, 115, 22, 0.5), transparent 68%);
}

.vote-entry-mascot.is-hydra::before {
  background: radial-gradient(circle, rgba(14, 165, 233, 0.5), transparent 68%);
}

.vote-entry-mascot.is-dragao::before {
  background: radial-gradient(circle, rgba(168, 85, 247, 0.5), transparent 68%);
}

.vote-entry-mascot img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 78px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 8px;
  display: block;
}

.vote-entry-mascot strong,
.vote-entry-mascot span {
  position: relative;
  z-index: 1;
  display: block;
}

.vote-entry-mascot strong {
  font-size: 0.82rem;
  margin-bottom: 2px;
  color: var(--text);
}

.vote-entry-mascot span {
  color: var(--text3);
  font-size: 0.72rem;
  line-height: 1.3;
}

.vote-entry-actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.vote-entry-actions .btn {
  width: 100%;
  min-width: 0;
  justify-content: center;
}

.vote-entry-footnote {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  color: rgba(226, 232, 240, 0.58);
  font-size: 0.74rem;
  letter-spacing: 0.03em;
}

@media (max-width: 720px) {
  .image-lightbox {
    padding: 22px 14px 20px;
  }

  .image-lightbox::before {
    inset: 10px;
    border-radius: 20px;
  }

  .image-lightbox-close {
    top: 16px;
    right: 16px;
    width: 46px;
    height: 46px;
  }

  .image-lightbox-figure {
    gap: 12px;
  }

  .image-lightbox-img {
    max-height: calc(100vh - 132px);
    border-radius: 18px;
  }

  .image-lightbox-caption {
    font-size: 0.88rem;
    padding: 0 4px;
  }

  .vote-entry-modal {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
    max-width: none;
  }

  .vote-entry-dialog {
    padding: 18px 16px 16px;
    border-radius: 22px;
  }

  .vote-entry-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
  }

  .vote-entry-head {
    padding-right: 28px;
  }

  .vote-entry-head h2 {
    font-size: 1.3rem;
  }

  .vote-entry-showcase {
    gap: 8px;
  }

  .vote-entry-mascot {
    padding: 7px;
    border-radius: 16px;
  }

  .vote-entry-mascot img {
    height: 64px;
    border-radius: 10px;
  }

  .vote-entry-mascot strong {
    font-size: 0.76rem;
  }

  .vote-entry-mascot span {
    font-size: 0.68rem;
  }
}
