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

html,
body {
  min-height: 100%;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #333333;
  background: linear-gradient(180deg, #fffdf0 0%, #ffffff 60%);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}

.logo {
  width: 160px;
  height: auto;
  margin-bottom: 24px;
}

.brand {
  font-size: 40px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.tagline {
  font-size: 18px;
  color: #666666;
  margin-bottom: 40px;
}

.search-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #ffcc00;
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(255, 204, 0, 0.35);
}

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

.site-footer {
  padding: 20px 16px calc(20px + env(safe-area-inset-bottom, 0px));
  text-align: center;
}

.beian-link {
  color: #999999;
  font-size: 12px;
  text-decoration: none;
}

.beian-link:hover {
  color: #666666;
  text-decoration: underline;
}

@media (max-width: 480px) {
  .logo {
    width: 120px;
    margin-bottom: 20px;
  }

  .brand {
    font-size: 32px;
  }

  .tagline {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .search-hint {
    font-size: 14px;
    padding: 10px 18px;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background: linear-gradient(180deg, #1c1a10 0%, #121212 60%);
    color: #eeeeee;
  }

  .brand {
    color: #f5f5f5;
  }

  .tagline {
    color: #aaaaaa;
  }

  .beian-link {
    color: #777777;
  }

  .beian-link:hover {
    color: #aaaaaa;
  }
}
