 
/* ==================================================== */
/* 1. SETUP & CUSTOM PROPERTIES (CSS VARIABLES)       */
/* ==================================================== */

:root {
    --background-color: #0d1117; /* A dark, off-black */
    --text-color: #c9d1d9;       /* A soft white for readability */
    --primary-color: #58a6ff;     /* A vibrant, futuristic blue */
    --secondary-color: #161b22;  /* A slightly lighter dark for containers */
    --border-color: #30363d;      /* A subtle border color */
}

/* A modern CSS reset */
*, *::before, *::after {
    [cite_start]box-sizing: border-box; [cite: 2702-2703]
}

/* ==================================================== */
/* 2. GENERAL BODY & LAYOUT STYLING                   */
/* ==================================================== */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    margin: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ==================================================== */
/* 3. HEADER & FOOTER STYLING                         */
/* ==================================================== */
header, footer {
    text-align: center;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

header h1 {
    margin: 0;
    color: var(--primary-color);
    /* Softened the neon glow effect for better readability */
    text-shadow: 0 0 8px rgba(88, 166, 255, 0.6);
}

header p {
    color: var(--text-color);
    opacity: 0.8;
}

footer {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    background-color: var(--secondary-color);
    font-size: 0.9rem;
    padding: 1rem;
}

/* ==================================================== */
/* 4. MAIN CONTENT & LINK STYLING                     */
/* ==================================================== */
main {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.tutorial-links ul {
    list-style: none;
    padding: 0;
}

.tutorial-links li a {
    display: block;
    padding: 1rem 1.5rem;
    margin-bottom: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    text-decoration: none;
    color: var(--primary-color);
    background-color: var(--background-color);
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

/* A cleaner, more subtle hover effect */
.tutorial-links li a:hover {
    transform: translateX(10px);
    background-color: var(--border-color);
    color: white;
}

/* Instant feedback on click */
.tutorial-links li a:active {
    transform: translateX(5px);
    opacity: 0.8;
}

/* Styling for the content on the tutorial step pages */
.tutorial-content {
    padding: 1rem;
}

pre {
    background: #010409;
    color: #abb2bf;
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    overflow-x: auto;
}

.step-navigation {
    margin-top: 2rem;
}
.step-navigation a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}
