/* --- Global Reset & Base Styles --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* --- Animation for the background --- */
@keyframes move-stars {
  from {
    background-position: 0 0, 0 0, 0 0;
  }
  to {
    /* Move each layer at a different speed for a parallax effect */
    background-position: -500px 250px, -300px 150px, -100px 50px;
  }
}

body {
  background-color: #111; /* A very dark charcoal, slightly softer than pure black */
  
  /* 3-layer starry background for a more natural, random look */
  background-image: 
    /* Layer 1: Tiny, sparse stars */
    radial-gradient(circle, rgba(255, 255, 255, 0.7) 0.8px, transparent 1px),
    /* Layer 2: Medium density stars */
    radial-gradient(circle, rgba(255, 255, 255, 0.8) 1px, transparent 1px),
    /* Layer 3: Faint, larger area stars */
    radial-gradient(circle, rgba(255, 255, 255, 0.5) 0.8px, transparent 1px);

  background-size: 
    250px 250px, /* Large distance between sparse stars */
    150px 150px, /* Medium distance */
    50px 50px;    /* Small distance for dense stars */

  /* Apply the animation */
  animation: move-stars 100s  infinite;

  color: #ccc; /* Slightly softer white for text */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
  padding: 2rem;
  min-height: 100vh;

  /* Full centering logic */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.container {
  max-width: 650px;
  width: 100%;
}

/* --- Typography --- */
h1 {
  font-family: "Times New Roman", Times, serif; /* A classic serif font */
  font-style: italic; /* Make the name italic */
  font-weight: 400; /* Regular weight, not bold */
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #e0e0e0; /* Make the name slightly brighter */
}

h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: #aaa;
}

p.bio {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2.5rem; 
}

/* --- Links --- */
a {
  color: #ccc;
  text-decoration: underline;
  transition: color 0.2s ease-in-out;
}

a:hover {
  color: #fff; /* Brighten on hover instead of changing opacity */
}

/* --- Reach Out Section --- */
.reach-out {
  margin-top: 2rem;
}

.links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem; /* Increased gap for better spacing */
  list-style: none;
  justify-content: center;
}

/* Reverted links to simple text, removing button styles */
.links-list a {
  text-decoration: underline;
  text-transform: none; /* No more uppercase */
  font-weight: normal;
  border: none; /* Removed border */
  padding: 0; /* Removed padding */
  letter-spacing: normal;
}

.links-list a:hover {
  background-color: transparent; /* Ensure no background on hover */
  color: #fff;
}


/* --- Responsive --- */
@media (max-width: 600px) {
  h1 {
    font-size: 2.1rem;
  }
  
  .links-list {
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
  }
}