/* Background: #52448d, Gold: #ffbc00 */

.landing-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #52448d;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.landing-content {
  text-align: center;
}

.landing-star {
  font-size: 3rem;
  color: #ffbc00;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.landing-title {
  font-size: 5rem;
  font-weight: 100;
  color: #ffbc00;
  text-align: center;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0.1em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.landing-subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: #ffbc00;
  text-align: center;
  margin-top: 0.5rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0.2em;
  text-transform: lowercase;
  opacity: 0.7;
}

/* Remove default body margins */
body {
  margin: 0;
  padding: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .landing-title {
    font-size: 3.5rem;
  }
  .landing-star {
    font-size: 2.5rem;
  }
  .landing-subtitle {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .landing-title {
    font-size: 2.5rem;
  }
  .landing-star {
    font-size: 2rem;
  }
  .landing-subtitle {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
  }
}

/* Flash messages */
.flash-messages {
  margin-top: 2rem;
  margin-bottom: 1rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.flash-alert,
.flash-notice {
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.flash-alert {
  background-color: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.flash-notice {
  background-color: rgba(34, 197, 94, 0.15);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Authentication section */
.auth-section {
  margin-top: 2rem;
}

.btn-github {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: transparent;
  color: #ffbc00;
  border: 1px solid #ffbc00;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 300;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0.05em;
  transition: all 0.2s;
  position: relative;
}

.btn-github:hover {
  background-color: rgba(255, 188, 0, 0.1);
  border-color: rgba(255, 188, 0, 0.8);
}

.github-icon {
  flex-shrink: 0;
}

/* Spinner styles */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
}

.spinner-icon {
  width: 100%;
  height: 100%;
  animation: spin 1s linear infinite;
}

.spinner-circle {
  stroke: currentColor;
  stroke-linecap: round;
  stroke-dasharray: 50;
  stroke-dashoffset: 0;
  animation: dash 1.5s ease-in-out infinite;
}

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

@keyframes dash {
  0% {
    stroke-dashoffset: 50;
  }
  50% {
    stroke-dashoffset: 12.5;
  }
  100% {
    stroke-dashoffset: 50;
  }
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  margin: 0.25rem;
}

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

.btn-primary:hover {
  background-color: #5558e3;
}

.btn-secondary {
  background-color: #6b7280;
  color: white;
}

.btn-secondary:hover {
  background-color: #4b5563;
}