/* ============ SOBRE — INTERACTIVE CYBER / PLAYER PROFILE THEME ============ */
body.theme-sobre {
  --accent: #ec4899;
  --accent-2: #a855f7;
  --header-bg: rgba(8,4,12,0.9);
  background:
    radial-gradient(circle at 15% 0%, rgba(236,72,153,0.12), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(168,85,247,0.12), transparent 45%),
    #08050c;
}

.sobre-head { max-width: 1100px; margin: 0 auto; padding: 50px 6% 10px; }
.glitch {
  font-family: var(--font-pixel);
  font-size: clamp(15px, 2.6vw, 22px);
  color: #fff;
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  overflow: hidden;
  clip-path: inset(0 0 0 0);
}
.glitch::before { color: var(--accent); animation: glitch-1 3.5s infinite linear; }
.glitch::after { color: var(--accent-2); animation: glitch-2 3.5s infinite linear; }
@keyframes glitch-1 {
  0%, 92%, 100% { clip-path: inset(0 0 0 0); transform: translate(0,0); }
  93% { clip-path: inset(20% 0 40% 0); transform: translate(-3px,1px); }
  95% { clip-path: inset(60% 0 5% 0); transform: translate(3px,-1px); }
}
@keyframes glitch-2 {
  0%, 90%, 100% { clip-path: inset(0 0 0 0); transform: translate(0,0); }
  91% { clip-path: inset(10% 0 70% 0); transform: translate(3px,0); }
  94% { clip-path: inset(70% 0 5% 0); transform: translate(-3px,1px); }
}
@media (prefers-reduced-motion: reduce) { .glitch::before, .glitch::after { animation: none; display: none; } }

.sobre-sub { color: var(--muted); max-width: 60ch; font-size: 15px; }

/* ---- player profile card ---- */
.profile-wrap { max-width: 1100px; margin: 30px auto 0; padding: 0 6%; }
.profile-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  background: linear-gradient(160deg, #150c1e, #0a0510);
  border: 1px solid #2a1a35;
  padding: 26px;
  position: relative;
  overflow: hidden;
}
.profile-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(236,72,153,0.08) 50%, transparent 60%);
  pointer-events: none;
}
@media (max-width: 560px) { .profile-card { grid-template-columns: 1fr; text-align: center; } }

.profile-avatar {
  width: 84px; height: 84px;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
  background: #05050a;
  border: 2px solid var(--accent);
  box-shadow: 0 0 24px rgba(236,72,153,0.4);
  justify-self: center;
}

.solo-badge {
  display: inline-block;
  font-family: 'VT323', monospace;
  font-size: 13px;
  letter-spacing: 1px;
  color: #08050c;
  background: var(--accent-2);
  padding: 4px 10px;
  margin-bottom: 10px;
}

.profile-name { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.profile-role { font-size: 12.5px; color: var(--accent-2); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }

.xp-row { display: flex; align-items: center; gap: 10px; font-family: 'VT323', monospace; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.xp-track { flex: 1; height: 10px; background: #1a1020; border: 1px solid #2a1a35; }
.xp-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width 1.4s ease; }

/* ---- origin story block ---- */
.story-wrap { max-width: 1100px; margin: 30px auto 0; padding: 0 6%; }
.story-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  background: #0d0812;
  border: 1px solid #2a1a35;
  border-left: 3px solid var(--accent);
  padding: 28px;
}
@media (max-width: 640px) { .story-card { grid-template-columns: 1fr; text-align: center; } }
.story-icon {
  font-size: 34px;
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  background: #05050a;
  border: 2px solid var(--accent-2);
  justify-self: start;
}
@media (max-width: 640px) { .story-icon { justify-self: center; } }
.story-title { font-family: 'VT323', monospace; font-size: 22px; letter-spacing: 1px; color: #fff; margin-bottom: 12px; }
.story-card p { color: #cbd5e1; font-size: 14.5px; line-height: 1.75; margin-bottom: 12px; }
.story-card p:last-child { margin-bottom: 0; }
.story-card b { color: var(--accent-2); }

/* ---- terminal ---- */
.term-wrap { max-width: 1100px; margin: 34px auto 0; padding: 0 6%; }
.terminal {
  background: #000;
  border: 2px solid var(--accent);
  padding: 20px;
  font-family: 'JetBrains Mono', monospace;
  box-shadow: 6px 6px 0 #3a0f28;
}
.term-bar { display: flex; justify-content: space-between; border-bottom: 1px dashed #3a1a2a; padding-bottom: 8px; margin-bottom: 12px; color: var(--accent-2); font-size: 12.5px; }
.term-output { min-height: 120px; font-size: 13.5px; color: #34d399; margin-bottom: 12px; line-height: 1.7; }
.term-output .prompt { color: var(--accent); }
.term-row { display: flex; gap: 8px; align-items: center; }
.term-row .prompt { color: var(--accent); font-size: 13.5px; white-space: nowrap; }
.term-row input {
  background: transparent; border: none; outline: none;
  color: #34d399; font-family: inherit; font-size: 13.5px; width: 100%;
}
.term-hint { margin-top: 10px; font-size: 11px; color: #4a4f5e; }

/* ---- quest cards (missão / manifesto) ---- */
.quest-wrap { max-width: 1100px; margin: 40px auto 0; padding: 0 6%; }
.quest-heading { font-family: 'VT323', monospace; font-size: 20px; letter-spacing: 1.5px; color: #fff; margin-bottom: 16px; }
.quest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.quest-card {
  background: #0d0812;
  border: 1px solid #2a1a35;
  padding: 20px;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  user-select: none;
}
.quest-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.quest-card.done { border-color: #34d399; }
.quest-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.quest-icon { font-size: 22px; }
.quest-check {
  width: 20px; height: 20px;
  border: 2px solid var(--muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: transparent;
}
.quest-card.done .quest-check { border-color: #34d399; color: #34d399; }
.quest-title { color: #fff; font-weight: 700; font-size: 14.5px; margin-bottom: 6px; }
.quest-desc { color: var(--muted); font-size: 12.5px; }
.quest-status { margin-top: 20px; font-family: 'VT323', monospace; color: var(--accent-2); font-size: 15px; }

/* ---- achievements ---- */
.ach-wrap { max-width: 1100px; margin: 40px auto 60px; padding: 0 6%; }
.ach-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 14px; }
.ach-badge {
  text-align: center;
  padding: 18px 10px;
  border: 1px dashed #2a1a35;
  color: var(--muted);
  font-size: 12px;
  opacity: 0.4;
  transform: scale(0.94);
  transition: all 0.5s ease;
}
.ach-badge.unlocked {
  opacity: 1;
  transform: scale(1);
  border: 1px solid var(--accent-2);
  color: #fff;
  box-shadow: 0 0 16px rgba(168,85,247,0.25);
}
.ach-badge .ach-icon { font-size: 26px; display: block; margin-bottom: 8px; }
