body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5; /* Slightly softer background */
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 800px; /* Increased max-width for better content display */
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Header --- */
.site-header {
    background-color: #ffffff; /* White header */
    padding: 15px 0;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-logo {
    max-width: 120px; /* Example: Changed from 180px to 120px */
    height: auto;     /* This keeps the aspect ratio correct */
    margin-bottom: 10px;
}

.site-title { /* Fallback if no logo */
    color: #007bff;
    margin: 0;
    font-size: 2em;
}

/* --- Main Content --- */
.site-main {
    flex-grow: 1; /* Allows footer to stick to bottom */
    padding: 30px 0;
}

.downloads-section h1 {
    color: #2c3e50; /* Darker blue for heading */
    font-size: 2em; /* Slightly larger heading */
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.intro {
    color: #555;
    font-size: 1.1em;
    line-height: 1.7; /* Increased line-height for readability */
    margin-bottom: 15px;
    text-align: center;
}

.last-updated {
    text-align: center;
    font-size: 0.9em;
    color: #777;
    margin-bottom: 25px;
}

.version-list {
    list-style:
 none;
    padding: 0;
    margin: 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden; /* For rounded corners on list items */
}

.version-list li {
    padding: 18px 20px; /* Increased padding */
    border-bottom: 1px solid #f0f0f0; /* Softer border */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px; /* Spacing between info and button on wrap */
}

.version-list li:last-child {
    border-bottom: none;
}

.version-info {
    flex-grow: 1;
}

.version-name {
    font-weight: 600; /* Semibold */
    color: #007bff; /* Link color for version name */
    font-size: 1.15em;
}

.version-date {
    font-size: 0.85em;
    color: #6c757d; /* Bootstrap's text-muted color */
    margin-top: 5px;
}

.version-filename {
    font-size: 0.8em;
    color: #888;
    margin-top: 3px;
    font-style: italic;
}

.download-button {
    display: inline-block;
    background-color: #007bff; /* Primary blue */
    color: white !important;
    padding: 10px 22px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.95em;
    font-weight: 500;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease;
    white-space: nowrap;
    border: none;
    cursor: pointer;

}

.download-button:hover,
.download-button:focus {
    background-color: #0056b3; /* Darker blue */
    transform: translateY(-1px);
    outline: none;
}
.download-button:active {
    transform: translateY(0px);
}


.no-versions {
    text-align: center;
    color: #6c757d;
    padding: 30px 20px;
    font-style: italic;
    font-size: 1.1em;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* --- Developer Notes Section --- */
.developer-notes-section {
    margin-top: 40px;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.developer-notes-section h2 {
    color: #343a40; /* Bootstrap's default dark color */
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.6em;
}

.comment-block {
    margin-bottom: 25px;
}

.comment-block h3 {
    color: #495057; /* Bootstrap's secondary text color */
    font-size: 1.25em;
    margin-top: 0;
    margin-bottom: 10px;
    border-bottom: 1px dashed #ced4da;
    padding-bottom: 5px;
}

.comment-block pre {
    background-color: #f8f9fa; /* Very light gray */
    border: 1px solid #e9ecef; /* Light border */
    border-left: 4px solid #007bff; /* Blue accent */
    padding: 15px;
    margin-top: 5px;
    font-family: 'Consolas', 'Monaco', 'Courier New', Courier, monospace;
    font-size: 0.9em;
    white-space: pre-wrap; /* Wrap long lines */
    word-wrap: break-word;
    border-radius: 4px;
    overflow-x: auto; /* Allow horizontal scroll if content is too wide */
    line-height: 1.5;
}

/* --- Footer --- */
.site-footer {
    padding: 25px 0;
    background-color: #343a40; /* Dark footer */
    color: #adb5bd; /* Light text on dark background */
    text-align: center;
    font-size: 0.9em;
    margin-top: auto; /* Stick to bottom if content is short */
}
.site-footer p {
    margin: 0;
}
