/* ============================================================
   BIO.EXE — estética terminal / anos 90
   preto + verde fosforescente + CRT
   ============================================================ */

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

:root {
  --green: #3cff7a;
  --green-soft: #a8ffc4;
  --green-dim: #2b9e58;
  --green-dark: #0b2c17;
  --bg: #000;
  --panel: rgba(2, 16, 8, 0.78);
  --line: rgba(60, 255, 122, 0.32);
  --line-soft: rgba(60, 255, 122, 0.14);
  --glow: 0 0 10px rgba(60, 255, 122, 0.45);
  --font-mono: "Share Tech Mono", ui-monospace, "Cascadia Mono", "Consolas", "Courier New", monospace;
  --font-display: "VT323", var(--font-mono);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: 106px; /* espaço pro player fixo */
  color: var(--green);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 255, 110, 0.14), transparent 70%),
    linear-gradient(rgba(60, 255, 122, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60, 255, 122, 0.05) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  background-attachment: fixed;
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.02em;
}

body.locked {
  overflow: hidden;
}

::selection {
  background: var(--green);
  color: #001b08;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--green-dim) transparent;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: var(--green-dim);
  border: 2px solid #000;
}

:focus-visible {
  outline: 2px dashed var(--green);
  outline-offset: 3px;
}

/* ============================================================
   CRT / ATMOSFERA
   ============================================================ */

.crt {
  position: fixed;
  inset: 0;
  z-index: 250;
  pointer-events: none;
}

.crt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0 2px,
    rgba(0, 0, 0, 0.22) 2px 4px
  );
  opacity: 0.55;
}

.crt::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 52%, rgba(0, 0, 0, 0.72) 100%);
  animation: flicker 7s steps(1) infinite;
}

@keyframes flicker {
  0%, 100% { opacity: 0.55; }
  2% { opacity: 0.72; }
  3% { opacity: 0.5; }
  6% { opacity: 0.68; }
  7% { opacity: 0.55; }
  51% { opacity: 0.6; }
  52% { opacity: 0.44; }
  53% { opacity: 0.58; }
}

#matrix {
  position: fixed;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

#matrix.on {
  opacity: 1;
}

/* ============================================================
   ACESSIBILIDADE
   ============================================================ */

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 400;
  padding: 10px 16px;
  background: var(--green);
  color: #001b08;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* ============================================================
   INTRO / BOOT
   ============================================================ */

.boot {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #000;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.boot.done {
  opacity: 0;
  visibility: hidden;
}

.boot-box {
  width: min(560px, 100%);
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  background: rgba(0, 14, 6, 0.92);
  box-shadow:
    0 0 60px rgba(0, 255, 110, 0.12),
    inset 0 0 60px rgba(0, 255, 110, 0.04);
}

.boot-head {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3rem);
  line-height: 1;
  letter-spacing: 0.12em;
  color: var(--green-soft);
  text-shadow: 0 0 12px rgba(60, 255, 122, 0.8), 0 0 36px rgba(60, 255, 122, 0.35);
}

.boot-sub {
  margin: 6px 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-dim);
}

.boot-log {
  min-height: 132px;
  margin: 20px 0 14px;
  font-size: 0.82rem;
  line-height: 1.95;
  color: #7fd99b;
}

.boot-log p {
  margin: 0;
  opacity: 0;
  animation: bootLine 0.22s ease forwards;
}

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

.boot-log p:first-child {
  color: var(--green);
}

.boot-bar {
  height: 8px;
  margin: 6px 0 22px;
  border: 1px solid var(--line);
  background: rgba(0, 255, 110, 0.05);
  overflow: hidden;
}

.boot-bar i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--green-dim), var(--green));
  box-shadow: 0 0 12px rgba(60, 255, 122, 0.7);
  transition: width 1.3s ease;
}

.boot.loaded .boot-bar i {
  width: 100%;
}

#enter {
  width: 100%;
  justify-content: center;
}

#enter[hidden] {
  display: none;
}

.boot-skip {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 6px;
  border: 0;
  background: none;
  color: var(--green-dim);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.boot-skip:hover {
  color: var(--green);
}

/* ============================================================
   TOPBAR
   ============================================================ */

.topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 10px clamp(16px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 6, 2, 0.84);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-shadow: var(--glow);
}

.logo-mark {
  color: var(--green-soft);
  animation: blink 1.6s steps(1) infinite;
}

.logo .dim {
  color: var(--green-dim);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(10px, 2vw, 26px);
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 4px 2px;
  color: var(--green-soft);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav a::before,
.nav a::after {
  opacity: 0;
  color: var(--green-dim);
  transition: opacity 0.15s ease;
}

.nav a::before { content: "["; margin-right: 2px; }
.nav a::after { content: "]"; margin-left: 2px; }

.nav a:hover,
.nav a:focus-visible {
  color: #fff;
  text-shadow: var(--glow);
}

.nav a:hover::before,
.nav a:hover::after {
  opacity: 1;
}

.status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 16px;
  border-left: 1px dashed var(--line);
  color: var(--green-dim);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.led {
  width: 8px;
  height: 8px;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}

#clock {
  color: var(--green);
  font-variant-numeric: tabular-nums;
}

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

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

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100svh - 58px - 106px);
  padding: clamp(44px, 7vw, 88px) 20px 80px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 26px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  background: rgba(0, 30, 10, 0.4);
  color: var(--green-soft);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.hero-art {
  margin: 0 0 18px;
  color: var(--green-dim);
  font-size: clamp(7px, 1.5vw, 12px);
  line-height: 1.25;
  text-shadow: 0 0 8px rgba(60, 255, 122, 0.25);
  white-space: pre;
  user-select: none;
}

.hero-name {
  max-width: 100%;
  margin: 0;
  color: var(--green-soft);
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 13vw, 8.5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  text-shadow:
    0 0 8px rgba(60, 255, 122, 0.85),
    0 0 32px rgba(60, 255, 122, 0.35),
    0 0 80px rgba(60, 255, 122, 0.15);
}

.hero-name .caret {
  color: var(--green);
  animation: blink 1.1s steps(1) infinite;
}

.hero-role {
  margin: 20px 0 0;
  color: var(--green);
  font-size: clamp(0.78rem, 1.8vw, 0.95rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero-bio {
  max-width: 54ch;
  margin: 18px auto 0;
  color: #7fd99b;
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.hero-hint {
  margin: 22px 0 0;
  color: var(--green-dim);
  font-size: 0.76rem;
}

kbd {
  padding: 1px 6px;
  border: 1px solid var(--line);
  color: var(--green);
  font-family: inherit;
  font-size: 0.9em;
}

.scroll-cue {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-dim);
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.scroll-cue span {
  animation: bob 1.8s ease-in-out infinite;
}

.scroll-cue span:last-child {
  animation-delay: 0.15s;
}

.scroll-cue:hover {
  color: var(--green);
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* entrada do hero (só depois do boot) */
.ready .hero > * {
  animation: riseIn 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.ready .hero > :nth-child(1) { animation-delay: 0.04s; }
.ready .hero > :nth-child(2) { animation-delay: 0.1s; }
.ready .hero > :nth-child(3) { animation-delay: 0.16s; }
.ready .hero > :nth-child(4) { animation-delay: 0.22s; }
.ready .hero > :nth-child(5) { animation-delay: 0.28s; }
.ready .hero > :nth-child(6) { animation-delay: 0.34s; }
.ready .hero > :nth-child(7) { animation-delay: 0.4s; }

.ready .hero > .scroll-cue {
  animation: cueIn 1s 0.7s both;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes cueIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================================
   BOTÕES
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--line);
  background: rgba(0, 40, 15, 0.25);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--green);
  color: #011006;
  box-shadow: 0 0 18px rgba(60, 255, 122, 0.55);
  transform: translateY(-1px);
}

.btn-solid {
  border-color: var(--green);
  background: var(--green);
  color: #011006;
}

.btn-solid:hover,
.btn-solid:focus-visible {
  background: var(--green-soft);
  color: #011006;
}

/* ============================================================
   JANELAS
   ============================================================ */

.window {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(3, 24, 11, 0.84), rgba(0, 8, 3, 0.94));
  box-shadow:
    inset 0 0 40px rgba(0, 255, 110, 0.04),
    0 0 24px rgba(0, 255, 110, 0.06);
}

.win-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 14px;
  border-bottom: 1px dashed var(--line);
  background: rgba(0, 30, 12, 0.55);
  color: var(--green-soft);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.win-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.win-dots {
  color: var(--green-dim);
  letter-spacing: 0.22em;
  white-space: nowrap;
}

.win-content {
  padding: clamp(18px, 3vw, 28px);
}

.win-content h2 {
  margin: 0 0 14px;
  color: var(--green-soft);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(60, 255, 122, 0.4);
}

.win-content h2::before {
  content: "> ";
  color: var(--green-dim);
}

.win-content p {
  margin: 0 0 12px;
  color: #86d9a1;
  font-size: 0.94rem;
}

.win-content strong {
  color: var(--green-soft);
  font-weight: 400;
  text-shadow: 0 0 8px rgba(60, 255, 122, 0.35);
}

/* ============================================================
   TERMINAL
   ============================================================ */

.terminal-wrap {
  padding: 0 clamp(16px, 4vw, 40px);
}

.terminal {
  max-width: 1120px;
  margin: 0 auto;
}

.term-body {
  padding: 18px 20px 20px;
}

.term-output {
  max-height: 340px;
  overflow-y: auto;
  font-size: 0.88rem;
  line-height: 1.7;
}

.line {
  margin: 0 0 5px;
  color: #8ef0ac;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.line:last-child {
  margin-bottom: 0;
}

.line .hl,
.line .ok {
  color: #d9ffe6;
}

.line.echo {
  margin-top: 8px;
  color: var(--green);
}

.line.echo .prompt {
  color: var(--green-soft);
}

.term-form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-soft);
  flex-wrap: wrap;
}

.term-form .prompt {
  color: var(--green-soft);
  font-size: 0.86rem;
  white-space: nowrap;
}

.term-form input {
  flex: 1;
  min-width: 0;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  caret-color: var(--green);
  outline: none;
}

.term-form input::placeholder {
  color: rgba(60, 255, 122, 0.3);
}

/* ============================================================
   GRID / CONTEÚDO
   ============================================================ */

main {
  position: relative;
  z-index: 10;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 24px);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 40px);
}

.span-2 {
  grid-column: 1 / -1;
}

/* SOBRE */
.about {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: start;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.meta-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px dashed var(--line-soft);
  background: rgba(0, 0, 0, 0.3);
}

.meta-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 14px;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 0.78rem;
}

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

.meta-list span {
  color: var(--green-dim);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.meta-list b {
  color: var(--green-soft);
  font-weight: 400;
}

/* SKILLS */
.skills {
  display: grid;
  gap: 15px;
  margin-top: 18px;
}

.skill {
  display: grid;
  grid-template-columns: minmax(82px, 0.9fr) 1.5fr auto;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
}

.skill-name {
  color: var(--green-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.skill-bar {
  position: relative;
  height: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 255, 110, 0.05);
  overflow: hidden;
}

.skill-bar i {
  display: block;
  width: var(--value);
  height: 100%;
  background-image:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.22) 0 3px, transparent 3px 6px),
    linear-gradient(90deg, var(--green-dim), var(--green));
  box-shadow: 0 0 10px rgba(60, 255, 122, 0.6);
  transform-origin: left center;
}

.skill-val {
  color: var(--green-dim);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

.window.reveal:not(.in) .skill-bar i {
  transform: scaleX(0);
}

.window.reveal.in .skill-bar i {
  animation: barFill 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes barFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* CONTATO */
.contact-note {
  margin-top: -6px !important;
  color: var(--green-dim) !important;
  font-size: 0.8rem !important;
}

.contact-list {
  display: grid;
  gap: 9px;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 0.86rem;
}

.contact-list span {
  color: var(--green-dim);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-list a {
  color: var(--green-soft);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  overflow-wrap: anywhere;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: #fff;
  border-bottom-color: var(--line);
  text-shadow: var(--glow);
}

/* VISITAS */
.visitas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.counter-label {
  margin: 0 !important;
  color: var(--green-dim) !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.counter {
  display: inline-block;
  margin: 8px 0 8px !important;
  padding: 6px 14px;
  border: 1px dashed var(--line);
  background: rgba(0, 0, 0, 0.5);
  color: var(--green) !important;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem) !important;
  line-height: 1 !important;
  letter-spacing: 0.18em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 16px rgba(60, 255, 122, 0.6);
}

.counter-note {
  margin: 0 !important;
  color: var(--green-dim) !important;
  font-size: 0.74rem !important;
}

.counter-note a {
  color: var(--green-soft);
  text-decoration: none;
  border-bottom: 1px dashed var(--line);
}

.counter-note a:hover {
  color: #fff;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 480px;
}

.badge {
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: rgba(0, 40, 15, 0.4);
  color: var(--green-soft);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* animação de entrada das janelas */
.window.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.window.reveal.in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RODAPÉ
   ============================================================ */

.site-footer {
  position: relative;
  z-index: 10;
  padding: 18px clamp(16px, 4vw, 40px) 24px;
  border-top: 1px dashed var(--line);
  overflow: hidden;
  text-align: center;
}

.marquee {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line-soft);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track span {
  padding-right: 44px;
  color: var(--green-dim);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.copyright {
  margin: 0;
  color: var(--green-dim);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

/* ============================================================
   PLAYER
   ============================================================ */

.player {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px clamp(14px, 3vw, 28px);
  border-top: 1px solid var(--line);
  background: rgba(0, 8, 3, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.live-media {
  position: relative;
  flex: 0 0 auto;
  width: 132px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: #000;
  overflow: hidden;
}

#yt-player {
  width: 100%;
  height: 100%;
  background: #000 url("https://i.ytimg.com/vi/gopYmb38DgM/hqdefault.jpg") center / cover no-repeat;
}

#yt-player iframe,
.live-media iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.live-tag {
  position: absolute;
  bottom: 3px;
  left: 3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 5px;
  border: 1px solid var(--line);
  background: rgba(0, 10, 4, 0.82);
  color: var(--green-soft);
  font-size: 0.48rem;
  letter-spacing: 0.14em;
  line-height: 1;
}

.live-tag b {
  font-weight: 400;
}

.live-tag i {
  width: 5px;
  height: 5px;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse 1.8s ease-in-out infinite;
}

.live-player[data-playing="false"] .live-tag i {
  animation: none;
  opacity: 0.35;
}

.volume {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  color: var(--green-dim);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
}

.volume-label {
  text-transform: uppercase;
}

.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 92px;
  height: 20px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}

.volume-slider::-webkit-slider-runnable-track {
  height: 4px;
  border: 1px solid var(--line-soft);
  background: rgba(0, 40, 15, 0.6);
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 8px;
  height: 14px;
  margin-top: -4px;
  border: 1px solid var(--green);
  border-radius: 0;
  background: var(--green);
  box-shadow: 0 0 8px rgba(60, 255, 122, 0.6);
}

.volume-slider::-moz-range-track {
  height: 4px;
  border: 1px solid var(--line-soft);
  background: rgba(0, 40, 15, 0.6);
}

.volume-slider::-moz-range-thumb {
  width: 8px;
  height: 14px;
  border: 1px solid var(--green);
  border-radius: 0;
  background: var(--green);
  box-shadow: 0 0 8px rgba(60, 255, 122, 0.6);
}

.volume-slider:focus-visible {
  outline: 1px dashed var(--green);
  outline-offset: 4px;
}

.volume-value {
  min-width: 2ch;
  color: var(--green-dim);
  font-variant-numeric: tabular-nums;
}

.play {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(0, 40, 15, 0.4);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.play:hover,
.play:focus-visible {
  background: var(--green);
  color: #011006;
  box-shadow: var(--glow);
}

.track {
  flex: 1;
  min-width: 0;
}

.track-name {
  overflow: hidden;
  margin: 0;
  color: var(--green-soft);
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.1;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-shadow: 0 0 10px rgba(60, 255, 122, 0.3);
}

.track-desc {
  overflow: hidden;
  margin: 2px 0 0;
  color: #79c994;
  font-size: 0.68rem;
  line-height: 1.3;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.track-meta {
  overflow: hidden;
  margin: 2px 0 0;
  color: var(--green-dim);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.track-link {
  color: var(--green-dim);
  text-decoration: none;
  border-bottom: 1px dashed var(--line-soft);
}

.track-link:hover,
.track-link:focus-visible {
  color: var(--green-soft);
  border-bottom-color: var(--line);
}

/* ============================================================
   RESPONSIVO
   ============================================================ */

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

  .span-2 {
    grid-column: auto;
  }

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

  .badges {
    max-width: none;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 78px;
  }

  body {
    padding-bottom: 86px;
  }

  .topbar {
    gap: 12px;
    padding: 9px 16px;
  }

  .logo {
    font-size: 1.45rem;
  }

  .nav {
    gap: 9px;
  }

  .nav a {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .status {
    padding-left: 10px;
  }

  .status-text,
  #clock {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 56px 18px 76px;
  }

  .hero-art {
    font-size: 7px;
  }

  .hero-role {
    letter-spacing: 0.18em;
  }

  .hero-hint {
    display: none;
  }

  .scroll-cue {
    font-size: 0.58rem;
  }

  .term-body {
    padding: 14px 14px 16px;
  }

  .term-form {
    gap: 8px;
  }

  .term-form .prompt {
    font-size: 0.76rem;
  }

  .win-content h2 {
    font-size: 1.6rem;
  }

  .visitas {
    gap: 18px;
  }

  .badges {
    gap: 6px;
  }

  .badge {
    font-size: 0.56rem;
    padding: 5px 8px;
  }

  .player {
    gap: 10px;
    padding: 8px 14px;
  }

  .live-media {
    width: 98px;
  }

  .play {
    width: 36px;
    height: 36px;
  }

  .volume-slider {
    width: 64px;
  }

  .volume-value {
    display: none;
  }

  .track-name {
    font-size: 1.05rem;
  }

  .track-desc {
    font-size: 0.6rem;
  }

  .meta-live {
    display: none;
  }

  .track-meta {
    font-size: 0.54rem;
  }
}

@media (max-width: 520px) {
  .topbar {
    gap: 10px;
  }

  .status {
    display: none;
  }

  .logo {
    font-size: 1.3rem;
  }

  .nav {
    flex-wrap: nowrap;
    gap: 5px;
  }

  .nav a {
    font-size: 0.58rem;
    letter-spacing: 0.02em;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions .btn {
    justify-content: center;
    width: 100%;
  }

  .hero-bio {
    font-size: 0.88rem;
  }

  .volume-label {
    display: none;
  }

  .volume-slider {
    width: 56px;
  }

  .skill {
    grid-template-columns: minmax(70px, 1fr) 1.4fr auto;
    gap: 9px;
    font-size: 0.72rem;
  }

  .contact-list li {
    justify-content: flex-start;
    gap: 4px 12px;
  }

  .win-dots {
    display: none;
  }

  .counter {
    letter-spacing: 0.1em;
  }
}

/* ============================================================
   MOVIMENTO REDUZIDO
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .marquee-track {
    animation: none !important;
  }
}
