/* public/login.css */
:root {
  --twitch-purple: #9146FF;
  --youtube-red: #FF0000;
  --pixel-blue: #00C7FF;
}

body {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  display: flex;
  flex-direction: column; /* Mudança para aceitar múltiplas seções */
  justify-content: flex-start;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 1rem 0; /* Diminuí padding */
}

/* Efeito de partículas animadas no fundo (substitui as mãos) */
body::before {
  content: '';
  position: fixed; /* Mudou para fixed */
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(2px 2px at 20px 30px, var(--pixel-blue), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.1), transparent),
    radial-gradient(1px 1px at 90px 40px, var(--twitch-purple), transparent),
    radial-gradient(1px 1px at 130px 80px, var(--youtube-red), transparent);
  background-repeat: repeat;
  background-size: 150px 100px;
  animation: float-particles 20s linear infinite;
  opacity: 0.2;
  z-index: 0;
}

body::after {
  content: '';
  /* Removido - era a segunda mão */
}

@keyframes float-particles {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-100px); }
}

/* Estilos para a intro - NOVOS */
.hero-intro {
  text-align: center;
  padding: 2rem 1rem;
  max-width: 800px;
  margin: 0 auto 1rem;
  z-index: 1;
  position: relative;
}

.intro-title {
  color: var(--pixel-blue);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.intro-text {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.intro-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.feature-tag {
  background: rgba(0, 199, 255, 0.1);
  border: 1px solid var(--pixel-blue);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  color: var(--pixel-blue);
  font-size: 0.85rem;
  white-space: nowrap;
  transition: background 0.3s ease;
}

.feature-tag:hover {
  background: rgba(0, 199, 255, 0.2);
}

.feature-tag i {
  margin-right: 0.5rem;
}

.how-it-works-simple h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.steps-simple {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.step-simple {
  text-align: center;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.step-simple:hover {
  transform: translateY(-3px);
}

.step-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, var(--pixel-blue), var(--twitch-purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.2rem;
  color: white;
}

.step-simple h4 {
  color: var(--pixel-blue);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.step-simple p {
  color: #ccc;
  font-size: 0.85rem;
  line-height: 1.4;
}

.intro-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

.stat-big {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: var(--pixel-blue);
  text-shadow: 0 0 20px rgba(0, 199, 255, 0.5);
}

.stat-label {
  color: #ccc;
  font-size: 0.85rem;
}

.login-container {
  background: rgba(25, 25, 25, 0.95);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  width: 100%;
  max-width: 400px;
  z-index: 1;
  position: relative;
  animation: slideUp 0.8s ease;
  margin-top: 1rem;
}

.branding {
  text-align: center;
  margin-bottom: 1.5rem;
}

.logo {
  width: 100%;
  display: block;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  margin: 0;
  height: auto;
  mix-blend-mode: lighten;
  opacity: 0.85;
  filter: drop-shadow(0 0 8px var(--pixel-blue));
  margin-bottom: 1.5rem;
  background-color: rgba(25, 25, 25, 0.95);
}

h1 {
  color: #fff;
  font-weight: 600;
  margin: 1rem 0;
  font-size: 1.4rem;
}

.subtitle {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: #666;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.stat-item:hover {
  color: var(--pixel-blue);
}

.stat-item i {
  font-size: 0.9rem;
}

.pixel {
  color: var(--pixel-blue);
  animation: blink 1s step-end infinite;
}

.btn-login {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0.8rem 0;
}

.btn-login i {
  font-size: 1.2rem;
}

.twitch {
  background: var(--twitch-purple);
  color: white;
}

.youtube {
  background: var(--youtube-red);
  color: white;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.security-note {
  color: #7a7a7a;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.login-footer {
  text-align: center;
  margin-top: 1.5rem;
  color: #4a4a4a;
  font-size: 0.75rem;
  line-height: 1.4;
}

.footer-links {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #666;
  text-decoration: none;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
  font-size: 0.8rem;
}

.footer-links a:hover {
  color: var(--pixel-blue);
}

.terms-link {
  color: var(--pixel-blue);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.terms-link:hover {
  opacity: 0.8;
}

.trial-badge {
  background: linear-gradient(45deg, var(--pixel-blue), var(--twitch-purple));
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 1rem;
  display: inline-block;
  animation: pulse 2s infinite;
  transition: transform 0.3s ease;
}

.trial-badge:hover {
  transform: scale(1.05);
}

@keyframes slideUp {
  from {
      opacity: 0;
      transform: translateY(50px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

@media (max-width: 768px) {
  .intro-features {
    flex-direction: column;
    align-items: center;
  }
  
  .steps-simple {
    grid-template-columns: 1fr;
  }
  
  .intro-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .intro-title {
    font-size: 1.5rem;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .login-container {
      margin: 1rem;
      padding: 1.5rem;
  }
  
  .stats {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
  
  h1 {
    font-size: 1.2rem;
  }
  
  .footer-links a {
    display: block;
    margin: 0.3rem 0;
  }
}