@import url("./variables.css");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  font-family: "Inter", sans-serif;
}

body {
  background: var(--primary-bg) url("./assets/background.webp") no-repeat top / cover fixed;
  color: var(--text-dark);
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(217, 197, 187, 0.7);
  backdrop-filter: blur(4px);
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
}

.avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 1.5rem;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

h2 {
  font-size: 1rem;
  letter-spacing: 2px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.badge {
  display: inline-block;
  background: var(--accent);
  color: var(--text-light);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.links {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  color: var(--text-dark);
  background: var(--text-light);
  border: 2px solid var(--accent);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: all 0.25s ease;
}

.links a:hover {
  background: var(--accent);
  color: var(--text-light);
}

.links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

footer {
  margin-top: 2rem;
  font-size: 0.75rem;
  opacity: 0.75;
}

.powered-by {
  font-size: 0.85em;
}

.powered-link {
  color: var(--link);
  text-decoration: underline dotted;
  font-weight: 400;
  transition: color 0.2s;
}

.powered-link:visited {
  color: var(--link);
}

.powered-link:hover {
  color: var(--accent);
}

@media (min-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
}