* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #1a1a1a;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 460px;
}

.logo {
  margin-bottom: 32px;
  animation: fadeIn 0.5s ease-in;
}

.logo svg {
  filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.3));
}

.title {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 40px;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.auth-card {
  background: rgba(42, 42, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 48px 40px;
  width: 100%;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.auth-button {
  width: 100%;
  height: 52px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.auth-button:last-child {
  margin-bottom: 0;
}

.auth-button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.auth-button:active {
  transform: translateY(0);
}

.auth-button .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.auth-button span {
  letter-spacing: 0.2px;
}

/* Specific button styles */
.auth-button.google:hover {
  background: rgba(66, 133, 244, 0.1);
  border-color: rgba(66, 133, 244, 0.3);
}

.auth-button.github:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.auth-button.apple:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.footer {
  margin-top: 32px;
  text-align: center;
  font-size: 14px;
}

.footer-text {
  color: rgba(255, 255, 255, 0.6);
}

.footer-link {
  color: #00D9FF;
  text-decoration: none;
  margin-left: 6px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #00b8d4;
  text-decoration: underline;
}

/* Loading state */
.auth-button.loading {
  pointer-events: none;
  opacity: 0.6;
}

.auth-button.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  right: 16px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive design */
@media (max-width: 520px) {
  .auth-card {
    padding: 40px 32px;
  }

  .title {
    font-size: 28px;
  }

  .auth-button {
    height: 48px;
    font-size: 14px;
  }
}

