:root {
  --bg-color: #0d0e15;
  --surface-color: #0d0e15c0;
  --primary-color: #ff2a7a;
  --secondary-color: #6f7e95;
  --highlight-color: #05ffc5;

  --text-main: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background-color: var(--bg-color);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  padding: 20px;
}

.container {
  background-color: var(--surface-color);
  border: 1px solid rgba(115, 158, 130, 0.25); /* Subtle border using secondary tone opacity */
  border-top: 4px solid var(--primary-color);
  border-radius: 12px;
  padding: 40px 30px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header {
  text-align: center;
  margin-bottom: 32px;
}

.header h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--highlight-color);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.header p {
  font-size: 14px;
  color: var(--secondary-color);
}

.link-holder {
  display: flex;
  flex-flow: column;
  gap: 10px;
}

/* Global link reset */
a {
  color: var(--secondary-color);
  text-decoration: none;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

/* Prevents browser-default purple for visited links */
a:visited {
  color: var(--secondary-color);
}

/* Subtle feedback when hovered or keyboard-focused */
a:hover,
a:focus {
  color: var(--highlight-color);
  outline: none;
}

.text-link {
  position: relative;
  font-weight: 500;
  width: fit-content;
}

.text-link::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1.5px;
  bottom: -2px;
  left: 0;
  background-color: var(--primary-color); /* Dynamic line color */
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
