/* 1. MASTER VARIABLES */
:root {
    --bg-base: #030712; 
    --text-main: #e5e7eb; 
    --text-muted: #9ca3af; 
    --accent: #38bdf8; 
    --border: rgba(56, 189, 248, 0.2); 
}

/* 2. RESET & SETUP */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Consolas', 'Courier New', monospace; 
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 3. THE 3D CANVAS LAYER */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; 
}

/* 4. MAIN LAYOUT */
.github-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    gap: 50px;
    z-index: 10;
}

/* 5. SIDEBAR */
.sidebar {
    width: 300px;
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 250px;
    height: 250px;
    background: linear-gradient(145deg, rgba(56,189,248,0.1), rgba(3,7,18,0.8));
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 25px;
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.1); 
}

.name { font-size: 28px; font-weight: 600; margin-bottom: 5px; }
.username { font-size: 18px; color: var(--accent); margin-bottom: 20px; }
.bio { font-size: 15px; color: var(--text-muted); margin-bottom: 25px; }

.meta-info p { font-size: 14px; margin-bottom: 10px; color: var(--text-muted); }
.meta-info a { color: var(--text-main); text-decoration: none; transition: 0.3s; }
.meta-info a:hover { color: var(--accent); text-shadow: 0 0 8px var(--accent); }

/* 6. CONTENT AREA */
.content { flex-grow: 1; }

.tab-nav {
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.tab.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 16px;
    text-decoration: none;
    font-size: 1.1rem;
}

/* 7. GLASSMORPHISM PROJECT CARDS */
.repo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 25px;
}

.glass-card {
    background: rgba(13, 17, 23, 0.4); 
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    
    /* THE GLASS EFFECT */
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    
    transition: transform 0.3s ease, border 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border: 1px solid var(--accent);
    background: rgba(13, 17, 23, 0.6);
}

.repo-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.repo-title { color: var(--text-main); font-weight: bold; text-decoration: none; font-size: 20px; }
.repo-title:hover { color: var(--accent); }

.visibility {
    font-size: 12px;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 20px;
    padding: 2px 10px;
}

.repo-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; flex-grow: 1; }
.repo-footer { display: flex; align-items: center; font-size: 13px; color: var(--text-muted); gap: 15px; }

.lang-color.python {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    display: inline-block;
}

.pipeline-card { border-style: dashed; }