/* === Global Styles === */
body {
    font-family: 'VT323', monospace; /* retro console font, sharp and readable */
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #2a1a2f;  /* lighter than nav, dark purple-grey */
    color: #e0e0e0;             /* light text */
    font-size: 16px;            /* base font size for scaling */
}

/* === Navigation === */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111;           /* darker nav bar */
    color: #99ccff;             /* soft retro blue accent */
    padding: 1rem;
    font-family: 'VT323', monospace;
    font-size: 0.9rem;          /* slightly smaller than body */
    border-bottom: 2px solid #667788; /* subtle border to separate nav */
}

nav .logo {
    font-weight: bold;
    color: #99ccff;
    text-decoration: none;
}

nav .nav-links a {
    margin-left: 1rem;
    color: #99ccff;
    text-decoration: none;
    cursor: pointer;

    /* 3D retro effect for nav links */
    display: inline-block;
    padding: 0.4rem 0.8rem;
    box-shadow: 2px 2px #445566;
    transition: all 0.1s ease-in-out;
}

nav .nav-links a:hover {
    color: #e0e0e0;
    text-shadow: 0 0 4px #99ccff;
    transform: translate(-2px, -2px);  /* jump up-right */
    box-shadow: 4px 4px #667788;
}

nav .nav-links a:active {
    transform: translate(2px, 2px);    /* press down-left */
    box-shadow: 0 0 #667788;
}

/* === Header === */
header {
    text-align: center;
    padding: 3rem 1rem;           /* slightly smaller for compact layout */
    background: #2a1a2f;           /* match body */
    font-family: 'VT323', monospace;
    font-size: 1rem;
}

/* Header buttons container */
.header-buttons {
    display: flex;
    flex-direction: column;    /* stack buttons vertically */
    align-items: center;       /* center horizontally */
    gap: 1rem;                 /* space between buttons */
    margin-top: 2rem;          /* spacing from header text */
}

/* === Main Section === */
main {
    padding: 2rem;
    font-size: 1rem;
}

/* === Forms === */
form {
    max-width: 450px;
    margin: 2rem auto;           /* center with spacing */
    background: #222;
    padding: 2rem;               /* more inner space */
    border: 2px solid #99ccff;
    border-radius: 0;            /* fully square corners */
}

form input, form button {
    width: 100%;
    padding: 0.7rem 1rem;        /* extra space inside inputs */
    margin-top: 0.5rem;
    background: #333;
    color: #e0e0e0;
    border: 1px solid #99ccff;
    border-radius: 0;            /* fully square corners */
    box-sizing: border-box;      /* ensures padding doesn’t overflow */
}

/* === Buttons === */
button, .cta-button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 1.2rem 2.4rem;       /* retro size */
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 0;             /* fully square */
    cursor: pointer;

    background-color: #99ccff;    /* soft retro blue */
    color: #111;                  /* dark text */
    border: none;

    /* Retro 3D effect: shadow bottom + left */
    box-shadow: 4px 4px #667788;
    transition: all 0.1s ease-in-out;
}

button:hover, .cta-button:hover {
    background-color: #77aadd;
    transform: translate(-2px, -2px);  /* jump up-right */
    box-shadow: 6px 6px #445566;       /* bigger shadow */
}

button:active, .cta-button:active {
    transform: translate(2px, 2px);    /* press down-left */
    box-shadow: 0 0 #667788;
}

/* Returning User button (smaller than main CTA) */
.returning-user {
    padding: 0.8rem 1.8rem;       /* smaller than main button */
    font-size: 1rem;
    background-color: #77aadd;    /* distinct but matching tone */
    box-shadow: 3px 3px #445566;
}

.returning-user:hover {
    background-color: #66a0cc;
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px #334455;
}

.returning-user:active {
    transform: translate(2px, 2px);
    box-shadow: 0 0 #667788;
}

/* === Text retro glow === */
h1, h2, h3, p {
    text-shadow: 0 0 2px #99ccff;
}

/* === Footer === */
footer {
    text-align: center;
    padding: 2rem 1rem;
    background-color: #111;
    color: #99ccff;
    font-family: 'VT323', monospace;
    font-size: 0.85rem;
    border-top: 2px solid #667788;
}

footer .footer-links a {
    color: #99ccff;
    text-decoration: none;
    margin: 0 0.5rem;
}

footer .footer-links a:hover {
    text-decoration: underline;
    color: #e0e0e0;
}

/* === Mobile-friendly button === */
@media (max-width: 600px) {
    .cta-button, button {
        width: 80%;
        padding: 1.5rem 0;
        font-size: 1.6rem;
    }
    .returning-user {
        width: 80%;
        padding: 1.2rem 0;
        font-size: 1.2rem;
    }
    nav .nav-links a {
        padding: 0.6rem 1rem;
    }
    .header-buttons {
        gap: 0.8rem;
        margin-top: 1.5rem;
    }
}

.progress-step {
    text-align: center;
    font-family: 'VT323', monospace;
    color: #99ccff;           /* visible retro blue */
    font-size: 0.9rem;        /* slightly smaller than progress title */
    margin-bottom: 0.3rem;
    text-shadow: 0 0 2px #99ccff;
  }