/* ============================================
   RESET & VARIABLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --terminal-bg: rgba(10, 10, 15, 0.95);
    --text-primary: #e0e0e0;
    --text-dim: #6b7280;
    --accent-cyan: #22d3ee;
    --accent-green: #4ade80;
    --accent-purple: #a78bfa;
    --accent-orange: #fb923c;
    --accent-pink: #f472b6;
    --glow-cyan: rgba(34, 211, 238, 0.4);
    --glow-green: rgba(74, 222, 128, 0.3);
}

/* Light Mode Variables */
body.light-mode {
    --bg-primary: #f5f5f7;
    --bg-secondary: #fafafa;
    --terminal-bg: rgba(250, 250, 250, 0.95);
    --text-primary: #2d2d2d;
    --text-dim: #737373;
    --accent-cyan: #0ea5e9;
    --accent-green: #10b981;
    --accent-purple: #8b5cf6;
    --accent-orange: #f97316;
    --accent-pink: #ec4899;
    --glow-cyan: rgba(14, 165, 233, 0.2);
    --glow-green: rgba(16, 185, 129, 0.2);
}

body.light-mode .bg-grid {
    background-image: 
        linear-gradient(rgba(8, 145, 178, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 145, 178, 0.06) 1px, transparent 1px);
}

body.light-mode .particle {
    background: var(--accent-cyan);
}

body.light-mode .scanlines {
    opacity: 0.1;
}

body.light-mode .terminal {
    box-shadow: 
        0 0 0 1px rgba(8, 145, 178, 0.2),
        0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 0 50px rgba(8, 145, 178, 0.1);
}

body.light-mode .project-card,
body.light-mode .internship-card,
body.light-mode .episode-card,
body.light-mode .github-stat {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

body.light-mode .project-card:hover,
body.light-mode .internship-card:hover,
body.light-mode .episode-card:hover {
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

body.light-mode .social-link {
    background: rgba(14, 165, 233, 0.06);
    border: 1px solid rgba(14, 165, 233, 0.15);
}

body.light-mode .aurelius-chat-container,
body.light-mode .aurelius-header {
    background: rgba(250, 250, 250, 0.95);
    border-color: rgba(139, 92, 246, 0.2);
}

body.light-mode .bottom-terminal {
    background: rgba(250, 250, 250, 0.95);
    border-top-color: rgba(14, 165, 233, 0.15);
}

body.light-mode .terminal-input,
body.light-mode .chip {
    color: var(--text-primary);
}

body.light-mode .chip {
    background: rgba(14, 165, 233, 0.08);
    border-color: rgba(14, 165, 233, 0.2);
}

body.light-mode .traditional-nav {
    background: rgba(250, 250, 250, 0.95);
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .nav-logo {
    color: var(--text-primary);
}

body.light-mode .nav-link {
    color: var(--text-dim);
}

body.light-mode .nav-link:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.05);
}

body.light-mode .nav-link.active {
    color: var(--accent-cyan);
    background: rgba(14, 165, 233, 0.1);
}

body.light-mode .mobile-nav-overlay {
    background: rgba(250, 250, 250, 0.98);
}

body.light-mode .mobile-nav-header {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .mobile-nav-close {
    color: var(--text-dim);
}

body.light-mode .mobile-nav-link {
    color: var(--text-primary);
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

body.light-mode .mobile-nav-link:hover {
    color: var(--accent-cyan);
}

body.light-mode .nav-hamburger span {
    background: var(--text-primary);
}

/* ============================================
   LIGHT MODE: AURELIUSGPT
   ============================================ */
body.light-mode .aurelius-container::before {
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.03) 0px,
        transparent 1px,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 3px
    );
    opacity: 0.3;
}

body.light-mode .aurelius-container::after {
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        rgba(0, 0, 0, 0.05) 100%
    );
}

body.light-mode .aurelius-header {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(251, 146, 60, 0.12) 100%);
    border-color: rgba(139, 92, 246, 0.25);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(139, 92, 246, 0.15);
}

body.light-mode .aurelius-header::before {
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(139, 92, 246, 0.04) 10px,
        rgba(139, 92, 246, 0.04) 20px
    );
}

body.light-mode .aurelius-logo {
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 
        0 0 40px rgba(139, 92, 246, 0.3),
        0 15px 60px rgba(0, 0, 0, 0.15);
}

body.light-mode .aurelius-logo:hover {
    box-shadow: 
        0 0 50px rgba(139, 92, 246, 0.4),
        0 20px 70px rgba(0, 0, 0, 0.2);
}

body.light-mode .aurelius-title {
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5))
            drop-shadow(0 0 20px rgba(251, 146, 60, 0.4))
            drop-shadow(0 0 30px rgba(251, 191, 36, 0.3));
}

body.light-mode .aurelius-subtitle {
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}

body.light-mode .aurelius-quote {
    background: rgba(139, 92, 246, 0.08);
    border-left-color: rgba(251, 191, 36, 0.6);
    box-shadow: inset 0 1px 2px rgba(251, 191, 36, 0.15);
}

body.light-mode .aurelius-chat-container {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(139, 92, 246, 0.25);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(139, 92, 246, 0.15),
        0 0 40px rgba(139, 92, 246, 0.15);
}

body.light-mode .aurelius-messages {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(250, 250, 250, 0.7) 100%);
}

body.light-mode .aurelius-messages::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.03);
}

body.light-mode .aurelius-messages::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.25);
}

body.light-mode .aurelius-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.4);
}

body.light-mode .aurelius-input-container {
    background: rgba(250, 250, 250, 0.9);
    border-top-color: rgba(139, 92, 246, 0.25);
}

body.light-mode .aurelius-input-wrapper {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(139, 92, 246, 0.25);
}

body.light-mode .aurelius-input-wrapper:focus-within {
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow: 
        0 0 20px rgba(251, 191, 36, 0.2),
        inset 0 1px 2px rgba(251, 191, 36, 0.08);
}

body.light-mode .aurelius-input {
    color: var(--text-primary);
}

body.light-mode .aurelius-send-btn {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

body.light-mode .aurelius-send-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

body.light-mode .validator-toggle input:checked + .toggle-slider {
    background-color: rgba(251, 191, 36, 0.25);
    border-color: rgba(251, 191, 36, 0.5);
}

body.light-mode .validator-toggle input:checked + .toggle-slider:before {
    box-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
}

body.light-mode .aurelius-side-image {
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 
        0 0 30px rgba(139, 92, 246, 0.3),
        0 10px 40px rgba(0, 0, 0, 0.15);
}

body.light-mode .side-face-toggle {
    background: rgba(139, 92, 246, 0.85);
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

body.light-mode .side-face-toggle:hover {
    background: rgba(251, 191, 36, 0.9);
    border-color: rgba(251, 191, 36, 0.6);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

body.light-mode .aurelius-prompt-guide {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(251, 191, 36, 0.12) 100%);
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 
        0 4px 16px rgba(251, 191, 36, 0.15),
        inset 0 1px 0 rgba(251, 191, 36, 0.15);
}

body.light-mode .aurelius-autocomplete-suggestion {
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.25);
}

body.light-mode .aurelius-autocomplete-suggestion kbd {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
}

body.light-mode .sample-prompt-btn {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.25);
}

body.light-mode .sample-prompt-btn:hover {
    background: rgba(139, 92, 246, 0.18);
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.15);
}

body.light-mode .aurelius-export-btn {
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.3);
}

body.light-mode .aurelius-export-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

body.light-mode .aurelius-summary-section {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(251, 191, 36, 0.1) 100%);
    border-color: rgba(251, 191, 36, 0.25);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(251, 191, 36, 0.12);
}

body.light-mode .summary-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(139, 92, 246, 0.25);
}

body.light-mode .summary-card:hover {
    border-color: rgba(251, 191, 36, 0.35);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15);
}

body.light-mode .summary-footer {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(139, 92, 246, 0.2);
}

body.light-mode .aurelius-blog-section {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(139, 92, 246, 0.2);
}

body.light-mode .aurelius-blog-section h2 {
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

body.light-mode .code-block {
    background: rgba(18, 18, 26, 0.05);
    border-color: rgba(139, 92, 246, 0.2);
}

body.light-mode .markdown-content code {
    background: rgba(139, 92, 246, 0.12);
}

body.light-mode .markdown-content pre {
    background: rgba(18, 18, 26, 0.06);
    border-color: rgba(139, 92, 246, 0.2);
}

body.light-mode .markdown-content blockquote {
    border-left-color: var(--accent-orange);
}

body.light-mode .aurelius-countdown {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(251, 146, 60, 0.12) 100%);
    border-color: rgba(139, 92, 246, 0.25);
}

body.light-mode .aurelius-countdown .countdown-timer {
    text-shadow: 0 0 20px rgba(251, 146, 60, 0.4);
}

body.light-mode .prompt-guide-hint kbd {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.35);
}

body.light-mode .typing-indicator span {
    background: var(--accent-purple);
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'JetBrains Mono', monospace;
    background: var(--bg-primary);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* ============================================
   BACKGROUND EFFECTS
   ============================================ */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(34, 211, 238, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 15s infinite;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1) 0px,
        rgba(0, 0, 0, 0.1) 1px,
        transparent 1px,
        transparent 2px
    );
    opacity: 0.3;
}

/* ============================================
   TERMINAL INTRO
   ============================================ */
.terminal-container {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 900px;
    height: 70vh;
    max-height: 600px;
}

.terminal {
    background: var(--terminal-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        0 0 0 1px rgba(34, 211, 238, 0.1),
        0 25px 50px -12px rgba(0, 0, 0, 0.8),
        0 0 100px rgba(34, 211, 238, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(20px);
}

.terminal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(34, 211, 238, 0.02);
    pointer-events: none;
    animation: flicker 0.15s infinite;
    opacity: 0;
}

@keyframes flicker {
    0% { opacity: 0.02; }
    50% { opacity: 0; }
    100% { opacity: 0.02; }
}

.terminal-header {
    background: linear-gradient(180deg, rgba(30, 30, 40, 0.9) 0%, rgba(20, 20, 30, 0.9) 100%);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.btn-close { background: #ff5f57; }
.btn-minimize { background: #ffbd2e; }
.btn-maximize { background: #28c840; }

.terminal-btn:hover {
    filter: brightness(1.2);
    transform: scale(1.1);
}

.terminal-title {
    flex: 1;
    text-align: center;
    color: var(--text-dim);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.terminal-title span {
    color: var(--accent-cyan);
}

.terminal-body {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.terminal-body::-webkit-scrollbar {
    width: 8px;
}

.terminal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.terminal-body::-webkit-scrollbar-thumb {
    background: rgba(34, 211, 238, 0.2);
    border-radius: 4px;
}

/* Terminal lines */
.terminal-line {
    margin-bottom: 8px;
    line-height: 1.6;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.prompt {
    color: var(--accent-green);
    margin-right: 0;
    white-space: nowrap;
}

.prompt .user { color: var(--accent-cyan); }
.prompt .at { color: var(--text-dim); }
.prompt .host { color: var(--accent-purple); }
.prompt .colon { color: var(--text-dim); }
.prompt .path { color: var(--accent-orange); }
.prompt .dollar { color: var(--text-primary); margin-left: 4px; }

.command {
    color: var(--text-primary);
    margin-left: 8px;
}

.command .cmd-name { color: var(--accent-cyan); }
.command .cmd-arg { color: var(--accent-orange); }

.cursor {
    display: inline-block;
    width: 10px;
    height: 20px;
    background: var(--accent-cyan);
    margin-left: 2px;
    animation: blink 1s step-end infinite;
    box-shadow: 0 0 10px var(--glow-cyan);
    vertical-align: middle;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.output {
    color: var(--text-dim);
    padding: 12px 0;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(5px);
    animation: fadeIn 0.3s ease forwards;
}

.output.highlight {
    color: var(--text-primary);
    font-size: 15px;
    padding: 16px 20px;
    background: rgba(34, 211, 238, 0.05);
    border-left: 3px solid var(--accent-cyan);
    border-radius: 0 8px 8px 0;
    margin: 8px 0;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.enter-prompt {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-dim);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 100;
}

.enter-prompt.visible {
    opacity: 1;
}

.skip-prompt {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-dim);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
    z-index: 100;
    transition: opacity 0.3s ease;
}

.skip-prompt.hidden {
    opacity: 0;
    pointer-events: none;
}

.enter-key {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 6px;
    color: var(--accent-cyan);
    font-size: 12px;
    font-weight: 600;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.4); }
    50% { box-shadow: 0 0 20px 5px rgba(34, 211, 238, 0.2); }
}

.boot-text {
    color: var(--text-dim);
    font-size: 12px;
    margin-bottom: 4px;
    opacity: 0;
    animation: bootLine 0.5s ease forwards;
}

@keyframes bootLine {
    to { opacity: 0.6; }
}

.ascii-art {
    color: var(--accent-cyan);
    font-size: 11px;
    line-height: 1.2;
    margin: 16px 0;
    text-shadow: 0 0 10px var(--glow-cyan);
    text-align: center;
}

.ascii-line {
    opacity: 0;
    transform: translateY(-5px);
    animation: drawLine 0.3s ease forwards;
}

@keyframes drawLine {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.status-bar {
    position: absolute;
    top: 60px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-dim);
    opacity: 0.7;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ============================================
   TRANSITION OVERLAY
   ============================================ */
.transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.5s ease;
}

.transition-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.loading-text {
    color: var(--accent-cyan);
    font-size: 14px;
    letter-spacing: 2px;
    margin-top: 30px;
}

.loading-bar {
    width: 200px;
    height: 2px;
    background: rgba(34, 211, 238, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 16px;
}

.loading-progress {
    width: 0%;
    height: 100%;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--glow-cyan);
    transition: width 0.3s ease;
}

.final-message {
    text-align: center;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s ease;
}

.final-message.visible {
    opacity: 1;
    transform: scale(1);
}

.final-message h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-shadow: 0 0 30px var(--glow-cyan);
}

.final-message p {
    color: var(--text-dim);
    font-size: 16px;
}

/* ============================================
   PORTFOLIO PAGE
   ============================================ */
.portfolio-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
    display: flex;
    flex-direction: column;
}

.portfolio-page.active {
    opacity: 1;
    pointer-events: all;
}

.portfolio-content {
    flex: 1;
    overflow-y: auto;
    padding: 60px 40px 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.portfolio-content::-webkit-scrollbar {
    width: 6px;
}

.portfolio-content::-webkit-scrollbar-thumb {
    background: rgba(34, 211, 238, 0.3);
    border-radius: 3px;
}

.portfolio-content.navbar-mode {
    padding-top: 100px;
    padding-bottom: 40px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    text-align: center;
    max-width: 800px;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 1s ease 0.3s forwards;
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-greeting {
    font-size: 14px;
    color: var(--accent-cyan);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-name {
    font-size: 72px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-cyan) 50%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 20px;
    color: var(--text-dim);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.hero-tagline .highlight {
    color: var(--accent-cyan);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 16px;
    margin-top: 30px;
    justify-content: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: rgba(34, 211, 238, 0.3);
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

/* Stats row */
.stats-row {
    display: flex;
    gap: 60px;
    margin-top: 50px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    opacity: 0;
    animation: statReveal 0.6s ease forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.5s; }
.stat-item:nth-child(2) { animation-delay: 0.7s; }
.stat-item:nth-child(3) { animation-delay: 0.9s; }

@keyframes statReveal {
    to { opacity: 1; }
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-cyan);
    text-shadow: 0 0 20px var(--glow-cyan);
}

.stat-label {
    font-size: 12px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
}

/* Visitor Counter */
.visitor-counter {
    margin-top: 60px;
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.05) 0%, rgba(167, 139, 250, 0.05) 100%);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: statReveal 0.8s ease forwards;
    animation-delay: 1.1s;
}

.visitor-counter-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.visitor-counter-label {
    font-size: 13px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.visitor-counter-value {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-cyan);
    text-shadow: 0 0 20px var(--glow-cyan);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 8px;
}

.visitor-counter-subtext {
    font-size: 11px;
    color: var(--text-dim);
    opacity: 0.7;
}

body.light-mode .visitor-counter {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%);
    border-color: rgba(8, 145, 178, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

/* ============================================
   PAGE SECTIONS
   ============================================ */
.page-section {
    width: 100%;
    max-width: 900px;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    animation: sectionReveal 0.8s ease forwards;
}

.page-section:nth-child(2) { animation-delay: 0.6s; }
.page-section:nth-child(3) { animation-delay: 0.8s; }

@keyframes sectionReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.section-icon {
    width: 40px;
    height: 40px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ============================================
   PROJECT CARDS
   ============================================ */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.project-card {
    background: rgba(18, 18, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    border-color: rgba(34, 211, 238, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.project-card-icon {
    font-size: 28px;
}

.project-card-tag {
    font-size: 10px;
    padding: 4px 10px;
    background: rgba(34, 211, 238, 0.1);
    color: var(--accent-cyan);
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-card h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.project-card p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.6;
}

/* ============================================
   BOTTOM TERMINAL
   ============================================ */
.bottom-terminal {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(34, 211, 238, 0.1);
    padding: 16px 30px;
    z-index: 3100;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s ease;
    max-height: 90px;
}

.bottom-terminal.active {
    opacity: 1;
    transform: translateY(0);
}

.bottom-terminal.expanded {
    max-height: 350px;
    padding-top: 12px;
}

.terminal-expand-btn {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 4px 16px;
    color: var(--text-dim);
    font-size: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.terminal-expand-btn:hover {
    color: var(--accent-cyan);
    border-color: rgba(34, 211, 238, 0.4);
}

.command-history {
    max-height: 0;
    overflow-y: auto;
    margin-bottom: 0;
    opacity: 0;
    transition: all 0.3s ease;
    display: none;
}

.bottom-terminal.expanded .command-history {
    display: block;
    max-height: 220px;
    margin-bottom: 12px;
    opacity: 1;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.command-history::-webkit-scrollbar {
    width: 4px;
}

.command-history::-webkit-scrollbar-thumb {
    background: rgba(34, 211, 238, 0.2);
    border-radius: 2px;
}

.history-item {
    font-size: 12px;
    color: var(--text-dim);
    padding: 4px 0;
    font-family: 'JetBrains Mono', monospace;
}

.terminal-input-row {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.terminal-prompt-mini {
    color: var(--accent-green);
    font-size: 14px;
    white-space: nowrap;
}

.terminal-prompt-mini .path {
    color: var(--accent-orange);
}

.terminal-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.terminal-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    caret-color: var(--accent-cyan);
}

.autocomplete-ghost {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    opacity: 0.4;
    pointer-events: none;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.autocomplete-suggestion {
    margin-left: 8px;
    color: var(--text-dim);
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.autocomplete-suggestion.visible {
    opacity: 0.6;
}

.autocomplete-suggestion kbd {
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    color: var(--accent-cyan);
    margin-left: 6px;
}

/* ============================================
   SUB-PAGES
   ============================================ */
.sub-page {
    display: none;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.sub-page.active {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sub-page-header {
    margin-bottom: 40px;
    text-align: center;
    width: 100%;
    max-width: 900px;
}

.sub-page-header h1 {
    font-size: 48px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.sub-page-header p {
    font-size: 16px;
    color: var(--text-dim);
    line-height: 1.6;
}

.back-hint {
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 20px;
}

body.terminal-mode-off .back-hint {
    display: none;
}

.back-hint code {
    background: rgba(34, 211, 238, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--accent-cyan);
}

/* ============================================
   PODCAST PAGE
   ============================================ */
.podcast-episodes {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.episode-card {
    background: rgba(18, 18, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.episode-card:hover {
    border-color: rgba(167, 139, 250, 0.3);
    transform: translateX(4px);
}

.episode-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-purple);
    opacity: 0.5;
    min-width: 60px;
}

.episode-info h3 {
    color: var(--text-primary);
    font-size: 16px;
    margin-bottom: 6px;
}

.episode-info p {
    color: var(--text-dim);
    font-size: 13px;
}

/* Podcast Detail View */
.podcast-detail {
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   VERICARE PAGE
   ============================================ */
.company-hero {
    text-align: center;
    padding: 60px 0;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.company-logo {
    font-size: 64px;
    margin-bottom: 20px;
}

.company-name {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.company-tagline {
    font-size: 18px;
    color: var(--accent-green);
}

.company-description {
    max-width: 800px;
    margin: 30px auto;
    color: var(--text-dim);
    line-height: 1.8;
    font-size: 15px;
}

/* ============================================
   GITHUB PAGE
   ============================================ */
.github-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.github-stat {
    background: rgba(18, 18, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.github-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-orange);
}

.github-stat-label {
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.github-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 14px 28px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 8px;
    color: var(--accent-cyan);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.github-link:hover {
    background: rgba(34, 211, 238, 0.2);
    transform: translateY(-2px);
}

/* ============================================
   INTERNSHIPS PAGE
   ============================================ */
.internships-scroll {
    width: 100%;
    max-width: 900px;
    overflow-x: hidden;
    margin: 0 auto;
}

.internship-card {
    background: rgba(18, 18, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.internship-card:hover {
    border-color: rgba(244, 114, 182, 0.3);
    transform: translateX(8px);
}

.internship-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.internship-company {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.internship-period {
    font-size: 12px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.internship-role {
    font-size: 14px;
    color: var(--accent-pink);
    margin-bottom: 12px;
}

.internship-description {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.6;
}

.internship-tags {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.internship-tag {
    font-size: 10px;
    padding: 4px 10px;
    background: rgba(244, 114, 182, 0.1);
    color: var(--accent-pink);
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Internship detail page */
.internship-detail {
    display: none;
}

.internship-detail.active {
    display: block;
}

.internship-detail-header {
    text-align: center;
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 40px;
}

.internship-detail-header h1 {
    font-size: 48px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.internship-detail-header .role {
    font-size: 18px;
    color: var(--accent-pink);
}

.internship-detail-content {
    max-width: 700px;
    margin: 0 auto;
}

.internship-detail-content h2 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 16px;
    margin-top: 32px;
}

.internship-detail-content p {
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 16px;
}

.internship-detail-content ul {
    list-style: none;
    padding: 0;
}

.internship-detail-content li {
    color: var(--text-dim);
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.internship-detail-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-pink);
}

/* ============================================
   MODE TOGGLE & THEME TOGGLE
   ============================================ */
.mode-toggle {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 3200;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.5s ease;
}

.theme-toggle {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 3200;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.5s ease;
}

.theme-toggle.visible {
    opacity: 1;
    transform: translateY(0);
}

.terminal-mode-off .theme-toggle {
    top: 85px;
    left: 40px;
}

.theme-toggle-label {
    font-size: 12px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.theme-toggle-switch {
    position: relative;
    width: 60px;
    height: 32px;
    background: rgba(251, 146, 60, 0.3);
    border: 1px solid rgba(251, 146, 60, 0.5);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(251, 146, 60, 0.1);
}

.theme-toggle-switch:hover {
    background: rgba(251, 146, 60, 0.4);
    box-shadow: 0 0 20px rgba(251, 146, 60, 0.2);
}

.theme-toggle-switch::after {
    content: '🌙';
    position: absolute;
    top: 50%;
    left: 6px;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background: rgba(124, 58, 237, 0.8);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

body.light-mode .theme-toggle-switch {
    background: rgba(251, 146, 60, 0.3);
    border-color: rgba(251, 146, 60, 0.5);
}

body.light-mode .theme-toggle-switch::after {
    content: '☀️';
    left: calc(100% - 28px);
    background: var(--accent-orange);
    box-shadow: 0 0 10px rgba(251, 146, 60, 0.6);
}

.mode-toggle.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Move toggle down when in non-terminal mode */
.terminal-mode-off .mode-toggle {
    top: 85px;
    right: 40px;
}

.mode-toggle-label {
    font-size: 12px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 32px;
    background: rgba(34, 211, 238, 0.3);
    border: 1px solid rgba(34, 211, 238, 0.5);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.1);
}

.toggle-switch:hover {
    background: rgba(34, 211, 238, 0.4);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.2);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 33px;
    width: 24px;
    height: 24px;
    background: var(--accent-cyan);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--glow-cyan);
}

.toggle-switch.off::after {
    left: 3px;
    background: var(--text-dim);
    box-shadow: none;
}

.toggle-switch.off {
    background: rgba(107, 114, 128, 0.2);
    border-color: rgba(107, 114, 128, 0.3);
}

/* ============================================
   TRADITIONAL NAVBAR
   ============================================ */
.traditional-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0 40px;
    z-index: 3150;
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.5s ease;
}

.traditional-nav.active {
    opacity: 1;
    transform: translateY(0);
}

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

.nav-logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-logo:hover {
    color: var(--accent-cyan);
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 10px 20px;
    color: var(--text-dim);
    font-size: 13px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--accent-cyan);
    background: rgba(34, 211, 238, 0.1);
}

/* ============================================
   BACK HOME BUTTON
   ============================================ */
.back-home-btn {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 3150;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 30px;
    color: var(--accent-cyan);
    font-size: 13px;
    cursor: pointer;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.back-home-btn.visible {
    opacity: 1;
    transform: translateX(0);
}

.back-home-btn:hover {
    background: rgba(34, 211, 238, 0.2);
    transform: translateX(0) scale(1.02);
}

.back-home-btn kbd {
    background: rgba(34, 211, 238, 0.2);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
}

/* ============================================
   IDEAS PAGE
   ============================================ */
.ideas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.idea-card {
    background: rgba(18, 18, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.idea-card:hover {
    border-color: rgba(251, 146, 60, 0.3);
    transform: translateY(-4px);
}

.idea-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.idea-status {
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.idea-status.available {
    background: rgba(74, 222, 128, 0.1);
    color: var(--accent-green);
}

.idea-status.taken {
    background: rgba(107, 114, 128, 0.2);
    color: var(--text-dim);
}

.idea-card h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.idea-card p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 16px;
}

.idea-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.idea-tag {
    font-size: 10px;
    padding: 4px 10px;
    background: rgba(251, 146, 60, 0.1);
    color: var(--accent-orange);
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.idea-contact {
    display: inline-block;
    font-size: 13px;
    color: var(--accent-orange);
    text-decoration: none;
    transition: all 0.3s ease;
}

.idea-contact:hover {
    color: var(--text-primary);
}

/* Idea Detail View */
.idea-detail {
    display: none;
    max-width: 800px;
    margin: 0 auto;
}

.idea-detail.active {
    display: block;
}

.idea-detail-header {
    text-align: center;
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 40px;
}

.idea-detail-header h1 {
    font-size: 36px;
    color: var(--text-primary);
}

.idea-document-section {
    background: rgba(18, 18, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 32px;
}

.idea-blurred-content {
    position: relative;
    min-height: 400px;
}

.idea-content-inner {
    color: var(--text-dim);
    line-height: 1.8;
}

.idea-content-inner h2 {
    color: var(--text-primary);
    font-size: 18px;
    margin-top: 28px;
    margin-bottom: 12px;
}

.idea-content-inner h2:first-child {
    margin-top: 0;
}

.idea-content-inner p {
    margin-bottom: 12px;
}

.idea-content-inner ul {
    list-style: none;
    padding: 0;
    margin-bottom: 16px;
}

.idea-content-inner li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.idea-content-inner li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
}

.idea-blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(10, 10, 15, 0.7) 20%,
        rgba(10, 10, 15, 0.95) 50%,
        rgba(10, 10, 15, 0.98) 100%
    );
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.unlock-prompt {
    text-align: center;
    padding: 40px;
    max-width: 400px;
}

.unlock-prompt h3 {
    color: var(--text-primary);
    font-size: 24px;
    margin-bottom: 12px;
}

.unlock-prompt p {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================
   AURELIUSGPT PAGE
   ============================================ */
.aurelius-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* CRT Scanline Overlay */
.aurelius-container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15) 0px,
        transparent 1px,
        transparent 2px,
        rgba(0, 0, 0, 0.15) 3px
    );
    z-index: 1000;
    opacity: 0.5;
}

/* Vignette Effect */
.aurelius-container::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 999;
}

.aurelius-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(251, 146, 60, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 215, 0, 0.05);
    backdrop-filter: blur(10px);
}

.aurelius-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(139, 92, 246, 0.02) 10px,
        rgba(139, 92, 246, 0.02) 20px
    );
    animation: aureliusPattern 20s linear infinite;
}

@keyframes aureliusPattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

/* Enlarged Image Display Above Chat */
.aurelius-image-display {
    text-align: center;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
    padding: 20px;
}

@keyframes breathe {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.aurelius-logo {
    width: auto;
    height: 400px;
    max-width: 700px;
    border-radius: 16px;
    border: 3px solid rgba(139, 92, 246, 0.4);
    box-shadow: 
        0 0 50px rgba(139, 92, 246, 0.5),
        0 15px 60px rgba(0, 0, 0, 0.4);
    image-rendering: pixelated;
    -ms-interpolation-mode: nearest-neighbor;
    object-fit: contain;
    transition: opacity 0.6s ease-in-out, transform 0.3s ease, box-shadow 0.3s ease;
    animation: breathe 4s ease-in-out infinite;
}

.aurelius-logo:hover {
    animation-play-state: paused;
    transform: scale(1.02) translateY(-8px);
    box-shadow: 
        0 0 60px rgba(139, 92, 246, 0.6),
        0 20px 70px rgba(0, 0, 0, 0.5);
}

.pixel-art {
    image-rendering: pixelated;
    -ms-interpolation-mode: nearest-neighbor;
}

.aurelius-title {
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, #8b5cf6 0%, #fb923c 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.8))
            drop-shadow(0 0 20px rgba(251, 146, 60, 0.6))
            drop-shadow(0 0 30px rgba(251, 191, 36, 0.4));
}

.aurelius-subtitle {
    font-size: 14px;
    color: var(--accent-purple);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.6);
}

.aurelius-welcome-text {
    font-size: 13px;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.aurelius-welcome-text p {
    margin: 6px 0;
}

.aurelius-welcome-text em {
    color: var(--accent-purple);
    font-style: italic;
}

.aurelius-quote {
    font-size: 15px;
    color: var(--text-dim);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
    padding: 20px 20px 20px 40px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    border-left: 4px solid rgba(251, 191, 36, 0.5);
    position: relative;
    z-index: 1;
    box-shadow: inset 0 1px 2px rgba(251, 191, 36, 0.1);
}

.aurelius-quote::before {
    content: '『';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(251, 191, 36, 0.6);
    font-size: 28px;
    font-style: normal;
    line-height: 1;
}

.aurelius-quote::after {
    content: '』';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(251, 191, 36, 0.6);
    font-size: 28px;
    font-style: normal;
    line-height: 1;
}

/* Chat Wrapper - Contains side face and chat */
.aurelius-chat-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Side Aurelius Face */
.aurelius-side-face {
    flex-shrink: 0;
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    position: sticky;
    top: 20px;
    align-self: flex-start;
    min-width: 0;
    position: relative;
}

.aurelius-side-face.visible {
    width: 320px;
    opacity: 1;
}

.aurelius-side-face.minimized {
    width: 0 !important;
    opacity: 0;
    overflow: hidden;
}

/* Toggle button for side face */
.side-face-toggle {
    position: fixed;
    top: 120px;
    left: 20px;
    z-index: 200;
    background: rgba(139, 92, 246, 0.8);
    border: 1px solid rgba(251, 191, 36, 0.5);
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
}

/* Show toggle button when side face is visible or has been visible (minimized) */
.aurelius-side-face.visible .side-face-toggle {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Keep toggle button visible even when minimized */
.aurelius-side-face.minimized .side-face-toggle {
    opacity: 1 !important;
    pointer-events: all !important;
}

.side-face-toggle:hover {
    background: rgba(251, 191, 36, 0.9);
    border-color: rgba(251, 191, 36, 0.8);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.side-face-toggle:active {
    transform: scale(0.95);
}

.aurelius-side-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    border: 2px solid rgba(139, 92, 246, 0.4);
    box-shadow: 
        0 0 30px rgba(139, 92, 246, 0.4),
        0 10px 40px rgba(0, 0, 0, 0.4);
    image-rendering: pixelated;
    -ms-interpolation-mode: nearest-neighbor;
    transition: opacity 0.6s ease-in-out, transform 0.3s ease, box-shadow 0.3s ease;
}

/* State animations for side image */
.aurelius-side-image.thinking {
    animation: thinking-pulse 2s infinite;
}

.aurelius-side-image.eureka {
    animation: eureka-glow 1s ease-out;
}

.aurelius-side-image.meditating {
    animation: meditate-breathe 3s ease-in-out infinite;
}

/* Chat Container */
.aurelius-chat-container {
    flex: 1;
    background: rgba(18, 18, 26, 0.6);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 215, 0, 0.1),
        0 0 40px rgba(139, 92, 246, 0.1);
    backdrop-filter: blur(20px);
}

.aurelius-messages {
    height: 520px;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.4) 0%, rgba(18, 18, 26, 0.6) 100%);
}

.aurelius-messages::-webkit-scrollbar {
    width: 8px;
}

.aurelius-messages::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.aurelius-messages::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.3);
    border-radius: 4px;
}

.aurelius-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.5);
}

/* CLI-Style Messages */

/* Messages */
.aurelius-message {
    animation: messageSlideIn 0.4s ease;
}

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

.message-content {
    display: block;
    width: 100%;
}

.message-text {
    width: 100%;
    background: transparent;
    padding: 8px 0;
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 14px;
    font-family: 'JetBrains Mono', monospace;
}

.user-message .message-text {
    color: var(--accent-cyan);
}

.user-message .message-text::before {
    content: '> ';
    color: var(--accent-green);
    font-weight: 600;
}

.aurelius-response .message-text::before {
    content: '> AURELIUS: ';
    color: var(--accent-purple);
    font-weight: 600;
}

.justification-message .message-text {
    color: var(--text-dim) !important;
    display: block;
}

.justification-prefix {
    color: var(--accent-orange);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.markdown-content {
    color: var(--text-dim);
    line-height: 1.6;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3 {
    color: var(--accent-orange);
    margin-top: 12px;
    margin-bottom: 8px;
    font-weight: 600;
}

.markdown-content h1 {
    font-size: 16px;
}

.markdown-content h2 {
    font-size: 15px;
}

.markdown-content h3 {
    font-size: 14px;
}

.markdown-content p {
    margin: 8px 0;
    color: var(--text-dim);
}

.markdown-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.markdown-content em {
    color: var(--accent-purple);
    font-style: italic;
}

.markdown-content ul,
.markdown-content ol {
    margin: 8px 0;
    padding-left: 20px;
}

.markdown-content li {
    margin: 4px 0;
    color: var(--text-dim);
}

.markdown-content code {
    background: rgba(139, 92, 246, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--accent-cyan);
}

.markdown-content pre {
    background: rgba(18, 18, 26, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 8px;
    padding: 12px;
    margin: 8px 0;
    overflow-x: auto;
}

.markdown-content pre code {
    background: transparent;
    padding: 0;
    color: var(--accent-cyan);
}

.markdown-content blockquote {
    border-left: 3px solid var(--accent-orange);
    padding-left: 12px;
    margin: 8px 0;
    color: var(--text-dim);
    font-style: italic;
}

.error-message .message-text {
    color: #fca5a5 !important;
}

/* Typing Indicator */
.typing-indicator {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    vertical-align: middle;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--accent-purple);
    border-radius: 50%;
    display: inline-block;
    animation: typingBounce 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-3px);
        opacity: 1;
    }
}

/* Input Area */
.aurelius-input-container {
    background: rgba(10, 10, 15, 0.8);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding: 20px 30px;
}

/* Stoic Validator Section */
.stoic-validator-section {
    margin-top: 16px;
}

.validator-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.validator-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.validator-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(107, 114, 128, 0.3);
    border: 1px solid rgba(107, 114, 128, 0.5);
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-dim);
    transition: 0.3s;
    border-radius: 50%;
}

.validator-toggle input:checked + .toggle-slider {
    background-color: rgba(251, 191, 36, 0.3);
    border-color: rgba(251, 191, 36, 0.6);
}

.validator-toggle input:checked + .toggle-slider:before {
    transform: translateX(24px);
    background-color: var(--accent-orange);
    box-shadow: 0 0 8px rgba(251, 191, 36, 0.6);
}

.validator-label {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
}

.validator-note {
    font-size: 11px;
    color: var(--text-dim);
    line-height: 1.5;
    font-style: italic;
    opacity: 0.8;
}

.aurelius-input-wrapper {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    background: rgba(18, 18, 26, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.aurelius-input-wrapper:focus-within {
    border-color: rgba(251, 191, 36, 0.6);
    box-shadow: 
        0 0 20px rgba(251, 191, 36, 0.3),
        inset 0 1px 2px rgba(251, 191, 36, 0.1);
}

.aurelius-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    resize: none;
    min-height: 24px;
    max-height: 120px;
    line-height: 1.6;
    caret-color: #fbbf24;
}

.aurelius-input::placeholder {
    color: var(--text-dim);
    opacity: 0.5;
}

.aurelius-send-btn {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border: none;
    border-radius: 10px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.aurelius-send-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.6);
}

.aurelius-send-btn:active:not(:disabled) {
    transform: translateY(0);
}

.aurelius-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.aurelius-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 11px;
    color: var(--text-dim);
    justify-content: center;
}

.aurelius-info strong {
    color: var(--accent-purple);
}

.aurelius-info em {
    color: var(--accent-orange);
    font-style: italic;
}

.pixel-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-purple);
    border-radius: 1px;
    animation: pixelPulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px var(--accent-purple);
}

@keyframes pixelPulse {
    0%, 100% { 
        opacity: 1;
        box-shadow: 0 0 8px var(--accent-purple);
    }
    50% { 
        opacity: 0.4;
        box-shadow: 0 0 4px var(--accent-purple);
    }
}

/* Aurelius Image State Animations */
.aurelius-logo.thinking {
    animation: thinking-pulse 2s infinite;
}

.aurelius-logo.eureka {
    animation: eureka-glow 1s ease-out;
}

.aurelius-logo.meditating {
    animation: meditate-breathe 3s ease-in-out infinite;
}

@keyframes thinking-pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 
            0 0 50px rgba(139, 92, 246, 0.5),
            0 15px 60px rgba(0, 0, 0, 0.4);
    }
    50% { 
        transform: scale(1.03);
        box-shadow: 
            0 0 70px rgba(139, 92, 246, 0.7),
            0 15px 60px rgba(0, 0, 0, 0.4);
    }
}

@keyframes eureka-glow {
    0% { 
        transform: scale(1);
        box-shadow: 
            0 0 50px rgba(251, 191, 36, 0.5),
            0 15px 60px rgba(0, 0, 0, 0.4);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 
            0 0 100px rgba(251, 191, 36, 0.9),
            0 0 140px rgba(251, 191, 36, 0.5),
            0 15px 60px rgba(0, 0, 0, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 
            0 0 50px rgba(139, 92, 246, 0.5),
            0 15px 60px rgba(0, 0, 0, 0.4);
    }
}

@keyframes meditate-breathe {
    0%, 100% { 
        transform: translateY(0px);
        opacity: 0.9;
    }
    50% { 
        transform: translateY(-8px);
        opacity: 1;
    }
}

/* Quick Prompts Label */
.aurelius-quick-prompts-label {
    text-align: center;
    margin-bottom: 8px;
}

/* Sample Prompts - Smaller now */
.aurelius-sample-prompts {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.sample-prompt-btn {
    padding: 6px 14px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 6px;
    color: var(--accent-purple);
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    opacity: 0.8;
}

.sample-prompt-btn:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.2);
    opacity: 1;
}

.sample-prompt-btn:active {
    transform: translateY(0);
}

/* Prompt Guide */
.aurelius-prompt-guide {
    text-align: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(251, 191, 36, 0.08) 100%);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 25px;
    box-shadow: 
        0 4px 16px rgba(251, 191, 36, 0.1),
        inset 0 1px 0 rgba(251, 191, 36, 0.1);
}

.prompt-guide-text {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-family: 'JetBrains Mono', monospace;
}

.prompt-guide-text strong {
    color: var(--accent-orange);
    font-weight: 700;
}

.prompt-guide-hint {
    font-size: 14px;
    color: var(--text-dim);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 12px;
}

.prompt-guide-hint kbd {
    background: rgba(251, 191, 36, 0.2);
    border: 1px solid rgba(251, 191, 36, 0.4);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--accent-orange);
    font-family: 'JetBrains Mono', monospace;
    margin: 0 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.prompt-guide-disclaimer {
    font-size: 16px;
    color: var(--accent-purple);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.prompt-guide-disclaimer em {
    color: var(--text-dim);
    font-style: italic;
    font-weight: 400;
}

/* Cycling Autocomplete Suggestion */
.aurelius-autocomplete-suggestion {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 10px 16px;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 10px;
    font-size: 12px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.autocomplete-hint-text {
    color: var(--text-dim);
    font-family: 'JetBrains Mono', monospace;
}

.autocomplete-cycling-text {
    color: var(--accent-purple);
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    transition: opacity 0.3s ease;
    min-width: 60px;
    text-align: center;
}

.aurelius-autocomplete-suggestion kbd {
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    color: var(--accent-purple);
    font-family: 'JetBrains Mono', monospace;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.autocomplete-note {
    color: var(--text-dim);
    font-style: italic;
    font-size: 11px;
}

/* Export Button */
.aurelius-export-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    margin-right: 20px;
}

.aurelius-export-btn {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--accent-purple);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 500;
}

.aurelius-export-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.aurelius-export-btn:active {
    transform: translateY(0);
}

/* Countdown Display */
.aurelius-countdown {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(251, 146, 60, 0.1) 100%);
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.aurelius-countdown h3 {
    font-size: 18px;
    color: var(--accent-purple);
    margin-bottom: 12px;
    animation: gentle-pulse 2s infinite;
}

.aurelius-countdown .countdown-timer {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-orange);
    margin: 16px 0;
    text-shadow: 0 0 20px rgba(251, 146, 60, 0.5);
}

@keyframes gentle-pulse {
    0%, 100% { 
        opacity: 1;
    }
    50% { 
        opacity: 0.7;
    }
}

/* Layperson's Summary Section */
.aurelius-summary-section {
    margin-top: 60px;
    padding: 50px 40px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(251, 191, 36, 0.08) 100%);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(251, 191, 36, 0.1);
}

.aurelius-summary-section h2 {
    font-size: 32px;
    color: transparent;
    background: linear-gradient(135deg, #8b5cf6 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
    text-shadow: none;
}

.summary-content {
    text-align: left;
}

.summary-intro {
    text-align: center;
    margin-bottom: 40px;
}

.summary-intro p {
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.summary-intro em {
    color: var(--accent-orange);
    font-style: italic;
    font-weight: 600;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.summary-card {
    background: rgba(18, 18, 26, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.summary-card:hover {
    border-color: rgba(251, 191, 36, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.2);
}

.summary-card-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.summary-card h3 {
    font-size: 16px;
    color: var(--accent-purple);
    margin-bottom: 12px;
    font-weight: 600;
}

.summary-card p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 0;
}

.summary-card strong {
    color: var(--text-primary);
    font-weight: 600;
}

.summary-card em {
    color: var(--accent-purple);
    font-style: italic;
}

.summary-footer {
    background: rgba(10, 10, 15, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    padding: 24px;
    margin-top: 20px;
}

.summary-footer p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 12px;
}

.summary-footer p:last-child {
    margin-bottom: 0;
}

.summary-footer strong {
    color: var(--accent-orange);
    font-weight: 600;
}

.tech-spec-link {
    text-align: center;
    font-style: italic;
    color: var(--text-primary) !important;
}

.tech-spec-link strong {
    color: var(--accent-cyan);
}

/* Blog Section */
.aurelius-blog-section {
    margin-top: 60px;
    padding: 50px 40px;
    background: rgba(18, 18, 26, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.aurelius-blog-section h2 {
    font-size: 36px;
    color: var(--accent-purple);
    margin-bottom: 24px;
    text-align: center;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    font-weight: 700;
}

.aurelius-badges-blog {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.aurelius-badges-blog a {
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: inline-block;
}

.aurelius-badges-blog a:hover {
    transform: translateY(-2px) scale(1.05);
    opacity: 0.9;
}

.aurelius-badges-blog img {
    height: 28px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.aurelius-blog-section h3 {
    font-size: 22px;
    color: var(--accent-orange);
    margin-top: 40px;
    margin-bottom: 16px;
    text-align: left;
    font-weight: 600;
}

.aurelius-blog-section h3:first-of-type {
    margin-top: 30px;
}

.aurelius-blog-section h4 {
    font-size: 18px;
    color: var(--accent-purple);
    margin-top: 24px;
    margin-bottom: 12px;
    text-align: left;
    font-weight: 600;
}

.code-block {
    background: rgba(18, 18, 26, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--accent-cyan);
    line-height: 1.8;
    overflow-x: auto;
}

.aurelius-blog-section p {
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 14px;
    text-align: left;
}

.aurelius-blog-section ul {
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 20px;
    margin-left: 24px;
    text-align: left;
}

.aurelius-blog-section li {
    margin-bottom: 8px;
    font-size: 14px;
}

.aurelius-blog-section a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

.aurelius-blog-section a:hover {
    color: var(--accent-purple);
    text-decoration: underline;
}

.aurelius-blog-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.aurelius-blog-section em {
    color: var(--accent-purple);
    font-style: italic;
}

.about-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    font-size: 13px;
    text-align: center !important;
    color: var(--text-dim);
}

/* Particle system for AureliusGPT */
.aurelius-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.aurelius-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    animation: floatParticle 15s infinite;
}

.aurelius-particle.gold {
    background: rgba(251, 191, 36, 0.6);
    box-shadow: 0 0 4px rgba(251, 191, 36, 0.8);
}

.aurelius-particle.purple {
    background: rgba(139, 92, 246, 0.6);
    box-shadow: 0 0 4px rgba(139, 92, 246, 0.8);
}

@keyframes floatParticle {
    0% { 
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-10vh) translateX(50px) scale(1);
        opacity: 0;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hero-name {
        font-size: 42px;
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .hero {
        margin-bottom: 40px;
        margin-top: 20px;
    }
    
    .hero-tagline {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .stats-row {
        gap: 16px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-top: 40px;
    }
    
    .stat-item:last-child { 
        grid-column: span 2; 
    }
    
    .social-links {
        flex-wrap: wrap;
    }
    
    .github-stats {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
    
    .portfolio-content {
        padding: 40px 20px 60px; /* Reduced bottom padding */
    }
    
    .project-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .project-card {
        padding: 24px;
    }

    .page-section {
        margin-bottom: 40px;
    }

    .section-header {
        margin-bottom: 20px;
    }

    .aurelius-messages {
        height: 55vh;
        max-height: 500px;
    }

    /* HIDE TERMINAL FUNCTIONALITY ON MOBILE */
    .bottom-terminal,
    .mode-toggle,
    .theme-toggle,
    .back-home-btn {
        display: none !important;
    }
    
    .enter-prompt, .skip-prompt {
        display: none !important;
    }
    
    /* AureliusGPT Mobile */
    .aurelius-title {
        font-size: 32px;
    }
    
    .aurelius-logo {
        height: 250px;
        max-width: 90%;
    }
    
    .aurelius-badges-blog img {
        height: 24px;
    }
    
    .aurelius-export-container {
        margin-right: 10px;
    }
    
    .aurelius-blog-section {
        padding: 30px 20px;
        margin-top: 50px;
    }
    
    .aurelius-blog-section h2 {
        font-size: 28px;
    }
    
    .aurelius-blog-section h3 {
        font-size: 18px;
    }
    
    .aurelius-blog-section h4 {
        font-size: 16px;
    }
    
    .aurelius-blog-section ul {
        margin-left: 16px;
    }
    
    .aurelius-input-container {
        padding: 16px 20px;
    }
    
    .validator-note {
        font-size: 10px;
    }
    
    .sample-prompt-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .aurelius-messages {
        height: 250px;
        padding: 16px;
    }
    
    .aurelius-messages {
        height: 450px;
        padding: 20px;
    }
    
    .aurelius-input-container {
        padding: 16px 20px;
    }
    
    .aurelius-quote {
        font-size: 13px;
        padding: 16px;
    }
    
    .message-text {
        font-size: 13px;
    }
    
    /* Summary section mobile */
    .aurelius-summary-section {
        padding: 30px 20px;
        margin-top: 40px;
    }
    
    .aurelius-summary-section h2 {
        font-size: 24px;
    }
    
    .summary-intro p {
        font-size: 14px;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .summary-card {
        padding: 20px;
    }
    
    .summary-footer {
        padding: 20px;
    }
    
    /* Prompt guide mobile */
    .aurelius-prompt-guide {
        padding: 16px 20px;
    }
    
    .prompt-guide-text {
        font-size: 16px;
    }
    
    .prompt-guide-hint {
        font-size: 12px;
    }
    
    .prompt-guide-disclaimer {
        font-size: 14px;
    }
    
    /* Side face toggle mobile */
    .side-face-toggle {
        top: 80px;
        left: 10px;
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
    
    /* Autocomplete mobile */
    .aurelius-autocomplete-suggestion {
        flex-wrap: wrap;
        font-size: 11px;
        padding: 8px 12px;
    }
    
    .autocomplete-note {
        width: 100%;
        text-align: center;
        margin-top: 4px;
    }
    
    /* Side face mobile - hide on small screens */
    .aurelius-chat-wrapper {
        flex-direction: column;
    }
    
    .aurelius-side-face {
        display: none;
    }
    
    .nav-hamburger {
        display: flex;
    }
    
    .traditional-nav {
        padding: 0 24px;
    }
}

/* ============================================
   MOBILE NAVIGATION
   ============================================ */
.nav-hamburger {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 3200;
}

.nav-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    z-index: 3300;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.mobile-nav-overlay.active {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    height: 70px; /* Match desktop nav height */
}

.mobile-nav-close {
    font-size: 24px;
    color: var(--text-dim);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    overflow-y: auto;
}

.mobile-nav-link {
    font-size: 18px;
    padding: 16px 0;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.mobile-nav-link:hover {
    color: var(--accent-cyan);
    padding-left: 10px;
}

/* ============================================
   TERMINAL CHIPS
   ============================================ */
.quick-actions {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 12px;
    /* Hide scrollbar */
    -ms-overflow-style: none;
    scrollbar-width: none;
    mask-image: linear-gradient(to right, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 90%, transparent 100%);
}

.quick-actions::-webkit-scrollbar {
    display: none;
}

.chip {
    flex: 0 0 auto;
    padding: 6px 12px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 16px;
    color: var(--accent-cyan);
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.chip:active {
    background: rgba(34, 211, 238, 0.3);
    transform: scale(0.95);
}

/* Hide chips on desktop initially if desired, or keep them. 
   Usually useful for everyone, but essential for mobile. */
