:root {
    --accent: #00ff66;
    --dark: #080808;
    --border: rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; cursor: none; }

body {
    background: var(--dark);
    color: #e0e0e0;
    font-family: 'SF Mono', 'Fira Code', monospace;
    margin: 0;
}

/* Custom Cursor */
.cursor {
    width: 20px; height: 20px;
    border: 1px solid var(--accent);
    position: fixed; pointer-events: none;
    z-index: 9999; transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

/* Glass Nav */
.glass-nav {
    position: fixed; top: 0; width: 100%;
    background: rgba(8, 8, 8, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.nav-content {
    max-width: 1100px; margin: 0 auto;
    padding: 1rem; display: flex;
    justify-content: space-between; align-items: center;
}

.brand .name { font-weight: bold; letter-spacing: 1px; }
.status-tag { 
    font-size: 0.6rem; color: var(--accent); 
    margin-left: 10px; border: 1px solid var(--accent); 
    padding: 2px 5px; 
}

.nav-btn {
    background: none; border: none; color: #555;
    padding: 8px 15px; font-family: inherit; font-size: 0.8rem;
    transition: 0.3s;
}

.nav-btn.active { color: var(--accent); text-shadow: 0 0 10px var(--accent); }

/* Main Viewport */
.viewport { margin-top: 100px; padding: 20px; }

.tab-pane { 
    display: none; max-width: 1000px; 
    margin: 0 auto; animation: fadeInUp 0.5s ease forwards; 
}
.tab-pane.active { display: block; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

.section-header { margin-bottom: 40px; }
.section-header h2 { color: var(--accent); font-size: 1.2rem; }
.section-header p { color: #666; font-size: 0.9rem; margin-top: 5px; }

/* Grid & Cards */
.project-grid { display: grid; gap: 20px; }

.circuit-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 30px; border-radius: 4px;
    transition: 0.3s;
}

.circuit-card.featured { border-color: var(--accent); background: rgba(0, 255, 102, 0.03); }

.status-label { font-size: 0.6rem; color: var(--accent); margin-bottom: 10px; font-weight: bold; }

.badges span {
    font-size: 0.7rem; color: #888; border: 1px solid #333;
    padding: 3px 8px; border-radius: 20px; margin-right: 5px;
}

/* Photography Matrix */
.photo-matrix {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 15px;
}

.photo-cell {
    position: relative; background: #000; border: 1px solid var(--border);
    aspect-ratio: 4/3; overflow: hidden;
}

.photo-cell img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; transition: 0.4s; }
.photo-cell:hover img { opacity: 1; transform: scale(1.03); }

.overlay {
    position: absolute; inset: 0; background: rgba(0, 255, 102, 0.1);
    opacity: 0; display: flex; align-items: center; justify-content: center; transition: 0.3s;
}
.photo-cell:hover .overlay { opacity: 1; }
.overlay span { font-size: 0.7rem; background: #000; padding: 4px 10px; color: var(--accent); }

/* Info Section */
.bio-card { 
    max-width: 600px; margin: 0 auto; line-height: 1.8; 
    border: 1px solid var(--border); padding: 40px; background: rgba(255,255,255,0.02);
}
.bio-card h2 { color: var(--accent); margin-bottom: 20px; }

.info-footer { 
    margin-top: 40px; display: flex; 
    justify-content: space-between; align-items: center; 
}

.contact-trigger {
    color: #000; background: var(--accent);
    padding: 10px 20px; text-decoration: none; font-size: 0.8rem; font-weight: bold;
}

.socials a { color: #555; font-size: 1.2rem; margin-left: 15px; transition: 0.3s; }
.socials a:hover { color: var(--accent); }

/* Viewer Fix */
.viewer {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.95); z-index: 2000;
    flex-direction: column; justify-content: center; align-items: center;
}
.viewer-content { width: 90%; height: 90%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
#full-img { max-height: 80vh; max-width: 100%; object-fit: contain; border: 1px solid var(--accent); }
.img-label { color: var(--accent); margin-top: 10px; font-size: 0.7rem; }
