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

body {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    background: #0a0a0a;
    color: #00ff00;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.terminal-container {
    width: 90%;
    height: 85%;
    background: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.3);
    overflow: hidden;
    border: 1px solid #333;
}

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

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

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
}

.control.close {
    background: #ff5f57;
}

.control.minimize {
    background: #ffbd2e;
}

.control.maximize {
    background: #28ca42;
}

.terminal-title {
    margin-left: auto;
    color: #888;
    font-size: 12px;
}

.terminal-body {
    height: calc(100% - 50px);
    padding: 20px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.terminal-output {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 10px;
}

.welcome-message pre {
    color: #00ff00;
    font-size: 10px;
    line-height: 1;
    margin-bottom: 15px;
}

.intro-text {
    color: #cccccc;
    margin-bottom: 5px;
}

.highlight {
    color: #00ffff;
    font-weight: bold;
}

.terminal-input-line {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.prompt {
    color: #00ff00;
    margin-right: 5px;
    white-space: nowrap;
}

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

.input-text {
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    white-space: pre;
    min-height: 1em;
}

.terminal-input {
    position: absolute;
    top: 0;
    left: 0;
    background: transparent;
    border: none;
    color: transparent;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    width: 100%;
    height: 100%;
    caret-color: transparent;
    z-index: 1;
}

.cursor {
    color: #00ff00;
    animation: blink 1s infinite;
    font-size: 14px;
    line-height: 1;
}

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

.command-output {
    margin: 10px 0;
    padding: 10px 0;
}

.command-line {
    color: #888;
    margin-bottom: 5px;
}

.command-line .prompt {
    color: #00ff00;
}

.command-line .command {
    color: #ffffff;
}

.output-text {
    color: #cccccc;
    line-height: 1.6;
}

.output-text h2 {
    color: #00ffff;
    margin-bottom: 10px;
    font-size: 18px;
}

.output-text h3 {
    color: #ffff00;
    margin: 15px 0 5px 0;
    font-size: 16px;
}

.output-text ul {
    margin-left: 20px;
    margin-bottom: 10px;
}

.output-text li {
    margin-bottom: 3px;
}

.output-text .skill-category {
    color: #ff9500;
    font-weight: bold;
}

.output-text .project-title {
    color: #00ffff;
    font-weight: bold;
}

.output-text .project-tech {
    color: #888;
    font-style: italic;
}

.error {
    color: #ff4444;
}

.success {
    color: #00ff00;
}

.warning {
    color: #ffaa00;
}

/* Scrollbar styling */
.terminal-output::-webkit-scrollbar {
    width: 8px;
}

.terminal-output::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.terminal-output::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

.terminal-output::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Responsive design */
@media (max-width: 768px) {
    .terminal-container {
        width: 95%;
        height: 95%;
    }
    
    .terminal-body {
        padding: 15px;
    }
    
    .welcome-message pre {
        font-size: 8px;
    }
    
    .terminal-input, .prompt {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .welcome-message pre {
        font-size: 6px;
    }
    
    .terminal-input, .prompt {
        font-size: 11px;
    }
}

/* Hover reveal styles for contact information */
.contact-hidden {
    position: relative;
    cursor: pointer;
    color: #888;
    font-style: italic;
    transition: all 0.3s ease;
}

.contact-hidden::before {
    content: "[hover to reveal]";
    display: inline;
}

.contact-hidden .hidden-content {
    display: none;
}

.contact-hidden:hover::before {
    display: none;
}

.contact-hidden:hover .hidden-content {
    display: inline;
    color: #00ffff;
    font-style: normal;
}

.contact-hidden:hover {
    color: #00ffff;
}

.contact-hidden:hover::after {
    content: " [click to copy]";
    color: #888;
    font-size: 0.8em;
    font-style: italic;
}

.contact-hidden:active {
    transform: scale(0.98);
}

.contact-copied {
    color: #00ff00 !important;
}

.contact-copied::after {
    content: " [copied!]";
    color: #00ff00;
    font-size: 0.8em;
    font-style: italic;
}

/* New link styles for terminal and GUI modes */
.command {
    color: #00ffff;
    font-weight: bold;
}

.terminal-link, .gui-link {
    color: #00ff00;
    text-decoration: underline;
}

.terminal-link:hover, .gui-link:hover {
    color: #ffffff;
    background: rgba(0, 255, 0, 0.1);
}

.note {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #333;
    font-size: 0.9em;
}
