/* ================================
   Reset
=================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================================
   Dark Mode Colors (Permanent)
=================================== */
:root {
  --bg-color: #121212;
  --text-color: #eee;
  --card-color: #1e1e1e;
  --link-bg: #2c2c2c;
  --link-hover: #3c3c3c;
}

/* ================================
   Base Styles
=================================== */
html, body {
  height: 100%;
  background: var(--bg-color);
}

body {
  font-family: 'Alegreya Sans', sans-serif;
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

/* Headings default to Inknut Antiqua */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inknut Antiqua', serif;
}

/* ================================
   Inknut Antiqua Utility Classes
=================================== */
.inknut-antiqua-light { font-family: "Inknut Antiqua", serif; font-weight: 300; }
.inknut-antiqua-regular { font-family: "Inknut Antiqua", serif; font-weight: 400; }
.inknut-antiqua-medium { font-family: "Inknut Antiqua", serif; font-weight: 500; }
.inknut-antiqua-semibold { font-family: "Inknut Antiqua", serif; font-weight: 600; }
.inknut-antiqua-bold { font-family: "Inknut Antiqua", serif; font-weight: 700; }
.inknut-antiqua-extrabold { font-family: "Inknut Antiqua", serif; font-weight: 800; }
.inknut-antiqua-black { font-family: "Inknut Antiqua", serif; font-weight: 900; }

/* ================================
   Layout
=================================== */
.container {
  max-width: 500px;
  margin: auto;
  padding: 2rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

@media (min-width: 768px) {
  .container {
    padding: 3rem 2rem;
  }
}

/* ================================
   Profile
=================================== */
.profile .avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid var(--link-bg);
}

.profile h1 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* ================================
   Links
=================================== */
.links {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.links a {
  display: block;
  background: var(--link-bg);
  padding: 1rem;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  font-family: 'Alegreya Sans', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  transition: background 0.3s, transform 0.1s ease-in-out;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.links a:hover {
  background: var(--link-hover);
  transform: translateY(-2px);
}

.links a:active {
  transform: translateY(0);
}

/* ================================
   Footer
=================================== */
footer {
  font-size: 0.85rem;
  margin-top: 2rem;
  opacity: 0.6;
  text-align: center;
}

/* ================================
   Responsive Tweaks
=================================== */
@media (max-width: 480px) {
  .links a {
    font-size: 1rem;
    padding: 0.85rem;
  }

  .profile h1 {
    font-size: 1.2rem;
  }

  .profile .avatar {
    width: 100px;
    height: 100px;
  }
}

@media (min-width: 481px) and (max-width: 1023px) {
  .profile h1 {
    font-size: 1.6rem;
  }

  .links a {
    font-size: 1.05rem;
    padding: 1rem;
  }
}

@media (min-width: 1024px) {
  .profile h1 {
    font-size: 1.8rem;
  }

  .profile .avatar {
    width: 140px;
    height: 140px;
  }

  .links a {
    font-size: 1.15rem;
    padding: 1.2rem;
  }
}
