body {
  background-color: #121212;
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#particles-canvas{position:fixed;top:0;left:0;width:100%;height:100%;z-index:-1;pointer-events:none;background:linear-gradient(180deg,#0a0a0a 0%,#1a1a1a 50%,#0a0a0a 100%)}

.navbar {
  padding: 10px 20px;
  background-color: transparent !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.nav-link {
  color: #fff !important;
  margin: 0 15px;
  font-size: 1rem;
}

.nav-link:hover {
  color: #ff0000 !important;
}

.dropdown-menu {
  background-color: #000;
  border: none;
}

.dropdown-menu .dropdown-item {
  color: #fff;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #333;
  color: #ff0000;
}

.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #000;
  border-top: 1px solid #222;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1050;
}

.mobile-nav .nav-item {
  color: white;
  font-size: 12px;
  text-decoration: none;
  flex-grow: 1;
  text-align: center;
  cursor: pointer;
  transition: color 0.3s;
}

.mobile-nav .nav-item i {
  font-size: 20px;
  display: block;
}

.mobile-nav .nav-item:hover,
.mobile-nav .nav-item.active {
  color: #ff0000;
}

.profile-content {
  padding: 0 20px 20px;
  display: flex;
  align-items: flex-end;
  position: relative;
}

/* Header com capa dinâmica */
.profile-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
}

.profile-header-bg {
  min-height: 320px;
  background: #111 center/cover no-repeat;
  position: relative;
}

.profile-header-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.75));
}

.banner-edit-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 20;
}

/* Modal de Banner - visual moderno */
#bannerModal .modal-content {
  border-radius: 16px;
  background: radial-gradient(800px 400px at 20% -10%, rgba(229,9,20,.15), transparent), #141414;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}

#bannerModal .modal-title {
  font-weight: 800;
}

#bannerModal .form-control {
  background-color: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
}

#bannerModal .form-control:focus {
  border-color: #e50914;
  box-shadow: 0 0 0 .2rem rgba(229,9,20,.25);
}

#bannerPreview {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

#saveBannerBtn {
  background: #e50914;
  border: none;
}

#saveBannerBtn:hover {
  filter: brightness(1.1);
}

.modal-modern.fade .modal-dialog {
  transform: scale(.98);
  transition: transform .25s ease, opacity .25s ease;
  opacity: 0;
}

.modal-modern.fade.show .modal-dialog {
  transform: scale(1);
  opacity: 1;
}

@media (max-width: 768px) {
  .profile-header-bg { min-height: 220px; }
  .profile-avatar { width: 84px; height: 84px; }
  .profile-name { font-size: 1.2rem; }
}

.profile-avatar-container {
  position: relative;
  margin-top: -60px;
  margin-right: 20px;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #1a1a1a;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.profile-badge {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background-color: #ff0000;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 2px solid #1a1a1a;
}

.profile-info {
  flex: 1;
  padding-top: 70px;
}

.profile-name {
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 5px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.plan-label {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 800;
  color: #fff;
  background: #6c757d; /* default grátis */
}
.plan-label.vip { background: #e50914; }
.plan-label.vip-plus { background: linear-gradient(45deg, #e50914, #ffae00); }
@media (max-width: 768px) {
  .profile-name-mobile .plan-label { font-size: .8rem; padding: 3px 8px; }
}

.profile-id {
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

/* Estilo para a tag do plano */
.profile-info-row {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

/* Novo estilo para estatísticas */
.stats-card {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  background-color: #1a1a1a;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 10px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  background-color: #252525;
  transform: translateY(-5px);
}

.stat-icon {
  color: #ff0000;
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.stat-item .number {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.section-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.emblems {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.emblem {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  filter: brightness(0.8);
}

.activities {
  min-height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #555;
  font-weight: 600;
}

/* Estilos para o perfil mobile */
.profile-avatar-container-mobile {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}

.profile-avatar-mobile {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid #ff0000;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.profile-badge-mobile {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: #ff0000;
  color: white;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border: 2px solid #121212;
}

.profile-name-mobile {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 5px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.profile-id-mobile {
  color: #aaa;
  font-size: 0.9rem;
}

/* Estilos para seções de conteúdo */
.section-title {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #ff0000;
  display: inline-block;
}

/* Estilo para os favoritos */
.favorite-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.favorite-item:hover {
  transform: translateY(-10px);
}

.favorite-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.favorite-item:hover img {
  transform: scale(1.1);
}

.favorite-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
  color: white;
  padding: 15px 10px 10px;
  font-size: 0.9rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-nav .dropdown-toggle::after {
  display: none !important;
}

.high-contrast {
  background-color: black !important;
  color: yellow !important;
}

.high-contrast a {
  color: #0ff !important;
}

/* Offcanvas Config moderno */
.offcanvas-modern {
  background: radial-gradient(600px 300px at 10% -10%, rgba(229,9,20,.12), transparent), #111;
  border-left: 1px solid rgba(255,255,255,.08);
}

.offcanvas-modern .offcanvas-header {
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.offcanvas-modern .form-select,
.offcanvas-modern .form-check-input {
  background-color: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.15);
}

.offcanvas-modern .btn-outline-light:hover { filter: brightness(1.2); }

.offcanvas-profile img { box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.offcanvas-profile .badge { border-radius: 999px; }

.profile-name .badge, .profile-name-mobile .badge { vertical-align: middle; }

@media (max-width: 480px) {
  .stats-card { gap: 1rem; padding: 12px; }
  .stat-item { flex: 1 0 32%; padding: 6px; }
  .stat-icon { font-size: 1.2rem; }
  .stat-item .number { font-size: 1.2rem; }
  .profile-name { font-size: 1.5rem; }
  .profile-name-mobile { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .profile-avatar-mobile { width: 84px; height: 84px; }
  .profile-name-mobile { font-size: 1.1rem; }
}

@media (max-width: 992px) {
  .profile-card, .profile-header-bg, .banner-edit-btn { display: none !important; }
}

/* Para navegadores baseados em WebKit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 12px;
  /* Largura da barra */
}

::-webkit-scrollbar-track {
  background: #00000000;
  /* Cor do fundo da barra */
}

::-webkit-scrollbar-thumb {
  background-color: red;
  /* Cor da barra de rolagem */
  border-radius: 6px;
  border: 3px solid red;
  /* Espaço ao redor da barra */
}
