/* --- 1. FONT SETUP --- */
@font-face {
    font-family: 'SciFiFont'; 
    src: url('Mirano.ttf') format('truetype'); 
    font-weight: normal;
    font-style: normal;
}

/* --- 2. GLOBAL & SCROLLBAR --- */
body {
    margin: 0;
    background-color: #000;
    font-family: 'SciFiFont', 'Courier New', Courier, monospace; 
    
    /* ENABLE SCROLLING */
    overflow: auto; 
    
    /* HARD LOCK: Forces mobile/laptop to render full 1400px width */
    min-width: 1400px; 
    min-height: 100vh;
}

/* CUSTOM BLUE SCROLLBAR */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #000; border-left: 1px solid #333; }
::-webkit-scrollbar-thumb { background: #00ffff; border-radius: 6px; border: 3px solid #000; }
::-webkit-scrollbar-thumb:hover { background: #fff; }

/* FIX THE 3D BACKGROUND */
canvas {
    position: fixed; /* Pins it to window so it doesn't scroll away */
    top: 0;
    left: 0;
    z-index: -1;
}

/* --- 3. LAYOUT CONTAINER --- */
#resume-container {
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px; 
    height: auto; /* Allow it to grow */
    max-width: calc(100% - 40px); 
    z-index: 10;
    pointer-events: none; 
    padding-bottom: 100px; /* Space at the bottom */
}

/* --- 4. HUD CONTAINER (THE INFINITE BACKGROUND FIX) --- */
.hud-container {
    /* 1. We need 'relative' so the phantom background knows where to anchor */
    position: relative; 
    
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto; 
    color: #fff;
    font-size: 0.85rem; 
    
    /* 2. REMOVED: We don't paint the background here anymore */
    /* background-color: rgba(0, 0, 0, 0.7); */
    /* box-shadow: ... */
    
    padding: 30px; 
    box-sizing: border-box; 
    pointer-events: auto; 
    
    /* 3. Ensure text sits ON TOP of the phantom background */
    z-index: 1; 
}

/* 4. THE PHANTOM BACKGROUND */
.hud-container::before {
    content: "";
    position: absolute;
    
    /* STRETCH IT: 500px bleed on top and bottom */
    top: -500px;
    bottom: -500px;
    
    left: 0;
    right: 0;
    
    /* Paint it black */
    background-color: rgba(0, 0, 0, 0.7);
    
    /* Push it behind the text */
    z-index: -1; 
}

/* Rows: These stack vertically */
.hud-row {
    display: flex;
    margin-bottom: 20px; 
    width: 100%;
}

/* Columns: These sit side-by-side */
.hud-col-left {
    width: 100%; 
    padding-right: 0px;
    padding-top: 25px; 
}
.title-col-left {
    width: 100%; 
    padding-right: 0px;
    padding-top: 5px; 
}
.role-col-right {
    width: 100%; 
    padding-right: 0px;
    padding-top: 5px; 
}
.hud-col-right {
    width: 35%;
    padding-top: 72px;
    margin-left: 20px;
}

/* --- 5. TYPOGRAPHY & DETAILS --- */

/* Name & Header */
.hud-name { 
    font-size: 2.0rem; 
    font-weight: bold; 
    text-transform: uppercase; 
    margin-bottom: 5px; 
    letter-spacing: 2px;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5); 
    padding-left: 350px;
}

.hud-title { 
    font-size: 1.0rem; 
    color: #00ffff; 
    margin-bottom: 2px;
    padding-left: 350px; 
}

.hud-contact { 
    font-size: 1.0rem; 
    line-height: 1.6; 
    text-align: Left; 
}
.hud-contact a {
    color: #00ffff80;
    text-decoration: none;
    transition: color 0.2s;
}
.hud-contact a:hover {
    color: #ffffff;
    text-shadow: 0 0 5px #00ffff;
}

/* Section Headers */
.hud-section-header {
    font-weight: bold;
    text-transform: uppercase;
    color: #00ffff; 
    margin-bottom: 0px;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(0, 255, 255, 0.2); 
    padding-bottom: 0px;
    display: block;
    width: 100%;
}

/* Job studios */
.studio { 
    color: #fff; 
    font-weight: bold; 
    margin-top: 5px;
    margin-bottom: 5px; 
    display: block; 
    font-size: 1.0rem;
}
.gamelistitem { 
    color: #fff; 
    font-weight: bold; 
    margin-top: 5px;
    margin-bottom: 5px; 
    display: block; 
    font-size: 1.0rem;
}
.highlight:first-child { margin-top: 0;}


/* --- EXPERIENCE ROW ALIGNMENT FIX --- */
.job-row {
    display: flex;      
    width: 100%;
    margin-bottom: 20px; 
    border-bottom: 2px solid rgba(0, 209, 209, 0.1); 
    padding-bottom: 5px;
}
.job-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.job-left {
    width: 35%;          
    padding-right: 20px;
}

.job-right {
    width: 65%;
    padding-left: 10px; 
}

.highlight {
    display: block;
    color: #00ffff;      
    font-weight: bold;
    font-size: 1.0rem;
    margin-bottom: 5px;
}

.job-list {
    margin-top: 5px;
    padding-left: 15px;
}

ul { margin: 5px 0 10px 0; padding-left: 15px; list-style-type: square; }
li { margin-bottom: 3px; color: #ddd; }

/* --- 6. GRID SYSTEMS --- */
.toolbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr; 
    gap: 20px;
}

.interests-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 20px;
}

/* --- FOREGROUND PARALLAX LAYER --- */
#foreground-layer {
    /* FIXED: Stays on screen while you scroll */
    position: fixed; 
    top: -10%;      
    left: -10%;     
    width: 120%;    
    height: 120%;   
    z-index: 20; 
    pointer-events: none; 
    overflow: hidden;
}

.grid-plus {
    position: absolute;
    color: #00ffff;      
    font-family: 'Courier New', monospace;
    font-weight: bold;
    user-select: none;   
    text-shadow: 0 0 2px rgba(0, 255, 255, 0.5);
}