:root {
  --gamer-dark: #0f0f23;
  --gamer-darker: #050510;
  --gamer-purple: #7c3aed;
  --gamer-blue: #3b82f6;
  --gamer-green: #10b981;
  --gamer-red: #ef4444;
  --gamer-gray: #1e293b;
}

body {
  background: linear-gradient(135deg, #050510 0%, #0f0f23 100%);
  color: #e0e0e0;
  min-height: 100vh;
}

p {
  color: #ffffff;
}

.card {
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(124, 58, 237, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.btn-primary {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
  transition: all 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.6);
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dd2d2d 100%);
  border: none;
}

.btn-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: none;
}

.navbar {
  background: linear-gradient(90deg, #050510 0%, #1e293b 100%);
  border-bottom: 2px solid #7c3aed;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
  color: #ef4444 !important;
  font-size: 1.5rem;
}

.nav-link {
  color: #e0e0e0 !important;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #3b82f6 !important;
}

.text-muted {
  color: rgba(252, 247, 247, 0.7) !important;
}

.form-control,
.form-select {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: #e0e0e0;
}

h4,
h5,
p,
label,
span,
textarea::placeholder,
input::placeholder {
  color: #ffffff !important;
  opacity: 1; /* remove a transparência padrão */
}



.form-control:focus,
.form-select:focus {
  background: rgba(30, 41, 59, 0.9);
  border-color: #7c3aed;
  color: #e0e0e0;
  box-shadow: 0 0 0 0.25rem rgba(124, 58, 237, 0.25);
}

.badge {
  font-weight: 600;
}

.badge.bg-success {
  background: #10b981 !important;
}

.badge.bg-danger {
  background: #ef4444 !important;
}

.badge.bg-warning {
  background: #3b82f6 !important;
  color: #ffffff !important;
}

.post-img,
.post-video {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  border-radius: 8px;
  background: #000;
  display: block;
  margin: 0 auto;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #7c3aed;
}

.avatar-lg {
  width: 200px;
  height: 200px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.profile-grid-item {
  position: relative;
  padding-bottom: 100%;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.profile-grid-item img,
.profile-grid-item video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.profile-grid-item:hover img,
.profile-grid-item:hover video {
  transform: scale(1.1);
}

.profile-grid-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.profile-grid-item:hover .overlay {
  opacity: 1;
}

.comment-nickname {
  color: #3b82f6;
  font-weight: 600;
}

.online-indicator {
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
}

.sidebar-sticky {
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

.sidebar-sticky::-webkit-scrollbar {
  width: 6px;
}

.sidebar-sticky::-webkit-scrollbar-track {
  background: rgba(30, 41, 59, 0.5);
}

.sidebar-sticky::-webkit-scrollbar-thumb {
  background: #7c3aed;
  border-radius: 3px;
}

.comments-section {
  max-height: 400px;
  overflow-y: auto;
}

.comments-section::-webkit-scrollbar {
  width: 6px;
}

.comments-section::-webkit-scrollbar-track {
  background: rgba(30, 41, 59, 0.5);
}

.comments-section::-webkit-scrollbar-thumb {
  background: #7c3aed;
  border-radius: 3px;
}

.btn-outline-light {
  border-color: rgba(124, 58, 237, 0.5);
  color: #e0e0e0;
}

.btn-outline-light:hover {
  background: rgba(124, 58, 237, 0.2);
  border-color: #7c3aed;
  color: #ffffff;
}

.like-btn.liked {
  color: #ef4444 !important;
}

.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("https://images.unsplash.com/photo-1511512578047-dfb367046420?w=1920")
    center/cover no-repeat fixed;
  position: relative;
}

.auth-container::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 8, 18, 0.75);
  z-index: 1;
}

.auth-card {
  max-width: 450px;
  width: 100%;
  position: relative;
  z-index: 2;
  padding: 0 15px;
}

.btn-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border: none;
  color: #ffffff;
}

.btn-warning:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #ffffff;
}

.game-iframe-container {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.game-card {
  transition: transform 0.3s, box-shadow 0.3s;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.4);
}


.form-control::placeholder {
  color: #ffffff !important;
  opacity: 1 !important;
}

.form-control {
  --bs-secondary-color: #ffffff !important;
}

.alert {
    position: relative;
    z-index: 9999; /* Garante que ele fique por cima de qualquer fundo escuro */
}