/* [CODE_BLOCK_0] - Root Variables & Reset */
:root {
    --primary-neon: #00ff41; /* Classic Hacker Green */
    --secondary-neon: #00e5ff; /* Antriac Electric Blue */
    --bg-dark: #0a0a0a;
    --bg-light: #f9f9f9;
    --card-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}
/* -btn create a "scanning" effect over your portfolio */
/* body::after {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), 
              linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  z-index: 9999;
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
} */

/* [CODE_BLOCK_1] - Layout & Status Bar */
.status-bar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}
.cv-btn{
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    color: var(--primary-neon);
    letter-spacing: 2px;
}
.logo {
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    color: var(--primary-neon);
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    transition: 0.3s;
    text-transform: uppercase;
}

.nav-link:hover {
    color: var(--secondary-neon);
    text-shadow: 0 0 10px var(--secondary-neon);
}

/*  */
/* [CODE_BLOCK_2] - Hero Section (Identity) */
.sector {
    position: relative;  /*added*/
    z-index: 2; /* Content sits above particles */
    min-height: 40vh;
    padding: 100px 10% 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-content{
    text-align: center;
    pointer-events: none; /* Allows mouse to interact with particles behind text */
}

.glitch {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    color: white;
    position: relative;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--primary-neon);
    margin-bottom: 20px;
    font-weight: 300;
}

.badge {
    background: var(--card-bg);
    border: 1px solid var(--primary-neon);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 10px;
    color: var(--primary-neon);
}

/* [CODE_BLOCK_3] - Project Vault (Antriac Theme) */
.section-title {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 40px;
    color: var(--secondary-neon);
}

.project-main {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(0, 0, 0, 0.5));
    border: 1px solid var(--secondary-neon);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

.project-main:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.2);
}

.tech-tags {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 20px 0;
}

.tech-tags li {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
}

.view-btn {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid var(--secondary-neon);
    color: var(--secondary-neon);
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.view-btn:hover {
    background: var(--secondary-neon);
    color: black;
}

/* [CODE_BLOCK_12] - Antriac Component Styling */
.antriac-display-container {
    perspective: 1000px;
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.watch-frame {
    width: 220px;
    height: 260px;
    background: #1a1a1a;
    border: 4px solid #333;
    border-radius: 40px;
    position: relative;
    transform-style: preserve-3d;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3), inset 0 0 15px rgba(255,255,255,0.05);
}

.watch-screen {
    width: 190px;
    height: 220px;
    background: #000;
    margin: 15px auto;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--secondary-neon);
}

.ar-map-overlay {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,229,255,0.1) 0%, rgba(0,0,0,1) 80%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.scanning-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary-neon);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--secondary-neon);
    animation: pulse 2s infinite;
}

.coord-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.6rem;
    color: var(--secondary-neon);
    margin-top: 10px;
}

/* [CODE_BLOCK_14] - Project Grid & Status Chips */
.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Make Antriac span both columns on large screens */
.project-main {
    grid-column: span 2;
}

.status-chip {
    display: inline-block;
    font-size: 0.6rem;
    padding: 2px 8px;
    border: 1px solid var(--primary-neon);
    color: var(--primary-neon);
    margin-bottom: 10px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.project-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.repo-link {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.8rem;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}

.repo-link:hover {
    border-color: var(--secondary-neon);
    color: var(--secondary-neon);
}

/* Responsive adjustment for Mobile [cite: 57] */
@media (max-width: 768px) {
    .project-grid {
        grid-template-columns: 1fr;
    }
    .project-main {
        grid-column: span 1;
    }
}

/* [CODE_BLOCK_16] - Profile & Cert Styling */
.profile-container {
    pointer-events: auto;
    width: 180px;
    height: 180px;
    margin: 0 auto 30px;
    position: relative;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--secondary-neon);
    box-shadow: 0 0 20px var(--secondary-neon);
    transition: 0.5s;
}

.profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px var(--primary-neon);
    border-color: var(--primary-neon);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.cert-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
}

.cert-card:hover {
    border-color: var(--primary-neon);
    background: rgba(0, 255, 65, 0.05);
}

.cert-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* [CODE_BLOCK_18] - Community Hub & Archive Style */
.community-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.comm-node {
    background: var(--card-bg);
    border-left: 4px solid var(--secondary-neon);
    padding: 15px 25px;
    min-width: 280px;
    transition: 0.3s;
}

.comm-node:hover {
    background: rgba(0, 229, 255, 0.1);
    transform: translateX(10px);
}

.node-tag {
    font-family: 'Orbitron', sans-serif;
    color: var(--secondary-neon);
    font-size: 0.7rem;
    display: block;
    margin-bottom: 5px;
}

.archive-style {
    background: rgba(0, 0, 0, 0.5);
}

.archive-list {
    border-top: 1px solid var(--glass-border);
}

.archive-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 10px;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.9rem;
    transition: 0.2s;
}

.archive-item:hover {
    background: rgba(255, 255, 255, 0.02);
    color: var(--primary-neon);
}

.item-date {
    color: var(--glass-border);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
}

/* [CODE_BLOCK_21] - Vertical Timeline Styling */
/* .timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 30px;
    border-left: 2px solid var(--glass-border);
}

.timeline-block {
    position: relative;
    margin-bottom: 50px;
}

.timeline-dot {
    position: absolute;
    left: -37px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--bg-dark);
    border: 2px solid var(--primary-neon);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-neon);
}

.timeline-content {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
}

.timeline-content:hover {
    border-color: var(--secondary-neon);
    transform: translateX(10px);
}

.timeline-date {
    font-family: 'Orbitron', sans-serif;
    color: var(--secondary-neon);
    font-size: 0.75rem;
    display: block;
    margin-bottom: 5px;
} */
/* [CODE_BLOCK_49] - Split-Level Timeline Style */
.career-timeline {
    position: relative;
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px 0;
}

.center-line {
    position: absolute;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary-neon), var(--primary-neon));
    transform: translateX(-50%);
}

.timeline-item {
    width: 50%;
    padding: 20px 40px;
    position: relative;
    box-sizing: border-box;
}

.timeline-item.right { left: 50%; }
.timeline-item.left { left: 0; text-align: right; }

/* The Connection Bullets */
.timeline-item::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--bg-dark);
    border: 2px solid var(--primary-neon);
    border-radius: 50%;
    top: 25px;
    z-index: 5;
    box-shadow: 0 0 10px var(--primary-neon);
}

.right::after { left: -8px; }
.left::after { right: -8px; }

/* The Data Box */
.timeline-box {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    transition: 0.3s;
}

.timeline-box:hover {
    border-color: var(--secondary-neon);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.time-stamp {
    font-family: 'Orbitron', sans-serif;
    color: var(--secondary-neon);
    font-size: 0.8rem;
    margin-bottom: 10px;
    display: block;
}

.location-tag {
    font-size: 0.75rem;
    color: var(--primary-neon);
    opacity: 0.8;
    display: block;
    margin-top: -5px;
    margin-bottom: 10px;
}



/* [CODE_BLOCK_37] - Footer & Status Styling */
.system-footer {
    padding: 40px 50px;
    background: rgba(10, 10, 10, 0.9);
    border-top: 1px solid var(--glass-border);
    font-family: 'Orbitron', sans-serif;
    z-index: 10;
    position: relative;
}

.log-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.log-label {
    color: var(--secondary-neon);
    font-size: 0.7rem;
    margin-right: 10px;
}

.log-value {
    color: var(--primary-neon);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Status Blink Effect */
.status-blink {
    text-shadow: 0 0 5px var(--primary-neon);
    animation: blink-log 2s infinite;
}

@keyframes blink-log {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.copyright {
    text-align: center;
    font-size: 0.6rem;
    color: var(--secondary-neon);
    margin-top: 20px;
    letter-spacing: 2px;
}

/* [CODE_BLOCK_44] - Theme Toggle Styling */
.theme-switcher {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 1000;
}

.terminal-btn {
    background: #000;
    color: var(--primary-neon);
    border: 1px solid var(--primary-neon);
    padding: 10px 20px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    cursor: pointer;
    position: relative;
    transition: 0.3s;
    overflow: hidden;
}

.terminal-btn:hover {
    box-shadow: 0 0 15px var(--primary-neon);
    background: var(--primary-neon);
    color: #000;
}

/* [CODE_BLOCK_46] - Flexbox Side Alignment */
.analysis-flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 20px 0;
}

.chart-wrapper {
    flex: 1;
    max-width: 500px; /* Limits chart size to one side */
    position: relative;
}

.chart-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail-node {
    border-left: 2px solid var(--primary-neon);
    padding-left: 20px;
    background: linear-gradient(90deg, rgba(0, 255, 65, 0.05) 0%, transparent 100%);
}

.node-header {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-neon);
    font-size: 0.8rem;
    display: block;
    margin-bottom: 5px;
    
}

/* Responsive fix: Stack on mobile */
@media (max-width: 900px) {
    .analysis-flex-container {
        flex-direction: column;
        text-align: center;
    }
    .detail-node {
        border-left: none;
        border-top: 2px solid var(--primary-neon);
        padding: 20px 0;
    }
}

/* [CODE_BLOCK_51] - Cyber Lab & Script Counters */
.cyber-lab-grid {
    grid-column: span 2;
    background: rgba(255, 0, 0, 0.05);
    border: 1px dashed var(--primary-neon);
    padding: 20px;
    border-radius: 12px;
}

.lab-title {
    font-family: 'Orbitron', sans-serif;
    color: #ff3e3e; /* Red for Offensive Tools */
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.lab-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.lab-card {
    background: var(--bg-dark);
    border: 1px solid var(--glass-border);
    padding: 10px;
    font-size: 0.75rem;
    color: var(--text-main);
    text-align: center;
}

.script-counter-box {
    display: flex;
    justify-content: center;
    gap: 50px;
    text-align: center;
    padding: 40px;
    background: var(--card-bg);
}

.count {
    display: block;
    font-size: 3rem;
    font-family: 'Orbitron', sans-serif;
    color: var(--secondary-neon);
}
