body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif; /* Global Arial font */
    color: #fff;
    text-align: center;
    background: linear-gradient(to right, #4A5568, #2D3748); /* Default fallback */
    transition: background 0.5s ease;
}

.content-container {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    width: 90%;
    margin: 20px auto;
}

h1, h2 {
    margin-bottom: 15px;
}

ul {
    text-align: left;
    margin: 10px auto;
    padding-left: 20px;
}

ul li {
    margin-bottom: 5px;
}

footer {
    margin-top: auto;
    font-size: 0.9rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.7); /* Consistent footer background */
    color: #ffffff; /* White text for footer */
    padding: 20px 10px; /* Spacing around footer content */
    border-radius: 10px; /* Rounded corners for consistency */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

.footer-link, .share-link {
    color: #3579ED; /* Match index.php footer link color */
    text-decoration: none;
    font-size: 1rem; /* Uniform size for all footer links */
    margin: 0 10px; /* Space between links */
}

.footer-link:hover, .share-link:hover {
    text-decoration: underline;
}

.reference-note {
    display: block;
    margin-top: 10px;
    font-size: 0.85rem; /* Slightly smaller font for reference note */
    color: #d3d3d3; /* Light grey for subtle emphasis */
}

/* Centering and spacing links */
.footer .share-links {
    margin-top: 20px; /* Adds extra space above links */
    display: block; /* Makes sure the links are block-level */
    line-height: 2.5; /* Adds vertical spacing between links */
}

.footer .share-link {
    display: inline-block; /* Keeps links horizontally aligned */
    color: #3579ED; /* Consistent link color */
    margin: 0 10px; /* Horizontal spacing */
}

/* Additional spacing for mobile devices */
@media (max-width: 767px) {
    footer {
        font-size: 0.8rem; /* Adjust font size for smaller screens */
    }

    .footer .share-links {
        margin-top: 30px; /* Extra spacing for mobile devices */
    }

    .footer .footer-link {
        display: block; /* Stacks links vertically for readability */
        margin-bottom: 10px; /* Space between stacked links */
    }
}

