@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.logo {
  width: 240px;
  height: auto;
  margin-bottom: 8px;
}

.card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

h1 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
  color: #1a1a1a;
}

.input-group {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

input {
  flex: 1;
  padding: 12px 16px;
  font-size: 16px;
  border: 1px solid #d1d1d1;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}

input:focus {
  border-color: #e31e24;
}

input::placeholder {
  color: #999;
}

.btn {
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: #e31e24;
  color: white;
}

.btn-primary:hover {
  background: #c71a1f;
}

.btn-secondary {
  background: #f5f5f5;
  color: #1a1a1a;
  width: 100%;
  border: 1px solid #e5e5e5;
}

.btn-secondary:hover {
  background: #ebebeb;
}

.divider {
  position: relative;
  text-align: center;
  margin: 24px 0;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e5e5e5;
}

.divider span {
  position: relative;
  background: white;
  padding: 0 12px;
  color: #999;
  font-size: 14px;
}

footer {
  text-align: center;
  color: #666;
  font-size: 14px;
}

.powered-by {
  margin-top: 8px;
  font-size: 12px;
  color: #999;
}

@media (max-width: 600px) {
  .container {
    gap: 24px;
  }

  .logo {
    width: 200px;
  }

  .card {
    padding: 24px;
  }

  h1 {
    font-size: 20px;
  }

  .input-group {
    flex-direction: column;
  }

  .btn-primary {
    width: 100%;
  }
}