html{
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #050505;
    color: #39ff14;
    
    font-family: "Courier New", monospace;
    overflow-x: hidden;
}

.game-screen {
    min-height: 100vh;
   /* 
    background:
        linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.90)),
        url("../images/bike_bg_1.png");
    background-size: cover;
    background-position: center;
    */
    background: #050505;
    border: 4px solid #101010;
    background-image:
    linear-gradient(rgba(0,0,0,.92), rgba(0,0,0,.92)),
    url("../images/noise.png");
}

header {
    height: 52px;
    background: linear-gradient(#050805, #010301);
    border: 2px solid #123d12;
    border-bottom: 3px solid #39ff14;
    box-shadow:
        0 0 12px rgba(57, 255, 20, .35),
        inset 0 0 12px rgba(57, 255, 20, .12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    margin: 0;
}

.brand {
    color: #39ff14;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 0 8px #39ff14;
}

.brand::before {
    content: "♥";
    color: #ff007a;
    font-size: 22px;
    text-shadow: 0 0 8px #ff007a;
}

nav a {
    margin-left: 24px;
    color: #39ff14;
    text-decoration: none;
    font-weight: bold;
}

main {
    padding: 35px;
}
/*
.hero h1 {
    font-size: 72px;
    margin: 0;
    text-shadow: 0 0 12px #39ff14;
}
*/
.version {
    margin: 0;
}

.subtitle {
    display: inline-block;
    border: 2px solid #39ff14;
    padding: 10px 18px;
    background: rgba(0,0,0,.75);
    font-weight: bold;
}

.layout {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
    margin-top: 25px;
}

.panel {
    background: rgba(0,0,0,.78);
    border: 2px solid #39ff14;
    box-shadow: 0 0 12px rgba(57,255,20,.25);
    padding: 20px;
    position: relative;
}
.panel::after {
    content: "";
    position: absolute;
    inset: 0;

    box-shadow:
        inset 0 0 15px rgba(57,255,20,.08);

    pointer-events: none;
}
.panel h2 {
    margin-top: 0;
    font-size: 20px;
}

.menu p {
    font-size: 22px;
    margin: 14px 0;
    transition: all .2s ease;
    cursor: pointer;
}
.menu p:hover {
    transform: translateX(8px);
    text-shadow: 0 0 8px #39ff14;
}
.active {
    background: #39ff14;
    color: black;
    padding: 8px;
    font-weight: bold;
}

.stats p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.bar {
    height: 10px;
    background: #1f1f1f;
    border: 1px solid #39ff14;
    margin-bottom: 15px;
}

.bar div {
    height: 100%;
    background: #39ff14;
}

.projects {
    margin-top: 18px;
    margin-bottom: 0;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.project-card {
    border: 1px solid #39ff14;
    padding: 20px;
    text-align: center;
    background: rgba(0,0,0,.75);
    font-size: 18px;
    min-height: 260px;
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;

    background:
        repeating-linear-gradient(
            to bottom,
            rgba(0,0,0,0.0),
            rgba(0,0,0,0.0) 2px,
            rgba(0,255,0,0.03) 3px,
            rgba(0,0,0,0.04) 4px
        );

    z-index: 999;
}
.project-icon-stats  {
    font-size: 11px;
    margin-bottom: 0px;
}


.project-icon {
    font-size: 64px;
    margin-bottom: 0px;
}

.project-card {
    transition: all 0.25s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 18px #39ff14;
    background: rgba(57,255,20,0.08);
}

.blink {
    animation: blink 1s step-start infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.stat-label {
    display: flex;
    align-items: center;
    gap: 6px;
}

svg {
    width: 18px;
    height: 18px;
    stroke: #39ff14;
}
.hero {
    margin-top: 0px;
     margin-bottom: 0;
    position: relative;
    min-height: 720px;
    background-size: cover;
    background-position: center 45%;
    /*
    background:
       linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.82)),
        url("../images/bike_bg_1.png");   
    border: 2px solid #39ff14;
    padding: 10px;
    */
}

.hero-image-panel {
    position: relative;
    height: 640px;
    overflow: visible;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;

    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    animation: slowZoom 20s ease-in-out infinite alternate;
}
@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}
.hero-dark {
    position: absolute;
    
    z-index: 1;

    background: linear-gradient(
        90deg,
        rgba(0,0,0,.88) 0%,
        rgba(0,0,0,.55) 35%,
        rgba(0,0,0,.08) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #39ff14;
    
    width: 100%;
    box-sizing: border-box;
}
.hero-text {
    width: 420px;
}
.hero h1 {
    font-size: 82px;
    margin: 10px 0;
    color: #39ff14;

    text-shadow:
        0 0 10px #39ff14,
        0 0 25px #39ff14;
}
.hero-grid {
    display: grid;
    grid-template-columns: 285px 1fr 280px;
    gap: 40px;
    align-items: start;
    width: auto;
    margin-top: 10px;
}

.left-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
     margin-left: 0;
}

.center-column {
    min-height: 360px;
}

.right-column{
    display:flex;
    flex-direction:column;
    gap:16px;

    align-self:start;

    margin-top:-115px;
    margin-left:-10px;
}

.status{

    margin-top:15px;

    border:1px solid #39ff14;

    padding:6px;

    text-align:center;

    font-size:12px;

    color:#39ff14;

    background:rgba(57,255,20,.08);

}

.status-bar {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #39ff14;
    padding: 14px 24px;
    color: #39ff14;
    margin-top: 14px;
}
.window-buttons {
    display: flex;
    gap: 10px;
}

.window-buttons button {
    width: 32px;
    height: 28px;
    background: #050805;
    color: #39ff14;
    border: 2px solid #1f8f16;
    font-family: "Courier New", monospace;
    font-size: 20px;
    font-weight: bold;
    line-height: 20px;
    box-shadow:
        0 0 8px rgba(57, 255, 20, .35),
        inset 0 0 6px rgba(57, 255, 20, .15);
    cursor: pointer;
}

.window-buttons button:hover {
    background: #39ff14;
    color: #050805;
}

.title-box {
    display: inline-block;
    margin-top: 6px;
     margin-bottom: 0;
    padding: 10px 18px;

    border: 2px solid #39ff14;
    border-radius: 6px;

    background: rgba(0, 0, 0, 0.75);

    color: #39ff14;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 2px;
    

    box-shadow:
        0 0 10px rgba(57,255,20,.45),
        inset 0 0 8px rgba(57,255,20,.12);

    text-shadow: 0 0 5px #39ff14;
}
.title-box:hover {
    background: #39ff14;
    color: black;

    transition: .2s;
}
.title-box::before {
    content: "[ ";
}

.title-box::after {
    content: " ]";
}
.message-box {
    position: relative;
    margin-top: 10px;
    padding: 6px 18px;
    width: 285px;
    border: 2px solid #39ff14;
    border-radius: 6px;
    min-height: 140px;
    background: rgba(0,0,0,.75);
    z-index: 3;
    color: #39ff14;
    font-size: 16px;
    box-shadow:
        0 0 12px rgba(57,255,20,.35),
        inset 0 0 10px rgba(57,255,20,.08);
}

.menu-panel {
    /*margin-top: -370px;           space under developer box */
    margin-top: 0px;
    width: 285px;              /* makes menu less wide */
    padding: 18px 16px;
    margin-left: 0;    /* pushes menu to the right */
    margin-bottom: 28px;
    border: 2px solid #39ff14;
    border-radius: 6px;        /* fixes sharp awkward corners */

    background: rgba(0, 0, 0, 0.72);

    box-shadow:
        0 0 14px rgba(57, 255, 20, .35),
        inset 0 0 12px rgba(57, 255, 20, .10);
}

.menu-panel h3 {
    margin: 0 0 16px 0;
    color: #39ff14;
}

.menu-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-panel li {
    padding: 8px 12px;
    margin-bottom: 8px;
    color: #39ff14;
}

.menu-panel li.active,
.menu-panel li:hover {
    background: #39ff14;
    color: black;
    font-weight: bold;
    text-shadow: 0 0 8px #39ff14;
    transform: translateX(4px);
}
.menu-panel a {
    color: #39ff14;
    text-decoration: none;
    display: block;
}

.menu-panel a:visited {
    color: #39ff14;
}
.menu-panel li:hover a,
.menu-panel li.active a {
    color: black;
    background: #39ff14;
    padding-left: 8px;
    box-shadow: 0 0 12px rgba(57, 255, 20, .10.8);
}

.stats-panel  {
    
    border: 2px solid #39ff14;
    border-radius: 6px;
    background: rgba(0,0,0,.72);
    box-shadow:
        0 0 14px rgba(57,255,20,.35),
        inset 0 0 12px rgba(57,255,20,.10);
    
}

.stats-panel h3 {
    margin-bottom: 10px;
}

.stat {
    display: flex;
    justify-content: space-between;
     align-items: flex-start;
    font-size: 13px !important;
    margin-top: 0px;
    margin-bottom: 4px;
}

.bar {
    height: 9px;
    border: 1px solid #39ff14;
    background: rgba(57,255,20,.08);
    margin-bottom: 12px;
}

.fill {
    height: 100%;
    background: #39ff14;

    box-shadow: 0 0 10px #39ff14;
}


.level-line {
    display: flex;
    justify-content: space-between;
    font-size: 16px !important;
    gap: 6px;
    margin-top: 10px;
    color: #39ff14;
    white-space: nowrap;
}

.xp-bar {
    width: 100%;
    height: 10px;
    border: 1px solid #39ff14;
    margin-top: 10px;
    background: rgba(0, 0, 0, 0.65);
}

.xp-fill {
    height: 100%;
    width: 75%;
    background: #39ff14;
}
* {
    box-sizing: border-box;
}

.game-screen {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    min-width: 1280px;
    padding-bottom: 0;
}
/*
.hero {
    width: 100%;
    max-width: 1200px;
    margin: 10px auto;
    padding: 10px;
    min-height: 620px;
}
*/

.menu-panel,
.stats-panel,
.system-panel,
.quest-panel {
    max-width: 100%;
}
/*
@media (max-width: 900px) {
    .hero {
        margin: 16px;
        padding: 18px;
    }

    .menu-panel,
    .stats-panel,
    .system-panel,
    .quest-panel {
        width: 100%;
    }

    h1 {
        font-size: clamp(42px, 12vw, 110px);
    }

    .title-box {
        width: 100%;
        font-size: 14px;
        text-align: center;
    }

    .featured-projects {
        grid-template-columns: 1fr;
         margin-top: 25px;
    }
}
*/
.project-card {
    transition: all .25s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 18px rgba(57,255,20,.4);
}
/*
@media (max-width: 1000px) {
    .hero-grid {
        grid-template-columns: 1fr;
        margin-top: 16px;
    }

    .menu-panel,
    .message-box,
    .stats-panel {
        width: 100%;
    }

    .center-column {
        display: none;
    }
}
*/
.project-stars {
    margin-top: 8px;
    font-size: 13px;
    color: #39ff14;
}
.bottom-hud {
    display: grid;
    grid-template-columns: 320px 1fr 320px;
    gap: 18px;
    align-items: stretch;
    margin-top: -40px;
    position: relative;
    z-index: 5;
}

.bottom-hud .message-box {
    width: 100%;
    margin-top: 0;
    min-height: 170px;
}

.bottom-hud .projects {
    margin-top: 0;
}

.bottom-hud .project-grid {
    grid-template-columns: repeat(4, 1fr);
}

.quest-panel {
    background: rgba(0,0,0,.78);
    border: 2px solid #39ff14;
    box-shadow: 0 0 12px rgba(57,255,20,.25);
    padding: 20px;
    color: #39ff14;
    margin-top:15px;
}

.quest-panel h2 {
    margin-top: 0;
    font-size: 20px;
}

.quest-bar {
    flex: 1px;
    height: 10px;
    border: 1px solid #39ff14;
    background: rgba(57,255,20,.08);
}
.quest-progress-row {
    display: flex;
    align-items: center;
    gap: 10px;

    margin: 12px 0;
}

.quest-fill {
    display: block;

    height: 100%;
    width: 75%;

    background: #39ff14;

    box-shadow: 0 0 10px #39ff14;
}

.quest-percent {
    min-width: 42px;
    text-align: right;
    font-size: 14px;
    font-weight: bold;
    color: #39ff14;
}
.hud-panel {
    background: rgba(0,0,0,.78);
    border: 2px solid #39ff14;
    box-shadow:
        0 0 12px rgba(57,255,20,.28),
        inset 0 0 10px rgba(57,255,20,.08);
}

.menu-panel,
.stats-panel,
.message-box,
.quest-panel,
.project-card {
    transition: all .25s ease;
}

.menu-panel:hover,
.stats-panel:hover,
.message-box:hover,
.quest-panel:hover {
    box-shadow:
        0 0 20px rgba(57,255,20,.45),
        inset 0 0 12px rgba(57,255,20,.10);
}
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.hidden {
    display: none;
}

.modal-window {
    width: 700px;
    max-width: 90vw;
    max-height: 85vh;
    background: #050505;
    border: 2px solid #39ff14;

    box-shadow:
        0 0 25px rgba(57,255,20,.45);

    color: #39ff14;
    display: flex;
    flex-direction: column;
    animation: bootUp .18s ease-out;
}
@keyframes bootUp {
    from {
        transform: scale(.92);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 12px 18px;

    border-bottom: 2px solid #39ff14;

    background: rgba(57,255,20,.08);
}

.modal-header button {
    background: black;
    border: 1px solid #39ff14;
    color: #39ff14;
    cursor: pointer;
    padding: 4px 10px;
}

.modal-content {
    padding: 24px;
    flex: 1;
    overflow-y: auto;
    white-space: pre-line;
    line-height: 1.6;
}
.modal-button {
    display: inline-block;
    margin-top: 14px;
    padding: 10px 14px;

    border: 1px solid #39ff14;

    color: #39ff14;
    text-decoration: none;

    background: rgba(57,255,20,.06);

    transition: all .2s ease;
}

.modal-button:hover {
    background: #39ff14;
    color: black;

    box-shadow: 0 0 14px rgba(57,255,20,.55);
}

.modal-content::-webkit-scrollbar {
    width: 10px;
}

.modal-content::-webkit-scrollbar-track {
    background: black;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #39ff14;
    border: 1px solid black;
}

.classified-panel {
    margin-top: 14px;
    padding: 12px;

    border: 1px solid #39ff14;

    background: rgba(57,255,20,.05);

    font-size: 13px;
    line-height: 1.7;
}

.classified {
    margin-bottom: 12px;

    color: #39ff14;
    font-weight: bold;
    letter-spacing: 2px;
}

.blink {
    animation: blink 1.2s infinite;
}

@keyframes blink {
    0%, 49% {
        opacity: 1;
    }

    50%, 100% {
        opacity: .2;
    }
}

.disabled-button {
    opacity: .55;
    cursor: not-allowed;
    pointer-events: none;
}
.fleetchat-card {
    position: relative;
    overflow: hidden;
}

.fleetchat-card::after {
    content: "SIGNAL LOST";
    position: absolute;
    bottom: 6px;
    right: -18px;

    font-size: 9px;
    color: red;

    transform: rotate(-12deg);

    opacity: .7;
}
.quest-reward {
    margin-top: 18px;
    text-align: center;
}

.quest-reward-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 10px;
    gap: 12px;
}

.quest-reward-text {
    line-height: 1.6;
}

.treasure-chest {
    width: 72px;

    image-rendering: pixelated;

    filter:
        drop-shadow(0 0 10px rgba(255,180,0,.45));

    transition: transform .25s ease;
}

.treasure-chest:hover {
    transform: scale(1.08);
}

.resume-panel{
    max-width:1000px;
    margin:40px auto;
}

.skill-tags{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:20px 0;
}

.skill-tags span{
    border:1px solid #39ff14;
    padding:8px 12px;
    background:rgba(57,255,20,.08);

    box-shadow:
        0 0 8px rgba(57,255,20,.25);
}

.timeline{
    margin-top:20px;
}

.timeline-item{
    margin-bottom:14px;
    padding:12px;

    border-left:3px solid #39ff14;

    background:rgba(57,255,20,.05);
}
.resume-nav{
    display:flex;
    justify-content:space-between;

    margin-bottom:25px;
}

.terminal-button{
    padding:8px 14px;

    border:1px solid #39ff14;

    color:#39ff14;
    text-decoration:none;

    background:rgba(57,255,20,.06);

    transition:.2s;
}

.terminal-button:hover{
    background:#39ff14;
    color:black;

    box-shadow:0 0 14px rgba(57,255,20,.55);
}
.project-window{
    border:2px solid #39ff14;

    padding:20px;

    margin-top:30px;

    box-shadow:0 0 15px rgba(57,255,20,.4);
}

.project-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:20px;

    margin-top:20px;
}

.project-card{

    border:1px solid #39ff14;

    padding:20px;

    min-height:220px;

    background:
    rgba(0,0,0,.75);

    transition:.3s;
}

.project-card:hover{

    transform:translateY(-5px);

    box-shadow:
    0 0 15px rgba(57,255,20,.6);
}
.system-profile{
    width: 100% !important;
    margin-top:0px !important;
    margin-bottom:18px !important;

    padding:10px !important;

    border:1px solid #39ff14;

    background:rgba(0,0,0,.75);

    box-shadow:
    0 0 10px rgba(57,255,20,.35);
   
}

.system-profile h3{

    margin-top:0;
    margin-bottom:10px;

    color:#39ff14;
}

.system-profile p{

    margin:6px 0;

    font-size:13px;
}

.system-profile span{

    color:white;
    font-weight:bold;
}
.system-message {
    margin-top: 28px;
}

/* FORCE RIGHT HUD POSITION */
/* RIGHT HUD FIX */
.hero-image-panel{
    position:relative;
}



.stats-panel{
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    padding:14px !important;
    overflow:visible !important;
    width: 300px !important;
    font-size: 22px;   
}

.stats-panel h2{
    margin:0 0 14px 0;
    font-size:18px;
}

.system-profile{
    padding:10px !important;
    margin-bottom:18px !important;
}

.stat{
    margin-top:8px !important;
}

.bar{
    margin-bottom:8px !important;
}