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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background: #f5f5f5;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.logo {
  width: 96px;
  height: 96px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeIn 0.8s ease-out 0.2s forwards;
}

.greeting {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeIn 0.8s ease-out 0.4s forwards;
}

.subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeIn 0.8s ease-out 0.6s forwards;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeIn 0.8s ease-out 0.8s forwards;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  text-decoration: none;
  color: #333;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #eee;
}

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

.card-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.card-title {
  font-size: 0.9rem;
  font-weight: 500;
}

.footer {
  padding: 24px 0;
  text-align: center;
  opacity: 0;
  animation: fadeIn 0.8s ease-out 1s forwards;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: #999;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #4A90D9;
}

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

@media (max-width: 480px) {
  .greeting {
    font-size: 1.5rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}
