@charset "UTF-8";
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  overflow: hidden;
  background-color: #1a1a1a;
  color: #ffffff;
}

/* ... (O bloco .main-container e .section-slide continua igual) ... */
.main-container {
  height: 100vh;
  height: 100dvh;
  width: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}
.main-container::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

.section-slide {
  height: 100vh;
  height: 100dvh;
  width: 100%;
  scroll-snap-align: start;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Temas das Seções (Atualizados) */
.bg-dark-theme {
  background-color: #1a1a1a;
  color: #ffffff;
}
.bg-dark-theme h1, .bg-dark-theme h2, .bg-dark-theme h3 {
  color: #ffffff;
}

.bg-light-theme {
  background-color: #ffffff;
  color: #1a1a1a;
}
.bg-light-theme h2, .bg-light-theme h3, .bg-light-theme h5, .bg-light-theme .h4 {
  color: #c4303e;
  font-weight: 700;
}

/* =========================================
   10. NAVEGAÇÃO CÁPSULA & ANIMAÇÕES (NOVO)
   ========================================= */
/* Animação Flutuante do Ícone Tropical na Capa */
@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(8deg);
  }
}
/* Estilos da Nova Navegação (Vidro Fosco) */
.floating-nav-container {
  position: fixed;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  background: rgba(20, 20, 20, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 12px;
  border-radius: 50px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.nav-track {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.nav-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-indicator:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: scale(1.3);
}

.nav-indicator.active {
  height: 35px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ff7043 0%, #c4303e 100%);
  box-shadow: 0 0 15px rgba(196, 48, 62, 0.6);
  transform: scale(1.1);
}

/* Esconde no celular para não atrapalhar a leitura */
@media (max-width: 768px) {
  .floating-nav-container {
    display: none;
  }
}
.timelapse-journey {
  background: linear-gradient(180deg, #170800 0%, #0a0a0a 100%);
  position: relative;
}
.timelapse-journey::before {
  content: "";
  position: absolute;
  top: 55%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 112, 67, 0.3) 0, rgba(255, 112, 67, 0.3) 10px, transparent 10px, transparent 20px);
  z-index: 1;
}
@media (max-width: 992px) {
  .timelapse-journey::before {
    display: none;
  }
}

.travel-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  z-index: 2;
  overflow: hidden;
}
.travel-card:hover {
  transform: translateY(-15px);
  background: rgba(255, 255, 255, 0.07);
  border-color: #ff7043;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 112, 67, 0.2);
}
.travel-card:hover .card-icon-wrap {
  background: #c4303e;
  color: white;
  transform: scale(1.1) rotate(10deg);
}
.travel-card:hover .travel-badge {
  background: #ff7043 !important;
  color: white !important;
}

.card-icon-wrap {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ff7043;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.travel-badge {
  font-size: 0.7rem;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #aaa !important;
  transition: all 0.3s;
}

.journey-number {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  font-family: "Montserrat", sans-serif;
}

/* DOSSIÊ CONFIDENCIAL (Substitui o antigo logbook-panel) */
.dossier-panel {
  background: linear-gradient(135deg, rgba(20, 20, 25, 0.9) 0%, rgba(5, 5, 8, 0.95) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 3px solid #ff7043;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 0 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  position: relative;
  /* Textura de Grid de Radar / Mapa */
}
.dossier-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

/* TICKET DE EMBARQUE (Header da Missão) */
.boarding-pass-badge {
  background: repeating-linear-gradient(45deg, rgba(196, 48, 62, 0.1), rgba(196, 48, 62, 0.1) 10px, transparent 10px, transparent 20px);
  color: #fff;
  border: 1px solid rgba(196, 48, 62, 0.5);
  padding: 6px 20px;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  font-weight: 800;
  letter-spacing: 2px;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(196, 48, 62, 0.2);
}

/* EVIDÊNCIA CLASSIFICADA (Imagem Principal) */
.evidence-main {
  position: relative;
  height: 380px;
  border-radius: 8px;
  background: #000;
  cursor: pointer;
  border: 5px solid #eee; /* Borda estilo Polaroid/Foto Impressa */
  border-bottom-width: 25px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: rotate(-2deg); /* Jogado na mesa */
}
.evidence-main:hover {
  transform: rotate(0deg) scale(1.03);
  border-color: #fff;
}
.evidence-main:hover .evidence-img {
  filter: grayscale(0%) contrast(1.1);
}
.evidence-main:hover .top-secret-stamp {
  opacity: 1;
  transform: scale(1) rotate(-15deg);
}
.evidence-main .evidence-img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
  transition: all 0.5s ease;
  filter: grayscale(30%) contrast(1.2) sepia(20%);
}
.evidence-main {
  /* Carimbo Top Secret Oculto */
}
.evidence-main .top-secret-stamp {
  position: absolute;
  bottom: -15px;
  right: 10px;
  color: #c4303e;
  border: 3px solid #c4303e;
  padding: 2px 10px;
  font-family: "Courier New", Courier, monospace;
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: 2px;
  opacity: 0.7;
  transform: scale(0.9) rotate(-15deg);
  transition: all 0.3s ease;
  pointer-events: none;
}
.evidence-main {
  /* Fita Adesiva (Masking Tape Realista) */
}
.evidence-main .evidence-tape {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%) rotate(2deg);
  width: 140px;
  height: 35px;
  background: rgba(244, 240, 220, 0.6); /* Cor de fita crepe */
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 5;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* VÍDEOS SECUNDÁRIOS - AGORA USADO PARA FOTOS */
.video-evidence-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap; /* Permite quebrar linha se tiver muitas fotos */
  width: 100%;
}
.video-evidence-grid .video-tape {
  flex: 1;
  min-width: 70px; /* Tamanho mínimo para não amassar */
  max-width: 120px; /* Impede que fiquem gigantes se houver poucas fotos */
  height: 80px;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
  border: 2px solid #222;
  cursor: pointer;
}
.video-evidence-grid .video-tape img, .video-evidence-grid .video-tape video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: all 0.3s;
  opacity: 0.6;
  filter: contrast(1.2);
  display: block;
}
.video-evidence-grid .video-tape .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  pointer-events: none;
  transition: all 0.3s;
}
.video-evidence-grid .video-tape:hover {
  border-color: #ff7043;
  box-shadow: 0 0 15px rgba(255, 112, 67, 0.4);
}
.video-evidence-grid .video-tape:hover img, .video-evidence-grid .video-tape:hover video {
  opacity: 1;
}
.video-evidence-grid .video-tape:hover .play-overlay {
  transform: scale(1.3);
  color: #ff7043;
  text-shadow: 0 0 10px #ff7043;
}

/* MÁGICA: TIRA DE FILME 35mm - AGORA USADO PARA VÍDEOS */
.film-strip {
  display: flex;
  background: #111;
  padding: 20px 10px;
  border-radius: 6px;
  gap: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
  position: relative;
  width: 60%; /* Trava a largura máxima */
}
.film-strip::before, .film-strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 10px;
  background-image: radial-gradient(circle, #050505 4px, transparent 4.5px);
  background-size: 20px 15px;
  background-position: center;
  z-index: 5;
}
.film-strip::before {
  top: 3px;
}
.film-strip::after {
  bottom: 3px;
}
.film-strip .film-frame {
  flex: 1;
  min-width: 0; /* CORREÇÃO CRÍTICA: Impede o vídeo de estourar o Flexbox */
  max-width: 110px; /* Limita o tamanho máximo do quadrado do vídeo */
  aspect-ratio: 1;
  background: #000;
  border: 1px solid #333;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}
.film-strip .film-frame img, .film-strip .film-frame video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.4s;
  opacity: 0.7;
  filter: sepia(30%);
  display: block;
}
.film-strip .film-frame:hover {
  transform: scale(1.1);
  z-index: 10;
  border-color: #ff7043;
  box-shadow: 0 0 20px rgba(255, 112, 67, 0.5);
}
.film-strip .film-frame:hover img, .film-strip .film-frame:hover video {
  transform: scale(1.1);
  opacity: 1;
  filter: sepia(0%);
}
.film-strip .film-frame.more-frames {
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff7043;
  font-weight: bold;
  font-size: 1.2rem;
}
.film-strip .film-frame.more-frames:hover {
  background: #ff7043;
  color: #000;
}

/* CONTAINER DO LABORATÓRIO (Dark Version) */
.genetics-urban-panel {
  background: linear-gradient(135deg, #050505 0%, #0a0a0a 100%);
  border-radius: 40px;
  border: 1px solid rgba(196, 48, 62, 0.2);
  position: relative;
  padding: 4rem;
  overflow: hidden;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.9), 0 40px 80px rgba(0, 0, 0, 0.8);
  /* Grade de Análise Técnica */
}
.genetics-urban-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(196, 48, 62, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(196, 48, 62, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* COMPOSIÇÃO DE LÂMINAS VERTICAIS (Portrait) */
.specimen-composition {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  height: 500px;
  position: relative;
}
.specimen-composition .specimen-card {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px;
  border-radius: 4px;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  cursor: pointer;
  position: relative;
  width: 180px; /* Largura fixa para manter o formato em pé */
  height: 320px; /* Altura maior para o modo retrato */
}
.specimen-composition .specimen-card img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  filter: saturate(0.5) contrast(1.2);
  transition: all 0.5s ease;
}
.specimen-composition .specimen-card {
  /* Linha de Scanner Animada */
}
.specimen-composition .specimen-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #c4303e;
  box-shadow: 0 0 15px #c4303e;
  opacity: 0;
  z-index: 5;
}
.specimen-composition .specimen-card .specimen-id {
  position: absolute;
  top: -15px;
  left: 10px;
  background: #000;
  color: #c4303e;
  font-family: "Consolas", monospace;
  font-size: 0.6rem;
  padding: 2px 8px;
  border: 1px solid #c4303e;
}
.specimen-composition .specimen-card:hover {
  transform: scale(1.1) translateY(-20px);
  border-color: #c4303e;
  z-index: 10;
  box-shadow: 0 0 30px rgba(196, 48, 62, 0.3);
}
.specimen-composition .specimen-card:hover img {
  filter: saturate(1.1) contrast(1);
}
.specimen-composition .specimen-card:hover::after {
  animation: scan 2s linear infinite;
  opacity: 1;
}
.specimen-composition .specimen-card {
  /* Efeito de empilhamento vertical desalinhado */
}
.specimen-composition .specimen-card:nth-child(1) {
  transform: rotate(-5deg) translateY(20px);
}
.specimen-composition .specimen-card:nth-child(2) {
  transform: rotate(2deg) translateY(-20px);
}
.specimen-composition .specimen-card:nth-child(3) {
  transform: rotate(-3deg) translateY(40px);
}

/* ANIMAÇÃO DE SCANNER */
@keyframes scan {
  0% {
    top: 0;
  }
  100% {
    top: 100%;
  }
}
/* DNA E GRÁFICOS DE FUNDO */
.lab-overlay-icon {
  position: absolute;
  font-size: 15rem;
  color: #c4303e;
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
}
.lab-overlay-icon.dna {
  top: 10%;
  right: -5%;
  transform: rotate(15deg);
}
.lab-overlay-icon.atom {
  bottom: -5%;
  left: 5%;
}

/* CORES LOCAIS CYBER-TROPICAL */
/* CONTAINER PRINCIPAL DO DIA 3 */
.cyber-tropical-wrapper {
  position: relative;
  z-index: 2;
}

/* CARTÃO CREDENCIAL (ID BADGE) */
.cyber-badge-card {
  background: #0a0a0c;
  border: 1px solid rgba(255, 112, 67, 0.3);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(196, 48, 62, 0.15) inset;
  transition: all 0.4s ease;
  /* Efeito de Scanline e Matriz */
}
.cyber-badge-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15) 1px, transparent 1px, transparent 2px);
  pointer-events: none;
  z-index: 5;
}
.cyber-badge-card .hero-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000;
}
.cyber-badge-card .hero-bg-wrapper img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0.4;
  filter: contrast(1.2) saturate(0.8) sepia(0.5) hue-rotate(-15deg);
  transition: all 0.5s ease;
}
.cyber-badge-card .badge-content {
  position: relative;
  z-index: 10;
  padding: 4rem 2rem;
  background: radial-gradient(circle at center, rgba(10, 10, 12, 0.4) 0%, rgba(10, 10, 12, 0.9) 100%);
  min-height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.cyber-badge-card:hover {
  border-color: #ff7043;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 112, 67, 0.3) inset;
}
.cyber-badge-card:hover .hero-bg-wrapper img {
  opacity: 0.6;
  transform: scale(1.05);
  filter: contrast(1.1) saturate(1.2);
}

/* TERMINAL BRIEFING */
.tropical-terminal-window {
  background: #0d0d0d;
  border: 1px solid #333;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  margin-top: -30px; /* Sobrepõe levemente o card principal */
  position: relative;
  z-index: 20;
}
.tropical-terminal-window .terminal-header {
  background: #1a1a1a;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #333;
}
.tropical-terminal-window .terminal-header .mac-btns {
  display: flex;
  gap: 8px;
}
.tropical-terminal-window .terminal-header .mac-btns span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.tropical-terminal-window .terminal-header .mac-btns span.close {
  background: #ff5f56;
}
.tropical-terminal-window .terminal-header .mac-btns span.min {
  background: #ffbd2e;
}
.tropical-terminal-window .terminal-header .mac-btns span.max {
  background: #27c93f;
}
.tropical-terminal-window .terminal-header .terminal-title {
  flex-grow: 1;
  text-align: center;
  color: #888;
  font-family: "Consolas", monospace;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-right: 44px; /* Compensa os botões para centralizar */
}
.tropical-terminal-window .terminal-body {
  padding: 25px;
  font-family: "Consolas", monospace;
  color: #00ff41;
  font-size: 1rem;
  line-height: 1.7;
}
.tropical-terminal-window .terminal-body .prompt-user {
  color: #ff7043;
  font-weight: bold;
}
.tropical-terminal-window .terminal-body .prompt-path {
  color: #3b8eea;
  font-weight: bold;
}
.tropical-terminal-window .terminal-body .prompt-char {
  color: #fff;
  margin-right: 10px;
}
.tropical-terminal-window .terminal-body .typewriter-text {
  color: #ccc;
  display: inline;
}

/* BOTÕES HACKER */
.btn-cyber-green {
  background: rgba(0, 255, 65, 0.1);
  color: #00ff41;
  border: 1px solid #00ff41;
}
.btn-cyber-green:hover {
  background: #00ff41;
  color: #000;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.6);
}

.btn-cyber-orange {
  background: rgba(255, 112, 67, 0.1);
  color: #ff7043;
  border: 1px solid #ff7043;
}
.btn-cyber-orange:hover {
  background: #ff7043;
  color: #000;
  box-shadow: 0 0 20px rgba(255, 112, 67, 0.6);
}

.btn-cyber-red {
  background: rgba(196, 48, 62, 0.2);
  color: #fff;
  border: 1px solid #c4303e;
}
.btn-cyber-red:hover {
  background: #c4303e;
  color: #fff;
  box-shadow: 0 0 20px rgba(196, 48, 62, 0.6);
}

/* --- ANIMAÇÃO DE ÍCONES HACKER FLUTUANTES (UPGRADE MATRIX) --- */
.cyber-floating-icons {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.cyber-floating-icons i {
  position: absolute;
  bottom: -20%; /* Começa bem abaixo da tela para não pipocar de repente */
  left: var(--pos);
  font-size: var(--size); /* Agora usa a variável de tamanho do Vue */
  color: rgba(0, 255, 65, 0.04); /* Opacidade sutil para não poluir a leitura */
  text-shadow: 0 0 10px rgba(196, 48, 62, 0.1);
  animation: cyberFloat var(--dur) linear infinite;
  animation-delay: var(--delay);
  /* O ícone do Ruby continua com destaque avermelhado */
}
.cyber-floating-icons i.fa-gem {
  color: rgba(196, 48, 62, 0.05);
  text-shadow: 0 0 15px rgba(196, 48, 62, 0.2);
}

@keyframes cyberFloat {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1; /* Aparece logo após entrar na tela */
  }
  90% {
    opacity: 1; /* Começa a sumir no topo */
  }
  100% {
    transform: translateY(-130vh) rotate(360deg);
    opacity: 0;
  }
}
/* Ajuste fino nas cores do Terminal */
.tropical-terminal-window .terminal-body .prompt-user {
  color: #ff7043;
}
.tropical-terminal-window .terminal-body { /* Laranja Tropical */ }
.tropical-terminal-window .terminal-body .prompt-path {
  color: #00ff41;
}
.tropical-terminal-window .terminal-body { /* Verde Terminal */ }
.tropical-terminal-window .terminal-body .typewriter-text {
  color: #d4d4d4;
}

/* --- EFEITOS CYBERPUNK NIGHTLIFE (DIA 5) --- */
/* Bolhas Neon de Fundo */
.neon-orb {
  position: absolute;
  width: 350px;
  height: 350px;
  filter: blur(120px);
  opacity: 0.25;
  animation: pulseOrb 8s infinite alternate ease-in-out;
}

@keyframes pulseOrb {
  0% {
    transform: scale(1);
    opacity: 0.2;
  }
  100% {
    transform: scale(1.3);
    opacity: 0.35;
  }
}
/* Título Neon */
.neon-title {
  text-shadow: 0 0 10px rgba(255, 0, 127, 0.5), 0 0 20px rgba(255, 0, 127, 0.3), 0 0 40px rgba(112, 0, 255, 0.3);
}

/* Botão Estilo Synthwave */
.party-btn {
  background: linear-gradient(45deg, #ff007f, #7000ff);
  border: none;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(255, 0, 127, 0.3);
}
.party-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 30px rgba(112, 0, 255, 0.5);
  color: white;
}

/* Cards Interativos */
.party-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0a0c;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.party-card .party-icon {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}
.party-card .party-link {
  color: #ffb3d9;
  transition: color 0.3s ease;
}
.party-card:hover {
  transform: translateY(-12px);
  border-color: #ff007f;
  box-shadow: 0 20px 40px rgba(255, 0, 127, 0.25);
  /* A foto de fundo ganha mais destaque */
}
.party-card:hover .bg-image {
  opacity: 0.7 !important;
  filter: saturate(1.8) contrast(1.3) !important;
}
.party-card:hover .party-icon {
  background: rgba(255, 0, 127, 0.2);
  border-color: #ff007f;
  color: #ffb3d9;
  box-shadow: 0 0 20px rgba(255, 0, 127, 0.5);
}
.party-card:hover .party-link {
  color: #fff;
  text-shadow: 0 0 10px #ff007f;
}

/* Ajuste do tema claro padrão para algo menos agressivo */
.bg-light-theme {
  background-color: #f8f9fa !important;
  color: #333;
}

/* Container de Decorações de Fundo */
.bg-decorations {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.04;
}

.decor-icon {
  position: absolute;
  color: currentColor;
}

/* Ícones de Genética/Laboratório */
.dna-1 {
  top: 10%;
  left: 5%;
  font-size: 25rem;
  transform: rotate(15deg);
}

.dna-2 {
  bottom: -5%;
  right: 10%;
  font-size: 20rem;
  transform: rotate(-20deg);
}

.lab-1 {
  top: 40%;
  right: -5%;
  font-size: 15rem;
  transform: rotate(10deg);
}

.lab-2 {
  bottom: 20%;
  left: -2%;
  font-size: 12rem;
  transform: rotate(-10deg);
}

/* Animação suave para as marcas d'água */
.bg-decorations .decor-icon {
  animation: floatSlow 20s infinite alternate ease-in-out;
}

@keyframes floatSlow {
  from {
    transform: translateY(0) rotate(var(--r, 0deg));
  }
  to {
    transform: translateY(-30px) rotate(calc(var(--r, 0deg) + 10deg));
  }
}
/* BACKDROP (Fundo atrás do modal) */
.story-modal-backdrop {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* CARD PRINCIPAL DO MODAL */
.story-modal-card {
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 3px solid #c4303e;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8), 0 0 20px rgba(196, 48, 62, 0.1);
  border-radius: 24px;
  color: #e0e0e0;
}

/* HEADER DO MODAL */
.story-header {
  background: rgba(20, 20, 20, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 2.5rem;
}
.story-header h3 {
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(90deg, #fff 0%, #aaa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.story-header small {
  color: #ff7043;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 0.7rem;
}

/* GRID DE GALERIA (Estilo Arquivo) */
.bg-dark-grid {
  background-image: radial-gradient(rgba(196, 48, 62, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}

.gallery-grid-item {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}
.gallery-grid-item:hover {
  border-color: #ff7043;
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* SIDEBAR (Apenas para Achievements) */
.modal-sidebar {
  background: #050505 !important;
  border-right: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.modal-sidebar .hover-bg-dark:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* MAPAS E VÍDEOS (HUD Style) */
.map-card-dark, .video-vertical-container {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

.gallery-grid-item video {
  background: #000;
  /* Faz o vídeo mostrar o primeiro frame como thumbnail */
  -o-object-fit: cover;
     object-fit: cover;
}

/* Adicione um ícone de play pequeno no canto para vídeos na galeria */
.gallery-grid-item {
  position: relative;
}
.gallery-grid-item::after {
  content: "\f04b"; /* Ícone de play do FontAwesome */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(196, 48, 62, 0.8);
  color: white;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  opacity: 0;
  transition: opacity 0.3s;
}

/* Só mostra o ícone se o elemento contiver um vídeo (seletor avançado) */
.gallery-grid-item:has(video)::after {
  opacity: 1;
}

/* ANIMAÇÃO DE PULSO NOS LOGOS (Agora usando filter: drop-shadow) */
@keyframes logosGlow {
  0% {
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 10px rgba(196, 48, 62, 0.4));
  }
  100% {
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 30px rgba(255, 112, 67, 0.2));
  }
}
.logos-wrapper {
  position: relative;
  width: 200px;
  height: 160px;
  margin: 0 auto;
}
.logos-wrapper .base-logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 160px;
  height: 160px;
  padding: 10px;
  animation: logosGlow 6s infinite alternate ease-in-out;
  z-index: 2;
  -o-object-fit: contain;
     object-fit: contain;
}
.logos-wrapper .overlay-logo {
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 80px;
  height: 80px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  padding: 5px;
  border: 2px solid #ff7043;
  border-radius: 50%;
  z-index: 5;
  box-shadow: 0 5px 15px rgba(255, 112, 67, 0.5);
}

/* GRUPOS DE CONTATO (Nós de Sistema) */
.contacts-panel {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
}

.person-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  width: 100%;
}
.person-node:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 112, 67, 0.2);
}
.person-node {
  /* O nome dele fica em destaque sutil, mas os links são comuns */
}
.person-node.developer-node {
  border-color: rgba(196, 48, 62, 0.15);
}
.person-node.developer-node .node-name {
  color: #fff;
  font-weight: 800;
}

.node-role {
  font-size: 0.65rem;
  color: #888;
  letter-spacing: 1px;
}

.node-name {
  font-size: 0.9rem;
  color: #aaa;
  font-weight: 600;
}

/* LINKS COMPACTOS E UNIFORMES */
.compact-link {
  width: 35px;
  height: 35px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1rem;
  text-decoration: none;
}
.compact-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  border-color: #fff;
}
.compact-link.linkedin:hover {
  color: #fff;
  background: #0a66c2;
  border-color: #0a66c2;
}
.compact-link.github:hover {
  color: #fff;
  background: #111;
  border-color: #111;
}
.compact-link.instagram:hover {
  color: #fff;
  background: #c13584;
  border-color: #c13584;
}

/* =========================================
   1. ANIMAÇÕES GLOBAIS
   ========================================= */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes pulse {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
/* Classes utilitárias de animação */
.fade-in-text {
  animation: fadeIn 0.8s ease-in-out;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-blink {
  animation: blink 1s step-end infinite;
}

.hover-scale {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hover-scale:hover {
  transform: scale(1.05);
}

.backdrop-blur {
  backdrop-filter: blur(5px);
  background-color: rgba(0, 0, 0, 0.4);
}

/* =========================================
   2. COMPONENTES GLOBAIS
   ========================================= */
.floating-nav {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.floating-nav .nav-dot {
  width: 12px;
  height: 12px;
  background-color: rgba(128, 128, 128, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}
.floating-nav .nav-dot:hover {
  transform: scale(1.2);
}
.floating-nav .nav-dot.active {
  background-color: #c4303e;
  box-shadow: 0 0 10px #c4303e;
  transform: scale(1.4);
}

.profile-img-container {
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #c4303e;
  width: 250px;
  height: 250px;
  margin: 0 auto;
}
.profile-img-container img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.custom-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
}

.bg-light-theme .custom-card {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.bg-gradient-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

blockquote {
  font-style: italic;
  color: #ccc;
  background-color: rgba(255, 255, 255, 0.05);
}

.custom-scroll, .story-body {
  scrollbar-width: thin;
  scrollbar-color: #c4303e #222;
}
.custom-scroll::-webkit-scrollbar, .story-body::-webkit-scrollbar {
  width: 10px;
  height: 6px;
}
.custom-scroll::-webkit-scrollbar-track, .story-body::-webkit-scrollbar-track {
  background: #121212;
}
.custom-scroll::-webkit-scrollbar-thumb, .story-body::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 5px;
  border: 2px solid #121212;
}
.custom-scroll::-webkit-scrollbar-thumb:hover, .story-body::-webkit-scrollbar-thumb:hover {
  background: #c4303e;
}

/* =========================================
   3. MODAIS E LIGHTBOX
   ========================================= */
.story-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  z-index: 1055;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  animation: fadeIn 0.3s ease-out;
}

.story-modal-card {
  background: #1e1e1e;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #333;
  animation: slideUp 0.4s ease-out;
}
.story-modal-card .text-muted, .story-modal-card small, .story-modal-card .small {
  color: rgba(255, 255, 255, 0.6) !important;
}

.story-header {
  background: #121212;
  padding: 1.5rem 2rem;
  border-bottom: 2px solid #c4303e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}
.story-header h3 {
  color: #c4303e;
  font-weight: 800;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin: 0;
}
.story-header small {
  font-weight: 600;
  display: block;
  margin-top: 5px;
}

.story-body {
  padding: 2.5rem;
  overflow-y: auto;
  color: #e0e0e0;
}

.story-text {
  font-size: 1.15rem;
  line-height: 1.8;
}
.story-text p {
  margin-bottom: 1.5rem;
}
.story-text blockquote {
  background: rgba(196, 48, 62, 0.1);
  border-left: 4px solid #c4303e;
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 0 8px 8px 0;
}

.story-footer {
  background: #121212;
  padding: 1rem;
  text-align: center;
  border-top: 1px solid #333;
}

.btn-close-custom {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.2s, color 0.2s;
}
.btn-close-custom:hover {
  color: #c4303e;
  transform: rotate(90deg);
}

.custom-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.custom-lightbox img {
  cursor: default;
  animation: zoomIn 0.3s ease;
}
.custom-lightbox .btn-close-lightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 1120;
}
.custom-lightbox .btn-close-lightbox:hover {
  color: #c4303e;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 1110;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-nav:hover {
  background: #c4303e;
  transform: translateY(-50%) scale(1.1);
}
.lightbox-nav.prev {
  left: 30px;
}
.lightbox-nav.next {
  right: 30px;
}
@media (max-width: 768px) {
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .lightbox-nav.prev {
    left: 10px;
  }
  .lightbox-nav.next {
    right: 10px;
  }
}

.lightbox-counter-top {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 2px;
  padding: 8px 25px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1120;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
@media (max-width: 576px) {
  .lightbox-counter-top {
    top: 20px;
    font-size: 0.9rem;
    padding: 5px 15px;
  }
}

/* =========================================
   4. GALERIA & MIDIAS
   ========================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
  padding: 10px;
}

.gallery-grid-item {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s;
  background: #000;
}
.gallery-grid-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s;
}
.gallery-grid-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(196, 48, 62, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-grid-item .overlay i {
  color: white;
  font-size: 2rem;
  transform: scale(0);
  transition: transform 0.3s;
}
.gallery-grid-item:hover {
  border-color: #c4303e;
}
.gallery-grid-item:hover img {
  transform: scale(1.1);
}
.gallery-grid-item:hover .overlay {
  opacity: 1;
}
.gallery-grid-item:hover .overlay i {
  transform: scale(1);
}

.interactive-gallery .gallery-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 2px solid transparent;
  position: relative;
}
.interactive-gallery .gallery-thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.interactive-gallery .gallery-thumb:hover {
  width: 100px;
  transform: scale(1.1);
  border-color: #c4303e;
  z-index: 10;
}

.media-link-card {
  background-color: #252525;
  border: 1px solid #333;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.media-link-card.border-danger {
  border-color: rgba(196, 48, 62, 0.5) !important;
  background: linear-gradient(45deg, #252525, rgba(196, 48, 62, 0.1));
}
.media-link-card:hover {
  transform: translateY(-3px);
  background-color: #2a2a2a;
  border-color: #c4303e;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
.media-link-card:hover .icon-box {
  transform: scale(1.1);
}
.media-link-card:hover .arrow-icon {
  color: #fff !important;
  transform: translateX(5px);
}
.media-link-card .icon-box, .media-link-card .arrow-icon {
  transition: transform 0.3s, color 0.3s;
}
.media-link-card .arrow-icon {
  font-size: 1.2rem;
}

.map-card-dark {
  background: #252525;
  border: 1px solid #333;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
}
.map-card-dark:hover {
  transform: translateY(-5px);
  border-color: #c4303e;
}
.map-card-dark .card-body {
  background: #252525 !important;
  color: #ccc;
  border-top: 1px solid #333;
}

/* =========================================
   5. SEÇÃO GAMER (EVOLUTION)
   ========================================= */
.gamer-hero-card {
  width: 100%;
  height: 450px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  cursor: pointer;
}
.gamer-hero-card .hero-bg-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}
.gamer-hero-card .hero-bg-wrapper img {
  transition: transform 0.6s ease, opacity 0.3s;
}
.gamer-hero-card:hover {
  border-color: rgba(196, 48, 62, 0.6);
  box-shadow: 0 0 30px rgba(196, 48, 62, 0.15);
}
.gamer-hero-card:hover .hero-bg-wrapper img {
  transform: scale(1.05);
  opacity: 0.4;
}
.gamer-hero-card .bg-gradient-dark {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.gamer-hero-card {
  /* Responsividade Interna */
}
@media (max-height: 700px) {
  .gamer-hero-card {
    height: 350px;
  }
}
@media (max-width: 768px) {
  .gamer-hero-card {
    height: 400px;
  }
}

.timeline-item:last-child {
  border-left-color: transparent !important;
}

/* --- ESTILO CYBERPUNK HUD (Briefing) --- */
/* Definindo cores locais para fácil manutenção */
.mission-briefing-container {
  max-width: 800px;
  margin-top: 2rem;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 51, 51, 0.3);
  border-left: 4px solid #ff3333;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 51, 51, 0.1) inset;
  transition: all 0.3s ease;
}
.mission-briefing-container:hover {
  border-color: rgba(255, 51, 51, 0.8);
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 51, 51, 0.2) inset;
  transform: translateY(-3px);
}
.mission-briefing-container .mission-briefing-header {
  background: linear-gradient(90deg, rgba(255, 51, 51, 0.15), transparent);
  padding: 1rem 1.5rem;
  color: #ff3333;
  border-bottom: 1px solid rgba(255, 51, 51, 0.2);
  display: flex;
  align-items: center;
  text-shadow: 0 0 8px rgba(255, 51, 51, 0.6);
}
.mission-briefing-container .mission-briefing-body {
  padding: 1.5rem;
}
.mission-briefing-container .mission-briefing-body p {
  font-family: "Consolas", "Courier New", monospace;
  color: #e0e0e0;
  font-size: 1rem;
  line-height: 1.7;
  text-align: left;
}
.mission-briefing-container .mission-briefing-footer {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  color: rgba(255, 51, 51, 0.7);
  text-align: right;
  font-family: monospace;
  text-transform: uppercase;
  border-top: 1px solid rgba(255, 51, 51, 0.1);
}
.mission-briefing-container .mission-briefing-footer .tech-dots {
  letter-spacing: 2px;
  margin: 0 5px;
}
@media (max-width: 768px) {
  .mission-briefing-container {
    text-align: left !important;
    margin-top: 1rem;
  }
  .mission-briefing-container .mission-briefing-body {
    padding: 1rem;
  }
}

/* --- SEÇÃO TIMELAPSE (Overview) --- */
/* Fundo Gradiente Suave (Cinza claro para diferenciar do branco dos cards) */
.bg-gradient-soft {
  background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Card da Linha do Tempo */
.timeline-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05); /* Sombra suave inicial */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  overflow: hidden;
  position: relative;
  /* Efeito de Hover: Levanta e brilha */
}
.timeline-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(196, 48, 62, 0.15); /* Sombra avermelhada suave */
}
.timeline-card:hover .icon-circle {
  background-color: #c4303e;
  color: white;
  transform: scale(1.1) rotate(5deg);
}
.timeline-card:hover .step-number {
  color: rgba(196, 48, 62, 0.1); /* Número de fundo fica vermelho claro */
}
.timeline-card:hover .action-text {
  letter-spacing: 1px; /* Expande o texto "Ver Detalhes" */
}
.timeline-card:hover .transition-icon {
  transform: translateX(5px);
}

/* Círculo do Ícone */
.icon-circle {
  width: 80px;
  height: 80px;
  background-color: #f8f9fa; /* Cinza bem claro */
  color: #c4303e; /* Ícone Vermelho */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all 0.3s ease;
}

/* Número Gigante de Fundo (Ex: 01, 02) */
.step-number {
  position: absolute;
  top: -10px;
  right: 10px;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.03); /* Quase invisível */
  font-family: "Montserrat", sans-serif;
  transition: color 0.3s ease;
  z-index: 0;
  pointer-events: none;
}

/* Texto de Ação (Ver Detalhes) */
.action-text {
  transition: all 0.3s ease;
}

.transition-icon {
  transition: transform 0.3s ease;
}

/* --- LAYOUT STREAMING (Inovações Visuais) --- */
.streaming-card-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
  min-height: 500px; /* Garante altura */
}

/* Background Imersivo */
.streaming-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.streaming-bg .bg-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  /* Efeito de Zoom Lento */
  animation: subtleZoom 20s infinite alternate;
}
.streaming-bg .bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Gradiente para garantir leitura do texto na esquerda */
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.8) 40%, rgba(0, 0, 0, 0.2) 100%);
}

@keyframes subtleZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}
.text-shadow {
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}

/* Pilha de Posteres Flutuantes (Direita do Card) */
.poster-stack {
  position: relative;
  width: 200px;
  height: 300px;
}

.poster-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.2);
  /* Váriáveis CSS para rotação dinâmica */
  transform: rotate(var(--r)) translateX(calc(var(--d) * 10px));
  z-index: calc(10 - var(--d));
  transition: transform 0.5s ease;
  /* Efeito ao passar o mouse no container pai */
}
.streaming-card-wrapper:hover .poster-card {
  transform: rotate(0deg) translateX(calc(var(--d) * 100px)); /* Abrem como um leque */
}

/* --- MODAL STREAMING ITENS --- */
/* Poster no Grid */
.poster-item {
  transition: transform 0.3s;
  background: #000;
}
.poster-item:hover {
  transform: scale(1.05);
  z-index: 10;
  box-shadow: 0 10px 20px rgba(196, 48, 62, 0.4); /* Sombra vermelha */
}
.poster-item:hover .poster-overlay {
  opacity: 1;
}
.poster-item:hover .transition-img {
  opacity: 0.4;
}

.poster-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

/* Clipes Cards */
.clip-card {
  display: block;
  transition: transform 0.3s;
}
.clip-card:hover {
  transform: translateY(-5px);
}
.clip-card:hover .text-white-50 {
  color: white !important;
}
.clip-card:hover .opacity-75 {
  opacity: 1 !important;
  transform: scale(1.05);
  transition: all 0.5s;
}

.drop-shadow {
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.8));
}

/* Tags de Gênero Musical */
.genre-tag {
  transition: all 0.3s;
}
.genre-tag:hover {
  transform: translateY(-3px) scale(1.05);
  filter: brightness(1.2); /* Fica mais brilhante */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* --- Music Genre Tags & Tooltips --- */
.genre-tag {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-width: 1px;
  border-style: solid;
  /* Para o tooltip funcionar corretamente */
  overflow: visible !important;
}
.genre-tag:hover {
  transform: translateY(-2px);
  filter: brightness(1.3); /* Deixa a cor mais viva no hover */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  z-index: 100; /* Garante que fique por cima dos outros */
  /* Mostra o Tooltip */
}
.genre-tag:hover .music-tooltip {
  opacity: 1;
  transform: translate(-50%, -10px); /* Sobe um pouquinho */
  pointer-events: auto;
}

/* O Tooltip Flutuante */
.music-tooltip {
  position: absolute;
  bottom: 100%; /* Fica logo acima do botão */
  left: 50%;
  transform: translate(-50%, 0); /* Centraliza horizontalmente */
  width: -moz-max-content;
  width: max-content; /* Largura se adapta ao texto */
  max-width: 200px; /* Mas não exagera */
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0; /* Começa invisível */
  pointer-events: none; /* Não atrapalha o clique se estiver invisível */
  transition: all 0.3s ease;
  text-align: center;
  z-index: 1000;
}

.music-name {
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
}

.music-artist {
  font-size: 0.75rem;
  line-height: 1.2;
}

/* A setinha embaixo do tooltip */
.tooltip-arrow {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(20, 20, 20, 0.95); /* Mesma cor do fundo */
}

/* --- MUSIC PLAYER MODAL (JUKEBOX) --- */
.music-player-modal {
  max-width: 1100px;
  height: 80vh; /* Altura fixa para parecer um app */
  background: #000;
}

.track-item {
  transition: all 0.2s;
  border: 1px solid transparent;
}
.track-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.track-item.active-track {
  background-color: rgba(196, 48, 62, 0.2); /* Fundo vermelho suave */
  border-color: rgba(196, 48, 62, 0.5);
}
.track-item.active-track .text-white-50 {
  color: #ccc !important;
}

.cursor-pointer {
  cursor: pointer;
}

/* Responsividade do Player */
@media (max-width: 992px) {
  .music-player-modal {
    height: 90vh;
    overflow-y: auto;
  }
  .story-body {
    flex-direction: column !important;
  }
  .player-video {
    height: 40vh !important;
    flex-shrink: 0;
  }
  .player-list {
    height: auto !important;
    flex-grow: 1;
    border-left: none !important;
    border-top: 1px solid #333;
  }
}
/* --- Botão "Abrir Playlist" na Lista --- */
.btn-open-playlist {
  text-decoration: none;
  transition: all 0.3s;
  position: relative; /* Para o tooltip funcionar */
}
.btn-open-playlist:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: white !important;
  transform: scale(1.1);
  /* Mostra o tooltip */
}
.btn-open-playlist:hover .custom-tooltip {
  opacity: 1;
  transform: translate(-100%, -50%) translateX(-10px); /* Aparece à esquerda */
  pointer-events: auto;
}

/* Tooltip Genérico (Estilo Popover) */
.custom-tooltip {
  position: absolute;
  top: 50%;
  right: 100%; /* Posiciona à esquerda do botão */
  transform: translate(-100%, -50%) translateX(10px); /* Estado inicial (oculto) */
  background: #111;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 100;
}

/* --- VISUALIZER DO PLAYER (Substitui o Iframe) --- */
.player-visual {
  background-color: #000;
}

.visual-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(20px) brightness(0.4); /* Efeito borrado escuro */
  transform: scale(1.1); /* Remove bordas brancas do blur */
}

.visual-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.album-art {
  width: 250px;
  height: 140px; /* Formato 16:9 thumbnail */
  -o-object-fit: cover;
     object-fit: cover;
  transition: all 0.5s ease;
}

/* Responsividade do Player */
@media (max-width: 992px) {
  .player-visual {
    min-height: 400px;
  }
  .album-art {
    width: 200px;
    height: 112px;
  }
}
/* ... Todo o seu CSS anterior ... */
/* =========================================
   6. LAYOUT NATURE (NOVO)
   ========================================= */
.nature-text-content {
  /* Garante legibilidade no fundo claro */
  color: #1a1a1a;
}

.nature-frame {
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  /* Efeito ao passar o mouse na moldura inteira */
}
.nature-frame:hover {
  transform: rotate(0deg) scale(1.02) !important; /* Endireita a foto */
  z-index: 10;
}
.nature-frame:hover .nature-card-inner {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2) !important;
}
.nature-frame:hover {
  /* Revela o overlay do vídeo */
}
.nature-frame:hover .hover-opacity-100 {
  opacity: 1 !important;
}

.nature-card-inner {
  background-color: #fff; /* Fundo branco da polaroid */
  /* Borda sutil para definir o papel */
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Utilitários para transição suave */
.transition-all {
  transition: all 0.3s ease;
}

.hover-opacity-100:hover {
  opacity: 1 !important;
}

/* Ajuste específico para o Modal quando for Natureza (Background escuro no modal) */
.story-body .border-start.border-success {
  border-color: #28a745 !important; /* Verde Bootstrap para biologia */
}
.story-body .text-success {
  color: #28a745 !important;
}

/* ... (CSS anterior) ... */
/* =========================================
   7. LAYOUT LIFESTYLE (MURAL)
   ========================================= */
.lifestyle-grid-wrapper {
  perspective: 1000px;
  padding: 20px;
}

.lifestyle-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 15px;
  transform: rotateY(-10deg) rotateX(5deg); /* Efeito 3D sutil */
  transition: transform 0.5s ease;
}
.lifestyle-grid:hover {
  transform: rotateY(0deg) rotateX(0deg); /* Endireita no hover */
}

.grid-item {
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  border: 4px solid #fff;
  transition: all 0.3s;
}
.grid-item:hover {
  transform: scale(1.05);
  z-index: 10;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5) !important;
}

/* Distribuição no Grid */
.item-1 {
  grid-row: 1/span 2;
  grid-column: 1;
} /* Foto Grande Esquerda */
.item-2 {
  grid-row: 1;
  grid-column: 2;
}

.item-3 {
  grid-row: 2;
  grid-column: 2;
}

/* Item 4 flutuante sobreposto */
.item-4 {
  position: absolute;
  bottom: -30px;
  right: 20%;
  width: 120px;
  height: 120px;
  border-radius: 50% !important; /* Foto redonda */
  z-index: 5;
  border: 4px solid #c4303e;
}

/* Stickers flutuantes */
.floating-sticker {
  position: absolute;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.3));
}

.sticker-1 {
  top: -20px;
  right: -10px;
  animation-delay: 0s;
}

.sticker-2 {
  bottom: 20px;
  left: -20px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}
/* Ajustes Mobile */
@media (max-width: 768px) {
  .lifestyle-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 300px 150px;
    transform: none;
  }
  .item-1 {
    grid-column: 1;
    grid-row: 1;
  }
  .item-2, .item-3, .item-4 {
    display: none;
  } /* Simplifica no mobile */
}
/* ... CSS Anterior ... */
/* =========================================
   8. LAYOUT ACHIEVEMENTS (JORNADA)
   ========================================= */
/* Scroll Horizontal Customizado */
.custom-scroll-x {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #c4303e #ddd;
}
.custom-scroll-x::-webkit-scrollbar {
  height: 8px;
}
.custom-scroll-x::-webkit-scrollbar-thumb {
  background: #c4303e;
  border-radius: 4px;
}
.custom-scroll-x::-webkit-scrollbar-track {
  background: #eee;
}

.achievement-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.achievement-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}
.achievement-card:hover .card-footer {
  padding-bottom: 10px; /* Efeito visual */
}

/* --- MODAL ACHIEVEMENTS (SIDEBAR LAYOUT) --- */
.modal-layout-sidebar {
  display: flex;
  height: 100%;
  overflow: hidden;
}

/* Menu Lateral (Esquerda) */
.modal-sidebar {
  width: 250px;
  background: #121212;
  border-right: 1px solid #333;
  overflow-y: auto;
  flex-shrink: 0;
}
.modal-sidebar .nav-link {
  color: #888;
  padding: 15px 20px;
  cursor: pointer;
  transition: all 0.2s;
  border-left: 3px solid transparent;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal-sidebar .nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ccc;
}
.modal-sidebar .nav-link.active {
  background: rgba(196, 48, 62, 0.1);
  color: #c4303e;
  border-left-color: #c4303e;
  font-weight: bold;
}
.modal-sidebar {
  /* Esconde em mobile */
}
@media (max-width: 768px) {
  .modal-sidebar {
    display: none;
  }
}

/* Conteúdo Principal (Direita) */
.modal-content-area {
  flex-grow: 1;
  overflow-y: auto;
  padding: 30px;
  scroll-behavior: smooth;
  position: relative;
  background: #1e1e1e;
}

/* Ajuste do botão fechar no modal com sidebar */
.close-btn-absolute {
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 100;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

/* =========================================
   9. SEÇÃO FINAL (FOOTER)
   ========================================= */
/* Foto de Perfil Central */
.profile-final-wrapper {
  width: 180px;
  height: 180px;
  position: relative;
  border-radius: 50%;
  padding: 5px; /* Espaço para o anel */
  background: linear-gradient(145deg, #1a1a1a, #000);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.profile-final-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 4px solid #1a1a1a;
  position: relative;
  z-index: 2;
}

/* Anel Pulsante atrás da foto */
.profile-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #c4303e;
  animation: ripple 2s infinite;
  z-index: 1;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
/* Cards de Redes Sociais */
.social-card {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  min-width: 200px;
  position: relative;
  overflow: hidden;
  /* Ícone Esquerdo */
}
.social-card .icon-box {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-size: 1.2rem;
  color: #fff;
  margin-right: 15px;
  transition: transform 0.3s;
}
.social-card {
  /* Texto */
}
.social-card .text-box {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex-grow: 1;
}
.social-card .text-box .label {
  font-size: 0.75rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.social-card .text-box .value {
  font-size: 0.95rem;
  color: #fff;
  font-weight: 700;
}
.social-card {
  /* Seta/Icone Direito */
}
.social-card .arrow {
  color: rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
}
.social-card {
  /* Hover Effects por Rede Social */
}
.social-card:hover {
  transform: translateY(-5px);
}
.social-card:hover .arrow {
  transform: translateX(5px);
  color: #fff;
}
.social-card:hover .icon-box {
  transform: scale(1.1) rotate(5deg);
}
.social-card {
  /* Cores Específicas no Hover */
}
.social-card.linkedin:hover {
  background: #0077b5;
  border-color: #0077b5;
  box-shadow: 0 10px 20px rgba(0, 119, 181, 0.3);
}
.social-card.github:hover {
  background: #333;
  border-color: #555;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}
.social-card.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: #dc2743;
  box-shadow: 0 10px 20px rgba(220, 39, 67, 0.3);
}
.social-card.portfolio:hover {
  background: #c4303e;
  border-color: #c4303e;
  box-shadow: 0 10px 20px rgba(196, 48, 62, 0.3);
}

/* Responsividade para os Cards */
@media (max-width: 576px) {
  .social-card {
    width: 100%; /* Ocupa largura total no celular */
  }
}
/* --- HERO SECTION STYLES --- */
.profile-hero-container {
  width: 220px;
  height: 220px;
  position: relative;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(145deg, #1a1a1a, #333);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease;
}
.profile-hero-container:hover {
  transform: scale(1.05);
}
.profile-hero-container:hover .glow-ring {
  opacity: 0.8;
}

.profile-hero-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 4px solid #1a1a1a;
  position: relative;
  z-index: 2;
}

/* Anel de Brilho (Glow) */
.glow-ring {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 48, 62, 0.4) 0%, transparent 70%);
  opacity: 0.5;
  z-index: 1;
  animation: spinGlow 10s linear infinite;
}

@keyframes spinGlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}
/* Tipografia de Impacto */
.fw-900 {
  font-weight: 900 !important;
}

.ls-2 {
  letter-spacing: 2px;
}

/* Card Compacto para Achievements */
.mini-card {
  min-height: 160px; /* Altura reduzida para caber na tela */
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
}
.mini-card .icon-box-mini {
  width: 45px;
  height: 45px;
  background: rgba(196, 48, 62, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.mini-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
  border-color: #c4303e !important;
}
.mini-card:hover .icon-box-mini {
  background: #c4303e;
  color: white !important;
}

/* Ajuste para telas menores (notebooks) não precisarem de scroll */
@media (max-height: 800px) {
  .achievement-card.mini-card {
    min-height: 140px;
  }
  .achievement-card.mini-card .card-body {
    padding: 0.5rem !important;
  }
  .achievement-card.mini-card p {
    display: none;
  }
  .achievement-card.mini-card { /* Esconde o resumo em telas baixas para priorizar o título */ }
}
/* Proporção 9:16 para vídeos verticais */
.ratio-9-16 {
  --bs-aspect-ratio: 177.77%; /* (16 / 9) * 100 */
}

/* Garante que o vídeo dentro do container se comporte bem */
.video-vertical {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain; /* Mantém o vídeo inteiro visível sem cortar */
  background-color: #000; /* Fundo preto para preencher sobras se necessário */
}/*# sourceMappingURL=style.css.map */