:root {
            --amber-25: #fffbf0;
            --amber-50: #fffbeb;
            --amber-100: #fef3c7;
            --amber-400: #fbbf24;
            --amber-500: #f59e0b;
            --amber-600: #d97706;
            --amber-800: #92400e;
            --amber-900: #78350f;
            --amber-950: #451a03;
            --gray-50: #f9fafb;
            --gray-100: #f3f4f6;
            --gray-200: #e5e7eb;
            --gray-300: #d1d5db;
            --gray-400: #9ca3af;
            --gray-600: #4b5563;
            --gray-700: #374151;
            --gray-800: #1f2937;
            --gray-900: #111827;
            --gray-950: #030712;
        }

        [data-theme="dark"] {
            --text-primary: #f9fafb;
            --text-secondary: #d1d5db;
            --text-tertiary: #9ca3af;
            --bg-primary: #030712;
            --bg-secondary: rgba(17, 24, 39, 0.3);
            --bg-card: rgba(17, 24, 39, 0.5);
            --border-primary: #374151;
            --border-secondary: #1f2937;
            --accent-primary: #fbbf24;
            --accent-secondary: #f59e0b;
            --gradient-from: rgba(120, 53, 15, 0.15);
            --gradient-via1: rgba(69, 26, 3, 0.08);
            --gradient-via2: rgba(17, 24, 39, 0.12);
            --gradient-to: #030712;
            --shadow-color: rgba(120, 53, 15, 0.2);
        }

        [data-theme="light"] {
            --text-primary: #111827;
            --text-secondary: #374151;
            --text-tertiary: #4b5563;
            --bg-primary: #ffffff;
            --bg-secondary: rgba(255, 255, 255, 0.5);
            --bg-card: rgba(255, 255, 255, 0.8);
            --border-primary: #e5e7eb;
            --border-secondary: #f3f4f6;
            --accent-primary: #d97706;
            --accent-secondary: #f59e0b;
            --gradient-from: rgba(254, 243, 199, 0.4);
            --gradient-via1: rgba(255, 251, 235, 0.2);
            --gradient-via2: rgba(255, 251, 240, 0.1);
            --gradient-to: #ffffff;
            --shadow-color: rgba(254, 243, 199, 0.5);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            font-weight: 300;
            line-height: 1.6;
            color: var(--text-primary);
            background: var(--bg-primary);
            transition: all 0.3s ease;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        .container {
            min-height: 100vh;
            position: relative;
        }

        .gradient-bg {
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at center, var(--gradient-from), var(--gradient-via1), var(--gradient-via2), var(--gradient-to));
            animation: gradient-pulse 4s ease-in-out infinite;
        }

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

        .control-bar {
            position: fixed;
            top: 24px;
            right: 24px;
            z-index: 20;
            display: flex;
            gap: 12px;
            align-items: center;
        }

        .theme-toggle,
        .terminal-toggle {
            min-width: 44px;
            height: 44px;
            border-radius: 50%;
            border: 1px solid var(--border-primary);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 14px;
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(8px);
            color: var(--text-primary);
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.2s ease;
        }

        [data-theme="dark"] .theme-toggle,
        [data-theme="dark"] .terminal-toggle {
            background: rgba(17, 24, 39, 0.8);
        }

        .theme-toggle:hover,
        .terminal-toggle:hover {
            background: var(--bg-primary);
            color: var(--accent-primary);
        }

        .terminal-toggle {
            min-width: 44px;
            height: 44px;
            border-radius: 50%;
            border: 1px solid var(--border-primary);
            color: var(--accent-primary);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
        }

        .terminal-toggle:hover {
            background: var(--bg-primary);
            color: var(--accent-primary);
        }

        .terminal-toggle.active {
            background: var(--bg-primary);
            color: var(--accent-primary);
            border-color: var(--border-primary);
        }

        .terminal-toggle svg {
            width: 20px;
            height: 20px;
            transition: all 0.2s ease;
        }

        .terminal-overlay {
            position: fixed;
            inset: 0;
            z-index: 30;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(3, 7, 18, 0.98);
            padding: 0;
        }

        [data-theme="light"] .terminal-overlay {
            background: rgba(255, 255, 255, 0.98);
        }

        .hidden {
            display: none;
        }

        .terminal-window {
            display: flex;
            flex-direction: column;
            width: 100%;
            height: 100%;
            max-width: none;
            max-height: none;
            background: linear-gradient(180deg, rgba(7, 11, 25, 0.96), rgba(5, 9, 21, 1));
            border: 1px solid rgba(245, 158, 11, 0.2);
            border-radius: 0;
            box-shadow: none;
            overflow: hidden;
            color: #f8f5e3;
            position: relative;
        }

        [data-theme="light"] .terminal-window {
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 248, 248, 1));
            border-color: rgba(209, 213, 219, 0.3);
            color: #111827;
        }

        .terminal-titlebar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 14px 18px 12px;
            background: rgba(255, 255, 255, 0.05);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

        [data-theme="light"] .terminal-titlebar {
            background: rgba(0, 0, 0, 0.02);
            border-bottom-color: rgba(0, 0, 0, 0.05);
        }

        .terminal-circles {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .terminal-close {
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.6);
            cursor: pointer;
            padding: 4px;
            border-radius: 4px;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .terminal-close:hover {
            background: rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.9);
        }

        [data-theme="light"] .terminal-close {
            color: rgba(0, 0, 0, 0.5);
        }

        [data-theme="light"] .terminal-close:hover {
            background: rgba(0, 0, 0, 0.05);
            color: rgba(0, 0, 0, 0.7);
        }

        .terminal-circle {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.65);
            box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
        }

        .terminal-circle.close { background: #ff5f57; }
        .terminal-circle.minimize { background: #ffbd2e; }
        .terminal-circle.expand { background: #28c840; }

        .terminal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
            padding: 12px 18px 14px;
            background: rgba(255, 255, 255, 0.04);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

        [data-theme="light"] .terminal-header {
            background: rgba(0, 0, 0, 0.02);
            border-bottom-color: rgba(0, 0, 0, 0.05);
        }

        .terminal-header strong {
            display: block;
            font-size: 0.95rem;
            letter-spacing: 0.03em;
        }

        .terminal-status {
            display: block;
            margin-top: 4px;
            font-size: 0.8rem;
            color: rgba(248, 245, 227, 0.75);
        }

        [data-theme="light"] .terminal-status {
            color: rgba(0, 0, 0, 0.6);
        }

        .terminal-close {
            border: none;
            background: rgba(255, 255, 255, 0.08);
            color: #f8f5e3;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.4rem;
            line-height: 1;
        }

        [data-theme="light"] .terminal-close {
            background: rgba(0, 0, 0, 0.05);
        }

        .terminal-body {
            flex: 1;
            min-height: 0;
            overflow-y: auto;
            padding: 12px 16px 0;
            font-family: 'Menlo', 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
            font-size: 12px;
            letter-spacing: 0.01em;
            line-height: 1.2;
            background: transparent;
            position: relative;
            z-index: 5;
        }

        [data-theme="light"] .terminal-body {
            color: #111827;
        }

        .terminal-input-form {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px 12px 32px;
            background: rgba(255, 255, 255, 0.02);
            border-top: 1px solid rgba(255, 255, 255, 0.08);
        }

        .input-row {
            display: flex;
            align-items: center;
            gap: 0;
            width: 100%;
            position: relative;
        }

        .prompt {
            color: var(--accent-secondary);
            font-family: 'Menlo', 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
            font-size: 12px;
            white-space: nowrap;
        }

        .typed-text {
            color: #f8f5e3;
            font-family: 'Menlo', 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
            font-size: 12px;
            white-space: pre;
        }

        [data-theme="light"] .typed-text {
            color: #111827;
        }

        .terminal-input {
            position: absolute;
            opacity: 0;
            pointer-events: none;
            width: 0;
            height: 0;
            border: none;
            outline: none;
        }

        .cursor {
            width: 7px;
            height: 12px;
            background: var(--accent-primary);
            animation: blink 1s steps(1) infinite;
            display: inline-block;
            margin-left: 1px;
            border-radius: 0;
        }

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

        .terminal-command {
            color: var(--accent-primary);
            font-weight: bold;
        }

        .terminal-line {
            margin-bottom: 0.2rem;
            white-space: pre-wrap;
            word-break: break-word;
        }

        .terminal-command {
            color: var(--accent-primary);
        }

        .tag {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.1rem 0.45rem;
            border-radius: 999px;
            border: 1px solid rgba(251, 191, 36, 0.25);
            background: rgba(251, 191, 36, 0.1);
            color: var(--accent-primary);
            font-size: 0.8rem;
            letter-spacing: 0.02em;
            margin-right: 0.5rem;
        }

        body.terminal-open .content,
        body.terminal-open .gradient-bg {
            opacity: 0;
            filter: blur(0);
            pointer-events: none;
            user-select: none;
        }

        .terminal-header strong {
            display: block;
            font-size: 0.95rem;
            letter-spacing: 0.03em;
        }

        .terminal-status {
            display: block;
            margin-top: 4px;
            font-size: 0.8rem;
            color: rgba(248, 245, 227, 0.75);
        }

        .terminal-close {
            border: none;
            background: rgba(255, 255, 255, 0.08);
            color: #f8f5e3;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.4rem;
            line-height: 1;
        }

        [data-theme="light"] .terminal-close {
            background: rgba(0, 0, 0, 0.05);
        }

        .terminal-body {
            flex: 1;
            overflow-y: auto;
            padding: 22px 22px 92px;
            font-family: ui-monospace, 'SFMono-Regular', menlo, monospace;
            font-size: 0.95rem;
            letter-spacing: 0.02em;
            line-height: 1.65;
            background: rgba(7, 11, 25, 0.55);
        }

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

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

        [data-theme="light"] .terminal-body::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.02);
        }

        .terminal-body::-webkit-scrollbar-thumb {
            background: rgba(245, 158, 11, 0.35);
            border-radius: 999px;
        }

        [data-theme="light"] .terminal-body::-webkit-scrollbar-thumb {
            background: rgba(217, 119, 6, 0.25);
        }

        .terminal-line {
            margin-bottom: 0.9rem;
            white-space: pre-wrap;
            word-break: break-word;
        }

        .terminal-line strong {
            color: #fff;
        }

        [data-theme="light"] .terminal-line strong {
            color: #000;
        }

        .terminal-line .accent {
            color: var(--accent-primary);
        }

        .terminal-input-form {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 18px 22px;
            background: rgba(7, 11, 25, 0.6);
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 15;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
        }

        .input-row {
            display: flex;
            align-items: center;
            gap: 0;
            width: 100%;
            position: relative;
        }

        .prompt {
            color: var(--accent-secondary);
            font-family: ui-monospace, 'SFMono-Regular', menlo, monospace;
        }

        .typed-text {
            color: #f8f5e3;
            font-family: ui-monospace, 'SFMono-Regular', menlo, monospace;
            white-space: pre;
        }

        [data-theme="light"] .terminal-overlay {
            background: #fffbf5;
        }

        [data-theme="light"] .terminal-window {
            background: linear-gradient(180deg, #fffbeb 0%, #fffdfa 42%, #ffffff 100%);
            border-color: #f2dfc5;
            color: #111827;
        }

        [data-theme="light"] .terminal-titlebar,
        [data-theme="light"] .terminal-header {
            background: rgba(255, 251, 239, 0.82);
            border-bottom-color: rgba(245, 158, 11, 0.26);
        }

        [data-theme="light"] .terminal-circle.close,
        [data-theme="light"] .terminal-circle.minimize,
        [data-theme="light"] .terminal-circle.expand {
            background: #d9d9d9;
            box-shadow: none;
        }

        [data-theme="light"] .terminal-close {
            background: transparent;
            color: #737373;
            border-radius: 8px;
        }

        [data-theme="light"] .terminal-close:hover {
            background: rgba(245, 158, 11, 0.10);
            color: #111827;
        }

        [data-theme="light"] .terminal-header strong {
            color: #111827;
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 0.9rem;
            font-weight: 500;
            letter-spacing: 0;
        }

        [data-theme="light"] .terminal-status {
            color: #b45309;
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 0.78rem;
            letter-spacing: 0;
        }

        [data-theme="light"] .terminal-body {
            background: linear-gradient(180deg, rgba(255, 251, 235, 0.82), rgba(255, 255, 255, 0.92));
            color: #374151;
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 0.94rem;
            font-weight: 300;
            letter-spacing: 0;
            line-height: 1.7;
        }

        [data-theme="light"] .terminal-body::-webkit-scrollbar-track {
            background: #fffbeb;
        }

        [data-theme="light"] .terminal-body::-webkit-scrollbar-thumb {
            background: rgba(245, 158, 11, 0.32);
        }

        [data-theme="light"] .terminal-body::-webkit-scrollbar-thumb:hover {
            background: rgba(217, 119, 6, 0.45);
        }

        [data-theme="light"] .terminal-line {
            margin-bottom: 0.55rem;
        }

        [data-theme="light"] .terminal-line strong,
        [data-theme="light"] .terminal-command {
            color: #b45309;
            font-family: ui-monospace, 'SFMono-Regular', menlo, monospace;
            font-weight: 500;
            letter-spacing: 0;
        }

        [data-theme="light"] .terminal-line .accent,
        [data-theme="light"] .terminal-status code {
            color: #d97706;
            font-family: ui-monospace, 'SFMono-Regular', menlo, monospace;
        }

        [data-theme="light"] .terminal-status code {
            padding: 1px 4px;
            background: rgba(255, 247, 237, 0.9);
            border: 1px solid rgba(245, 158, 11, 0.26);
            border-radius: 4px;
        }

        [data-theme="light"] .terminal-input-form {
            background: rgba(255, 251, 235, 0.9);
            border-top-color: rgba(245, 158, 11, 0.26);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
        }

        [data-theme="light"] .prompt {
            color: #d97706;
            font-family: ui-monospace, 'SFMono-Regular', menlo, monospace;
            font-size: 0.9rem;
            font-weight: 400;
            letter-spacing: 0;
        }

        [data-theme="light"] .typed-text {
            color: #111827;
            font-family: ui-monospace, 'SFMono-Regular', menlo, monospace;
            font-size: 0.9rem;
            font-weight: 400;
            letter-spacing: 0;
        }

        [data-theme="light"] .cursor {
            width: 8px;
            height: 1rem;
            background: #d97706;
            margin-left: 2px;
        }

        [data-theme="light"] .tag {
            border-color: #ecd7b8;
            background: rgba(255, 247, 237, 0.85);
            color: #7c5219;
            border-radius: 6px;
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 0.78rem;
            font-weight: 400;
            letter-spacing: 0;
        }

        body.terminal-open .content,
        body.terminal-open .gradient-bg {
            opacity: 0.18;
            filter: blur(6px);
            pointer-events: none;
            user-select: none;
        }

        .theme-toggle svg {
            width: 20px;
            height: 20px;
            position: absolute;
            transition: all 0.3s ease;
        }

        .sun-icon {
            color: var(--accent-primary);
        }

        .moon-icon {
            color: var(--accent-secondary);
            position: absolute;
            transform: rotate(90deg) scale(0);
        }

        [data-theme="dark"] .sun-icon {
            transform: rotate(-90deg) scale(0);
        }

        [data-theme="dark"] .moon-icon {
            transform: rotate(0deg) scale(1);
        }

        .nav-button {
            position: fixed;
            top: 24px;
            left: 24px;
            z-index: 20;
            padding: 8px 16px;
            border-radius: 20px;
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(8px);
            border: 1px solid var(--border-primary);
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
            color: var(--text-primary);
            font-size: 0.875rem;
            font-weight: 300;
            transition: all 0.2s ease;
        }

        [data-theme="dark"] .nav-button {
            background: rgba(17, 24, 39, 0.8);
        }

        .nav-button:hover {
            background: var(--bg-primary);
            color: var(--accent-primary);
        }

        .nav-button svg {
            width: 14px;
            height: 14px;
            color: var(--accent-primary);
        }

        .content {
            position: relative;
            z-index: 10;
            max-width: 672px;
            margin: 0 auto;
            padding: 64px 24px;
        }

        .hero {
            text-align: center;
            margin-bottom: 96px;
        }

        .hero.has-nfc-card h1,
        .hero.has-nfc-card .subtitle {
            display: none;
        }

        .profile-image {
            position: relative;
            display: inline-block;
            margin-bottom: 40px;
        }

        .profile-image img {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        }

        [data-theme="dark"] .profile-image img {
            box-shadow: 0 25px 50px -12px var(--shadow-color);
        }

        .hero h1 {
            font-size: 3rem;
            font-weight: 200;
            color: var(--text-primary);
            margin-bottom: 24px;
            letter-spacing: -0.025em;
            line-height: 1.1;
        }

        .nfc-card {
            width: clamp(320px, calc(100vw - 32px), 420px);
            aspect-ratio: 1.586 / 1;
            margin: 24px auto 0;
            padding: 22px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            text-align: left;
            border-radius: 18px;
            border: 1px solid rgba(209, 213, 219, 0.16);
            background: linear-gradient(135deg, #242b33, #1b2128);
            box-shadow: 0 12px 28px rgba(15, 23, 42, 0.25), 0 0 20px rgba(203, 213, 225, 0.05);
            color: #f8fafc;
            position: relative;
            overflow: hidden;
            transition: transform 0.25s ease;
        }

        .nfc-card[hidden] {
            display: none;
        }

        [data-theme="dark"] .nfc-card {
            border-color: rgba(209, 213, 219, 0.16);
            background: linear-gradient(135deg, #1e252d, #131922);
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 0 22px rgba(203, 213, 225, 0.06);
        }

        .nfc-card-top,
        .nfc-card-bottom {
            position: relative;
            z-index: 1;
        }

        .nfc-card-bottom {
            display: flex;
            align-items: end;
            justify-content: space-between;
            gap: 18px;
        }

        .nfc-card-label {
            display: block;
            font-size: 0.66rem;
            font-weight: 600;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: rgba(203, 213, 225, 0.75);
            margin-bottom: 14px;
        }

        .nfc-card-name {
            display: block;
            font-size: 1.24rem;
            font-weight: 600;
            letter-spacing: -0.01em;
            line-height: 1.2;
            color: #f8fafc;
        }

        .nfc-card-role {
            display: block;
            margin-top: 8px;
            font-size: 0.84rem;
            color: rgba(203, 213, 225, 0.7);
            letter-spacing: 0;
        }

        .nfc-card-meta {
            flex: 1;
            display: flex;
            justify-content: space-between;
            align-items: end;
            gap: 18px;
            font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
            font-size: 0.72rem;
            color: rgba(203, 213, 225, 0.68);
        }

        [data-theme="dark"] .nfc-card-meta {
            color: rgba(248, 245, 227, 0.62);
        }

        .nfc-card-chip {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 8px 14px;
            min-width: 60px;
            border-radius: 6px;
            border: 1px solid rgba(203, 213, 225, 0.24);
            background: rgba(203, 213, 225, 0.08);
            color: #f8fafc;
            font-size: 0.78rem;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .nfc-card-chip:hover {
            background: rgba(203, 213, 225, 0.14);
            border-color: rgba(203, 213, 225, 0.36);
        }

        .nfc-card {
            border: 1px solid rgba(203, 213, 225, 0.14);
            background: linear-gradient(140deg, #22282f 0%, #13171c 38%, #1c242d 100%);
            box-shadow: 0 32px 80px rgba(8, 15, 24, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 30px rgba(56, 189, 248, 0.06);
            backdrop-filter: blur(8px);
        }

        [data-theme="light"] .nfc-card {
            border-color: rgba(217, 119, 6, 0.2);
            background:
                linear-gradient(140deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 248, 236, 0.96) 54%, rgba(254, 243, 199, 0.88) 100%);
            box-shadow: 0 26px 60px rgba(146, 64, 14, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
            color: #111827;
        }

        [data-theme="light"] .nfc-card-label,
        [data-theme="light"] .nfc-card-role,
        [data-theme="light"] .nfc-card-meta {
            color: rgba(75, 85, 99, 0.78);
        }

        [data-theme="light"] .nfc-card-name,
        [data-theme="light"] .nfc-card-chip {
            color: #111827;
        }

        [data-theme="light"] .nfc-card-chip {
            border-color: rgba(217, 119, 6, 0.24);
            background: rgba(255, 255, 255, 0.66);
        }

        [data-theme="light"] .nfc-card-chip:hover {
            background: rgba(255, 247, 237, 0.92);
            border-color: rgba(217, 119, 6, 0.38);
        }

        .terminal-cta {
            width: clamp(280px, 100%, 420px);
            margin: 36px auto 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.85rem;
            padding: 16px 26px;
            border-radius: 16px;
            border: 1px solid var(--accent-primary);
            background: transparent;
            color: #fff;
            font-size: 0.95rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            text-align: center;
            box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.12), 0 0 26px rgba(251, 191, 36, 0.25);
            transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
            cursor: pointer;
            position: relative;
            overflow: visible;
        }

        [data-theme="light"] .terminal-cta {
            border-color: rgba(217, 119, 6, 0.38);
            background: rgba(255, 255, 255, 0.72);
            color: #111827;
            box-shadow: 0 18px 36px rgba(146, 64, 14, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.78);
            backdrop-filter: blur(10px);
        }

        .terminal-cta:hover {
            transform: translateY(-1px);
            box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.22), 0 0 36px rgba(251, 191, 36, 0.35);
            border-color: rgba(251, 191, 36, 1);
        }

        [data-theme="light"] .terminal-cta:hover {
            border-color: rgba(217, 119, 6, 0.7);
            background: rgba(255, 248, 236, 0.9);
            box-shadow: 0 22px 44px rgba(146, 64, 14, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.86);
        }

        .terminal-cta svg {
            width: 18px;
            height: 18px;
            stroke-width: 2.2;
            transition: transform 0.3s ease;
        }

        .terminal-cta:hover svg {
            transform: translateX(4px);
        }

        .terminal-cta::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 14px;
            box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.08);
            pointer-events: none;
        }

        .terminal-cta > * {
            position: relative;
            z-index: 1;
        }

        .terminal-cursor {
            display: inline-block;
            width: 9px;
            height: 1em;
            background: var(--accent-primary);
            border-radius: 2px;
            animation: blinkCursor 1s steps(1, end) infinite;
            margin-left: 0.4rem;
        }

        .terminal-cta:hover .terminal-cursor {
            transform: translateX(1px);
        }

        @keyframes blinkCursor {
            0%, 49% {
                opacity: 1;
            }
            50%, 100% {
                opacity: 0;
            }
        }

        .hero .subtitle {
            font-size: 1.5rem;
            font-weight: 300;
            color: var(--text-primary);
            margin-bottom: 12px;
            letter-spacing: 0.025em;
        }

        .hero .subtitle .accent {
            color: var(--accent-primary);
        }
        .hero-quote {
            margin-top: 16px;
            color: var(--text-secondary);
            font-size: 1.12rem;
            font-family: "Playfair Display", "Georgia", serif;
            line-height: 1.55;
            max-width: 520px;
        }
        .quote-mark {
            color: var(--accent-primary);
            font-size: 1.45em;
            line-height: 0;
            vertical-align: -0.12em;
        }
        .quote-text {
            margin: 0 4px;
        }
        .quote-author {
            display: block;
            margin-top: 8px;
            font-size: 0.82rem;
            font-family: 'Inter', sans-serif;
            font-style: normal;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--text-tertiary);
        }

        .hero .description {
            font-size: 1.125rem;
            color: var(--text-tertiary);
            letter-spacing: 0.025em;
            font-weight: 300;
        }

        .section {
            margin-bottom: 96px;
        }

        .section h2 {
            font-size: 1.875rem;
            font-weight: 200;
            color: var(--text-primary);
            margin-bottom: 32px;
            letter-spacing: 0.025em;
        }

        .section h2 .accent {
            color: var(--accent-primary);
        }

        .section p {
            font-size: 1.125rem;
            color: var(--text-secondary);
            line-height: 1.75;
            margin-bottom: 24px;
            font-weight: 300;
            letter-spacing: 0.025em;
        }

        .section p .accent {
            color: var(--accent-primary);
        }

        .timeline {
            position: relative;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 24px;
            top: 0;
            bottom: 0;
            width: 1px;
            background: var(--border-primary);
        }

        .timeline-item {
            position: relative;
            padding-left: 64px;
            margin-bottom: 48px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .timeline-item:hover {
            transform: translateY(-4px);
        }

        .timeline-dot {
            position: absolute;
            left: 16px;
            width: 16px;
            height: 16px;
            background: var(--accent-primary);
            border-radius: 50%;
            border: 4px solid var(--bg-primary);
            transition: all 0.3s ease;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        }

        .timeline-item:hover .timeline-dot {
            transform: scale(1.25);
            background: var(--accent-secondary);
        }

        .timeline-content {
            background: var(--bg-secondary);
            backdrop-filter: blur(8px);
            border: 1px solid var(--border-primary);
            border-radius: 12px;
            padding: 24px;
            transition: all 0.3s ease;
        }

        .timeline-item:hover .timeline-content {
            background: var(--bg-card);
            border-color: var(--accent-primary);
            box-shadow: 0 10px 15px -3px var(--shadow-color);
        }

        .timeline-header {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-bottom: 12px;
        }

        @media (min-width: 640px) {
            .timeline-header {
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
            }
        }

        .timeline-title {
            font-size: 1.25rem;
            font-weight: 300;
            color: var(--text-primary);
            letter-spacing: 0.025em;
            transition: color 0.3s ease;
        }

        .timeline-item:hover .timeline-title {
            color: var(--accent-primary);
        }

        .timeline-period {
            font-size: 0.875rem;
            color: var(--accent-primary);
            font-weight: 300;
            letter-spacing: 0.025em;
        }

        .timeline-company {
            font-size: 1.125rem;
            color: var(--text-secondary);
            font-weight: 300;
            margin-bottom: 12px;
            letter-spacing: 0.025em;
        }

        .timeline-description {
            color: var(--text-tertiary);
            line-height: 1.75;
            margin-bottom: 16px;
            font-weight: 300;
            letter-spacing: 0.025em;
        }

        .achievements {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .achievement {
            display: flex;
            align-items: center;
        }

        .achievement::before {
            content: '';
            width: 6px;
            height: 6px;
            background: var(--accent-primary);
            border-radius: 50%;
            margin-right: 12px;
            flex-shrink: 0;
        }

        .achievement span {
            font-size: 0.875rem;
            color: var(--text-tertiary);
            font-weight: 300;
            letter-spacing: 0.025em;
        }

        .skills-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .skill-item {
            display: flex;
            align-items: center;
        }

        .skill-item::before {
            content: '';
            width: 8px;
            height: 8px;
            background: var(--accent-primary);
            border-radius: 50%;
            margin-right: 16px;
            flex-shrink: 0;
        }

        .skill-item span {
            font-size: 1.125rem;
            color: var(--text-secondary);
            font-weight: 300;
            letter-spacing: 0.025em;
        }

        .projects-list {
            display: flex;
            flex-direction: column;
            gap: 40px;
        }

        .project-item {
            border-bottom: 1px solid var(--border-secondary);
            padding-bottom: 32px;
        }

        .project-item:last-child {
            border-bottom: none;
        }

        .project-title {
            font-size: 1.5rem;
            font-weight: 300;
            color: var(--text-primary);
            margin-bottom: 12px;
            letter-spacing: 0.025em;
        }

        .project-description {
            font-size: 1.125rem;
            color: var(--text-secondary);
            line-height: 1.75;
            margin-bottom: 12px;
            font-weight: 300;
            letter-spacing: 0.025em;
        }

        .project-tech {
            color: var(--accent-primary);
            font-weight: 300;
            letter-spacing: 0.025em;
        }

        .travel-section {
            margin-bottom: 96px;
        }

        .travel-copy {
            margin-bottom: 28px;
        }
        .travel-places {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 18px;
        }
        .travel-place {
            display: inline-flex;
            align-items: center;
            padding: 6px 12px;
            border-radius: 999px;
            border: 1px solid var(--border-primary);
            background: var(--bg-card);
            color: var(--text-secondary);
            font-size: 0.78rem;
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }

        .travel-globe-wrap {
            width: 100%;
            height: clamp(220px, 38vw, 320px);
            position: relative;
            overflow: hidden;
            border-top: 1px solid var(--border-primary);
            border-bottom: 1px solid var(--border-primary);
        }

        .travel-globe-wrap::before,
        .travel-globe-wrap::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            height: 64px;
            pointer-events: none;
            z-index: 1;
        }

        .travel-globe-wrap::before {
            top: 0;
            background: linear-gradient(to bottom, var(--bg-primary), transparent);
        }

        .travel-globe-wrap::after {
            bottom: 0;
            background: linear-gradient(to top, var(--bg-primary), transparent);
        }

        .travel-globe {
            width: 100%;
            height: 100%;
            display: block;
            position: relative;
            z-index: 0;
            color: var(--text-secondary);
        }
        .travel-view-all-btn {
            margin-top: 16px;
        }
        .travel-map-stroke {
            stroke: url(#mapGradient);
            filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.24));
        }


        .contact-list {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .contact-item {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: var(--text-secondary);
            transition: color 0.3s ease;
        }

        .contact-item:hover {
            color: var(--accent-primary);
        }

        .contact-item svg {
            width: 20px;
            height: 20px;
            color: var(--accent-primary);
            margin-right: 16px;
            flex-shrink: 0;
        }

        .contact-item span {
            font-size: 1.125rem;
            font-weight: 300;
            letter-spacing: 0.025em;
        }

        .contact-item.location {
            pointer-events: none;
        }

        .final-section {
            text-align: center;
        }

        .final-section h2 {
            margin-bottom: 32px;
        }

        .final-section.last-updated {
            margin-top: 120px;
        }

        .companies-section {
            margin-bottom: 96px;
        }

        .companies-section h2 {
            font-size: 1.875rem;
            font-weight: 200;
            color: var(--text-primary);
            margin-bottom: 32px;
            letter-spacing: 0.025em;
        }

        .companies-section h2 .accent {
            color: var(--accent-primary);
        }

        .companies-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 24px;
            margin-top: 48px;
        }

        .company-card {
            text-align: center;
            transition: transform 0.3s ease;
        }

        .company-card:hover {
            transform: translateY(-4px);
        }

        .company-card a {
            text-decoration: none;
            color: inherit;
            display: block;
        }

        .company-logo {
            height: 0;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 0;
            font-size: 0.9rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            color: var(--text-primary);
            text-transform: uppercase;
            text-align: center;
            line-height: 1.2;
            transition: color 0.3s ease;
            margin-bottom: 0;
        }

        .company-card:hover .company-logo {
            color: var(--accent-primary);
        }

        .company-name {
            font-size: 1.125rem;
            font-weight: 500;
            color: var(--text-primary);
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: color 0.3s ease;
        }

        .company-card:hover .company-name {
            color: var(--accent-primary);
        }

        .company-arrow {
            opacity: 0;
            visibility: hidden;
            width: 18px;
            height: 18px;
            transform: translateX(0);
            transition: opacity 0.28s ease, transform 0.28s ease;
        }

        .company-card:hover .company-arrow {
            opacity: 1;
            visibility: visible;
            transform: translateX(6px);
        }

        .company-description {
            font-size: 0.95rem;
            color: var(--text-secondary);
            line-height: 1.6;
            display: block;
        }

        .company-status {
            margin-top: 4px;
            margin-bottom: 8px;
            font-size: 0.72rem;
            font-weight: 500;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--text-tertiary);
        }

        .company-stock {
            margin-top: 12px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 0.78rem;
            font-weight: 400;
            letter-spacing: 0.02em;
            color: var(--text-tertiary);
            font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
        }

        .stock-icon {
            font-size: 0.72rem;
            line-height: 1;
        }

        .stock-icon.up {
            color: #22c55e;
        }

        .stock-icon.down {
            color: #ef4444;
        }

        .blog-section {
            margin-bottom: 80px;
        }

        .blog-section h2 {
            font-size: 1.875rem;
            font-weight: 200;
            color: var(--text-primary);
            margin-bottom: 28px;
            letter-spacing: 0.025em;
        }
        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 22px;
            padding: 8px 0 20px;
        }

        .blog-card {
            min-width: 260px;
            max-width: 320px;
            flex: 0 0 auto;
            scroll-snap-align: start;
            padding: 22px;
            border-radius: 8px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            background: rgba(255, 255, 255, 0.03);
            box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
            color: var(--text-primary);
            display: flex;
            flex-direction: column;
            gap: 12px;
            transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
        }

        .blog-card:hover {
            transform: translateY(-3px);
            border-color: rgba(251, 191, 36, 0.36);
        }

        [data-theme="light"] .blog-card {
            border-color: rgba(209, 213, 219, 0.92);
            background: rgba(255, 255, 255, 0.95);
            box-shadow: 0 14px 28px rgba(17, 24, 39, 0.08);
        }

        [data-theme="light"] .blog-card:hover {
            border-color: rgba(245, 158, 11, 0.4);
            box-shadow: 0 18px 34px rgba(17, 24, 39, 0.12);
        }

        .blog-card .blog-tag {
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: var(--accent-primary);
        }

        .blog-meta {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 8px;
        }

        .blog-source {
            display: inline-flex;
            align-items: center;
            width: fit-content;
            padding: 4px 8px;
            border-radius: 999px;
            border: 1px solid rgba(156, 163, 175, 0.26);
            background: rgba(156, 163, 175, 0.1);
            color: var(--text-tertiary);
            font-size: 0.72rem;
            font-weight: 500;
        }

        [data-theme="light"] .blog-source {
            border-color: rgba(209, 213, 219, 0.9);
            background: rgba(243, 244, 246, 0.8);
            color: #4b5563;
        }

        .blog-card h3 {
            font-size: 1.1rem;
            font-weight: 600;
            line-height: 1.3;
        }

        .blog-card p {
            color: var(--text-secondary);
            line-height: 1.6;
            font-size: 0.95rem;
            margin: 0;
        }

        .show-more-btn {
            margin-top: 18px;
            padding: 12px 18px;
            border-radius: 8px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            background: transparent;
            color: var(--text-primary);
            font-weight: 700;
            letter-spacing: 0.06em;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
        }

        .show-more-btn:hover {
            transform: translateY(-1px);
            border-color: var(--accent-primary);
            box-shadow: 0 14px 30px rgba(251, 191, 36, 0.16);
        }

        [data-theme="light"] .show-more-btn {
            border-color: rgba(217, 119, 6, 0.22);
            background: rgba(255, 255, 255, 0.68);
            box-shadow: 0 10px 22px rgba(146, 64, 14, 0.08);
        }

        [data-theme="light"] .show-more-btn:hover {
            border-color: rgba(217, 119, 6, 0.5);
            box-shadow: 0 14px 28px rgba(146, 64, 14, 0.14);
        }

        .final-section.last-updated h2 {
            font-size: 1rem;
            font-weight: 400;
            letter-spacing: 0;
            margin-right: 6px;
        }

        .final-section.last-updated p {
            font-size: 1rem;
            font-weight: 300;
            color: var(--text-secondary);
        }

        .nfc-card-disclaimer {
            position: absolute;
            top: 12px;
            right: 12px;
            font-size: 0.65rem;
            font-weight: 500;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: rgba(203, 213, 225, 0.6);
            background: rgba(0, 0, 0, 0.2);
            padding: 4px 8px;
            border-radius: 4px;
            backdrop-filter: blur(4px);
        }

        [data-theme="light"] .nfc-card-disclaimer {
            color: rgba(120, 53, 15, 0.72);
            background: rgba(255, 247, 237, 0.76);
            border: 1px solid rgba(217, 119, 6, 0.18);
        }

        @media (max-width: 768px) {
            .content {
                padding: 64px 24px 40px;
            }

            .hero {
                margin-bottom: 48px;
            }

            .hero,
            .section {
                padding: 22px 8px;
            }

            .hero h1 {
                font-size: 2.5rem;
                margin: 0;
                padding: 12px 0;
            }

            .hero .subtitle {
                font-size: 1.25rem;
                margin: 10px 0 0 0;
            }

            .nfc-card {
                width: min(100%, 330px);
                margin: 22px auto;
                padding: 18px;
                border-radius: 16px;
            }

            .section h2 {
                font-size: 1.5rem;
                margin: 0 0 12px 0;
                padding: 16px 0 8px 0;
            }

            .section {
                margin-bottom: 34px;
            }

            .travel-section {
                margin-bottom: 44px;
            }

            .travel-globe-wrap {
                height: 300px;
            }
        }

        @media (max-width: 640px) {
            /* Terminal mobile styles */
            .terminal-overlay {
                padding: 8px;
                align-items: stretch;
            }

            .terminal-window {
                border-radius: 8px;
                max-height: calc(100vh - 16px);
                max-width: calc(100vw - 16px);
            }

            .terminal-titlebar {
                padding: 12px 16px 10px;
                gap: 8px;
                touch-action: none;
            }

            .terminal-circles {
                gap: 6px;
            }

            .terminal-circle {
                width: 10px;
                height: 10px;
            }

            .terminal-close {
                width: 32px;
                height: 32px;
                padding: 6px;
                margin: -2px;
                border-radius: 6px;
            }

            .terminal-close svg {
                width: 20px;
                height: 20px;
            }

            .terminal-toggle {
                min-width: 44px;
                min-height: 44px;
            }

            .terminal-toggle svg {
                width: 18px;
                height: 18px;
            }

            .theme-toggle svg {
                width: 18px;
                height: 18px;
            }

            .terminal-header {
                padding: 12px 16px;
                font-size: 14px;
                gap: 12px;
            }

            .terminal-header strong {
                font-size: 16px;
            }

            .terminal-status {
                font-size: 12px;
                margin-top: 2px;
            }

            .terminal-body {
                padding: 12px 16px 76px;
                font-size: 12px;
                line-height: 1.4;
                flex: 1;
                overflow-y: auto;
                -webkit-overflow-scrolling: touch;
            }

            .terminal-input-form {
                padding: 12px 16px;
                border-top: 1px solid rgba(255, 255, 255, 0.08);
                background: rgba(7, 11, 25, 0.6);
                position: absolute;
                bottom: 0;
                left: 0;
                right: 0;
                backdrop-filter: blur(12px);
                -webkit-backdrop-filter: blur(12px);
            }

            [data-theme="light"] .terminal-input-form {
                background: rgba(255, 250, 242, 0.92);
                border-top-color: rgba(245, 158, 11, 0.26);
            }

            [data-theme="light"] .terminal-body {
                color: #374151;
                font-size: 13px;
                line-height: 1.55;
            }

            .input-row {
                position: relative;
                font-size: 12px;
                min-height: 22px;
                align-items: center;
                cursor: text;
                user-select: none;
                -webkit-user-select: none;
                -webkit-touch-callout: none;
                display: flex;
                flex-wrap: nowrap;
                overflow-x: auto;
                overflow-y: hidden;
                width: 100%;
            }

            .terminal-input {
                position: absolute;
                inset: 0;
                width: 100%;
                height: 100%;
                opacity: 0;
                border: none;
                margin: 0;
                padding: 0;
                background: transparent;
                color: transparent;
                caret-color: transparent;
                font: inherit;
                outline: none;
                z-index: 1;
            }

            .typed-text {
                flex: 0 1 auto;
                min-width: 0;
                min-height: 18px;
                line-height: 1.3;
                word-break: normal;
                white-space: pre;
                flex-shrink: 0;
            }

            .cursor {
                width: 8px;
                height: 16px;
                margin-left: 2px;
                animation: blink 1s infinite;
                flex-shrink: 0;
            }

            /* Mobile input improvements */
            .input-row:focus {
                outline: 2px solid var(--accent-primary);
                outline-offset: 2px;
                border-radius: 4px;
            }

            /* Prevent body scroll when terminal is open on mobile */
            body.terminal-open {
                overflow: hidden;
                position: fixed;
                width: 100%;
                height: 100%;
            }

            /* Improve scrolling in terminal body */
            .terminal-body::-webkit-scrollbar {
                width: 4px;
            }

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

            .terminal-body::-webkit-scrollbar-thumb {
                background: rgba(255, 255, 255, 0.2);
                border-radius: 2px;
            }

            .terminal-body::-webkit-scrollbar-thumb:hover {
                background: rgba(255, 255, 255, 0.3);
            }
        }

        .terminal-overlay {
            padding: 0;
            background:
                radial-gradient(circle at 28% 18%, rgba(251, 146, 60, 0.18), transparent 34%),
                radial-gradient(circle at 78% 78%, rgba(245, 158, 11, 0.14), transparent 32%),
                linear-gradient(135deg, rgba(8, 10, 14, 0.97), rgba(2, 6, 12, 0.98));
        }

        [data-theme="light"] .terminal-overlay {
            background:
                radial-gradient(circle at 25% 18%, rgba(251, 146, 60, 0.14), transparent 34%),
                radial-gradient(circle at 76% 74%, rgba(245, 158, 11, 0.12), transparent 32%),
                linear-gradient(135deg, rgba(255, 252, 245, 0.95), rgba(255, 248, 237, 0.94));
        }

        .terminal-window {
            width: 100%;
            height: 100%;
            max-width: none;
            max-height: none;
            background: linear-gradient(180deg, rgba(9, 12, 18, 0.98), rgba(3, 7, 12, 0.98));
            border: 0;
            border-radius: 0;
            color: #e5e7eb;
            box-shadow: none;
        }

        [data-theme="light"] .terminal-window {
            width: 100%;
            height: 100%;
            max-width: none;
            max-height: none;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 251, 0.98));
            border: 0;
            border-radius: 0;
            color: #111827;
            box-shadow: none;
        }

        .terminal-window::before {
            content: '';
            position: absolute;
            right: 84px;
            top: 52%;
            z-index: 1;
            color: rgba(217, 119, 6, 0.12);
            font-family: ui-monospace, 'SFMono-Regular', menlo, monospace;
            font-size: clamp(4.5rem, 12vw, 7.5rem);
            font-weight: 600;
            letter-spacing: -0.18em;
            pointer-events: none;
            transform: translateY(-50%);
        }

        [data-theme="light"] .terminal-window::before {
            color: rgba(217, 119, 6, 0.08);
        }

        .terminal-window::after {
            content: '';
            position: absolute;
            inset: 42px 0 0;
            z-index: 0;
            background-image: radial-gradient(circle, rgba(245, 158, 11, 0.18) 1px, transparent 1.3px);
            background-position: right 62px center;
            background-size: 12px 12px;
            opacity: 0.22;
            mask-image: radial-gradient(circle at 82% 55%, #000 0 118px, transparent 158px);
            -webkit-mask-image: radial-gradient(circle at 82% 55%, #000 0 118px, transparent 158px);
            pointer-events: none;
        }

        [data-theme="light"] .terminal-window::after {
            background-image: radial-gradient(circle, rgba(217, 119, 6, 0.2) 1px, transparent 1.3px);
            opacity: 0.16;
        }

        .terminal-titlebar,
        [data-theme="light"] .terminal-titlebar {
            min-height: 42px;
            padding: 13px 16px 10px;
            background: rgba(255, 255, 255, 0.035);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            position: relative;
            z-index: 3;
        }

        [data-theme="light"] .terminal-titlebar {
            background: rgba(255, 255, 255, 0.42);
            border-bottom-color: rgba(120, 53, 15, 0.1);
        }

        .terminal-circle {
            width: 11px;
            height: 11px;
            box-shadow: none;
        }

        [data-theme="light"] .terminal-circle.close,
        [data-theme="light"] .terminal-circle.minimize,
        [data-theme="light"] .terminal-circle.expand {
            background: #cfc7bd;
        }

        .terminal-header {
            display: none;
        }

        .terminal-close {
            width: 28px;
            height: 28px;
            background: transparent;
            color: rgba(232, 216, 192, 0.48);
            border-radius: 6px;
            position: relative;
            z-index: 4;
        }

        [data-theme="light"] .terminal-close {
            width: 28px;
            height: 28px;
            background: transparent;
            color: rgba(47, 41, 35, 0.45);
            border-radius: 6px;
            position: relative;
            z-index: 4;
        }

        .terminal-close:hover {
            background: rgba(255, 255, 255, 0.07);
            color: rgba(232, 216, 192, 0.86);
        }

        [data-theme="light"] .terminal-close:hover {
            background: rgba(120, 53, 15, 0.07);
            color: rgba(47, 41, 35, 0.84);
        }

        .terminal-body {
            background: transparent;
            color: rgba(232, 216, 192, 0.82);
            padding: 30px 36px 104px;
            font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
            font-size: 0.82rem;
            font-weight: 400;
            letter-spacing: 0;
            line-height: 1.55;
            position: relative;
            z-index: 2;
        }

        [data-theme="light"] .terminal-body {
            background: transparent;
            color: rgba(47, 41, 35, 0.78);
            padding: 30px 36px 104px;
            font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
            font-size: 0.82rem;
            font-weight: 400;
            letter-spacing: 0;
            line-height: 1.55;
            position: relative;
            z-index: 2;
        }

        .terminal-line,
        [data-theme="light"] .terminal-line {
            margin-bottom: 0.58rem;
        }

        .terminal-command,
        .terminal-line strong,
        [data-theme="light"] .terminal-command,
        [data-theme="light"] .terminal-line strong {
            color: #c98545;
            font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
            font-weight: 500;
        }

        [data-theme="light"] .terminal-command,
        [data-theme="light"] .terminal-line strong {
            color: #8a521a;
        }

        .terminal-line .accent,
        [data-theme="light"] .terminal-line .accent {
            color: #f0b36a;
        }

        .tag,
        [data-theme="light"] .tag {
            padding: 0.08rem 0.38rem;
            border: 1px solid rgba(217, 119, 6, 0.2);
            background: rgba(217, 119, 6, 0.08);
            color: #d99a57;
            border-radius: 5px;
            font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
            font-size: 0.72rem;
            letter-spacing: 0;
        }

        [data-theme="light"] .tag {
            border-color: rgba(217, 119, 6, 0.24);
            background: rgba(217, 119, 6, 0.08);
            color: #8a521a;
        }

        .terminal-input-form {
            padding: 0 36px 28px;
            background: transparent;
            border-top: none;
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
            z-index: 4;
        }

        [data-theme="light"] .terminal-input-form {
            padding: 0 36px 28px;
            background: transparent;
            border-top: none;
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
            z-index: 4;
        }

        .input-row {
            width: 100%;
            padding: 10px 12px;
            background: rgba(255, 255, 255, 0.055);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 7px;
            box-shadow: none;
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            overflow: hidden;
            position: relative;
        }

        .input-row > * {
            position: relative;
            z-index: 1;
        }

        [data-theme="light"] .input-row {
            background: rgba(255, 255, 255, 0.58);
            border-color: rgba(120, 53, 15, 0.1);
            box-shadow: none;
        }

        .prompt {
            color: #b7793e;
            font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
            font-size: 0.78rem;
            font-weight: 500;
            letter-spacing: 0;
        }

        [data-theme="light"] .prompt {
            color: #8a521a;
            font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
            font-size: 0.78rem;
            font-weight: 500;
            letter-spacing: 0;
        }

        .typed-text {
            color: #ead7bd;
            font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
            font-size: 0.78rem;
            font-weight: 400;
            letter-spacing: 0;
        }

        [data-theme="light"] .typed-text {
            color: #111827;
            font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
            font-size: 0.78rem;
            font-weight: 400;
            letter-spacing: 0;
        }

        .cursor {
            width: 7px;
            height: 0.95rem;
            background: #ead7bd;
            margin-left: 3px;
        }

        [data-theme="light"] .cursor {
            width: 7px;
            height: 0.95rem;
            background: #2f2923;
            margin-left: 3px;
        }

        body.terminal-open .content,
        body.terminal-open .gradient-bg {
            opacity: 0.08;
            filter: blur(4px);
        }

        @media (max-width: 640px) {
            .terminal-overlay {
                padding: 0;
            }

            .terminal-window,
            [data-theme="light"] .terminal-window {
                width: 100%;
                height: 100%;
                max-width: none;
                max-height: none;
                border-radius: 0;
            }

            .terminal-window::before,
            .terminal-window::after {
                display: block;
                opacity: 0.08;
            }

            .terminal-body,
            [data-theme="light"] .terminal-body {
                padding: 18px 16px 92px;
                font-size: 0.76rem;
                line-height: 1.5;
            }

            .terminal-input-form,
            [data-theme="light"] .terminal-input-form {
                padding: 0 14px 18px;
                bottom: 0;
            }

            .input-row {
                width: 100%;
                padding: 10px;
            }
        }
