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

body {
  font-family: 'Inter', sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f3f4f6;
  color: #111827;
  transition: background-color 0.3s, color 0.3s;
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #111827;
    color: #f3f4f6;
  }
}

a {
  color: #eab308;
  text-decoration: none;
}

a:hover {
  color: #fcd34d;
}

#app-list {
  min-height: 100vh;
}

/* Hero Section */
#hero-image {
  background-color: #d1d5db;
  color: #111827;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}

@media (prefers-color-scheme: dark) {
  #hero-image {
    background-color: #1f2937;
    color: #f3f4f6;
  }
}

#hero-image img {
  width: 128px;
  height: 128px;
}

#hero-image h1 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
}

@media (min-width: 640px) {
  #hero-image h1 {
    font-size: 2.25rem;
  }
}

#hero-image span {
  font-size: 1rem;
  line-height: 1.5;
}

#hero-image p {
  font-size: 1rem;
  line-height: 1.5;
  max-width: 800px;
}

#hero-image small {
  font-size: 0.875rem;
}

/* Scroll to top button */
#scroll-to-top {
  padding: 1rem;
  background-color: #d1d5db;
  color: #111827;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  font-weight: 700;
  transition: all 0.3s ease-in-out;
  transform: translateY(100%);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  z-index: 1000;
}

@media (prefers-color-scheme: dark) {
  #scroll-to-top {
    background-color: #030712;
    color: #f3f4f6;
  }
}

#scroll-to-top.visible {
  transform: translateY(0);
}

/* Loading state */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-size: 1.5rem;
  color: #6b7280;
}
