/*
 * MIT License
 * * Copyright (c) 2026 Aditya Wresniyandaka
 * * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 * * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 *
 * Project: Agentic Systems Autonomous Discovery Archive
 * Architecture: Council Architecture / Multi-Agent Systems
 */

:root {
    /* Your existing variables here... */
}

:root {
            --nav-deep: #02060c;
            --nav-glow: #0a192f;
            --accent: #ff5f05; /* UIUC Orange */
            --tech-green: #76b900; /* NVIDIA Green */
            --text-main: #e6edf3;
            --text-dim: #8b949e;
            --border: rgba(255, 95, 5, 0.15);
            --card-bg: rgba(13, 17, 23, 0.7);
        }

        * { box-sizing: border-box; }

        body {
            margin: 0;
            /* 1. Add your image path here */
            background-image: linear-gradient(rgba(2, 6, 12, 0.8), rgba(2, 6, 12, 0.8)), url('../images/dark_night.jpg');            
            /* 2. Style the background to stay fixed and centered */
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            background-repeat: no-repeat;
            background-color: var(--nav-deep); /* Fallback color */
            
            color: var(--text-main);
            font-family: 'Inter', sans-serif;
            overflow-x: hidden;
            line-height: 1.6;
        }

        /* Optional: Keep the Technical Grid overlaying your image */
        body::before {
            content: "";
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background-image: 
                linear-gradient(rgba(118, 185, 0, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(118, 185, 0, 0.03) 1px, transparent 1px);
            background-size: 60px 60px;
            z-index: -1;
            pointer-events: none;
        }

        .container { max-width: 1200px; margin: 0 auto; padding: 80px 20px; }

        /* Header Section */
        header {
            border-left: 5px solid var(--accent);
            padding-left: 30px;
            margin-bottom: 100px;
            animation: fadeIn 1.2s ease-out;
        }

        h1 {
            font-family: 'JetBrains Mono', monospace;
            font-size: clamp(1.8rem, 5vw, 3rem);
            margin: 0;
            text-transform: uppercase;
            letter-spacing: 4px;
            text-shadow: 0 0 25px rgba(255, 95, 5, 0.3);
        }

        h2 {
            font-family: 'JetBrains Mono', monospace;
            font-size: clamp(1.2rem, 5vw, 2rem);
            margin: 0;
            text-transform: uppercase;
            letter-spacing: 4px;
            text-shadow: 0 0 25px rgba(255, 95, 5, 0.3);
        }

        .subtitle {
            color: var(--text-dim);
            font-size: 1.2rem;
            max-width: 900px;
            margin-top: 15px;
        }

        /* Thematic Pillars */
        .pillar { margin-bottom: 100px; }

        .pillar-header {
            font-family: 'JetBrains Mono', monospace;
            color: var(--tech-green);
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 4px;
            margin-bottom: 40px;
            display: flex;
            align-items: center;
        }

        .pillar-header::after {
            content: "";
            height: 1px;
            flex-grow: 1;
            background: linear-gradient(90deg, var(--border), transparent);
            margin-left: 20px;
        }

        /* Project Grid & Cards */
        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
        }

        .card {
            background: var(--card-bg);
            backdrop-filter: blur(12px);
            border: 1px solid var(--border);
            padding: 35px;
            position: relative;
            transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            cursor: pointer;
            display: flex;
            flex-direction: column;
        }

        .card:hover {
            border-color: var(--accent);
            background: rgba(255, 95, 5, 0.04);
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
        }

        .card h3 {
            margin: 0 0 15px 0;
            font-family: 'JetBrains Mono', monospace;
            font-size: 1.2rem;
            color: var(--accent);
            padding-right: 30px; /* Room for icon */
        }

        .card p {
            font-size: 0.95rem;
            color: var(--text-dim);
            margin-bottom: 25px;
            flex-grow: 1;
        }

        /* Ghost Link Icon */
        .ghost-link {
            position: absolute;
            top: 35px;
            right: 30px;
            opacity: 0.2;
            color: var(--text-main);
            transition: all 0.3s ease;
        }

        .card:hover .ghost-link {
            opacity: 1;
            color: var(--accent);
            transform: translate(3px, -3px);
        }

        /* Tags */
        .tags { display: flex; flex-wrap: wrap; gap: 8px; }
        .tag {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.65rem;
            background: rgba(118, 185, 0, 0.05);
            color: var(--tech-green);
            padding: 4px 10px;
            border: 1px solid rgba(118, 185, 0, 0.2);
        }

        footer {
            margin-top: 100px;
            padding-top: 40px;
            border-top: 1px solid var(--border);
            color: var(--text-dim);
            font-size: 0.8rem;
            font-family: 'JetBrains Mono', monospace;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateX(-20px); }
            to { opacity: 1; transform: translateX(0); }
        }

        @media (max-width: 768px) {
            .grid { grid-template-columns: 1fr; }
        }

        footer {
            margin-top: 150px;
            padding: 60px 0;
            border-top: 1px solid var(--border);
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .manifesto-container {
            max-width: 800px;
            margin-bottom: 50px;
            position: relative;
        }

        .manifesto-text {
            font-size: 1.15rem;
            line-height: 1.8;
            color: var(--text-main);
            border-left: 4px solid var(--accent);
            padding-left: 30px;
            font-family: 'Inter', sans-serif;
            font-weight: 300;
            letter-spacing: 0.5px;
        }

        .footer-links {
            display: flex;
            gap: 30px;
            margin-bottom: 40px;
        }

        .social-link {
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--text-dim);
            text-decoration: none;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            transition: all 0.3s ease;
        }

        .social-link:hover {
            color: var(--accent);
        }

        .system-footer {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.65rem;
            color: rgba(118, 185, 0, 0.3); /* NVIDIA Green fade */
            letter-spacing: 1px;
        }