/* ── EMAIL GATE MODAL STYLES ─────────────────────────────────────────── */

.email-gate {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
}

.email-gate-dialog {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
}

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

.email-gate-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.email-gate-close:hover {
  background: var(--border-light);
  color: var(--text);
}

.gate-title {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--text);
  line-height: 1.3;
}

.oauth-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  background: white;
  color: var(--text);
}

.oauth-btn img {
  width: 20px;
  height: 20px;
}

.oauth-btn.google {
  border-color: #4285f4;
  color: #4285f4;
}

.oauth-btn.google:hover {
  background: #4285f4;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.oauth-btn.github {
  border-color: #24292e;
  color: #24292e;
}

.oauth-btn.github:hover {
  background: #24292e;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(36, 41, 46, 0.3);
}

/* ── RESPONSIVE DESIGN ─────────────────────────────────────────── */

@media (max-width: 480px) {
  .email-gate {
    padding: 0.5rem;
  }
  
  .email-gate-dialog {
    padding: 1.5rem;
    border-radius: 12px;
  }
  
  .gate-title {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
  }
  
  .oauth-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
}