
/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* FUNDO */
body {
  font-family: Arial, sans-serif;
  color: #e3f2fd;
  min-height: 100vh;
  background-image: url("./img/manel/NewStars.webp");
  background-size: cover;
  background-position: center;
}

/* NAVBAR */
.navbar {
  width: 100%;
  padding: 15px 30px;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  font-weight: bold;
  font-family: monospace;
  letter-spacing: 1px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.agent-text {
  color: #ffffff;
  font-size: 0.9rem;
}

.nav-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;

  box-shadow:
    0 0 6px rgba(255, 255, 255, 0.6);
}

/* NAVBAR precisa ser relative */
.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  overflow: hidden; /* importante para o efeito */
}

/* Linha neon animada */
.nav-neon-line {
  position: absolute;
  bottom: 0; /* fica na parte inferior da navbar */
  left: -100%;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  animation: navNeonMove 3s linear infinite;
}

/* Animação */
@keyframes navNeonMove {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  
  z-index: -1;
}

/* LAYOUT */
.layout {
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 30px;
}

/* COLUNA ESQUERDA */
.left {
  position: sticky;
  top: 40px;
  height: fit-content;
}

/* COLUNA DIREITA */
.right {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* FRIENDS */
.friends {
  margin-top: 25px;
}

.friends-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 15px;
}

.friend {
  text-align: center;
}

.friend img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 12px;
  transition: 0.2s ease;
}

.friend img:hover {
  transform: scale(1.08);
}

.friend p {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #e3f2fd;
  opacity: 0.85;
}

/* CARD */
.card {
  background: rgb(0, 0, 0);
  border: 1px solid rgb(255, 255, 255);
  border-radius: 20px;
  padding: 25px;

  /* GLOW */
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.4),
    0 0 18px rgba(255, 255, 255, 0.25);
  
  transition: 0.3s ease;
}

.card h2,
.card p {
  text-align: center;
  padding: 5px;
}

/* PROFILE */
.profile {
  text-align: center;
}

.avatar {
  width: 120px;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 3px solid #ffffff;

    /* GLOW */
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.4),
    0 0 18px rgba(255, 255, 255, 0.25);
  
  transition: 0.3s ease;
}

/* TEXTOS */
h1, h2 {
  color: #ffffff;
}

.subtitle {
  opacity: 0.8;
  margin-bottom: 15px;
  color: #ffffff;
}

ul {
  list-style: none;
  margin-top: 15px;
}

ul li {
  margin: 8px 0;
}

/* GRID DOS JOGOS */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.games-grid img {
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
  height: 160px;
  transition: transform 0.2s ease;
}

.games-grid a:hover img {
  transform: scale(1.02);
}

@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .left {
    position: relative;
    top: 0;
  }
}

.social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
  list-style: none;
}

.social-icon{
  width:22px;
  height:22px;
  object-fit:contain;
  transition:0.2s ease;
}

.social-icon:hover{
  transform:scale(1.15);
  filter:brightness(1.2);
}

.video-container {
  margin-top: 20px;
}

.video-container video {
  width: 100%;
  border-radius: 15px;
  outline: none;
}

/* GALERIA */
.gallery {
  margin-top: 25px;
}

.gallery-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 15px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 12px;
  transition: 0.3s ease;
}

.footer{
  width:100%;
  padding:15px 30px;
  background:rgba(0, 0, 0, 0.85);
  border-top:1px solid rgb(255, 255, 255);

  display:flex;
  justify-content:flex-end; /* joga o texto para a direita */
}

.footer p{
  color:#ffffff;
  font-family:monospace;
  font-size:0.9rem;
}

/*TEST AREA*/

.blur-active {
      filter: blur(15px);
      transition: filter 0.5s ease;
    }

    .blur-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8);
      z-index: 9999;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      transition: opacity 0.5s ease;
    }

    .blur-overlay.hidden {
      opacity: 0;
      pointer-events: none;
    }

    .blur-overlay p {
      color: #fff;
      font-size: 24px;
      text-align: center;
      user-select: none;
    }

    .blur-overlay .subtitle-text {
      font-size: 14px;
      opacity: 0.6;
      margin-top: 8px;
    }

.music-control{

  position: sticky;
  top: 70px; /* altura da navbar */

  margin-left:20px;
  margin-top:15px;

  display:flex;
  align-items:center;
  gap:10px;

  padding:8px 8px;

  border-radius:5px;

  background:rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);

  border:1px solid rgba(255, 255, 255, 0.4);

  box-shadow:
  0 0 8px rgba(255, 255, 255, 0.5);

  width:fit-content;
}

.music-control button{

  background:transparent;
  border:1px solid #ffffff;
  color:#ffffff;

  padding:4px 10px;

  border-radius:2px;
}

.music-control button:hover{

  background:#ffffff;
  color:black;

  box-shadow:0 0 10px #effaff;
}

#volumeSlider{

  width:90px;
}