:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --fg: #111111;
  --link-bg: #f0f0f0;
  --link-fg: #111111;
  --note-fg: #555555;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111111;
    --fg: #f5f5f5;
    --link-bg: #222222;
    --link-fg: #f5f5f5;
    --note-fg: #aaaaaa;
  }
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.hero {
  height: 100vh;
  height: 100dvh;
  background-image: url("hero.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  font-size: 2rem;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  opacity: 0.8;
  animation: bob 1.8s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-hint {
    animation: none;
  }
}

.links {
  padding: 24px 16px 40px;
  max-width: 640px;
  margin: 0 auto;
}

.link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 48px;
  width: 100%;
  padding: 16px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: var(--link-bg);
  color: var(--link-fg);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
}

.link:last-of-type {
  margin-bottom: 20px;
}

.note {
  text-align: center;
  color: var(--note-fg);
  font-size: 0.9rem;
  margin: 0;
}

@media (min-width: 700px) {
  .links {
    padding-top: 40px;
  }
}
