/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

body {
    font-family: 'VT323', monospace;
    background: #000;
    color: #bb88ff;
    overflow-x: hidden;
    line-height: 1.4;
    font-size: 18px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

/* CRT Screen Effects - Enhanced */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(187, 136, 255, 0.08) 2px,
            rgba(187, 136, 255, 0.08) 4px
        );
    pointer-events: none;
    z-index: 10;
    animation: scanlines 0.08s linear infinite;
}

@keyframes scanlines {
    0% { transform: translateY(0px); }
    100% { transform: translateY(4px); }
}

/* CRT Flicker Effect - Enhanced */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(187, 136, 255, 0.05);
    pointer-events: none;
    z-index: 9;
    animation: flicker 0.12s infinite linear alternate;
}

@keyframes flicker {
    0% { opacity: 1; }
    96% { opacity: 1; }
    97% { opacity: 0.95; }
    98% { opacity: 0.92; }
    99% { opacity: 0.98; }
    100% { opacity: 0.94; }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Boot-up Screen Styles */
.boot-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 6;
}

.boot-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.06) 2px,
            rgba(0, 0, 0, 0.06) 4px
        );
    pointer-events: none;
    z-index: 1;
    animation: scanlines 0.08s linear infinite;
}

.boot-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.03);
    pointer-events: none;
    z-index: 1;
    animation: flicker 0.12s infinite linear alternate;
}

.boot-terminal {
    width: 95%;
    max-width: 900px;
    background: #111;
    border: 2px solid #bb88ff;
    border-radius: 0;
    padding: 30px;
    box-shadow: 
        inset 0 0 20px rgba(187, 136, 255, 0.1),
        0 0 30px rgba(187, 136, 255, 0.3);
    position: relative;
    z-index: 5;
}

.boot-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #bb88ff;
    padding-bottom: 25px;
}

.boot-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.boot-ascii {
    font-family: 'VT323', monospace;
    font-size: 10px;
    color: #bb88ff;
    text-shadow: 0 0 10px #bb88ff;
    white-space: pre;
    line-height: 1.1;
    animation: bootLogoGlow 2s ease-in-out infinite alternate;
}

@keyframes bootLogoGlow {
    from {
        text-shadow: 0 0 10px #bb88ff;
    }
    to {
        text-shadow: 0 0 20px #bb88ff, 0 0 30px #bb88ff;
    }
}

.boot-title {
    color: #ffffff;
    font-family: 'VT323', monospace;
    font-size: 24px;
    text-shadow: 0 0 15px #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
}

.boot-subtitle {
    color: #9966cc;
    font-family: 'VT323', monospace;
    font-size: 14px;
    text-shadow: 0 0 5px #9966cc;
    opacity: 0.8;
}

.boot-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.boot-line {
    color: #9966cc;
    font-family: 'VT323', monospace;
    font-size: 16px;
    opacity: 0;
    animation: bootLineGlitch 0.8s ease-in-out forwards;
    text-shadow: 0 0 5px #9966cc;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.boot-line:nth-child(1) { animation-delay: 0.5s; }
.boot-line:nth-child(2) { animation-delay: 0.9s; }
.boot-line:nth-child(3) { animation-delay: 1.3s; }
.boot-line:nth-child(4) { animation-delay: 1.7s; }
.boot-line:nth-child(5) { animation-delay: 2.1s; }
.boot-line:nth-child(6) { animation-delay: 2.5s; }
.boot-line:nth-child(7) { animation-delay: 2.9s; }
.boot-line:nth-child(8) { animation-delay: 3.3s; }
.boot-line:nth-child(9) { animation-delay: 3.7s; }
.boot-line:nth-child(10) { animation-delay: 4.1s; }
.boot-line:nth-child(11) { animation-delay: 4.5s; }
.boot-line:nth-child(12) { animation-delay: 4.9s; }
.boot-line:nth-child(13) { animation-delay: 5.3s; }
.boot-line:nth-child(14) { animation-delay: 5.7s; }
.boot-line:nth-child(15) { animation-delay: 6.1s; }

.boot-timestamp {
    color: #666;
    font-size: 14px;
    min-width: 80px;
    text-align: left;
}

.boot-line i {
    color: #bb88ff;
    min-width: 16px;
    text-align: center;
}

.boot-success {
    color: #00ff00 !important;
    text-shadow: 0 0 10px #00ff00 !important;
}

.boot-success i {
    color: #00ff00 !important;
}

.boot-ok {
    color: #00ff00;
    font-weight: bold;
    text-shadow: 0 0 5px #00ff00;
    margin-left: auto;
}

.boot-loading {
    color: #ffaa00;
    font-family: 'VT323', monospace;
    font-size: 14px;
    text-shadow: 0 0 5px #ffaa00;
    margin-left: auto;
    letter-spacing: 1px;
}

.boot-line {
    justify-content: space-between;
    width: 100%;
}

.boot-line > span:last-child {
    margin-left: auto;
}

@keyframes bootLineGlitch {
    0% {
        opacity: 0;
        transform: translateX(-10px);
        text-shadow: 0 0 5px #9966cc;
    }
    20% {
        opacity: 0.5;
        transform: translateX(-2px);
        text-shadow: 1px 0 #bb88ff, 0 0 8px #9966cc;
    }
    40% {
        opacity: 0.8;
        transform: translateX(1px);
        text-shadow: -1px 0 #bb88ff, 0 0 6px #9966cc;
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        text-shadow: 0 0 5px #9966cc;
    }
}

.boot-progress-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.boot-progress-label {
    color: #bb88ff;
    font-family: 'VT323', monospace;
    font-size: 16px;
    margin-bottom: 15px;
    text-shadow: 0 0 5px #bb88ff;
    text-align: center;
}

.boot-progress {
    width: 100%;
    height: 25px;
    background: #222;
    border: 2px solid #bb88ff;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #bb88ff, #ffffff, #bb88ff);
    animation: progressFill 4s ease-in-out 3.5s forwards;
    box-shadow: 0 0 15px rgba(187, 136, 255, 0.8);
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-family: 'VT323', monospace;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 0 5px #ffffff;
    z-index: 10;
}

@keyframes progressFill {
    0% {
        width: 0%;
    }
    25% {
        width: 30%;
    }
    50% {
        width: 65%;
    }
    75% {
        width: 85%;
    }
    100% {
        width: 100%;
    }
}

@keyframes progressShine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* CLI Mode Styles */
.cli-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, #111 0%, #000 100%);
    padding: 40px;
}

.terminal {
    width: 100%;
    max-width: 900px;
    background: #000;
    border-radius: 20px;
    box-shadow: 
        inset 0 0 50px rgba(187, 136, 255, 0.1),
        0 0 100px rgba(187, 136, 255, 0.2),
        0 0 200px rgba(187, 136, 255, 0.1);
    border: 5px solid #222;
    overflow: hidden;
    position: relative;
    animation: crtGlow 3s ease-in-out infinite alternate;
}

/* CRT Monitor Bezel Effect */
.terminal::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(45deg, #333, #666, #333);
    border-radius: 25px;
    z-index: -1;
}

.terminal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%),
        linear-gradient(90deg, transparent 0%, rgba(0, 255, 0, 0.02) 50%, transparent 100%);
    pointer-events: none;
    border-radius: 12px;
}

@keyframes crtGlow {
    from {
        box-shadow: 
            inset 0 0 50px rgba(187, 136, 255, 0.1),
            0 0 100px rgba(187, 136, 255, 0.2),
            0 0 200px rgba(187, 136, 255, 0.1);
    }
    to {
        box-shadow: 
            inset 0 0 50px rgba(187, 136, 255, 0.15),
            0 0 100px rgba(187, 136, 255, 0.3),
            0 0 200px rgba(187, 136, 255, 0.15);
    }
}

.terminal-header {
    background: linear-gradient(180deg, #111 0%, #000 100%);
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #bb88ff;
    position: relative;
}

.terminal-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(187, 136, 255, 0.5);
    box-shadow: 0 0 10px rgba(187, 136, 255, 0.3);
}

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

.btn {
    width: 16px;
    height: 16px;
    border: 2px solid #bb88ff;
    background: #000;
    cursor: pointer;
    position: relative;
    box-shadow: inset 0 0 5px rgba(187, 136, 255, 0.3);
}

.btn.close::after {
    content: '×';
    color: #bb88ff;
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
}

.btn.minimize::after {
    content: '−';
    color: #bb88ff;
    font-size: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
}

.btn.maximize::after {
    content: '□';
    color: #bb88ff;
    font-size: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
}

.terminal-title {
    color: #bb88ff;
    font-size: 16px;
    font-weight: normal;
    text-shadow: 0 0 10px rgba(187, 136, 255, 0.5);
    letter-spacing: 1px;
}

.terminal-body {
    padding: 25px;
    min-height: 400px;
    max-height: 600px;
    overflow-y: auto;
    /* Hide scrollbar completely */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.terminal-body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.terminal-output {
    margin-bottom: 20px;
}

.ascii-art {
    color: #bb88ff;
    font-size: 14px;
    line-height: 1.1;
    text-shadow: 0 0 15px #bb88ff;
    margin-bottom: 25px;
    font-family: 'VT323', monospace;
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 15px #bb88ff;
    }
    to {
        text-shadow: 0 0 25px #bb88ff, 0 0 35px #bb88ff;
    }
}

.intro-text {
    color: #9966cc;
    margin-bottom: 8px;
    text-shadow: 0 0 5px #bb88ff;
    animation: textFlicker 3s infinite;
}

@keyframes textFlicker {
    0%, 98% { opacity: 1; }
    99% { opacity: 0.8; }
    100% { opacity: 1; }
}

.command-output {
    margin: 15px 0;
    padding: 15px 0;
    border-left: 3px solid #bb88ff;
    padding-left: 20px;
    position: relative;
}

.command-output::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #bb88ff;
    box-shadow: 0 0 10px rgba(187, 136, 255, 0.5);
}

.command-output h3 {
    color: #bb88ff;
    margin-bottom: 15px;
    text-shadow: 0 0 10px #bb88ff;
    font-size: 20px;
    letter-spacing: 1px;
}

.command-output p {
    color: #9966cc;
    margin-bottom: 10px;
    line-height: 1.4;
}

.command-output strong {
    color: #ffffff;
    text-shadow: 0 0 5px #ffffff;
}

.command-output ul {
    list-style: none;
    margin-left: 25px;
}

.command-output li {
    color: #9966cc;
    margin-bottom: 8px;
    position: relative;
}

.command-output li:before {
    content: '> ';
    color: #bb88ff;
    position: absolute;
    left: -15px;
    text-shadow: 0 0 5px #bb88ff;
}

.terminal-input-line {
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 10px;
}

.prompt {
    color: #bb88ff;
    margin-right: 15px;
    text-shadow: 0 0 10px #bb88ff;
    font-weight: bold;
    letter-spacing: 1px;
}

.terminal-input {
    background: transparent;
    border: none;
    color: #bb88ff;
    font-family: 'VT323', monospace;
    font-size: 18px;
    outline: none;
    flex: 1;
    caret-color: transparent;
    text-shadow: 0 0 5px #bb88ff;
}

.cursor {
    display: flex;
    color: #bb88ff;
    animation: blink 1s infinite;
    margin-left: 3px;
    text-shadow: 0 0 10px #bb88ff;
    font-weight: bold;
}

@keyframes blink {
    0%, 50% { 
        opacity: 1;
        text-shadow: 0 0 10px #bb88ff;
    }
    51%, 100% { 
        opacity: 0;
        text-shadow: none;
    }
}

/* GUI Mode Styles */
.gui-container {
    min-height: 100vh;
    background: #000;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    /* Hide scrollbar completely */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.gui-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.gui-container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(187, 136, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(187, 136, 255, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(187, 136, 255, 0.02) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

/* TUI Header System */
.tui-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #000;
    border-bottom: 2px solid #bb88ff;
    box-shadow: 0 0 20px rgba(187, 136, 255, 0.3);
}

.tui-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    background: linear-gradient(90deg, #222 0%, #111 100%);
    border-bottom: 1px solid #bb88ff;
}

.tui-title {
    color: #bb88ff;
    font-family: 'VT323', monospace;
    font-size: 16px;
    text-shadow: 0 0 10px #bb88ff;
    letter-spacing: 1px;
}

.tui-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tui-btn {
    background: #bb88ff;
    color: #000;
    border: none;
    padding: 4px 12px;
    font-family: 'VT323', monospace;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

.tui-btn:hover {
    background: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.tui-close {
    color: #bb88ff;
    font-size: 18px;
    cursor: pointer;
    padding: 2px 6px;
    border: 1px solid #bb88ff;
    transition: all 0.2s ease;
}

.tui-close:hover {
    background: #bb88ff;
    color: #000;
}

.tui-menu-bar {
    display: flex;
    background: #111;
    padding: 0;
    border-bottom: 1px solid #333;
}

.tui-menu-item {
    padding: 8px 20px;
    color: #9966cc;
    font-family: 'VT323', monospace;
    font-size: 14px;
    cursor: pointer;
    border-right: 1px solid #333;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tui-menu-item:hover,
.tui-menu-item.active {
    background: #bb88ff;
    color: #000;
}

/* TUI Desktop Environment */
.tui-desktop {
    margin-top: 80px;
    padding: 20px;
    min-height: calc(100vh - 80px);
    background: #000;
}

.tui-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    height: calc(100vh - 120px);
}

.tui-panel.active {
    display: grid;
}

.tui-window {
    background: #040404;
    border: 2px solid #bb88ff;
    border-radius: 0;
    box-shadow: 
        inset 0 0 20px rgba(187, 136, 255, 0.1),
        0 0 30px rgba(187, 136, 255, 0.2);
    display: flex;
    flex-direction: column;
    max-height: 100%;
}

.tui-window-header {
    background: linear-gradient(90deg, #bb88ff 0%, #9966cc 100%);
    color: #000;
    padding: 8px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #bb88ff;
}

.tui-window-title {
    font-family: 'VT323', monospace;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tui-window-controls {
    font-family: 'VT323', monospace;
    font-size: 14px;
    letter-spacing: 2px;
}

.tui-window-content {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tui-window-content::-webkit-scrollbar {
    display: none;
}

/* TUI Content Elements */
.tui-ascii-logo {
    font-family: 'VT323', monospace;
    font-size: 12px;
    color: #bb88ff;
    text-shadow: 0 0 10px #bb88ff;
    white-space: pre;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.1;
    animation: logoGlow 3s ease-in-out infinite alternate, glitchLogo 4s infinite;
    position: relative;
}

@keyframes logoGlow {
    from {
        text-shadow: 0 0 10px #bb88ff;
    }
    to {
        text-shadow: 0 0 20px #bb88ff, 0 0 30px #bb88ff;
    }
}

@keyframes glitchLogo {
    0%, 90%, 100% {
        transform: translate(0);
    }
    91% {
        transform: translate(-2px, 1px);
        text-shadow: 0 0 10px #bb88ff, 2px 0 #ff00ff, -2px 0 #00ffff;
    }
    92% {
        transform: translate(2px, -1px);
        text-shadow: 0 0 10px #bb88ff, -2px 0 #ff00ff, 2px 0 #00ffff;
    }
    93% {
        transform: translate(-1px, 2px);
        text-shadow: 0 0 10px #bb88ff, 1px 0 #ff00ff, -1px 0 #00ffff;
    }
    94% {
        transform: translate(0);
        text-shadow: 0 0 10px #bb88ff;
    }
}

.tui-info-grid {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.tui-info-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #333;
}

.tui-label {
    color: #9966cc;
    font-family: 'VT323', monospace;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tui-value {
    color: #bb88ff;
    font-family: 'VT323', monospace;
    font-size: 16px;
    text-shadow: 0 0 5px #bb88ff;
}

.tui-status-online {
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
    animation: pulse 2s infinite;
}

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

.tui-button-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}

.tui-button {
    background: #000;
    color: #bb88ff;
    border: 2px solid #bb88ff;
    padding: 15px 20px;
    font-family: 'VT323', monospace;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: block;
    box-shadow: inset 0 0 10px rgba(187, 136, 255, 0.1);
}

.tui-button:hover {
    background: rgba(187, 136, 255, 0.1);
    color: #ffffff;
    text-shadow: 0 0 10px #ffffff;
    box-shadow: 
        inset 0 0 10px rgba(187, 136, 255, 0.2),
        0 0 20px rgba(187, 136, 255, 0.3);
    transform: translateY(-2px);
}

/* TUI Panel Content Styling */
.tui-text-content {
    margin-bottom: 20px;
}

.tui-text-content p {
    color: #9966cc;
    font-family: 'VT323', monospace;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.tui-text-content strong {
    color: #bb88ff;
    text-shadow: 0 0 5px #bb88ff;
}

.tui-skills-display {
    display: grid;
    gap: 15px;
}

.tui-skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.tui-skill-name {
    color: #bb88ff;
    font-family: 'VT323', monospace;
    font-size: 16px;
    min-width: 150px;
}

.tui-skill-bar {
    flex: 1;
    height: 8px;
    background: #333;
    margin-left: 15px;
    border: 1px solid #bb88ff;
    position: relative;
    overflow: hidden;
}

.tui-skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #bb88ff, #ffffff);
    width: 0;
    transition: width 2s ease;
    box-shadow: 0 0 10px rgba(187, 136, 255, 0.5);
}

.tui-log-entry {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    padding: 10px;
    border-left: 3px solid #bb88ff;
    background: rgba(187, 136, 255, 0.05);
}

.tui-log-date {
    color: #9966cc;
    font-family: 'VT323', monospace;
    font-size: 14px;
    margin-bottom: 5px;
}

.tui-log-title {
    color: #bb88ff;
    font-family: 'VT323', monospace;
    font-size: 16px;
    text-shadow: 0 0 5px #bb88ff;
}

.tui-project-list {
    display: grid;
    gap: 20px;
}

.tui-project-item {
    padding: 15px;
    border: 1px solid #333;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.tui-project-item:hover {
    border-color: #bb88ff;
    background: rgba(187, 136, 255, 0.05);
}

.tui-project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.tui-project-name {
    color: #bb88ff;
    font-family: 'VT323', monospace;
    font-size: 18px;
    text-shadow: 0 0 5px #bb88ff;
}

.tui-project-status {
    padding: 4px 8px;
    font-family: 'VT323', monospace;
    font-size: 12px;
    text-transform: uppercase;
    border-radius: 0;
}

.tui-project-status.active {
    background: rgba(0, 255, 0, 0.2);
    color: #00ff00;
    border: 1px solid #00ff00;
}

.tui-project-status.discontinued {
    background: rgba(255, 0, 64, 0.2);
    color: #ff0040;
    border: 1px solid #ff0040;
}

.tui-project-status.maintenance {
    background: rgba(255, 189, 46, 0.2);
    color: #ffbd2e;
    border: 1px solid #ffbd2e;
}

.tui-project-status.development {
    background: rgba(0, 255, 127, 0.2);
    color: #00ff7f;
    border: 1px solid #00ff7f;
}

.tui-project-desc {
    color: #9966cc;
    font-family: 'VT323', monospace;
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.tui-project-tech {
    color: #666;
    font-family: 'VT323', monospace;
    font-size: 12px;
}

.tui-project-images {
    margin: 15px 0;
}

.tui-image-gallery {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tui-image-placeholder {
    background: rgba(187, 136, 255, 0.1);
    border: 1px solid #bb88ff;
    padding: 20px 15px;
    font-family: 'VT323', monospace;
    font-size: 12px;
    color: #9966cc;
    text-align: center;
    min-width: 120px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tui-image-placeholder:hover {
    background: rgba(187, 136, 255, 0.2);
    color: #bb88ff;
    text-shadow: 0 0 5px #bb88ff;
    transform: translateY(-2px);
}

.tui-image-placeholder i {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
    color: #bb88ff;
}

.tui-secret-project {
    text-align: center;
    padding: 20px;
    border: 2px solid #ff69b4;
    background: rgba(255, 105, 180, 0.05);
}

.tui-secret-header {
    color: #ff69b4;
    font-family: 'VT323', monospace;
    font-size: 20px;
    margin-bottom: 15px;
    text-shadow: 0 0 10px #ff69b4;
}

.tui-secret-desc {
    color: #9966cc;
    font-family: 'VT323', monospace;
    font-size: 14px;
    margin-bottom: 20px;
}

.tui-secret-btn {
    background: #ff69b4;
    color: #000;
    border: none;
    padding: 10px 20px;
    font-family: 'VT323', monospace;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.5);
}

.tui-secret-btn:hover {
    background: #ffffff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.tui-contact-grid {
    display: grid;
    gap: 15px;
}

.tui-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-bottom: 1px solid #333;
}

.tui-contact-icon {
    font-size: 24px;
    min-width: 30px;
}

.tui-contact-info {
    flex: 1;
}

.tui-contact-name {
    color: #bb88ff;
    font-family: 'VT323', monospace;
    font-size: 16px;
    margin-bottom: 5px;
}

.tui-contact-link {
    color: #9966cc;
    font-family: 'VT323', monospace;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tui-contact-link:hover {
    color: #bb88ff;
    text-shadow: 0 0 5px #bb88ff;
}

.tui-contact-btn {
    background: #000;
    color: #bb88ff;
    border: 1px solid #bb88ff;
    padding: 5px 10px;
    font-family: 'VT323', monospace;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tui-contact-btn:hover {
    background: rgba(187, 136, 255, 0.1);
    text-shadow: 0 0 5px #bb88ff;
}

.tui-services-list {
    margin-bottom: 20px;
}

.tui-service-item {
    color: #9966cc;
    font-family: 'VT323', monospace;
    font-size: 16px;
    margin-bottom: 8px;
}

.tui-availability {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #bb88ff;
    font-family: 'VT323', monospace;
    font-size: 14px;
}

.tui-status-indicator {
    color: #00ff00;
    font-size: 16px;
    animation: pulse 2s infinite;
}

.tui-status-indicator-red {
    color: #ff0000;
    font-size: 16px;
    animation: pulse 2s infinite;
}

.tui-system-banner {
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    background: rgba(187, 136, 255, 0.05);
    border: 1px solid #bb88ff;
}

.tui-banner-line {
    color: #bb88ff;
    font-family: 'VT323', monospace;
    font-size: 14px;
    text-shadow: 0 0 5px #bb88ff;
    margin: 5px 0;
}

.tui-banner-text {
    color: #ffffff;
    font-family: 'VT323', monospace;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 0 10px #ffffff;
    margin: 8px 0;
    letter-spacing: 2px;
    animation: bannerGlow 3s ease-in-out infinite alternate;
}

@keyframes bannerGlow {
    from {
        text-shadow: 0 0 10px #ffffff;
    }
    to {
        text-shadow: 0 0 20px #ffffff, 0 0 30px #bb88ff;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
    position: relative;
    width: 100%;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: normal;
    margin-bottom: 25px;
    line-height: 1.0;
    font-family: 'VT323', monospace;
    letter-spacing: 3px;
}

.glitch {
    position: relative;
    color: #bb88ff;
    text-shadow: 0 0 30px #bb88ff;
    animation: glitch 3s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.8s infinite;
    color: #8866aa;
    z-index: -1;
    text-shadow: 0 0 20px #8866aa;
}

.glitch::after {
    animation: glitch-2 0.8s infinite;
    color: #ffffff;
    z-index: -2;
    text-shadow: 0 0 15px #ffffff;
}

@keyframes glitch {
    0%, 95% { transform: translate(0); }
    96% { transform: translate(-3px, 2px); }
    97% { transform: translate(2px, -2px); }
    98% { transform: translate(-2px, 3px); }
    99% { transform: translate(3px, -1px); }
    100% { transform: translate(0); }
}

@keyframes glitch-1 {
    0%, 95% { transform: translate(0); }
    96% { transform: translate(2px, -3px); }
    97% { transform: translate(-2px, 2px); }
    98% { transform: translate(-3px, -2px); }
    99% { transform: translate(2px, 3px); }
    100% { transform: translate(0); }
}

@keyframes glitch-2 {
    0%, 95% { transform: translate(0); }
    96% { transform: translate(-2px, 3px); }
    97% { transform: translate(3px, -2px); }
    98% { transform: translate(2px, 2px); }
    99% { transform: translate(-3px, -2px); }
    100% { transform: translate(0); }
}

.hero-subtitle {
    font-size: 28px;
    margin-bottom: 25px;
    height: 45px;
    display: flex;
    align-items: center;
    font-family: 'VT323', monospace;
    letter-spacing: 2px;
}

.typing-text {
    color: #9966cc;
    border-right: 3px solid #bb88ff;
    animation: blink-cursor 1s infinite;
    text-shadow: 0 0 10px #9966cc;
}

@keyframes blink-cursor {
    0%, 50% { 
        border-color: #bb88ff;
        box-shadow: 0 0 10px rgba(187, 136, 255, 0.5);
    }
    51%, 100% { 
        border-color: transparent;
        box-shadow: none;
    }
}

.hero-description {
    font-size: 20px;
    color: #8866aa;
    margin-bottom: 45px;
    font-family: 'VT323', monospace;
    letter-spacing: 1px;
    text-shadow: 0 0 5px #8866aa;
}

.hero-buttons {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 15px 35px;
    border-radius: 0;
    text-decoration: none;
    font-weight: normal;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    font-family: 'VT323', monospace;
    font-size: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-primary {
    background: #000;
    color: #bb88ff;
    border: 2px solid #bb88ff;
    text-shadow: 0 0 5px #bb88ff;
    box-shadow: inset 0 0 10px rgba(187, 136, 255, 0.1);
}

.btn-primary:hover {
    background: rgba(187, 136, 255, 0.1);
    box-shadow: 
        inset 0 0 10px rgba(187, 136, 255, 0.2),
        0 0 25px rgba(187, 136, 255, 0.4);
    text-shadow: 0 0 15px #bb88ff;
}

.btn-secondary {
    background: transparent;
    color: #9966cc;
    border: 2px solid #9966cc;
    text-shadow: 0 0 5px #9966cc;
}

.btn-secondary:hover {
    background: rgba(153, 102, 204, 0.1);
    color: #bb88ff;
    border-color: #bb88ff;
    box-shadow: 0 0 20px rgba(187, 136, 255, 0.3);
    text-shadow: 0 0 10px #bb88ff;
}

/* Code Block */
.hero-visual {
    position: relative;
}

.code-block {
    background: rgba(30, 30, 30, 0.8);
    border-radius: 10px;
    border: 1px solid #333;
    overflow: hidden;
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

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

.code-header {
    background: #2d2d2d;
    padding: 10px 15px;
    border-bottom: 1px solid #444;
    display: flex;
    align-items: center;
    gap: 10px;
}

.code-header::before {
    content: '';
    display: flex;
    gap: 5px;
}

.code-header::before {
    content: '● ● ●';
    color: #666;
    font-size: 12px;
}

.code-title {
    color: #888;
    font-size: 14px;
}

.code-content {
    padding: 20px;
    font-size: 14px;
    line-height: 1.8;
}

.code-line {
    display: block;
    margin-bottom: 5px;
}

.keyword {
    color: #ff6b9d;
}

.variable {
    color: #4ecdc4;
}

.property {
    color: #95e1d3;
}

.string {
    color: #f9ca24;
}

/* Sections */
.section-title {
    font-size: 56px;
    font-weight: normal;
    text-align: center;
    margin-bottom: 70px;
    color: #bb88ff;
    text-shadow: 0 0 30px rgba(187, 136, 255, 0.8);
    position: relative;
    font-family: 'VT323', monospace;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from {
        text-shadow: 0 0 30px rgba(187, 136, 255, 0.8);
    }
    to {
        text-shadow: 0 0 40px rgba(187, 136, 255, 1), 0 0 60px rgba(187, 136, 255, 0.6);
    }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: #bb88ff;
    border-radius: 0;
    box-shadow: 0 0 20px rgba(187, 136, 255, 0.6);
    animation: underlineGlow 2s ease-in-out infinite alternate;
}

@keyframes underlineGlow {
    from {
        box-shadow: 0 0 20px rgba(187, 136, 255, 0.6);
    }
    to {
        box-shadow: 0 0 30px rgba(187, 136, 255, 0.8);
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 50px,
            rgba(187, 136, 255, 0.01) 50px,
            rgba(187, 136, 255, 0.01) 52px
        );
    pointer-events: none;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-text p {
    font-size: 20px;
    color: #9966cc;
    margin-bottom: 35px;
    line-height: 1.6;
    font-family: 'VT323', monospace;
    letter-spacing: 1px;
    text-shadow: 0 0 5px #9966cc;
}

.about-text strong {
    color: #bb88ff;
    text-shadow: 0 0 10px rgba(187, 136, 255, 0.8);
    animation: strongGlow 2s ease-in-out infinite alternate;
}

@keyframes strongGlow {
    from {
        text-shadow: 0 0 10px rgba(187, 136, 255, 0.8);
    }
    to {
        text-shadow: 0 0 15px rgba(187, 136, 255, 1);
    }
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.skill-item {
    text-align: left;
}

.skill-name {
    display: block;
    color: #00ff41;
    font-weight: 600;
    margin-bottom: 10px;
}

.skill-bar {
    background: #333;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(45deg, #00ff41, #00ffff);
    border-radius: 4px;
    width: 0;
    transition: width 2s ease;
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Projects Section */
.projects {
    padding: 100px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #00ff41, #00ffff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 255, 65, 0.1);
    border-color: #00ff41;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.project-header h3 {
    color: #00ff41;
    font-size: 20px;
    font-weight: 600;
}

.project-role {
    background: rgba(0, 255, 65, 0.1);
    color: #00ff41;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(0, 255, 65, 0.3);
}

.project-description {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-tag {
    background: rgba(0, 255, 255, 0.1);
    color: #00ffff;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.project-links {
    margin-bottom: 15px;
}

.project-link {
    color: #00ff41;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-link:hover {
    text-shadow: 0 0 5px #00ff41;
}

.project-status {
    margin-top: 15px;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.discontinued {
    background: rgba(255, 0, 64, 0.1);
    color: #ff0040;
    border: 1px solid rgba(255, 0, 64, 0.3);
}

.status-badge.maintenance {
    background: rgba(255, 189, 46, 0.1);
    color: #ffbd2e;
    border: 1px solid rgba(255, 189, 46, 0.3);
}

.status-badge.development {
    background: rgba(0, 255, 127, 0.1);
    color: #00ff7f;
    border: 1px solid rgba(0, 255, 127, 0.3);
}

/* Joke Project Styling */
.joke-project {
    position: relative;
    overflow: hidden;
}

.joke-project::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #ff69b4, #ff1493, #ff69b4);
    animation: jokeGlow 2s ease-in-out infinite alternate;
}

@keyframes jokeGlow {
    from {
        box-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
    }
    to {
        box-shadow: 0 0 20px rgba(255, 105, 180, 0.8);
    }
}

.joke-project:hover {
    border-color: #ff69b4;
    box-shadow: 0 20px 40px rgba(255, 105, 180, 0.2);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.3);
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-description {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 50px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid #333;
    border-radius: 10px;
    text-decoration: none;
    color: #ccc;
    transition: all 0.3s ease;
    min-width: 140px;
    justify-content: center;
}

.social-link:hover {
    transform: translateY(-5px);
    border-color: #00ff41;
    color: #00ff41;
    box-shadow: 0 10px 25px rgba(0, 255, 65, 0.2);
}

.social-icon {
    font-size: 20px;
}

.social-text {
    font-weight: 600;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid #333;
    text-align: center;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .terminal {
        margin: 10px;
    }
    
    .ascii-art {
        font-size: 8px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .project-card {
        padding: 20px;
    }
    
    .terminal-body {
        padding: 15px;
    }
}

/* Transition Animations */
.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

.slide-up {
    animation: slideUp 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.nav-link:focus,
.btn-primary:focus,
.btn-secondary:focus,
.cli-btn:focus,
.social-link:focus,
.terminal-input:focus {
    outline: 2px solid #bb88ff;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .terminal {
        border: 2px solid #00ff41;
    }
    
    .project-card {
        border: 2px solid #333;
    }
    
    .project-card:hover {
        border-color: #00ff41;
    }
}