:root {
  --purple-50: #faf5ff;
  --purple-100: #f3e8ff;
  --purple-200: #e9d5ff;
  --purple-500: #a855f7;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
}

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

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, sans-serif;
  padding: 4rem 1rem;
  line-height: 1.5;
  background: linear-gradient(to bottom, #faf5ff, #f3e8ff);
}

.container {
  max-width: 28rem;
  margin: 0 auto;
}

.header {
  text-align: center;
  margin-bottom: 3rem;
}

.logo-container {
  position: relative;
  width: 8rem;
  height: 8rem;
  margin: 0 auto 1.5rem;
}

.logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 4px solid white;
}

.chevron-down {
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  color: var(--purple-500);
  animation: bounce 1s infinite;
}

h1 {
  font-size: 1.875rem;
  font-weight: bold;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.subtitle {
  color: var(--gray-600);
}

.welcome-content {
  text-align: center;
  background: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.welcome-text {
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.example-url {
  background: var(--purple-50);
  padding: 1rem;
  border-radius: 0.5rem;
  color: var(--purple-500);
  font-family: monospace;
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.example-url span {
  color: var(--gray-600);
}

.demo-events {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--purple-100);
}

.demo-title {
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.demo-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0.5rem;
  background: var(--purple-100);
  color: var(--purple-500);
  text-decoration: none;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
}

.demo-link:hover {
  background: var(--purple-200);
  transform: translateY(-1px);
}

.links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.link-card {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: white;
  border-radius: 0.5rem;
  text-decoration: none;
  color: var(--gray-700);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.icon {
  background: var(--purple-100);
  padding: 0.5rem;
  border-radius: 0.5rem;
  margin-right: 1rem;
  font-size: 1.25rem;
  transition: background-color 0.3s ease;
}

.link-card:hover .icon {
  background: var(--purple-200);
}

.error-state {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.error-state h1 {
  color: #ef4444;
  margin-bottom: 1rem;
}

.error-state p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.back-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--purple-500);
  color: white;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: background-color 0.3s ease;
}

.back-link:hover {
  background: #9333ea;
}

footer {
  margin-top: 3rem;
  text-align: center;
  color: var(--gray-600);
  font-size: 0.875rem;
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@media (max-width: 640px) {
  body {
    padding: 2rem 1rem;
  }
  
  .container {
    width: 100%;
  }
}