* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Courier New', monospace;
        }
        
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-bottom: 50px;
        }

        .project-card {
            background: rgba(0, 10, 0, 0.8);
            border: 1px solid #003300;
            border-radius: 8px;
            padding: 25px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .project-card:hover {
            transform: translateY(-5px);
            border-color: #00aa00;
            box-shadow: 0 5px 15px rgba(0, 255, 0, 0.2);
        }

        .project-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: #00ff00;
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s ease;
        }

        .project-card:hover::before {
            transform: scaleX(1);
        }

        .project-title {
            font-size: 1.8rem;
            color: #00ff00;
            margin-bottom: 15px;
            text-shadow: 0 0 8px #00ff00;
        }

        .project-description {
            color: #00aa00;
            line-height: 1.6;
            margin-bottom: 20px;
            flex-grow: 1;
        }

        .project-description p {
            margin-bottom: 10px;
        }

        .project-features {
            color: #008800;
            margin: 15px 0;
            padding-left: 20px;
            flex-grow: 1;
        }

        .project-features li {
            margin-bottom: 8px;
        }

        .project-link {
            display: inline-block;
            background: rgba(0, 30, 0, 0.8);
            border: 1px solid #00aa00;
            color: #00ff00;
            padding: 10px 20px;
            text-decoration: none;
            border-radius: 4px;
            transition: all 0.3s;
            font-weight: bold;
            margin-top: auto;
            text-align: center;
        }

        .project-link:hover {
            background: rgba(0, 50, 0, 0.8);
            box-shadow: 0 0 10px #00ff00;
        }

        .project-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #002200;
        }

        .project-category {
            background: rgba(0, 20, 0, 0.8);
            color: #00cc00;
            padding: 4px 12px;
            border-radius: 12px;
            font-size: 0.8rem;
            border: 1px solid #004400;
        }

        .project-difficulty {
            font-size: 0.8rem;
            color: #008800;
        }

        .difficulty-beginner { 
            background: #006600; 
            color: #00ff00; 
        }
        .difficulty-intermediate { 
            background: #666600; 
            color: #ffaa00; 
        }
        .difficulty-advanced { 
            background: #660000; 
            color: #ff3300; 
        }
        .difficulty-expert { 
            background: #330066; 
        }

        .project-tech {
            color: #008800;
            font-size: 0.9rem;
            margin: 10px 0;
        }

        .tech-item {
            margin-bottom: 5px;
            padding-left: 10px;
            border-left: 2px solid #004400;
        }
        
        body {
            background-color: #0a0a0a;
            color: #00ff00;
            overflow-x: hidden;
            min-height: 100vh;
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(0, 40, 0, 0.2) 0%, transparent 20%),
                radial-gradient(circle at 90% 60%, rgba(0, 60, 0, 0.2) 0%, transparent 20%),
                radial-gradient(circle at 50% 80%, rgba(0, 30, 0, 0.2) 0%, transparent 20%);
            padding-bottom: 50px;
        }
        
        .nav-link.active {
            color: #00ff00;
            border-color: #00aa00;
            box-shadow: 0 0 8px #00ff00;
            background: rgba(0, 50, 0, 0.8);
        } 
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        header {
            text-align: center;
            padding: 40px 0;
            border-bottom: 1px solid #003300;
            margin-bottom: 50px;
            position: relative;
        }
        
        h1 {
            font-size: 3.5rem;
            text-shadow: 0 0 15px #00ff00;
            margin-bottom: 15px;
            letter-spacing: 4px;
        }
        
        .subtitle {
            color: #00aa00;
            font-size: 1.5rem;
            margin-bottom: 20px;
        }
        
        .tagline {
            color: #008800;
            font-size: 1.1rem;
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.6;
        }

        /* Desktop-only content - hidden on mobile */
        .desktop-only {
            display: block;
        }

        .content-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-bottom: 50px;
        }
        
        .content-card {
            background: rgba(0, 10, 0, 0.8);
            border: 1px solid #003300;
            border-radius: 8px;
            padding: 25px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        
        .content-card:hover {
            transform: translateY(-5px);
            border-color: #00aa00;
            box-shadow: 0 5px 15px rgba(0, 255, 0, 0.2);
        }
        
        .content-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: #00ff00;
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s ease;
        }
        
        .content-card:hover::before {
            transform: scaleX(1);
        }
        
        .content-title {
            font-size: 1.8rem;
            color: #00ff00;
            margin-bottom: 15px;
            text-shadow: 0 0 8px #00ff00;
        }
        
        .content-description {
            color: #00aa00;
            line-height: 1.6;
            margin-bottom: 20px;
            flex-grow: 1;
        }
        
        .content-description p {
            margin-bottom: 10px;
        }
        
        .content-features {
            color: #008800;
            margin: 15px 0;
            padding-left: 20px;
            flex-grow: 1;
        }
        
        .content-features li {
            margin-bottom: 8px;
        }
        
        .content-link {
            display: inline-block;
            background: rgba(0, 30, 0, 0.8);
            border: 1px solid #00aa00;
            color: #00ff00;
            padding: 10px 20px;
            text-decoration: none;
            border-radius: 4px;
            transition: all 0.3s;
            font-weight: bold;
            margin-top: auto;
            text-align: center;
        }
        
        .content-link:hover {
            background: rgba(0, 50, 0, 0.8);
            box-shadow: 0 0 10px #00ff00;
        }
        
        .scan-line {
            position: absolute;
            width: 100%;
            height: 2px;
            background: rgba(0, 255, 0, 0.3);
            top: 0;
            left: 0;
            animation: scan 8s linear infinite;
        }
        
        @keyframes scan {
            0% { top: 0; }
            100% { top: 100%; }
        }
        
        .glitch {
            position: relative;
        }
        
        .glitch::before, .glitch::after {
            content: "THE BLACK PACKET";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
        
        .glitch::before {
            left: 2px;
            text-shadow: -2px 0 #ff00ff;
            animation: glitch-1 2s infinite linear alternate-reverse;
        }
        
        .glitch::after {
            left: -2px;
            text-shadow: 2px 0 #00ffff;
            animation: glitch-2 3s infinite linear alternate-reverse;
        }
        
        @keyframes glitch-1 {
            0% { clip-path: inset(20% 0 65% 0); }
            20% { clip-path: inset(60% 0 5% 0); }
            40% { clip-path: inset(45% 0 35% 0); }
            60% { clip-path: inset(75% 0 10% 0); }
            80% { clip-path: inset(15% 0 60% 0); }
            100% { clip-path: inset(40% 0 30% 0); }
        }
        
        @keyframes glitch-2 {
            0% { clip-path: inset(65% 0 20% 0); }
            20% { clip-path: inset(5% 0 60% 0); }
            40% { clip-path: inset(35% 0 45% 0); }
            60% { clip-path: inset(10% 0 75% 0); }
            80% { clip-path: inset(60% 0 15% 0); }
            100% { clip-path: inset(30% 0 40% 0); }
        }
        
        footer {
            text-align: center;
            padding: 30px 0;
            border-top: 1px solid #003300;
            margin-top: 50px;
            color: #008800;
            font-size: 0.9rem;
        }
        
        .status-bar {
            display: flex;
            justify-content: space-between;
            background: rgba(0, 20, 0, 0.7);
            padding: 10px 15px;
            border: 1px solid #004400;
            border-radius: 5px;
            margin-bottom: 30px;
            font-size: 0.9rem;
        }
        
        .status-item {
            color: #00aa00;
        }
        
        .flashing {
            animation: flash 1.5s infinite;
        }
        
        @keyframes flash {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }
        
        /* Matrix rain styles are in terminal-kit.css */

        .nav-links {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 40px;
        }
        
        .nav-link {
            color: #00aa00;
            text-decoration: none;
            padding: 8px 16px;
            border: 1px solid #004400;
            border-radius: 4px;
            transition: all 0.3s;
            font-size: 0.9rem;
        }
        
        .nav-link:hover {
            color: #00ff00;
            border-color: #00aa00;
            box-shadow: 0 0 8px #00ff00;
        }
        
        .coming-soon {
            position: relative;
            opacity: 0.7;
        }
        
        .coming-soon::after {
            content: "COMING SOON";
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(-45deg);
            background: rgba(0, 0, 0, 0.8);
            color: #ff3300;
            padding: 5px 15px;
            font-size: 1.2rem;
            border: 1px solid #ff3300;
            border-radius: 3px;
        }
        
        .osi-model {
            background: rgba(0, 15, 0, 0.6);
            border: 1px solid #002200;
            border-radius: 5px;
            padding: 20px;
            margin: 20px 0;
        }
        
        .osi-layer {
            display: flex;
            align-items: center;
            padding: 10px;
            margin: 5px 0;
            border-left: 3px solid #00aa00;
            background: rgba(0, 20, 0, 0.4);
        }
        
        .layer-number {
            font-weight: bold;
            color: #00ff00;
            margin-right: 15px;
            min-width: 30px;
        }
        
        .layer-name {
            color: #00aa00;
            font-weight: bold;
            margin-right: 15px;
            min-width: 120px;
        }
        
        .layer-desc {
            color: #008800;
            flex-grow: 1;
        }
        
        @media (max-width: 768px) {
            .content-grid {
                grid-template-columns: 1fr;
            }

            /* Force title to stay on one line - !important to override inline styles */
            h1 {
                font-size: 1.8rem !important;
                white-space: nowrap !important;
            }

            /* Force glitch pseudo-elements to match */
            .glitch::before, .glitch::after {
                white-space: nowrap !important;
            }

            /* Force subtitle to stay on one line */
            .subtitle {
                font-size: 1rem !important;
                white-space: nowrap !important;
            }

            /* Tagline - allow 2 lines max */
            .tagline {
                font-size: 0.85rem !important;
            }

            .tagline p {
                margin-bottom: 5px;
            }

            /* Hide desktop-only content on mobile */
            .desktop-only {
                display: none !important;
            }

            .nav-links {
                align-items: center;
                gap: 10px;
            }

            .status-bar {
                flex-direction: column;
                gap: 10px;
                text-align: center;
            }

            .osi-layer {
                flex-direction: column;
                align-items: flex-start;
            }

            .layer-number, .layer-name {
                margin-bottom: 5px;
            }

            /* Force footer to stay on one/two lines */
            footer {
                font-size: 0.75rem !important;
                white-space: nowrap !important;
            }

            footer p {
                white-space: nowrap !important;
            }

            /* Match hero image width to status bar on mobile */
            .hero-image {
                width: 100% !important;
                max-width: 100% !important;
                height: auto !important;
                display: block;
                margin: 0 auto;
                box-sizing: border-box;
            }

            /* Ensure main content doesn't overflow */
            .main-content {
                overflow: hidden;
                width: 100%;
            }

            /* Fix grid overflow on mobile - remove minimum widths */
            .projects-grid,
            .featured-grid,
            .content-grid,
            .games-grid,
            .media-grid,
            .links-grid,
            .crew-grid,
            .documentaries-grid {
                grid-template-columns: 1fr !important;
                gap: 20px !important;
            }

            /* Ensure cards don't overflow */
            .project-card,
            .content-card,
            .game-card,
            .media-card,
            .link-card,
            .crew-card,
            .documentary-card {
                min-width: 0 !important;
                width: 100% !important;
            }

            /* Ensure container doesn't overflow */
            .container {
                overflow-x: hidden !important;
                max-width: 100vw !important;
            }

            .homepage-content {
                overflow-x: hidden !important;
            }
        }

        /* Hero image - full width on desktop */
        .hero-image {
            width: 100%;
            max-width: 100%;
            height: auto;
        }

        /* Taskbar, Terminal, Music Player, and Matrix styles are in terminal-kit.css */

        .games-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-bottom: 50px;
        }
        
        .game-card {
            background: rgba(0, 10, 0, 0.8);
            border: 1px solid #003300;
            border-radius: 8px;
            padding: 25px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        
        .game-card:hover {
            transform: translateY(-5px);
            border-color: #00aa00;
            box-shadow: 0 5px 15px rgba(0, 255, 0, 0.2);
        }
        
        .game-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: #00ff00;
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s ease;
        }
        
        .game-card:hover::before {
            transform: scaleX(1);
        }
        
        .game-title {
            font-size: 1.8rem;
            color: #00ff00;
            margin-bottom: 15px;
            text-shadow: 0 0 8px #00ff00;
        }
        
        .game-description {
            color: #00aa00;
            line-height: 1.6;
            margin-bottom: 20px;
            flex-grow: 1;
        }
        
        .game-description p {
            margin-bottom: 10px;
        }
        
        .game-features {
            color: #008800;
            margin: 15px 0;
            padding-left: 20px;
            flex-grow: 1;
        }
        
        .game-features li {
            margin-bottom: 8px;
        }
        
        .game-link {
            display: inline-block;
            background: rgba(0, 30, 0, 0.8);
            border: 1px solid #00aa00;
            color: #00ff00;
            padding: 10px 20px;
            text-decoration: none;
            border-radius: 4px;
            transition: all 0.3s;
            font-weight: bold;
            margin-top: auto;
            text-align: center;
        }
        
        .game-link:hover {
            background: rgba(0, 50, 0, 0.8);
            box-shadow: 0 0 10px #00ff00;
        }
        
        .game-category {
            background: rgba(0, 15, 0, 0.6);
            border: 1px solid #002200;
            border-radius: 5px;
            padding: 15px;
            margin: 20px 0;
        }
        
        .game-stats {
            color: #008800;
            font-size: 0.9rem;
            margin: 10px 0;
        }
        
        .stat-item {
            margin-bottom: 5px;
            padding-left: 10px;
            border-left: 2px solid #004400;
        }
        
        .difficulty-badge {
            display: inline-block;
            background: #333;
            color: white;
            padding: 3px 8px;
            border-radius: 3px;
            font-size: 0.8rem;
            margin-left: 10px;
            vertical-align: middle;
        }
        .subtitle {
            color: #00aa00;
            font-size: 1.5rem;
            margin-bottom: 20px;
        }
        
        .tagline {
            color: #008800;
            font-size: 1.1rem;
            max-width: 900px;
            margin: 0 auto;
            line-height: 1.6;
        }
        
        .media-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-bottom: 50px;
        }
        
        .media-card {
            background: rgba(0, 10, 0, 0.8);
            border: 1px solid #003300;
            border-radius: 8px;
            padding: 25px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        
        .media-card:hover {
            transform: translateY(-5px);
            border-color: #00aa00;
            box-shadow: 0 5px 15px rgba(0, 255, 0, 0.2);
        }
        
        .media-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: #00ff00;
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s ease;
        }
        
        .media-card:hover::before {
            transform: scaleX(1);
        }
        
        .media-title {
            font-size: 1.8rem;
            color: #00ff00;
            margin-bottom: 15px;
            text-shadow: 0 0 8px #00ff00;
        }
        
        .media-description {
            color: #00aa00;
            line-height: 1.6;
            margin-bottom: 20px;
            flex-grow: 1;
        }
        
        .media-description p {
            margin-bottom: 10px;
        }
        
        .media-link {
            display: inline-block;
            background: rgba(0, 30, 0, 0.8);
            border: 1px solid #00aa00;
            color: #00ff00;
            padding: 10px 20px;
            text-decoration: none;
            border-radius: 4px;
            transition: all 0.3s;
            font-weight: bold;
            margin-top: auto;
            text-align: center;
        }
        
        .media-link:hover {
            background: rgba(0, 50, 0, 0.8);
            box-shadow: 0 0 10px #00ff00;
        }
        
        .scan-line {
            position: absolute;
            width: 100%;
            height: 2px;
            background: rgba(0, 255, 0, 0.3);
            top: 0;
            left: 0;
            animation: scan 8s linear infinite;
        }

        .games-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-bottom: 50px;
        }
        
        .game-card {
            background: rgba(0, 10, 0, 0.8);
            border: 1px solid #003300;
            border-radius: 8px;
            padding: 25px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        
        .game-card:hover {
            transform: translateY(-5px);
            border-color: #00aa00;
            box-shadow: 0 5px 15px rgba(0, 255, 0, 0.2);
        }
        
        .game-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: #00ff00;
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s ease;
        }
        
        .game-card:hover::before {
            transform: scaleX(1);
        }
        
        .game-title {
            font-size: 1.8rem;
            color: #00ff00;
            margin-bottom: 15px;
            text-shadow: 0 0 8px #00ff00;
        }
        
        .game-description {
            color: #00aa00;
            line-height: 1.6;
            margin-bottom: 20px;
            flex-grow: 1;
        }
        
        .game-description p {
            margin-bottom: 10px;
        }
        
        .game-features {
            color: #008800;
            margin: 15px 0;
            padding-left: 20px;
            flex-grow: 1;
        }
        
        .game-features li {
            margin-bottom: 8px;
        }
        
        .game-link {
            display: inline-block;
            background: rgba(0, 30, 0, 0.8);
            border: 1px solid #00aa00;
            color: #00ff00;
            padding: 10px 20px;
            text-decoration: none;
            border-radius: 4px;
            transition: all 0.3s;
            font-weight: bold;
            margin-top: auto;
            text-align: center;
        }
        
        .game-link:hover {
            background: rgba(0, 50, 0, 0.8);
            box-shadow: 0 0 10px #00ff00;
        }
        
        .game-category {
            background: rgba(0, 15, 0, 0.6);
            border: 1px solid #002200;
            border-radius: 5px;
            padding: 15px;
            margin: 20px 0;
        }
        
        .game-stats {
            color: #008800;
            font-size: 0.9rem;
            margin: 10px 0;
        }
        
        .stat-item {
            margin-bottom: 5px;
            padding-left: 10px;
            border-left: 2px solid #004400;
        }
        
        .coming-soon {
            position: relative;
            opacity: 0.7;
        }
        
        .coming-soon::after {
            content: "COMING SOON";
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(-45deg);
            background: rgba(0, 0, 0, 0.8);
            color: #ff3300;
            padding: 5px 15px;
            font-size: 1.2rem;
            border: 1px solid #ff3300;
            border-radius: 3px;
        }
        
        .difficulty-badge {
            display: inline-block;
            background: #333;
            color: white;
            padding: 3px 8px;
            border-radius: 3px;
            font-size: 0.8rem;
            margin-left: 10px;
            vertical-align: middle;
        }
        
        .difficulty-beginner { background: #006600; }
        .difficulty-intermediate { background: #666600; }
        .difficulty-advanced { background: #660000; }
        .difficulty-expert { background: #330066; }

        /* Links Grid - EXACT MATCH */
        .links-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-bottom: 50px;
        }
        
        .link-card {
            background: rgba(0, 10, 0, 0.8);
            border: 1px solid #003300;
            border-radius: 8px;
            padding: 25px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        
        .link-card:hover {
            transform: translateY(-5px);
            border-color: #00aa00;
            box-shadow: 0 5px 15px rgba(0, 255, 0, 0.2);
        }
        
        .link-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: #00ff00;
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s ease;
        }
        
        .link-card:hover::before {
            transform: scaleX(1);
        }
        
        .link-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            gap: 15px;
        }
        
        .link-icon {
            width: 40px;
            height: 40px;
            background: rgba(0, 30, 0, 0.8);
            border: 1px solid #004400;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
        }
        
        .link-title {
            font-size: 1.8rem;
            color: #00ff00;
            margin-bottom: 15px;
            text-shadow: 0 0 8px #00ff00;
            flex-grow: 1;
        }
        
        .link-description {
            color: #00aa00;
            line-height: 1.6;
            margin-bottom: 20px;
            flex-grow: 1;
        }
        
        .link-description p {
            margin-bottom: 10px;
        }
        
        .link-tags {
            color: #008800;
            margin: 15px 0;
            padding-left: 20px;
            flex-grow: 1;
        }
        
        .link-tag {
            margin-bottom: 8px;
            display: inline-block;
            background: rgba(0, 20, 0, 0.6);
            color: #00cc00;
            padding: 2px 8px;
            border-radius: 10px;
            font-size: 0.7rem;
            border: 1px solid #004400;
            margin-right: 5px;
        }
        
        .link-meta {
            display: flex;
            justify-content: space-between;
            color: #008800;
            font-size: 0.8rem;
            margin-bottom: 15px;
            padding-top: 10px;
            border-top: 1px solid #002200;
        }
        
        .link-button {
            display: inline-block;
            background: rgba(0, 30, 0, 0.8);
            border: 1px solid #00aa00;
            color: #00ff00;
            padding: 10px 20px;
            text-decoration: none;
            border-radius: 4px;
            transition: all 0.3s;
            font-weight: bold;
            margin-top: auto;
            text-align: center;
        }
        
        .link-button:hover {
            background: rgba(0, 50, 0, 0.8);
            box-shadow: 0 0 10px #00ff00;
        }
        
        .external-icon {
            font-size: 0.8rem;
            opacity: 0.7;
            margin-left: 5px;
        }

       /* Terminal Modal Styles */
        .terminal-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            z-index: 1000;
            align-items: center;
            justify-content: center;
        }
        
        .terminal-content {
            background: #001100;
            border: 2px solid #00aa00;
            border-radius: 5px;
            width: 90%;
            max-width: 800px;
            max-height: 90vh;
            overflow-y: auto;
            padding: 20px;
            position: relative;
            box-shadow: 0 0 30px rgba(0, 255, 0, 0.3);
        }
        
        .terminal-header {
            border-bottom: 1px solid #003300;
            padding-bottom: 10px;
            margin-bottom: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .terminal-title {
            color: #00ff00;
            font-size: 1.2rem;
        }
        
        .close-terminal {
            background: #660000;
            border: 1px solid #ff3300;
            color: #ff6666;
            padding: 5px 15px;
            cursor: pointer;
            border-radius: 3px;
            font-family: 'Courier New', monospace;
        }
        
        .close-terminal:hover {
            background: #880000;
            box-shadow: 0 0 8px #ff3300;
        }
        
        .terminal-output {
            color: #00ff00;
            line-height: 1.4;
            font-size: 0.9rem;
        }
        
        .terminal-line {
            margin-bottom: 8px;
            animation: typeLine 0.1s linear;
        }
        
        .terminal-prompt {
            color: #00aa00;
        }
        
        .terminal-command {
            color: #00ff00;
        }
        
        .terminal-response {
            color: #00aa00;
            margin-left: 20px;
        }
        
        .terminal-warning {
            color: #ff6600;
        }
        
        .terminal-danger {
            color: #ff3300;
        }
        
        .terminal-success {
            color: #00ff00;
        }
        
        .terminal-access {
            color: #00aaff;
        }
        
        @keyframes typeLine {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        .crew-avatar {
            width: 130px;
            height: 130px;
            background: #003300;
            border: 2px solid #00aa00;
            border-radius: 50%;
            margin: 0 auto 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: #00ff00;
        }

        .crew-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-bottom: 50px;
        }
        
        .crew-card {
            background: rgba(0, 10, 0, 0.8);
            border: 1px solid #003300;
            border-radius: 8px;
            padding: 25px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            height: 100%;
            cursor: pointer;
        }
        
        .crew-card:hover {
            transform: translateY(-5px);
            border-color: #00aa00;
            box-shadow: 0 5px 15px rgba(0, 255, 0, 0.2);
        }
        
        .crew-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: #00ff00;
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s ease;
        }
        
        .crew-card:hover::before {
            transform: scaleX(1);
        }
        
        .crew-name {
            font-size: 1.8rem;
            color: #00ff00;
            margin-bottom: 15px;
            text-shadow: 0 0 8px #00ff00;
        }
        
        .crew-alias {
            color: #00aa00;
            font-size: 1.1rem;
            margin-bottom: 15px;
            font-style: italic;
        }
        
        .crew-description {
            color: #00aa00;
            line-height: 1.6;
            margin-bottom: 20px;
            flex-grow: 1;
        }
        
        .crew-link {
            display: inline-block;
            background: rgba(0, 30, 0, 0.8);
            border: 1px solid #00aa00;
            color: #00ff00;
            padding: 10px 20px;
            text-decoration: none;
            border-radius: 4px;
            transition: all 0.3s;
            font-weight: bold;
            margin-top: auto;
            text-align: center;
        }
        
        .crew-link:hover {
            background: rgba(0, 50, 0, 0.8);
            box-shadow: 0 0 10px #00ff00;
        }






        .content-badge {
            display: inline-block;
            background: #333;
            color: white;
            padding: 3px 8px;
            border-radius: 3px;
            font-size: 0.8rem;
            margin-left: 10px;
            vertical-align: middle;
        }
        
        .badge-documentary { background: #006600; }
        .badge-film { background: #660066; }
        .badge-educational { background: #006666; }
        .badge-entertainment { background: #663300; }

	/* Documentary Grid */
        .documentaries-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
            margin-bottom: 50px;
        }

        .documentary-card {
            background: rgba(0, 10, 0, 0.8);
            border: 1px solid #003300;
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.3s ease;
            position: relative;
	    display: flex; flex-direction: column; height: 100%;
        }

        .documentary-card:hover {
            transform: translateY(-5px);
            border-color: #00aa00;
            box-shadow: 0 5px 20px rgba(0, 255, 0, 0.3);
        }

        .documentary-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: #00ff00;
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s ease;
            z-index: 2;
        }

        .documentary-card:hover::before {
            transform: scaleX(1);
        }

        .thumbnail-container {
            position: relative;
            width: 100%;
            height: 200px;
            overflow: hidden;
            background: #000;
        }

        .documentary-thumbnail {
            width: 100%;
            height: 300;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .documentary-card:hover .documentary-thumbnail {
            transform: scale(1.05);
        }

        .thumbnail-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.8) 100%);
            display: flex;
            align-items: flex-end;
            padding: 15px;
        }

        .play-button {
            background: rgba(0, 255, 0, 0.9);
            color: #000;
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-left: auto;
        }

        .play-button:hover {
            background: #00ff00;
            transform: scale(1.1);
            box-shadow: 0 0 15px #00ff00;
        }

        .documentary-content {
            padding: 20px;
	    display: flex; flex-direction: column; flex-grow: 1;
        }

        .documentary-title {
            color: #00ff00;
            font-size: 1.3rem;
            margin-bottom: 10px;
            text-shadow: 0 0 8px #00ff00;
        }

        .documentary-description {
            color: #00aa00;
            font-size: 0.9rem;
            margin-bottom: 15px;
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .documentary-meta {
            display: flex;
            justify-content: space-between;
            color: #008800;
            font-size: 0.8rem;
            border-top: 1px solid #002200;
            padding-top: 10px;
	    margin-top: auto;
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .category-badge {
            background: #006600;
            color: white;
            padding: 2px 8px;
            border-radius: 10px;
            font-size: 0.7rem;
            margin-right: 8px;
        }
       	.category-info {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 20px;
        }
        .category-nav {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 30px;
            padding: 20px;
            background: rgba(0, 15, 0, 0.6);
            border: 1px solid #002200;
            border-radius: 8px;
        }
        
        .category-link {
            color: #00aa00;
            text-decoration: none;
            padding: 8px 16px;
            border: 1px solid #004400;
            border-radius: 4px;
            transition: all 0.3s;
            font-size: 0.9rem;
        }
        
        .category-link:hover, .category-link.active {
            color: #00ff00;
            border-color: #00aa00;
            box-shadow: 0 0 8px #00ff00;
        }  

        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin: 40px 0;
            padding: 20px;
            background: rgba(0, 15, 0, 0.6);
            border: 1px solid #003300;
            border-radius: 8px;
        }

        .page-info {
            color: #00aa00;
            font-size: 0.9rem;
        }

        .pagination-btn {
            background: rgba(0, 30, 0, 0.8);
            border: 1px solid #00aa00;
            color: #00ff00;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            font-size: 0.9rem;
        }

        .pagination-btn:hover:not(.disabled) {
            background: rgba(0, 50, 0, 0.8);
            box-shadow: 0 0 10px #00ff00;
        }

        .pagination-btn.disabled {
            opacity: 0.3;
            cursor: not-allowed;
            border-color: #004400;
        }

        .page-numbers {
            display: flex;
            gap: 8px;
        }

        .page-number {
            background: rgba(0, 20, 0, 0.6);
            border: 1px solid #004400;
            color: #00aa00;
            width: 35px;
            height: 35px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 0.9rem;
            text-decoration: none;
        }

        .page-number:hover, .page-number.active {
            background: rgba(0, 50, 0, 0.8);
            border-color: #00aa00;
            color: #00ff00;
        }


