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

body {
    font-family: 'Inter', sans-serif;
    background: #000;
    color: #fff;
    overflow: auto;
    cursor: none;
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 1L7 17L11 13H17L7 1Z' fill='white' stroke='black' strokeWidth='1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s ease;
}

@media (max-width: 768px) {
    .custom-cursor {
        display: none;
    }
}

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

.cyan {
    color: #06b6d4;
}

.purple {
    color: #a855f7;
}

.green {
    color: #10b981;
}

/* Boot Screen */
.boot-screen {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #10b981;
    font-family: 'JetBrains Mono', monospace;
    z-index: 9999;
}

.boot-content {
    text-align: center;
    max-width: 600px;
    width: 100%;
    padding: 0 2rem;
}

.glitch-text {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 
        0.05em 0 0 rgba(255, 0, 0, 0.75),
        -0.025em -0.05em 0 rgba(0, 255, 0, 0.75),
        0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    animation: glitch 500ms infinite;
}

@keyframes glitch {
    0% {
        text-shadow: 
            0.05em 0 0 rgba(255, 0, 0, 0.75),
            -0.05em -0.025em 0 rgba(0, 255, 0, 0.75),
            -0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }
    14% {
        text-shadow: 
            0.05em 0 0 rgba(255, 0, 0, 0.75),
            -0.05em -0.025em 0 rgba(0, 255, 0, 0.75),
            -0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }
    15% {
        text-shadow: 
            -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
            0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
            -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    49% {
        text-shadow: 
            -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
            0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
            -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    50% {
        text-shadow: 
            0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
            0.05em 0 0 rgba(0, 255, 0, 0.75),
            0 -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    99% {
        text-shadow: 
            0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
            0.05em 0 0 rgba(0, 255, 0, 0.75),
            0 -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    100% {
        text-shadow: 
            -0.025em 0 0 rgba(255, 0, 0, 0.75),
            -0.025em -0.025em 0 rgba(0, 255, 0, 0.75),
            -0.025em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
}

.boot-subtitle {
    font-size: clamp(1rem, 4vw, 1.5rem);
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}

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

.boot-progress {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 4rem;
}

.boot-text {
    height: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
}

.cursor {
    animation: blink 0.8s infinite;
    margin-left: 0.25rem;
}

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

.progress-bar {
    width: 100%;
    height: 12px;
    border: 1px solid #10b981;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: #10b981;
    width: 0%;
    transition: width 0.1s ease;
}

.boot-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: rgba(16, 185, 129, 0.7);
}

.boot-grid {
    margin-top: 4rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.25rem;
    max-width: 200px;
    margin: 0 auto 2rem;
}

.grid-item {
    width: 1rem;
    height: 1rem;
    background: rgba(16, 185, 129, 0.3);
    animation: gridFlicker 2s infinite;
}

@keyframes gridFlicker {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.8; }
}

.boot-footer {
    font-size: 0.75rem;
    color: rgba(16, 185, 129, 0.7);
    opacity: 0;
    animation: fadeIn 1s ease 2s forwards;
}

/* Desktop */
.desktop {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #1e3a8a 0%, #1f2937 50%, #7c3aed 100%);
    overflow: hidden;
}

/* Matrix Background */
.matrix-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 0;
}

/* Desktop Icons */
.desktop-icons {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 10;
}

.icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 5rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.icon:hover {
    transform: scale(1.1);
}

.icon-image {
    width: 3rem;
    height: 3rem;
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(107, 114, 128, 1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    transition: border-color 0.3s ease;
}

.icon:hover .icon-image {
    border-color: #06b6d4;
}

.icon-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.5);
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    transition: background-color 0.3s ease;
}

.icon:hover .icon-label {
    background: rgba(6, 182, 212, 0.8);
}

/* Windows */
.window {
    position: absolute;
    background: #1f2937;
    border: 2px solid #374151;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    z-index: 20;
    min-width: 400px;
    min-height: 300px;
    max-width: 90vw;
    max-height: 90vh;
}

.window.active {
    z-index: 30;
}

.window-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to right, #374151, #1f2937);
    padding: 0.5rem;
    cursor: move;
    user-select: none;
}

.window-controls {
    display: flex;
    gap: 0.375rem;
}

.control {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.control:hover {
    opacity: 0.8;
}

.control.close {
    background: #ef4444;
}

.control.minimize {
    background: #eab308;
}

.control.maximize {
    background: #10b981;
}

.window-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #d1d5db;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.window-content {
    padding: 1rem;
    background: #111827;
    height: calc(100% - 2rem);
    overflow: auto;
}

/* Hide scrollbars */
.window-content::-webkit-scrollbar,
.terminal-output::-webkit-scrollbar {
    display: none;
}

.window-content,
.terminal-output {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Profile Window */
.profile-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    color: #d1d5db;
}

.profile-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.profile-image img {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    border: 4px solid rgba(6, 182, 212, 0.5);
    border-radius: 0.5rem;
    object-fit: cover;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #06b6d4, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    color: white;
}

.profile-info {
    flex: 1;
    min-width: 300px;
}

.profile-name {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #06b6d4, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.25rem;
    border-bottom: 1px solid #374151;
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
}

.version {
    font-size: 0.75rem;
    color: #10b981;
    margin-left: 0.5rem;
    animation: pulse 2s infinite;
}

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

.profile-description {
    margin-bottom: 1rem;
}

.description-line {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
}

.prompt {
    margin-right: 0.5rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 0.25rem;
}

.profile-status {
    margin-top: auto;
    border: 1px solid #374151;
    border-radius: 0.5rem;
    background: rgba(31, 41, 55, 0.5);
    padding: 0.75rem;
}

.status-header {
    display: flex;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.status-indicator {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: #10b981;
    margin-right: 0.5rem;
}

.status-info {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
}

.status-line {
    display: flex;
    margin-bottom: 0.25rem;
}

.status-label {
    color: #06b6d4;
    width: 5rem;
    flex-shrink: 0;
}

.stable {
    color: #10b981;
}

/* Skills Window */
.skills-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    color: #d1d5db;
}

.skills-tabs {
    display: flex;
    margin-bottom: 1rem;
    border-bottom: 1px solid #374151;
}

.tab-button {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    border-radius: 0.375rem 0.375rem 0 0;
    transition: all 0.3s ease;
}

.tab-button:hover {
    color: #fff;
    background: #1f2937;
}

.tab-button.active {
    background: linear-gradient(to right, #ec4899, #8b5cf6);
    color: #fff;
}

.skills-panel {
    flex: 1;
    overflow-y: auto;
}

.proficiency-legend {
    margin-bottom: 1.5rem;
    background: rgba(31, 41, 55, 0.3);
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #374151;
}

.proficiency-legend h3 {
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    color: #06b6d4;
    margin-bottom: 0.5rem;
}

.legend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.legend-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.legend-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.legend-dot.expert {
    background: linear-gradient(to right, #8b5cf6, #ec4899);
}

.legend-dot.advanced {
    background: linear-gradient(to right, #3b82f6, #06b6d4);
}

.legend-dot.proficient {
    background: linear-gradient(to right, #10b981, #14b8a6);
}

.legend-dot.familiar {
    background: linear-gradient(to right, #eab308, #f59e0b);
}

.legend-label {
    font-size: 0.75rem;
    font-weight: 500;
}

.legend-desc {
    font-size: 0.75rem;
    color: #9ca3af;
}

.skills-container {
    display: grid;
    gap: 1rem;
}

.skill-card {
    background: rgba(31, 41, 55, 0.5);
    border: 1px solid #374151;
    border-radius: 0.5rem;
    padding: 1rem;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.skill-name {
    font-weight: 500;
    color: #fff;
}

.skill-context {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

.skill-badge {
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    color: #fff;
    border: none;
}

.skill-bar {
    width: 100%;
    background: #374151;
    border-radius: 9999px;
    height: 0.375rem;
    margin-top: 0.75rem;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    border-radius: 9999px;
    transition: width 1s ease;
}

/* Experience Window */
.experience-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    color: #d1d5db;
}

.experience-tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    overflow-x: auto;
}

.exp-tab {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    background: #1f2937;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    border-radius: 0.375rem;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.exp-tab:hover {
    color: #fff;
    background: #374151;
}

.exp-tab.active {
    background: linear-gradient(to right, #ec4899, #8b5cf6);
    color: #fff;
}

.experience-details {
    flex: 1;
    overflow-y: auto;
}

.experience-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #374151;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.experience-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: bold;
}

.experience-company {
    color: #9ca3af;
    margin-bottom: 0.25rem;
}

.experience-period {
    font-size: 0.75rem;
    color: #9ca3af;
}

.experience-status {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    color: #fff;
}

.experience-description {
    margin-top: 1rem;
}

.description-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.description-bullet {
    color: #10b981;
    margin-right: 0.5rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

/* Projects Window */
.projects-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    color: #d1d5db;
}

.project-tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    overflow-x: auto;
}

.project-tab {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    background: #1f2937;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    border-radius: 0.375rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.project-tab:hover {
    color: #fff;
    background: #374151;
}

.project-tab.active {
    background: linear-gradient(to right, #06b6d4, #3b82f6);
    color: #fff;
}

.project-details {
    flex: 1;
    overflow-y: auto;
}

.project-image {
    width: 100%;
    height: 12rem;
    background: #374151;
    border: 1px solid #4b5563;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 3rem;
}

.project-content {
    flex: 1;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid #374151;
    border-radius: 0.5rem;
    padding: 1rem;
}

.project-section {
    margin-bottom: 1rem;
}

.project-section-title {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
}

.project-bullet {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.project-section-label {
    font-size: 0.875rem;
    font-weight: bold;
}

.project-description {
    font-size: 0.875rem;
    color: #d1d5db;
    margin-left: 1rem;
}

.project-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-left: 1rem;
}

.tech-tag {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 0.25rem;
    background: rgba(6, 182, 212, 0.2);
    color: #06b6d4;
}

.project-data {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
    margin-left: 1rem;
}

.data-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #374151;
    border-radius: 0.25rem;
    padding: 0.5rem;
}

.data-label {
    color: #9ca3af;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
    display: block;
}

.data-value {
    font-size: 0.875rem;
}

.data-value.success {
    color: #10b981;
}

/* Contact Window */
.contact-content {
    height: 100%;
    color: #d1d5db;
}

.contact-content h2 {
    font-size: 0.875rem;
    font-family: 'JetBrains Mono', monospace;
    color: #06b6d4;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #374151;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    height: calc(100% - 3rem);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-section {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #374151;
    border-radius: 0.5rem;
    padding: 1rem;
}

.contact-section h3 {
    font-size: 0.875rem;
    font-family: 'JetBrains Mono', monospace;
    color: #06b6d4;
    margin-bottom: 0.75rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 0.25rem;
    text-decoration: none;
    color: #d1d5db;
    transition: background-color 0.3s ease;
}

.contact-link:hover {
    background: #1f2937;
}

.contact-icon {
    width: 1rem;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-note {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.availability {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #10b981;
}

.contact-form {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #374151;
    border-radius: 0.5rem;
    padding: 1rem;
    height: fit-content;
}

.contact-form h3 {
    font-size: 0.875rem;
    font-family: 'JetBrains Mono', monospace;
    color: #06b6d4;
    margin-bottom: 0.75rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(31, 41, 55, 0.5);
    border: 1px solid #374151;
    border-radius: 0.25rem;
    padding: 0.5rem;
    font-size: 0.875rem;
    color: #fff;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #06b6d4;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(to right, #06b6d4, #3b82f6);
    color: #fff;
    border: none;
    padding: 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.submit-btn:hover {
    opacity: 0.9;
}

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

.form-note {
    font-size: 0.75rem;
    color: #9ca3af;
    text-align: center;
    margin-top: 1rem;
}

.form-success {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    width: 4rem;
    height: 4rem;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: #10b981;
}

.form-success h4 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: #9ca3af;
    margin-bottom: 1rem;
}

.secondary-btn {
    padding: 0.5rem 1rem;
    background: rgba(6, 182, 212, 0.2);
    color: #06b6d4;
    border: none;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.secondary-btn:hover {
    background: rgba(6, 182, 212, 0.3);
}

/* Terminal Window */
.terminal-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #10b981;
    background: #000;
}

.terminal-output {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem;
    background-image: linear-gradient(to bottom, rgba(0, 40, 0, 0.1) 1px, transparent 1px);
    background-size: 100% 2px;
}

.terminal-line {
    margin-bottom: 0.25rem;
    line-height: 1.6;
}

.terminal-line.cyan {
    color: #06b6d4;
    font-weight: bold;
}

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

.terminal-line.gray {
    color: #9ca3af;
}

.terminal-input {
    display: flex;
    align-items: center;
    background: #1f2937;
    border-top: 1px solid #374151;
    padding: 0.5rem;
}

.terminal-prompt {
    color: #10b981;
    margin-right: 0.5rem;
}

.terminal-field {
    flex: 1;
    background: transparent;
    border: none;
    color: #10b981;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    outline: none;
}

/* Taskbar */
.taskbar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2.5rem;
    background: linear-gradient(to right, #1f2937, #111827);
    border-top: 1px solid #374151;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.5rem;
    z-index: 50;
}

.taskbar-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.start-button {
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    background: #374151;
    color: #d1d5db;
    border: none;
    font-size: 0.75rem;
    font-weight: bold;
    font-family: 'JetBrains Mono', monospace;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.start-button:hover,
.start-button.active {
    background: #1d4ed8;
    color: #fff;
}

.start-menu {
    position: absolute;
    left: 0.5rem;
    bottom: 2.5rem;
    width: 12rem;
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
    padding: 0.5rem;
    z-index: 50;
}

.start-header {
    border-bottom: 1px solid #374151;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

.start-user {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

.start-items {
    margin-bottom: 0.5rem;
}

.start-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    color: #d1d5db;
    cursor: pointer;
    border-radius: 0.25rem;
    transition: background-color 0.3s ease;
}

.start-item:hover {
    background: #3b82f6;
    color: #fff;
}

.start-icon {
    width: 1rem;
    height: 1rem;
    background: #4b5563;
    border-radius: 0.125rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.start-footer {
    border-top: 1px solid #374151;
    padding-top: 0.5rem;
}

.taskbar-items {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.taskbar-item {
    height: 2rem;
    padding: 0 0.5rem;
    background: #374151;
    color: #d1d5db;
    border: none;
    border-radius: 0.125rem;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

.taskbar-item:hover {
    background: #4b5563;
}

.taskbar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.audio-toggle {
    background: none;
    border: none;
    color: #d1d5db;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: background-color 0.3s ease;
}

.audio-toggle:hover {
    background: #374151;
}

.taskbar-time {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    color: #d1d5db;
    border-radius: 0.25rem;
    text-align: center;
    transition: background-color 0.3s ease;
}

.taskbar-time:hover {
    background: rgba(59, 130, 246, 0.3);
}

.time {
    line-height: 1;
}

.date {
    font-size: 0.625rem;
    color: #9ca3af;
    line-height: 1;
}

/* Notifications */
.notification {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 20rem;
    background: rgba(31, 41, 55, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid #374151;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
    padding: 1rem;
    z-index: 50;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-1rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.notification-header span {
    font-size: 0.875rem;
    font-weight: bold;
    color: #06b6d4;
}

.notification-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    width: 1rem;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    color: #fff;
}

.notification-message {
    font-size: 0.75rem;
    color: #d1d5db;
}

/* 🔻 Mobile Responsive CSS */
@media (max-width: 768px) {
  body {
    cursor: auto;
  }

  .window {
    min-width: 95vw;
    min-height: auto;
    max-height: 90vh;
    left: 2vw !important;
    top: 10vh !important;
  }

  .desktop-icons {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    bottom: 1rem;
    left: 1rem;
    top: auto;
  }

  .icon {
    width: 4rem;
  }

  .icon-label {
    font-size: 0.7rem;
  }

  .profile-name {
    font-size: 1.3rem;
  }

  .profile-title {
    font-size: 1rem;
  }

  .description-line {
    font-size: 0.75rem;
  }

  .start-menu {
    width: 90vw;
    font-size: 0.75rem;
  }

  .project-tabs,
  .experience-tabs,
  .skills-tabs {
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .project-tab,
  .exp-tab,
  .tab-button {
    font-size: 0.7rem;
    padding: 0.3rem 0.5rem;
  }
}


/* -------- Mobile Responsive Styles -------- */
@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    .desktop-icons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        top: auto;
        bottom: 4rem;
        left: 0.5rem;
        right: 0.5rem;
        justify-content: center;
    }

    .window {
        min-width: 100vw;
        min-height: 100vh;
        top: 0 !important;
        left: 0 !important;
        border-radius: 0;
    }

    .window-content {
        padding: 1rem;
    }

    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-image img {
        width: 120px;
        height: 120px;
    }

    .profile-info {
        text-align: center;
    }

    .project-image {
        height: 8rem;
        font-size: 2rem;
    }

    .project-data {
        grid-template-columns: 1fr !important;
    }

    .skills-tabs,
    .project-tabs,
    .experience-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }

    .taskbar {
        position: fixed;
        bottom: 0;
        width: 100%;
        left: 0;
    }

    .contact-grid {
        grid-template-columns: 1fr !important;
    }
}


.taskbar-ip {
    margin-top: 2px;
    color: #06b6d4;
    font-size: 0.65rem;
    text-align: right;
    font-family: 'JetBrains Mono', monospace;
}


/*my*/
@media (max-width: 768px) {
  .window {
    min-width: 100vw;
    min-height: 100vh;
    left: 0 !important;
    top: 0 !important;
    border-radius: 0;
  }
}

/*secend*/
@media (max-width: 768px) {
  .start-menu {
    width: 90vw;
    left: 5vw;
    bottom: 2.5rem;
  }
}
 /*scrool bar*/
 .window-content {
  padding: 1rem;
  background: #111827;
  height: calc(100% - 2rem);
  overflow-y: auto; /* ✅ Scrollbar Enable */
  max-height: calc(100vh - 5rem); /* prevent overflow */
  scrollbar-width: thin; /* Firefox support */
}

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

.window-content::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}
