* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, system-ui, sans-serif;
}

body {
  background: #0a0a0a;
  color: white;
  overflow: hidden;
  height: 100vh;

  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* FUNDO */
#bg-video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0;
  transition: 1.5s;
  z-index: -3;
  filter: brightness(0.4);
}

#bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

#particles {
  position: fixed;
  inset: 0;
  z-index: -1;
}

/* WELCOME */
#welcome-screen {
  position: fixed;
  inset: 0;
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
}

/* MAIN */
#main-content {
  height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 40px;
  opacity: 0;
  transition: 1.5s;
}

/* PERFIS – GRID INTELIGENTE */
.profiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;

  max-width: 1200px;
  margin: 0 auto;
  align-content: center;
}

/* CARD */
.profile {
  padding: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  text-align: center;
  backdrop-filter: blur(12px);
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin-bottom: 8px;
}

.badges img {
  width: 14px;
  margin: 2px;
  opacity: 0.8;
}

/* BOTÃO */
.instagram-btn {
  margin-top: 10px;
  width: 100%;
  padding: 8px 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.instagram-btn:hover {
  background: rgba(255,255,255,0.08);
}

/* SERVERS – SEMPRE EMBAIXO */
.servers {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding-top: 24px;
}

.server-card {
  width: 260px;
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  text-decoration: none;
  color: white;
}

.server-card img {
  width: 52px;
  border-radius: 14px;
}

.status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ff9c;
  box-shadow: 0 0 8px #00ff9c;
}

/* MOBILE */
@media (max-width: 768px) {
  #main-content {
    padding: 20px;
  }
}
