#pageLinks {
position: absolute;
width: 100%;
margin: 0 auto;
  left: 50%;
transform: translateX(-50%);
top: 0;
display: none;
flex-direction: row;
flex-wrap: wrap;
gap: 15px;
max-width: 800px;
z-index: 99999999;

}


.container {
      max-width: 800px;
      margin: 0 auto;
      padding: 20px 30px; /* Increased horizontal padding */
    }
    header {
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      margin-bottom: 20px;
    }
    h1 {
      margin: 0;
      font-size: 1.8rem;
      color: #ba4df5;
    }
    h1 i {
      margin-right: 10px;
    }
    main {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
    }
    /* Style for the Dev Instructions label */
    .label-container {
        text-align: center; /* Center the label */
        width: 100%; /* Ensure container takes full width */
        margin-bottom: 25px;
    }
    #devInstructionsLabel {
      color: #aaa;
      cursor: pointer;
      font-size: 0.9rem;
      margin-top: -10px; /* Pull up slightly below header */
      text-decoration: none;
      border-bottom: 1px dashed #555;
      transition: color 0.3s, border-bottom-color 0.3s;
      display: inline-block; /* Needed for centering text with border */
      padding-bottom: 2px;
    }
    #devInstructionsLabel:hover {
      color: #ba4df5;
      border-bottom-color: #ba4df5;
    }
    #devInstructionsLabel i {
        margin-right: 5px;
    }

    /* Keyframes for the pulsing shadow animation */
    @keyframes pulsingShadow {
        /* Purple Pulse */
        0%      { box-shadow: 0 0 18px 4px rgba(186, 77, 245, 0.9); }
        20%     { box-shadow: 0 0 8px 0px rgba(186, 77, 245, 0.3); }
        24%     { box-shadow: none; } /* Off */
        /* White Pulse */
        25%     { box-shadow: 0 0 20px 5px rgba(255, 255, 255, 1.0); }
        45%     { box-shadow: 0 0 10px 0px rgba(255, 255, 255, 0.4); }
        49%     { box-shadow: none; } /* Off */
        /* Yellow Pulse */
        50%     { box-shadow: 0 0 18px 4px rgba(255, 235, 59, 0.9); }
        70%     { box-shadow: 0 0 8px 0px rgba(255, 235, 59, 0.3); }
        74%     { box-shadow: none; } /* Off */
        /* Lime Pulse */
        75%     { box-shadow: 0 0 18px 4px rgba(50, 205, 50, 0.9); }
        95%     { box-shadow: 0 0 8px 0px rgba(50, 205, 50, 0.3); }
        100%    { box-shadow: none; } /* End off before loop */
    }

    #imagePreviewContainer {
      text-align: center;
      margin-bottom: 30px;
      min-height: 100px; /* Placeholder height */
      width: 100%;
      border: 2px dashed #444;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #121212;
      padding: 10px;
      transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
      opacity: 1;
      transform: scale(1);
    }
    #imagePreviewContainer img {
      max-width: 100%;
      height: auto; /* Ensure aspect ratio is maintained */
      max-height: 250px; /* Limit height to 250px */
      border-radius: 6px;
      object-fit: contain; /* Ensure image scales down nicely within bounds */
      animation: pulsingShadow 2s infinite linear; /* Apply pulsing animation (faster) */
    }
    #imagePreviewContainer p {
        color: #666;
    }
    .page-links {
      width: 100%;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 15px;
    }
    .page-link-card {
      background-color: #121212;
      border: 1px solid #444;
      height: 100px;
      border-radius: 8px;
      padding: 15px;
      text-decoration: none;
      margin-bottom: 10px;
      color: #fff;
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    .page-link-card:hover {
      background-color: black;
      border-color: #ba4df5;
      transform: translateY(-2px);
      box-shadow: 0 6px 12px rgb(255, 255, 255, 0.2);
    }
    .page-link-card:hover h3 {
      color: #d19af7;
    }
    .page-link-card:hover p {
      color: #ffffff;
    }
    .page-link-card h3 {
      margin: 0 0 10px 0;
      color: #ba4df5;
      font-size: 1.1rem;
    }
    .page-link-card h3 i {
        margin-right: 8px;
    }
    .page-link-card p {
      margin: 0;
      font-size: 0.9rem;
      color: #ccc;
      flex-grow: 1; /* Pushes content down if needed */
    }
