:root {
    /* Rose Pine Moon (Dark Mode) Variables */
    --dark-base: #232136;
    --dark-surface: #2a273f;
    --dark-overlay: #393552;
    --dark-muted: #6e6a86;
    --dark-subtle: #908caa;
    --dark-text: #e0def4;
    --dark-love: #eb6f92;
    --dark-gold: #f6c177;
    --dark-rose: #ea9a97;
    --dark-pine: #3e8fb0;
    --dark-foam: #9ccfd8;
    --dark-iris: #c4a7e7;
    
    /* Rose Pine Dawn (Light Mode) Variables */
    --light-base: #faf4ed;
    --light-surface: #fffaf3;
    --light-overlay: #f2e9e1;
    --light-muted: #9893a5;
    --light-subtle: #797593;
    --light-text: #575279;
    --light-love: #b4637a;
    --light-gold: #ea9d34;
    --light-rose: #d7827e;
    --light-pine: #286983;
    --light-foam: #56949f;
    --light-iris: #907aa9;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.6;
    transition: all 0.3s ease;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  
  /* Dark theme (default) */
  body.dark {
    background-color: var(--dark-base);
    color: var(--dark-text);
  }
  
  body.dark .profile-card {
    background-color: var(--dark-surface);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  }
  
  body.dark .link-card {
    background-color: var(--dark-overlay);
    border: 1px solid var(--dark-muted);
  }
  
  body.dark .link-card:hover {
    border-color: var(--dark-iris);
    background-color: rgba(196, 167, 231, 0.1);
  }
  
  body.dark .theme-toggle button {
    background-color: var(--dark-overlay);
    color: var(--dark-subtle);
  }
  
  body.dark .sun {
    display: none;
  }
  
  body.dark .moon {
    display: block;
  }
  
  /* Light theme */
  body.light {
    background-color: var(--light-base);
    color: var(--light-text);
  }
  
  body.light .profile-card {
    background-color: var(--light-surface);
    box-shadow: 0 8px 30px rgba(87, 82, 121, 0.1);
  }
  
  body.light .link-card {
    background-color: var(--light-overlay);
    border: 1px solid var(--light-muted);
  }
  
  body.light .link-card:hover {
    border-color: var(--light-iris);
    background-color: rgba(144, 122, 169, 0.1);
  }
  
  body.light .theme-toggle button {
    background-color: var(--light-overlay);
    color: var(--light-subtle);
  }
  
  body.light .moon {
    display: none;
  }
  
  body.light .sun {
    display: block;
  }
  
  /* Shared styles */
  .container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .profile-card {
    border-radius: 16px;
    overflow: hidden;
    padding: 30px;
    transition: all 0.3s ease;
  }
  
  .profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
  }
  
  .profile-image {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 50%;
    margin-bottom: 16px;
  }
  
  .profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .profile-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
  }
  
  .profile-header p {
    max-width: 80%;
    opacity: 0.8;
    margin-bottom: 16px;
  }
  
  .links-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
  }
  
  .link-card {
    display: flex;
    align-items: center;
    padding: 16px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: relative;
    top: 0;
  }
  
  /* Hover animation for link cards */
  .link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    top: -2px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy animation */
  }
  
  .link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-right: 16px;
    font-size: 1.5rem; /* Font Awesome icon size */
  }
  
  body.dark .link-icon {
    color: var(--dark-iris);
  }
  
  body.light .link-icon {
    color: var(--light-iris);
  }
  
  .link-text {
    flex: 1;
  }
  
  body.dark .link-text h3 {
    color: var(--dark-text);
    font-weight: 600;
  }
  
  body.light .link-text h3 {
    color: var(--light-text);
    font-weight: 600;
  }
  
  body.dark .link-text p {
    color: var(--dark-subtle);
    font-size: 0.9rem;
  }
  
  body.light .link-text p {
    color: var(--light-subtle);
    font-size: 0.9rem;
  }
  
  .theme-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
  }
  
  .theme-toggle button {
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  /* Hover effect for theme toggle button */
  .theme-toggle button:hover {
    transform: rotate(15deg) scale(1.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  .footer {
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.7;
  }
  
  /* Added styles for Font Awesome icons */
  .footer i.fa-heart {
    color: var(--dark-love);
  }
  
  body.light .footer i.fa-heart {
    color: var(--light-love);
  }
  
  /* Responsive styles */
  @media (max-width: 600px) {
    .profile-card {
      padding: 20px;
    }
    
    .profile-header p {
      max-width: 100%;
    }
    
    .link-card {
      padding: 12px;
    }
    
    .link-icon {
      width: 40px;
      height: 40px;
      margin-right: 12px;
    }
    
    .link-text h3 {
      font-size: 1rem;
    }
    
    .link-text p {
      font-size: 0.8rem;
    }
  }
  
  @media (max-width: 400px) {
    .profile-image {
      width: 80px;
      height: 80px;
    }
    
    .profile-header h1 {
      font-size: 1.5rem;
    }
  }