* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
body {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
  background: radial-gradient(circle at bottom left, #08081a 0%, #100b2b 40%, #1a1040 100%);
}
#particles-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1100px;
  z-index: 1;
  animation: fadeIn 1.5s ease-in-out;
}
.logo-section {
  flex: 1;
  text-align: left;
  animation: slideLeft 1.5s ease;
}
.logo-section img {
  width: 260px;
  margin-bottom: 30px;
  filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.6));
  animation: float 3s ease-in-out infinite;
}
.logo-section h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  text-shadow: none;
}
.login-box {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px;
  max-width: 420px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: slideUp 1.5s ease;
}
.login-box h3 {
  text-align: center;
  margin-bottom: 25px;
  font-weight: 500;
}
.input-group {
  margin-bottom: 20px;
}
.input-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.9rem;
}
.input-group input {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.input-group input:focus {
  box-shadow: 0 0 10px #0057ff, 0 0 20px #a000ff;
  background: rgba(255, 255, 255, 0.15);
}
.btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, #a000ff, #0047ff, #00ccff, #a000ff);
  animation: rotateGlow 4s linear infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.btn-login {
  background: linear-gradient(90deg, #a000ff, #0047ff);
  color: white;
  box-shadow: 0 0 10px #4400ff88;
}
.btn-login:hover::before {
  opacity: 0.7;
}
.btn-login:hover {
  box-shadow: 0 0 25px #5500ffcc, 0 0 40px #0047ffaa;
  transform: scale(1.03);
}
.btn-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.btn-canal, .btn-suporte {
  flex: 1;
  text-align: center;
  text-decoration: none;
  border-radius: 10px;
  padding: 14px;
  font-weight: 600;
  transition: 0.3s ease;
  color: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}
.btn-canal {
  background: #00aaff;
  box-shadow: 0 0 10px #00aaff88;
}
.btn-canal:hover {
  box-shadow: 0 0 25px #00aaffcc;
  transform: scale(1.03);
}
.btn-suporte {
  background: #00cc66;
  box-shadow: 0 0 10px #00cc6688;
}
.btn-suporte:hover {
  box-shadow: 0 0 25px #00ff88cc;
  transform: scale(1.03);
}
.msg {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 10px;
  height: 20px;
  transition: opacity 0.5s ease;
}
.msg.error { color: #ff3366; text-shadow: 0 0 8px #ff3366; }
.msg.success { color: #00ff99; text-shadow: 0 0 8px #00ff99; }
.footer {
  text-align: center;
  font-size: 0.8rem;
  margin-top: 20px;
  color: #ccc;
}
@keyframes rotateGlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes slideLeft { from { transform: translateX(-50px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 900px) {
  .container { flex-direction: column; text-align: center; }
  .logo-section img { width: 220px; }
  .login-box { margin-top: 30px; }
}
