/* style.css */
:root {
    --theme-color: #008080;
    --theme-light: #1084d0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Share Tech Mono', 'VT323', monospace;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--theme-color);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    position: relative;
    transition: background-color 0.3s ease;
}

/* Startup Screen */
.startup-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000080;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.startup-content {
    text-align: center;
    max-width: 600px;
    width: 100%;
    padding: 20px;
}

.startup-logo {
    margin-bottom: 50px;
}

.windows-logo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.windows-window {
    background-color: white;
    border: 2px solid #c0c0c0;
    box-shadow: inset 1px 1px 0px #fff, inset -1px -1px 0px #808080;
}

.startup-logo h1 {
    font-size: 48px;
    font-weight: bold;
    letter-spacing: 2px;
}

.startup-logo .version {
    font-size: 24px;
    vertical-align: super;
}

.loading-container {
    background-color: #000;
    border: 2px solid #c0c0c0;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: inset 1px 1px 0px #808080, inset -1px -1px 0px #fff;
}

.loading-bar {
    width: 100%;
    height: 20px;
    background-color: #000;
    border: 2px inset #c0c0c0;
    margin-bottom: 10px;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    width: 0%;
    background-color: #000080;
    transition: width 0.3s ease;
}

.loading-text {
    display: flex;
    justify-content: space-between;
    color: #c0c0c0;
    font-size: 14px;
}

.startup-footer {
    color: #808080;
    font-size: 12px;
    line-height: 1.5;
}

/* Shutdown Screen */
.shutdown-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 999;
    display: none;
    justify-content: center;
    align-items: center;
}

.shutdown-content {
    text-align: center;
    color: #c0c0c0;
}

.shutdown-message h2 {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: normal;
}

.shutdown-icon {
    font-size: 60px;
    color: #808080;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Desktop */
.desktop {
    width: 100%;
    height: 100%;
    background-image: url('wall.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: none;
}

/* Desktop Icons */
.desktop-icons {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: calc(100% - 40px);
    width: 120px;
    padding: 20px 10px;
    gap: 20px;
}

.desktop-icon {
    width: 80px;
    text-align: center;
    padding: 5px;
    cursor: pointer;
    border: 1px dotted transparent;
}

.desktop-icon.selected {
    background-color: rgba(0, 0, 128, 0.3);
    border: 1px dotted #000080;
}

.desktop-icon:active {
    transform: translateY(1px);
}

.icon-img {
    width: 40px;
    height: 40px;
    margin: 0 auto 5px;
    background-color: #c0c0c0;
    border: 2px solid #fff;
    box-shadow: 
        inset 1px 1px 0px #808080,
        inset -1px -1px 0px #dfdfdf,
        1px 1px 0px #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: var(--theme-color);
}

.icon-label {
    color: white;
    font-size: 12px;
    text-shadow: 1px 1px 1px #000;
    word-break: break-word;
    display: inline-block;
    padding: 2px;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Context Menu */
.context-menu {
    position: absolute;
    background-color: #c0c0c0;
    border: 2px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    min-width: 180px;
    display: none;
    z-index: 500;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.context-menu ul {
    list-style: none;
    padding: 2px;
}

.context-menu li {
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.context-menu li:hover {
    background-color: var(--theme-color);
    color: white;
}

.context-menu li.separator {
    height: 1px;
    background-color: #808080;
    margin: 2px 0;
    padding: 0;
    cursor: default;
}

.context-menu li.separator:hover {
    background-color: #808080;
}

/* Windows Container */
#windows-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 40px);
    pointer-events: none;
}

#windows-container > * {
    pointer-events: auto;
}

/* Window Styling */
.window {
    position: absolute;
    background-color: #c0c0c0;
    border: 2px solid;
    border-color: #dfdfdf #000 #000 #dfdfdf;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
    min-width: 300px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    z-index: 10;
    transition: transform 0.3s, opacity 0.3s;
}

.window.active {
    border-color: var(--theme-color) #dfdfdf #dfdfdf var(--theme-color);
    z-index: 100;
}

.window-header {
    background: linear-gradient(to right, var(--theme-color), var(--theme-light));
    color: white;
    padding: 3px 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: bold;
    cursor: move;
    user-select: none;
}

.window-title {
    display: flex;
    align-items: center;
    gap: 5px;
}

.window-title i {
    font-size: 12px;
}

.window-controls {
    display: flex;
    gap: 2px;
}

.window-btn {
    width: 20px;
    height: 18px;
    background-color: #c0c0c0;
    border: 1px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    font-size: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: black;
}

.window-btn:active {
    border-color: #808080 #dfdfdf #dfdfdf #808080;
}

.window-btn:hover {
    background-color: #dfdfdf;
}

.window-btn.close:hover {
    background-color: #ff0000;
    color: white;
}

.window-content {
    flex: 1;
    padding: 10px;
    overflow: auto;
    border: 1px inset #c0c0c0;
    margin: 2px;
    max-height: 500px;
    overflow-y: auto;
}

/* Window Content Styles */
.window-content h3 {
    color: var(--theme-color);
    margin-bottom: 15px;
    font-size: 16px;
    border-bottom: 1px solid #808080;
    padding-bottom: 5px;
}

.profile-container {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.profile-image {
    width: 100px;
    height: 100px;
    background-color: var(--theme-color);
    border: 2px solid #808080;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    color: white;
}

.profile-text {
    flex: 1;
}

.profile-text p {
    margin-bottom: 10px;
    line-height: 1.5;
}

/* Education Content */
.education-timeline {
    margin-top: 15px;
}

.timeline-item {
    background-color: #dfdfdf;
    border: 2px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 60px;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: 20px;
    top: 20px;
    width: 30px;
    height: 30px;
    background-color: var(--theme-color);
    border-radius: 50%;
}

.timeline-year {
    position: absolute;
    left: 15px;
    top: 25px;
    color: white;
    font-weight: bold;
    font-size: 12px;
    z-index: 1;
}

.timeline-content h4 {
    color: var(--theme-color);
    margin-bottom: 5px;
    font-size: 14px;
}

.timeline-content p {
    font-size: 12px;
    color: #404040;
    line-height: 1.4;
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background-color: #dfdfdf;
    border: 2px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.social-link:hover {
    background-color: #e8e8e8;
}

.social-link i {
    font-size: 24px;
    width: 40px;
    text-align: center;
}

.social-link.github i {
    color: #333;
}

.social-link.instagram i {
    color: #E1306C;
}

.social-info h4 {
    color: var(--theme-color);
    margin-bottom: 3px;
    font-size: 14px;
}

.social-info p {
    font-size: 12px;
    color: #606060;
}

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.project-card {
    background-color: #dfdfdf;
    border: 2px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    padding: 10px;
    cursor: pointer;
}

.project-card:hover {
    background-color: #e8e8e8;
}

.project-card h4 {
    color: var(--theme-color);
    margin-bottom: 5px;
    font-size: 14px;
}

.project-card p {
    font-size: 12px;
    color: #404040;
}

/* Skills */
.skill-list {
    margin-top: 15px;
}

.skill-item {
    margin-bottom: 15px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.skill-name {
    font-weight: bold;
    color: var(--theme-color);
}

.skill-percent {
    font-size: 12px;
    color: #404040;
}

.skill-bar {
    height: 20px;
    background-color: #000;
    border: 2px inset #c0c0c0;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(to right, var(--theme-color), var(--theme-light));
    width: 0%;
    transition: width 1s ease;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 3px;
    font-size: 12px;
    color: var(--theme-color);
}

.form-control {
    padding: 5px;
    border: 2px inset #c0c0c0;
    background-color: white;
    font-family: inherit;
    font-size: 14px;
}

.form-control:focus {
    outline: 2px solid var(--theme-color);
}

.form-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.btn {
    padding: 5px 15px;
    background-color: #c0c0c0;
    border: 2px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
}

.btn:active {
    border-color: #808080 #dfdfdf #dfdfdf #808080;
}

.btn-primary {
    background-color: var(--theme-color);
    color: white;
    font-weight: bold;
}

/* Resume Window */
.resume-content {
    text-align: center;
    padding: 30px 20px;
}

.resume-icon {
    font-size: 60px;
    color: var(--theme-color);
    margin-bottom: 20px;
}

.resume-content h3 {
    margin-bottom: 15px;
}

.download-btn {
    padding: 10px 25px;
    background-color: var(--theme-color);
    color: white;
    border: 2px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
}

.download-btn:hover {
    background-color: var(--theme-light);
}

/* Snake Game Modal */
.snake-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.snake-game-container {
    background-color: #c0c0c0;
    border: 3px solid;
    border-color: #dfdfdf #000 #000 #dfdfdf;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.snake-header {
    background: linear-gradient(to right, var(--theme-color), var(--theme-light));
    color: white;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.snake-header h3 {
    margin: 0;
    font-size: 18px;
}

.snake-close-btn {
    background: #c0c0c0;
    border: 2px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    color: #000;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.snake-close-btn:active {
    border-color: #808080 #dfdfdf #dfdfdf #808080;
}

.snake-game-area {
    display: flex;
    flex-wrap: wrap;
    padding: 15px;
    gap: 20px;
}

#snake-canvas-container {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    border: 2px inset #c0c0c0;
    padding: 10px;
}

#snake-canvas {
    background-color: #000;
    display: block;
}

.snake-controls {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.score-board {
    display: flex;
    justify-content: space-between;
    background-color: #dfdfdf;
    border: 2px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    padding: 10px;
}

.score-item {
    text-align: center;
    font-weight: bold;
}

.score-item span {
    color: var(--theme-color);
    font-size: 18px;
    display: block;
}

.control-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.game-btn {
    padding: 10px 20px;
    background-color: var(--theme-color);
    color: white;
    border: 2px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    cursor: pointer;
    font-weight: bold;
    min-width: 100px;
}

.game-btn:active {
    border-color: #808080 #dfdfdf #dfdfdf #808080;
}

.game-btn:hover {
    background-color: var(--theme-light);
}

.touch-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.control-row {
    display: flex;
    gap: 10px;
}

.control-btn {
    width: 60px;
    height: 60px;
    background-color: #c0c0c0;
    border: 3px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:active {
    border-color: #808080 #dfdfdf #dfdfdf #808080;
    transform: translateY(1px);
}

.control-btn.up, .control-btn.down {
    margin: 0 auto;
}

.instructions {
    background-color: #ffffcc;
    border: 2px solid #808080;
    padding: 15px;
    font-size: 14px;
    line-height: 1.4;
}

.instructions p {
    margin-bottom: 8px;
}

/* Theme Modal */
.theme-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.theme-modal-content {
    background-color: #c0c0c0;
    border: 3px solid;
    border-color: #dfdfdf #000 #000 #dfdfdf;
    width: 90%;
    max-width: 500px;
}

.theme-header {
    background: linear-gradient(to right, var(--theme-color), var(--theme-light));
    color: white;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.theme-header h3 {
    margin: 0;
    font-size: 16px;
}

.theme-close-btn {
    background: #c0c0c0;
    border: 2px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    color: #000;
    width: 25px;
    height: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.theme-colors {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.theme-color-item {
    padding: 15px;
    color: white;
    text-align: center;
    cursor: pointer;
    border: 2px solid #000;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s;
}

.theme-color-item:hover {
    transform: scale(1.05);
}

.theme-color-item:active {
    transform: scale(0.95);
}

/* Taskbar */
.taskbar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: #c0c0c0;
    border-top: 2px solid #dfdfdf;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
    z-index: 1000;
}

.taskbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.start-button {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: linear-gradient(to right, var(--theme-color), var(--theme-light));
    border: 2px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    height: 30px;
    color: white;
}

.start-button:active {
    border-color: #808080 #dfdfdf #dfdfdf #808080;
}

.start-button.active {
    border-color: #808080 #dfdfdf #dfdfdf #808080;
}

.start-icon {
    width: 16px;
    height: 16px;
}

.quick-launch {
    display: flex;
    gap: 5px;
}

.taskbar-icon {
    width: 28px;
    height: 28px;
    background-color: #c0c0c0;
    border: 2px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: var(--theme-color);
}

.taskbar-icon:active {
    border-color: #808080 #dfdfdf #dfdfdf #808080;
}

.taskbar-apps {
    flex: 1;
    display: flex;
    gap: 2px;
    margin: 0 10px;
    overflow-x: auto;
    padding: 2px;
}

.taskbar-app {
    padding: 4px 12px;
    background-color: #c0c0c0;
    border: 2px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    font-size: 12px;
    white-space: nowrap;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.taskbar-app.active {
    border-color: #808080 #dfdfdf #dfdfdf #808080;
}

.taskbar-app:active {
    border-color: #808080 #dfdfdf #dfdfdf #808080;
}

.taskbar-right {
    display: flex;
}

.system-tray {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px;
    background-color: #c0c0c0;
    border: 2px solid;
    border-color: #808080 #dfdfdf #dfdfdf #808080;
}

.tray-icon {
    width: 24px;
    height: 24px;
    background-color: #c0c0c0;
    border: 1px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 12px;
}

.tray-icon:active {
    border-color: #808080 #dfdfdf #dfdfdf #808080;
}

.clock {
    padding: 2px 8px;
    font-size: 12px;
    background-color: #c0c0c0;
    border: 1px solid #808080;
    min-width: 70px;
    text-align: center;
}

/* Start Menu */
.start-menu {
    position: absolute;
    bottom: 40px;
    left: 5px;
    width: 320px;
    background-color: #c0c0c0;
    border: 2px solid;
    border-color: #dfdfdf #000 #000 #dfdfdf;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 900;
}

.start-menu.active {
    display: block;
}

.start-menu-header {
    background: linear-gradient(to right, var(--theme-color), var(--theme-light));
    color: white;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-icon {
    font-size: 30px;
}

.user-name {
    font-weight: bold;
    font-size: 16px;
}

.start-menu-content {
    display: flex;
    min-height: 300px;
}

.start-menu-left {
    width: 60%;
    padding: 10px;
    border-right: 2px solid #808080;
}

.start-menu-right {
    width: 40%;
    padding: 10px;
}

.start-menu-section {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.menu-item {
    padding: 5px 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    position: relative;
}

.menu-item:hover {
    background-color: var(--theme-color);
    color: white;
}

.menu-item.separator {
    height: 1px;
    background-color: #808080;
    padding: 0;
    margin: 5px 0;
    cursor: default;
}

.menu-item.separator:hover {
    background-color: #808080;
}

.menu-item i.fa-chevron-right {
    margin-left: auto;
}

.submenu {
    position: absolute;
    left: 100%;
    top: 0;
    background-color: #c0c0c0;
    border: 2px solid;
    border-color: #dfdfdf #000 #000 #dfdfdf;
    min-width: 150px;
    display: none;
    z-index: 10;
}

.submenu-item {
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.submenu-item:hover {
    background-color: var(--theme-color);
    color: white;
}

.menu-item:hover > .submenu {
    display: block;
}

/* CRT Effect */
.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2000;
    background: 
        linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
        linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 2px, 3px 100%;
    opacity: 0.15;
    display: none;
}

.crt-on {
    display: block;
    animation: flicker 0.15s infinite;
}

@keyframes flicker {
    0% { opacity: 0.15; }
    50% { opacity: 0.2; }
    100% { opacity: 0.15; }
}

/* Error Dialog */
.error-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    background-color: #c0c0c0;
    border: 2px solid;
    border-color: #dfdfdf #000 #000 #dfdfdf;
    z-index: 2000;
    display: none;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.7);
}

.error-header {
    background: linear-gradient(to right, var(--theme-color), var(--theme-light));
    color: white;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

.error-header i {
    font-size: 16px;
}

.error-content {
    padding: 20px;
    min-height: 60px;
    display: flex;
    align-items: center;
}

.error-footer {
    padding: 10px;
    display: flex;
    justify-content: center;
    background-color: #c0c0c0;
    border-top: 2px solid #808080;
}

.dialog-button {
    padding: 5px 20px;
    background-color: #c0c0c0;
    border: 2px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    cursor: pointer;
    min-width: 80px;
}

.dialog-button:active {
    border-color: #808080 #dfdfdf #dfdfdf #808080;
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-icons {
        width: 100px;
    }
    
    .window {
        min-width: 280px;
        max-width: 90vw;
    }
    
    .start-menu {
        width: 280px;
    }
    
    .taskbar-app {
        padding: 4px 8px;
        font-size: 11px;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .snake-game-area {
        flex-direction: column;
    }
    
    #snake-canvas {
        width: 100%;
        height: auto;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .desktop-icons {
        flex-direction: row;
        width: 100%;
        height: auto;
        justify-content: center;
    }
    
    .start-menu-content {
        flex-direction: column;
    }
    
    .start-menu-left, .start-menu-right {
        width: 100%;
        border-right: none;
    }
    
    .profile-container {
        flex-direction: column;
        text-align: center;
    }
    
    .control-btn {
        width: 50px;
        height: 50px;
    }
}

/* Animation classes */
.window.minimizing {
    transform: scale(0.1);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
}

.window.maximizing {
    transition: all 0.3s;
}

.window.maximized {
    width: 100% !important;
    height: calc(100% - 40px) !important;
    top: 0 !important;
    left: 0 !important;
}