* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  min-height: 100vh;
  background: #bebec1;
  color: #24292e;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  padding: 0;
  min-height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.container {
  background: #a787f1;
  width: 100%;
  max-width: 50%;
  min-width: 0;
  min-height: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.11);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 5vh 0;
  padding: 24px 18px 18px 18px;
  position: relative;
  border-radius: 22px;
}
h1 {
  color: #FFFFFF;
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  padding: 0;
}
.tag {
  background: #65558f;
  color: #ffffff;
  padding: 6px 18px;
  border-radius: 20px;
  display: inline-block;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
  transition: background 0.3s ease;
  text-align: center;
}
a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #ffe087;
}
h3 {
  font-size: 1.07rem;
  font-weight: 500;
  margin-bottom: 0;
  margin-top: 8px;
  color: #24292e;
}
.footer {
  margin-top: 25px;
  text-align: center;
  font-size: 0.96rem;
  color: #292626;
  font-weight: 700;
  width: 98%;
  padding: 10px;
  background: #946def;
  border-radius: 14px;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
  font-family: "Courier New", Courier, monospace;
  word-break: break-word;
  display: block;
}
.footer a {
  color: #fffbe3;
  text-decoration: underline;
  font-weight: bold;
}

@media (max-width: 650px) {
  .container {
    margin: 3vh 0;
    padding: 14px 4vw 8px 4vw;
    max-width: 98vw;
    border-radius: 14px;
  }
  h1 {
    font-size: 1.2rem;
  }
  .footer {
    font-size: 0.85rem;
    padding: 7px 2vw;
    border-radius: 9px;
  }
  .tag {
    font-size: 0.98rem;
    padding: 6px 8vw;
    margin-bottom: 12px;
  }
}
