body {
      background-color: black;
      color: white;
      background-image: url("https://7gl4s.upcloudobjects.com/cdn/madebydanny.uk/site-files/com.atproto.sync.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=ASIAE3343CC5EA1C9069%2F20251117%2Fus-1%2Fs3%2Faws4_request&X-Amz-Date=20251117T224744Z&X-Amz-Expires=3600&X-Amz-Security-Token=CiAxMjNjMmE0ZWZhNzg0MzFhYWY4MzkzNDE1NzVmNWY1ZhIhX3VwY2xvdWQtbWFuYWdlZC1maWxlYnJvd3Nlci11c2VyGhRBUk9BQUQwNjBFOUI1OUU0RjZGOCJUdXJuOmVjczppYW06OjEyM2MyYTRlZmE3ODQzMWFhZjgzOTM0MTU3NWY1ZjVmOnJvbGUvX3VwY2xvdWQtbWFuYWdlZC1maWxlYnJvd3Nlci1yb2xlKhRBU0lBRTMzNDNDQzVFQTFDOTA2OTJQTWFzdGVyS2V5UmVjb3JkLTNkYTRlMmU2YzIwY2IzODY0NWVlMmViOWQ1ZTFjNTE4MmJhMGFiNDc1YjEwODhhYTk0MGYzMjJlMDI1YTNjZDU46b2yoakzUiRiM2Y4ODBkNS1mNzYzLTRmMjYtOWEyNy0zNDczZDAwMTNhZTVov8buyAaKAQhJQU1fVVNFUg&X-Amz-Signature=56e16996c616a1574e71d5a4e7e9bc142a82065f0d4e0ba15e8fee46a580d85a&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject");
      background-position: center center;
      background-size: cover;
      background-attachment: fixed;
      font-family: "Itim", cursive;
      font-weight: 400;
      font-style: normal;
      margin: 0;
      padding: 20px 0;
      line-height: 1.6;
    }
    
    /* Main content container with improved contrast */
    .center {
      margin: auto;
      width: 90%;
      max-width: 1200px;
    }

    /* Section title styling */
    .section-title {
      color: #ffffff;
      font-size: 1.4em;
      margin: 0 0 15px 0;
      font-weight: 600;
    }

    /* Top section layout */
    .top-section {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      margin-bottom: 20px;
    }

    /* White card styling */
    .white-card {
      backdrop-filter: blur(20px);
      background: #79f7a394;
      border-radius: 16px;
      padding: 30px;
      margin: 20px 0;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                  0 0 0 1px rgba(255, 255, 255, 0.1) inset;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .white-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4),
                  0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    }
    
    /* Main content container with improved contrast */
    .center {
      margin: auto;
      width: 65%;
      max-width: 900px;

    }
    
    /* Navigation with better contrast */
    nav ul {
      list-style-type: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
    }
    nav ul li {
      padding: 0;
    }
    nav ul li a {
      display: block;
      color: #ffffff;
      text-align: center;
      padding: 12px 18px;
      text-decoration: none;
      border-radius: 6px;
      background-color: rgba(175, 64, 175, 0.54);
      border: 1px solid rgba(175, 64, 175, 0.54);
      transition: all 0.3s ease;
      font-weight: 500;
    }
    nav ul li a:hover {
      color: #ffffff;
      background-color: rgba(175, 64, 175, 0.54);
      border-color: #9999ff;
      transform: translateY(-2px);
    }
    
    /* Links with better visibility */
    a {
      color: #79F7A4;
      text-decoration: none;
      transition: color 0.2s ease;
    }
    a:hover {
      color: white;
      text-decoration: underline;
    }
    
    hr {
      background: linear-gradient(to right, transparent, #9999ff, transparent);
      border: none;
      height: 2px;
      margin: 30px 0;
    }
    
    /* Headings with better contrast */
    h3 {
      color: #ffffff;
      font-size: 1.4em;
      margin-top: 20px;
      margin-bottom: 15px;
      font-weight: 600;
    }
    
    /* Scroll to top button */
    #myBtn {
      display: none;
      position: fixed;
      bottom: 20px;
      right: 30px;
      z-index: 99;
      font-size: 18px;
      border: none;
      outline: none;
      background-color: #2F7D61;
      color: white;
      cursor: pointer;
      padding: 15px;
      border-radius: 8px;
      transition: all 0.3s ease;
    }
    #myBtn:hover {
      background-color: #5CFFC5;
      transform: translateY(-2px);
    }
    
    /* Bluesky Profile Header with better contrast */
    .bsky-profile-header {
      margin: 20px 0;
      border-radius: 16px;
      overflow: hidden;
      backdrop-filter: blur(20px);
      border: 1px solid rgba(153, 153, 255, 0.2);
      box-sizing: border-box;
      background: #79F7A494;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                  0 0 0 1px rgba(255, 255, 255, 0.1) inset;
      transition: all 0.3s ease;
    }

    .bsky-profile-header:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4),
                  0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    }
    #banner {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: none;
    }
    .bsky-header-content {
      padding: 25px;
      position: relative;
    }
    #pfp {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      object-fit: cover;
      display: none;
      margin: -60px 0 15px 0;
      border: 4px solid #2F7D61;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6),
                  0 0 0 2px rgba(255, 255, 255, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    #pfp:hover {
      transform: scale(1.05);
    }
    .bsky-info {
      margin-top: 10px;
    }
    #user {
      font-size: 28px;
      font-weight: bold;
      margin-bottom: 5px;
      color: #2F7D61;
    }
    #handle {
      font-size: 16px;
      color: #2F7D61;
      margin-bottom: 15px;
    }
    #bio {
      color: #2F7D61;
      line-height: 1.7;
      white-space: pre-wrap;
      margin-bottom: 15px;
      font-size: 15px;
    }
    #stats {
      display: flex;
      gap: 25px;
      font-size: 14px;
      color: #2F7D61;
    }
    #stats span {
      color: #2F7D61;
      font-weight: bold;
    }
    .bsky-loading {
      text-align: center;
      color: #ffffff;
      padding: 40px 20px;
    }
    
    .bsky-button {
      display: inline-block;
      padding: 12px 24px;
      background-color: #2F7D61;
      color: white;
      text-decoration: none;
      border-radius: 8px;
      font-weight: bold;
      transition: all 0.3s ease;
      margin-top: 10px;
    }
    .bsky-button:hover {
      background-color: #79F7A4;
      transform: translateY(-2px);
      color: #2F7D61;
    }
    
    /* Latest Bluesky Post with better contrast */
    #latest-bsky-post {
      backdrop-filter: blur(20px);
      background: #79f7a394;
      border-radius: 16px;
      padding: 30px;
      margin: 20px 0;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                  0 0 0 1px rgba(255, 255, 255, 0.1) inset;
      border: 1px solid rgba(153, 153, 255, 0.2);
      transition: all 0.3s ease;
    }

    #latest-bsky-post:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4),
                  0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    }
    
    .post-header {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 15px;
    }
    
    .post-avatar {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      border: 2px solid #2F7D61;
    }
    
    .post-user-info {
      flex: 1;
    }
    
    .post-display-name {
      font-weight: bold;
      color: #2F7D61;
      font-size: 16px;
      cursor: pointer;
      transition: color 0.2s ease;
    }
    
    .post-display-name:hover {
      color: white;
    }
    
    .post-handle {
      color: #2F7D61;
      font-size: 14px;
      cursor: pointer;
      transition: color 0.2s ease;
    }
    
    .post-handle:hover {
      color: white;
      text-decoration: underline;
    }
    
    .post-timestamp {
      color: #2F7D61;
      font-size: 13px;
    }
    
    .post-text {
      color: #2F7D61;
      line-height: 1.7;
      margin-bottom: 15px;
      white-space: pre-wrap;
      font-size: 15px;
      word-wrap: break-word;
    }
    
    .post-text a {
      color: white;
      text-decoration: none;
      transition: color 0.2s ease;
    }
    
    .post-text a:hover {
      color: #d4d4ff;
      text-decoration: underline;
    }
    
    .post-embed {
      margin-top: 15px;
      border-radius: 8px;
      overflow: hidden;
    }
    
    .post-embed img {
      width: 100%;
      max-width: 350px;
      display: block;
      border-radius: 8px;
    }
    
    .post-embed-external img {
      width: 60px;
      height: 60px;
      object-fit: cover;
      border-radius: 4px;
    }
    
    .post-embed-external {
      background-color: rgba(0, 0, 0, 0.5);
      padding: 15px;
      display: flex;
      gap: 12px;
      align-items: center;
      border: 1px solid rgba(153, 153, 255, 0.2);
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s ease;
      text-decoration: none;
      color: inherit;
    }
    
    .post-embed-external:hover {
      background-color: rgba(0, 0, 0, 0.7);
      border-color: rgba(153, 153, 255, 0.5);
      transform: translateY(-2px);
    }
    
    .post-embed-text {
      flex: 1;
    }
    
    .post-embed-title {
      color: #ffffff;
      font-weight: bold;
      margin-bottom: 4px;
    }
    
    .post-embed-description {
      color: #d0d0d0;
      font-size: 13px;
      line-height: 1.4;
    }
    
    .post-embed-url {
      color: #2F7D61;
      font-size: 12px;
    }
    
    .post-stats {
      display: flex;
      gap: 25px;
      margin-top: 15px;
      padding-top: 15px;
      font-size: 14px;
      color: #d0d0d0;
    }
    
    .post-stats i {
      margin-right: 6px;
      color: #2F7D61;
    }

    .post-stats div {
      color:#2F7D61;
    }
    
    .view-post-link {
      display: inline-block;
      margin-top: 12px;
      color: #2F7D61;
      text-decoration: none;
      font-size: 14px;
      font-weight: 500;
    }
    
    .view-post-link:hover {
      color: white;
      text-decoration: underline;
    }
    
    /* Projects list styling */
    ul {
      padding-left: 20px;
    }
    
    ul li {
      margin-bottom: 12px;
      color: #e6e6e6;
    }
    
    ul li i {
      color: #cccccc;
    }
    
    /* Footer styling */
    .center > p:last-of-type {
      color: #cccccc;
      font-size: 14px;
      margin-top: 20px;
    }
    
    /* Responsive design */
    /* Content sections styling */
    .content-section {
      margin-bottom: 30px;
    }

    /* About section styling */
    #about {
      color: #ffffff;
      font-size: 16px;
      line-height: 1.8;
    }

    #about p {
      margin: 0 0 15px 0;
    }

    #about p:last-child {
      margin-bottom: 0;
    }

    .about-loading {
      text-align: center;
      color: #ffffff;
      padding: 20px;
    }



    @media (max-width: 1200px) {
      .center {
        width: 95%;
      }
    }

    @media (max-width: 900px) {
      .top-section {
        grid-template-columns: 1fr;
      }
      
      .bsky-profile-header,
      #latest-bsky-post,
      .content-section {
        margin-bottom: 20px;
      }

    }

    @media (max-width: 600px) {
      body {
        background-attachment: scroll;
        padding: 10px;
      }
      .center {
        width: 100%;
        padding: 10px;
      }
      nav ul {
        flex-direction: column;
        align-items: center;
      }
      nav ul li a {
        width: 100%;
        padding: 12px;
      }
      .section-title {
        font-size: 1.3em;
        text-align: center;
      }
      #myBtn {
        right: 15px;
        bottom: 15px;
        padding: 12px;
        font-size: 16px;
      }
      .white-card {
        padding: 15px;
      }
    }
      #banner {
        height: 120px;
      }
      #pfp {
        width: 80px;
        height: 80px;
        margin: -40px 0 10px 0;
        border: 3px solid #2F7D61;
      }
      #user {
        font-size: 22px;
      }
      #handle {
        font-size: 14px;
      }
      #bio {
        font-size: 14px;
      }
      #stats {
        font-size: 13px;
        flex-wrap: wrap;
        gap: 15px;
      } 
/* Photo Gallery */
  #simple-photo-gallery {
    text-align: center;
    margin: 20px 0;
    backdrop-filter: blur(20px);
    background: #79f7a396;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    border: 1px solid rgba(153, 153, 255, 0.2);
    transition: all 0.3s ease;
  }

  #simple-photo-gallery:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  }

  #simple-photo-gallery h2 {
    font-size: 1.6em;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2F7D61;
    display: flex;
    align-items: left;
    justify-content: left;
    gap: 12px;
  }

  #simple-photo-gallery h2 i {
    color: #2F7D61;
  }

  .gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
    gap: 16px;
    margin: 20px 0;
  }

  .gallery-item {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
  }

  .gallery-item:hover {
    transform: scale(1.08) rotate(2deg);
    box-shadow: #2F7D61;
    border-color: #2F7D61;
    z-index: 10;
  }

  .btn {
    padding: 12px 28px;
    background: linear-gradient(135deg, #9999ff, #b3b3ff);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 16px rgba(153, 153, 255, 0.3);
    position: relative;
    overflow: hidden;
  }

  .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
  }

  .btn:hover {
    background: linear-gradient(135deg, #b3b3ff, #d4d4ff);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(153, 153, 255, 0.5);
  }

  .btn:hover::before {
    left: 100%;
  }

  .btn a {
    color: white;
    text-decoration: none;
  }

  #footer {
    margin-top: 20px;
    font-size: 14px;
    text-align: center;
  }

  /* Current Status Card */
  #current-status {
    background: #79F7A4;
    border: 2px solid #5CFFC9;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    backdrop-filter: blur(20px);
    box-shadow:#2F7D61;
    position: relative;
    overflow: hidden;
  }

  #current-status::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(153, 153, 255, 0.1), transparent);
    animation: statusShine 3s infinite;
  }

  @keyframes statusShine {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
  }

  #current-status:hover {
    transform: scale(1.02);
    border-color: #2F7D61;
  }

  #current-status b {
    color: #2F7D61;
    font-size: 1.1em;
    position: relative;
    z-index: 1;
  }

  /* Modern Projects & Tangled Repos Styling */
  .project-item, .tangled-item {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2));
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
  }

  .project-item::before, .tangled-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #5CFFC5, #5CFFC5);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .project-item:hover, .tangled-item:hover {
    transform: translateX(8px);
    border-color: #79F7A4;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3));
    box-shadow: 0 8px 24px rgba(153, 153, 255, 0.15);
  }

  .project-item:hover::before, .tangled-item:hover::before {
    opacity: 1;
  }

  .project-item h3, .tangled-item h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.3em;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .project-item h3 a, .tangled-item h3 a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .project-item h3 a:hover, .tangled-item h3 a:hover {
    color: #79F7A4;
  }

  .project-item h3 a::after, .tangled-item h3 a::after {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
  }

  .project-item:hover h3 a::after, .tangled-item:hover h3 a::after {
    opacity: 1;
    transform: translateX(0);
  }

  .project-item p, .tangled-item p {
    margin: 8px 0;
    color: #d0d0d0;
    line-height: 1.6;
    font-size: 0.95em;
  }

  .project-item p strong, .tangled-item p strong {
    color: #2F7D61;
    font-weight: 600;
  }

  /* Tangled repo specific styling */
  .tangled-item .fa-server {
    color: #79F7A4;
  }

  .tangled-item .fa-clock {
    color: #79F7A4;
    margin-right: 6px;
  }

  /* Section headers with icons */
  #projects h2, #tangled-repo h2, #leaflets h2, #thanks h2 {
    font-size: 1.6em;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2F7D61;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid #2F7D61;
  }

  #projects h2 i, #tangled-repo h2 i, #leaflets h2 i, #thanks h2 i {
    color: #2F7D61;
    font-size: 0.9em;
  }

  /* Leaflets RSS Feed Styling */
  #leaflets #rss .leaflet-item,
  #rss .feedItem {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2));
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
  }

  #leaflets #rss .leaflet-item::before,
  #rss .feedItem::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #9999ff, #b3b3ff);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  #leaflets #rss .leaflet-item:hover,
  #rss .feedItem:hover {
    transform: translateX(8px);
    border-color: #2F7D61;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3));
    box-shadow: 0 8px 24px rgba(153, 153, 255, 0.15);
  }

  #leaflets #rss .leaflet-item:hover::before,
  #rss .feedItem:hover::before {
    opacity: 1;
  }

  #leaflets #rss h3,
  #rss .feedItem h3,
  #rss .feedItem .feedTitle {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.3em;
    font-weight: 600;
    color: #ffffff;
  }

  #leaflets #rss a,
  #rss .feedItem a {
    color: #2F7D61;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  #leaflets #rss a:hover,
  #rss .feedItem a:hover {
    color: #2F7D61;
  }

  #leaflets #rss .leaflet-description,
  #rss .feedItem .feedDescription,
  #rss .feedItem p {
    margin: 8px 0;
    color: #d0d0d0;
    line-height: 1.6;
    font-size: 0.95em;
  }

  #leaflets #rss .leaflet-date,
  #rss .feedItem .feedDate {
    color: #999;
    font-size: 0.9em;
    margin-top: 10px;
  }

  /* Thanks Section Styling */
  #thanks-content {
    color: #e6e6e6;
    line-height: 1.8;
    font-size: 0.95em;
  }

  #thanks-content a {
    color: #b3b3ff;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  #thanks-content a:hover {
    color: #d4d4ff;
    text-decoration: underline;
  }

  /* Responsive breakpoints */
  @media (max-width: 1024px) {
    .gallery {
      grid-template-columns: repeat(3, 1fr); /* 3 columns on tablets */
    }
  }

  @media (max-width: 768px) {
    .gallery {
      grid-template-columns: repeat(2, 1fr); /* 2 columns on small tablets */
    }
  }

  @media (max-width: 480px) {
    .gallery {
      grid-template-columns: 1fr; /* 1 column (stacked) on mobile */
      gap: 15px;
    }
    
    #simple-photo-gallery {
      padding: 15px;
    }
  }