@font-face {
    font-family: 'GameboyFont';
    src: url('https://example.com/gameboy-font.ttf');
}

:root {
    --bg-color: #d3d3d3;
    --screen-color: #7a9e7e;
    --lever-base-color: #000;
    --lever-color: silver;
    --lever-knob-color: #c92a2a;
    --lever-shadow: #962020;
    --text-color: #333;
}

body {
    margin: 0;
    font-family: 'GameboyFont', monospace;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    overflow: hidden;
}

header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

h1 {
    font-size: 2.5rem;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

h1 span {
    display: inline-block;
    font-size: 3rem;
}

.lever-hi {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    color: var(--text-color);
}

.switch-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    perspective: 500px;
}

.joystick {
    position: relative;
    width: 30px;
    height: 100px;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.joystick:hover {
    cursor: grab;
}

.lever {
    width: 8px;
    height: 40px;
    background: var(--lever-color);
    margin: 20px;
    border-radius: 4px;
    transform-origin: bottom;
    box-shadow: 0 4px var(--lever-shadow);
    transition: transform 0.3s ease;
    position: relative;
    left: -4px;
    /* nudge left for L look */
}

.lever-knob {
    width: 16px;
    height: 16px;
    background: var(--lever-knob-color);
    border-radius: 50%;
    position: absolute;
    top: -8px;
    left: calc(50% - 8px);

}

.base {
    width: 35px;
    height: 8px;
    background: var(--lever-base-color);
    border-radius: 4px;
    margin-top: -20px;
}

section {
    max-width: 800px;
    margin: 20px;
    text-align: left;
}

.joystick .lever {
    transform: rotate(0deg);
}

.lever-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}



/* Navigation Menu */
.nav-menu {
    margin-top: 40px;
    text-align: center;
}

.nav-container {
    width: 100%;
    max-width: 800px;
    text-align: left;
    margin: 20px;
}

/* Retro Link Styles */
.retro-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
    padding-left: 20px;
    /* Space for the selector */
    transition: transform 0.1s;
}

/* Selector Arrow (Hidden by default) */
.retro-link::before {
    content: '>';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: opacity 0.1s;
    color: var(--lever-knob-color);
    font-weight: bold;
}

/* Hover State */
.retro-link:hover {
    cursor: pointer;
}

.retro-link:hover::before {
    opacity: 1;
}

/* Active / Click State (Press animation) */
.retro-link:active {
    transform: scale(0.95);
    color: var(--lever-knob-color);
}

/* Project Page Specifics */
#projects-page {
    text-align: left;
    margin-top: 20px;
    width: 100%;
}

.file-list {
    list-style-type: none;
    padding: 0;
}

.file-list li {
    margin: 15px 0;
}

.file-list .retro-link {
    font-size: 1.2rem;
}

/* Back Link Styles */
.back-link {
    display: inline-block;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    border: 2px solid var(--text-color);
    padding: 5px 10px;
    margin-left: 10px;
    transition: all 0.2s ease;
    background-color: transparent;
}

.back-link:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
    /* Invert colors on hover */
    cursor: pointer;
}

.back-link:active {
    transform: scale(0.95);
}

/* Status Tag Styles */
/* Status Tag Styles */
.status-tag {
    font-size: 0.8rem;
    color: #666;
    /* Use a darker grey or variable if strictly retro */
    margin-left: 10px;
    font-style: italic;
    vertical-align: middle;
}

.category-desc {
    font-size: 0.9rem;
    font-style: italic;
    margin-top: -10px;
    margin-bottom: 25px;
    color: var(--text-color);
    opacity: 0.8;
}

.project-category {
    margin-bottom: 50px;
}