@keyframes pulse {
    0%,
    100% {
      opacity: 1;
    }
    50% {
      opacity: 0.5;
    }
  }
  
  .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  :root {
    --bg-color: #101217;
    --sec-color: #1a1d24;
    --sec-color-2: #2a2d35;
    --green: rgb(86, 222, 147);
    --white: #ffffff;
    --border-radius: 12px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: "Arial", sans-serif;
    background-color: var(--bg-color);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
  }

  /* Body Scrollbar */
body::-webkit-scrollbar {
    width: 12px;
  }
  body::-webkit-scrollbar-track {
    background: var(--sec-color);
  }
  body::-webkit-scrollbar-thumb {
    background: var(--green);
    border-radius: 10px;
  }
  body {
    scrollbar-width: thin;
    scrollbar-color: var(--green) var(--sec-color);
  }
  
  h1 {
    color: var(--green);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 0.5rem;
    font-weight: 700;
  }
  
  a,
  b {
    color: var(--green);
    text-decoration: none;
    font-weight: bold;
  }
  
  header {
    padding: 2rem 1rem;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--sec-color) 100%);
  }
  
  /* Biography Specific Styles */
  .biography-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
  }
  
  .biography-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
  }
  
  .image-section {
    display: flex;
    justify-content: center;
  }
  
  .image-placeholder {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1;
    background-color: var(--green);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
  }
  
  .content-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  .bio-text {
    padding: 1.5rem;
    background: var(--sec-color);
    border-radius: var(--border-radius);
    font-size: 1.2em;
    line-height: 2em;
  }
  
  /* Section Titles */
  .section-title {
    color: var(--green);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--sec-color-2);
  }
  
  /* Profile Cards Grid */
  .profile-section {
    background: var(--sec-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
  }
  
  .profile-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }
  
  .profile-card {
    background: var(--green);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
  }
  
  .profile-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(86, 222, 147, 0.3);
  }
  
  .profile-card-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bg-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .profile-card-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--bg-color);
    line-height: 1.2;
  }
  
  .profile-card .ref-link {
    color: var(--bg-color);
    font-size: 0.7rem;
    opacity: 0.8;
  }
  
  .profile-card .ref-link:hover {
    opacity: 1;
    text-decoration: underline;
  }
  
  /* Upcoming Works - Enhanced Table */
  .upcoming-works {
    background: var(--sec-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
  }
  
  .table-container {
    overflow-x: auto;
    border-radius: var(--border-radius);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  .works-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
  }
  
  .works-table th {
    background: var(--sec-color-2);
    color: var(--white);
    font-weight: 700;
    padding: 1.2rem;
    text-align: left;
    border-bottom: 2px solid var(--bg-color);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .works-table td {
    padding: 1.2rem;
    border-bottom: 1px solid var(--sec-color-2);
    color: var(--green);
    font-weight: 600;
    font-size: 1rem;
  }
  
  .works-table tr:last-child td {
    border-bottom: none;
  }
  
  .works-table tr:hover {
    background: rgba(86, 222, 147, 0.08);
  }
  
  .work-title {
    font-weight: 700;
    font-size: 1.1rem;
  }
  
  .work-description {
    line-height: 1.5;
  }
  
  .work-notes {
    font-style: italic;
    opacity: 0.9;
  }
  
  /* References - Enhanced Design */
  .references-section {
    background: var(--sec-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
  }
  
  .references-content {
    background: var(--bg-color);
    border: 1px solid var(--sec-color-2);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  
  .reference-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--sec-color);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--green);
    transition: var(--transition);
  }
  
  .reference-item:hover {
    background: var(--sec-color-2);
    transform: translateX(4px);
  }
  
  .ref-number {
    color: var(--green);
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
    min-width: 40px;
  }
  
  .ref-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
  }
  
  .ref-type {
    color: var(--green);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .ref-description {
    color: var(--white);
    font-size: 1rem;
    line-height: 1.4;
  }
  
  .ref-url {
    color: var(--green);
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
  }
  
  .ref-url:hover {
    text-decoration: underline;
    color: var(--white);
  }
  
  /* Desktop Layout */
  @media (min-width: 1024px) {
    .biography-grid {
      grid-template-columns: 1fr 2fr;
      gap: 3rem;
    }
  
    .image-placeholder {
      max-width: 400px;
    }
  
    .profile-cards-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* Tablet adjustments */
  @media (max-width: 768px) {
    .profile-cards-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 0.75rem;
    }
  
    .profile-card {
      padding: 1rem;
    }
  
    .profile-card-value {
      font-size: 1.2rem;
    }
  
    .works-table {
      font-size: 0.9rem;
    }
  
    .works-table th,
    .works-table td {
      padding: 0.8rem 0.6rem;
    }
  
    .reference-item {
      flex-direction: column;
      gap: 0.5rem;
    }
  
    .ref-details {
      gap: 0.5rem;
    }
  }
  
  /* Mobile adjustments */
  @media (max-width: 480px) {
    .profile-cards-grid {
      grid-template-columns: 1fr;
    }
  }


  footer div a {
    display: flex;
  }

  footer div {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    padding: 1em;
  }
  
  /* Modal */
  .modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 999;
    align-items: center;
    justify-content: center;
  }
  
  .modal-content {
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
  }
  
  select {
    font-size: 1.5rem;
    padding: 1rem;
    background: var(--bg-color);
    color: var(--white);
    border: 2px solid var(--green);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
  }
  