:root {
  --bg-1: #211c1f;
  --bg-2: #723932;
  --accent: #e07c48;
  --text: #f2f2f2;
}

html {
  font-size: 22px;
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  text-align: center;
  line-height: 1.4;

  color: var(--text);
  background-color: var(--bg-1);
  background-image: linear-gradient(
    to bottom,
    var(--bg-1) 0%,
    var(--bg-2) 50%,
    var(--bg-1) 100%
  );
  background-size: 300% 300%;
  animation: sunsetShift 18s ease-in-out infinite alternate;
}

h1 {
  font-size: 2.2rem;
  margin: 0 0 0.2em 0;
  color: var(--text);
  text-shadow: 0 1px 0 rgba(0,0,0,0.2);
}

ul {
  font-size: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.4rem;
}

li {
  margin: 0;
}

a {
  text-decoration: none;
  color: var(--text);
  background: var(--bg-1);
  padding: 0.55em 1em;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(33, 28, 31, 0.25);
  transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

a:hover {
  background: var(--bg-2);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(33, 28, 31, 0.28);
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

@keyframes sunsetShift {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 50% 100%;
  }
  100% {
    background-position: 100% 0%;
  }
}
