@font-face {
  font-family: 'OldLondon';
  src: url('oldlondon.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

body {
  margin: 0;
  padding: 0;
  background-color: #1a1a1a;
  font-family: 'Open Sans', sans-serif;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
}

.container {
  max-width: 90vw;
}

.title {
  font-family: 'OldLondon', cursive;
  font-size: 72px;
  margin: 0;
}

.subtitle {
  font-size: 20px;
  color: #eee;
  margin-top: 10px;
}

.description {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 30px;
}

.footer {
  font-size: 12px;
  color: #aaa;
  margin: 20px 0px 5px 0px;
}

.box {
  border: 2px solid #444;
  border-radius: 8px;
  padding: 20px;
  background-color: #2a2a2a;
}

.form-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: nowrap;
  margin-bottom: 16px;
}

input, select {
  padding: 10px;
  font-size: 16px;
  font-family: 'Open Sans', sans-serif;
  border: none;
  border-radius: 5px;
  background-color: #333;
  color: #eee;
}

input {
  flex: 1;
  min-width: 0;
}

select {
  width: 140px;
}

.link-bar {
  display: flex;
  align-items: center;
  justify-content: start;
  background-color: #ffd745;
  color: #000;
  font-family: monospace;
  border-radius: 4px;
  padding: 10px 12px;
  cursor: pointer;
  gap: 10px;
  user-select: none;
  width: 100%;
  max-width: 530px;
  margin: 0 auto;
  min-height: 40px;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  transition: background-color 0.1s ease;
}

.link-bar:hover {
  background-color: #ebc438;
}

.link-bar:not(:hover)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 60px;
  height: 100%;
  background: linear-gradient(to left, #ffd745, rgba(255, 215, 69, 0));
  pointer-events: none;
}

.copy-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}