/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

/* ===== FUNDO GERAL ===== */
body {
  background: url('assets/6fcadc1985b190b7099399796d077437.gif') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  min-height: 100vh;
}

/* ===== HEADER (LOGIN) ===== */
.header {
  width: 100%;
  padding: 25px 40px;
  display: flex;
  align-items: center;
  gap: 15px;
  background: transparent; /* transparente para mostrar o GIF */
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.header h2 {
  margin-right: 20px;
}

.header input {
  width: 170px;
  padding: 10px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: rgba(0,0,0,0.4);
  color: #fff;
}

.header button {
  padding: 10px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: #5865f2;
  color: black;
  font-weight: bold;
}

.header button:hover {
  background: #4752c4;
}

/* ===== CHAT ===== */
.chat-container {
  padding: 40px;
  max-width: 900px;
  margin: auto;
  background: rgba(0,0,0,0.5); /* leve transparência para não bloquear o GIF */
  border-radius: 10px;
}

.chat-container h2 {
  margin-bottom: 15px;
}

#chat {
  background: rgba(20,20,34,0.7);
  border-radius: 10px;
  padding: 15px;
  height: 300px;
  overflow-y: auto;
  margin-bottom: 12px;
}

#chat p {
  margin-bottom: 8px;
  line-height: 1.4;
}

#chat b {
  color: #4da6ff;
}

#message {
  width: calc(100% - 200px);
  padding: 12px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: rgba(0,0,0,0.4);
  color: #fff;
}

#sendBtn,
#logoutBtn {
  padding: 12px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  margin-left: 6px;
}

#sendBtn {
  background: #5865f2;
  color: white;
}

#sendBtn:hover {
  background: #4752c4;
}

#logoutBtn {
  background: #e74c3c;
  color: white;
}

#logoutBtn:hover {
  background: #c0392b;
}

/* ===== FORMULÁRIO DE PERFIL ===== */
.profile-form-container {
  padding: 20px;
  margin: 20px auto;
  max-width: 600px;
  background: rgba(0,0,0,0.5); /* transparente para mostrar o GIF */
  border-radius: 10px;
}

.profile-form-container h2,
.profile-form-container h3 {
  margin-bottom: 10px;
}

.profile-form-container input {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 6px;
  border: none;
  outline: none;
  background: rgba(0,0,0,0.4);
  color: #fff;
}

.profile-form-container button {
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  background: #5865f2;
  color: white;
  cursor: pointer;
}

/* ===== ÁREA DE PERFIS ===== */
.profiles-section {
  padding: 40px;
}

.profiles-section h2 {
  margin-bottom: 20px;
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 25px;
}

/* ===== CARDS DE PROFILE ===== */
.profile-card {
  background: rgba(20,20,34,0.8); /* leve transparência para mostrar o GIF levemente atrás */
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 320px;
  padding: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  --profile-color: #5865f2;
}

.profile-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 10px;
  background-color: var(--profile-color, #5865f2);
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.profile-card > * {
  position: relative;
  z-index: 1;
}

.profile-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.55);
}

.profile-card .banner {
  width: 100%;
  height: 100px;
  background-size: cover;
  background-position: center;
  border-radius: 10px 10px 0 0;
  margin-bottom: 10px;
}

.profile-card .avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-top: -35px;
  border: 3px solid #fff;
  margin-bottom: 10px;
}

.profile-card strong {
  color: #fff;
  font-size: 18px;
  margin-bottom: 5px;
}

.profile-card p {
  color: #ccc;
  font-size: 14px;
  text-align: center;
  margin: 0 10px 10px 10px;
}

.profile-card .socials {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.profile-card .socials a img {
  width: 24px;
  height: 24px;
  cursor: pointer;
  filter: brightness(0) invert(1);
  transition: transform 0.2s;
}

.profile-card .socials a img:hover {
  transform: scale(1.2);
}

/* ===== BOTÃO DE MÚSICA ===== */
.profile-card button {
  margin-top: 10px;
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  background: #1db954;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
}

.profile-card button:hover {
  background: #17a44b;
}

/* ===== BOTÃO DISCORD FIXO ===== */
.discord-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #5865F2;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.2s, background 0.2s;
  z-index: 9999;
}

.discord-btn img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.discord-btn:hover {
  transform: translateY(-3px);
  background: #4752c4;
}

/* ===== MEU PERFIL CENTRAL ===== */
.my-profile-section {
  max-width: 900px;
  margin: 60px auto;
  text-align: center;
}

.my-profile-section .profile-card {
  scale: 1.2;
}

.my-profile-section .profile-card:hover {
  transform: none;
}

/* ===== PÁGINA MEU PERFIL ===== */
.my-profile-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.my-profile-page .profile-card {
  width: 420px;
  scale: 1.3;
}

.my-profile-page .profile-card:hover {
  transform: none;
}

/* ===== PERFIL PÚBLICO INDIVIDUAL ===== */
.user-profile-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.user-profile-page .profile-card {
  width: 420px;
  scale: 1.3;
}

.user-profile-page .profile-card:hover {
  transform: none;
}

/* ===== PERFIL ÚNICO (DESTAQUE) ===== */
.profile-single-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-single-page .profile-card {
  transform: none;
  width: 420px;
  min-height: 480px;
  padding: 25px;
}

.profile-single-page .profile-card:hover {
  transform: none;
}

.profile-single-page .profile-card .banner {
  height: 160px;
}

.profile-single-page .profile-card .avatar {
  width: 110px;
  height: 110px;
  margin-top: -55px;
}

.profile-single-page .profile-card strong {
  font-size: 24px;
}

.profile-single-page .profile-card p {
  font-size: 16px;
}

.profile-single-page .profile-card .socials img {
  width: 32px;
  height: 32px;
}

