.login-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.login-modal.open {
  display: block;
}

.login-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.25s ease;
}

.login-modal-panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: auto;
  top: 40%;
  transform: translateY(-40%) scale(0.95);
  background: #111;
  color: #fff;
  border-radius: 16px;
  padding: 32px;
  animation: slideUp 0.3s ease forwards;
}

.login-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  background: none;
  border: none;
  color: #aaa;
  cursor: pointer;
}

.login-close:hover {
  color: #fff;
}

.login-modal-panel h2 {
  margin-bottom: 4px;
}

.login-modal-panel p {
  color: #aaa;
  margin-bottom: 24px;
}

.login-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.login-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;    
  color: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  justify-content: center;
}

.login-btn .icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.login-btn.google {
  background: #ea4335;
}

.login-btn.twitch {
  background: #9146ff;
}

.login-btn.kick {
  background: #00ff5f;
  color: #000;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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