/* Reset and basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body, html {
    height: 100%;
    font-family: Arial, sans-serif;
    color: #fff;
    overflow: hidden;
  }
  
  /* Galaxy background using a purple radial gradient */
  body {
    background: radial-gradient(ellipse at bottom, #6a0dad 0%, #1b002b 100%);
    position: relative;
  }
  
  /* Canvas for animated stars (fills the background) */
  #starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
  
  /* Main container for centering the info box */
  .container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    min-height: 100vh;
  }
  
  /* Information box styling (made more compact) */
  .info-box {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    padding: 20px;  /* reduced padding for a compact look */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    max-width: 500px;
    width: 100%;
  }
  
  /* Profile picture styling */
  .profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    margin: 0 auto 15px auto;  /* reduced bottom margin */
  }
  .profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* Main header styling */
  h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  }
  
  /* Description styling */
  .description {
    font-size: 1.2rem;
    margin-bottom: 20px; /* reduced margin for compact spacing */
    text-align: center;
    max-width: 600px;
    padding: 0 20px;
  }

  /* Footer styling */
  footer {
    font-size: 0.65rem;
    margin-bottom: 20px; /* reduced margin for compact spacing */
    text-align: center;
    max-width: 600px;
    padding: 0 20px;
  }
  
  /* First link section - vertical stacking */
  .links {
    display: flex;
    flex-direction: column;
    gap: 10px; /* reduced gap for compactness */
    width: 100%;
    margin-bottom: 20px; /* space between sections */
  }
  
  /* Second link section - inline arrangement */
  .social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  /* General link styling */
  .link {
    display: block;
    padding: 12px;  /* slightly reduced padding */
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: background 0.3s, transform 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  }
  
  .link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
  }
  
  /* New CSS for link inner layout to support left icons and centered text */
  .link-inner {
    display: grid;
    grid-template-columns: 24px 1fr 24px;
    align-items: center;
  }
  .link-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    justify-self: center;
  }
  .link-text {
    text-align: center;
    width: 100%;
  }
  .link-dummy {
    width: 24px;
    height: 24px;
  }
  
  /* h2 for the second link section */
  .info-box h2 {
    font-size: 1.5rem;
    margin: 20px 0 10px;
    text-align: center;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .info-box {
      padding: 15px;
    }
    .profile-pic {
      width: 120px;
      height: 120px;
    }
    h1 {
      font-size: 2rem;
    }
    .description {
      font-size: 1rem;
      max-width: 90%;
      padding: 0 10px;
    }
    .link {
      font-size: 1rem;
      padding: 10px;
    }
    .info-box h2 {
      font-size: 1.3rem;
    }
  }
  
  @media (max-width: 480px) {
    h1 {
      font-size: 1.8rem;
    }
    .description {
      font-size: 0.95rem;
    }
    .link {
      font-size: 0.95rem;
      padding: 8px;
    }
  }
  