/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    background: linear-gradient(135deg, #0a1628 0%, #1a2332 25%, #0d1421 50%, #1e2a3a 75%, #0a1628 100%); /* Techy dark blue gradient */
}

.desktop {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background: linear-gradient(135deg, #0a1628 0%, #1a2332 25%, #0d1421 50%, #1e2a3a 75%, #0a1628 100%); /* Techy dark blue gradient */
    position: relative;
    display: flex;
    flex-direction: column;
    transition: background 0.3s ease;
    overflow: hidden;
}

/* Desktop Icons */
.desktop-icons {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    grid-gap: 20px;
    width: 100%;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: background-color 0.2s, transform 0.2s, opacity 0.3s;
    position: absolute;
    user-select: none;
    touch-action: none;
    z-index: 1;
    pointer-events: auto;
}

.icon:hover {
    background: linear-gradient(145deg, rgba(0, 255, 255, 0.15) 0%, rgba(255, 0, 255, 0.15) 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.4), 0 0 20px rgba(255, 0, 255, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.5);
    border-radius: 8px;
}

.icon.selected {
    background: linear-gradient(145deg, rgba(0, 255, 255, 0.25) 0%, rgba(255, 0, 255, 0.25) 100%);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.8), 0 0 25px rgba(255, 0, 255, 0.6);
    transform: scale(1.08);
    border: 2px solid #00ffff;
    border-radius: 8px;
}

.icon.selected .icon-text {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 2px 4px;
    border-radius: 3px;
}

.icon-img {
    font-size: 32px;
    margin-bottom: 8px;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8), 0 0 20px rgba(0, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.icon:hover .icon-img {
    color: #ff00ff;
    text-shadow: 0 0 15px rgba(255, 0, 255, 0.9), 0 0 30px rgba(255, 0, 255, 0.6);
}

.icon-text {
    color: #ffffff;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.7), 1px 1px 3px rgba(0, 0, 0, 0.8);
    word-wrap: break-word;
    max-width: 100%;
    transition: all 0.3s ease;
}

.icon:hover .icon-text {
    color: #00ffff;
    text-shadow: 0 0 12px rgba(0, 255, 255, 0.9), 0 0 20px rgba(255, 0, 255, 0.5);
}

/* Windows */
.windows-container {
    flex: 1;
    position: relative;
}

.window {
    position: absolute;
    top: 50px;
    left: 100px;
    width: 700px;
    height: 500px;
    background: linear-gradient(145deg, #0f1419 0%, #1a1f2e 50%, #0f1419 100%);
    border-radius: 8px;
    border: 2px solid #00ffff;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.4), inset 0 0 15px rgba(0, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    display: none; /* Hidden by default */
    z-index: 10;
    transition: all 0.3s ease;
}

.window.fullscreen {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100% - 40px) !important; /* Subtract taskbar height */
    max-width: none !important;
    max-height: none !important;
    border-radius: 0 !important;
    z-index: 100 !important;
}

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

.window-header {
    background: linear-gradient(90deg, #001122 0%, #003366 50%, #001122 100%);
    border-bottom: 2px solid #00ffff;
    height: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    cursor: move;
    user-select: none;
    box-shadow: 0 2px 10px rgba(0, 255, 255, 0.3);
}

.window-title {
    color: #00ffff;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.8);
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.window-icon {
    margin-right: 8px;
    flex-shrink: 0;
}

.window-controls {
    display: flex;
    flex-shrink: 0;
}

.window-controls button {
    background: transparent;
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.window-controls button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.close-btn:hover {
    background-color: #e81123 !important;
}

.window-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: linear-gradient(135deg, #0a0f1c 0%, #1a1f2e 25%, #0a0f1c 50%, #1a1f2e 75%, #0a0f1c 100%);
    color: #ffffff;
    border-top: 1px solid rgba(0, 255, 255, 0.3);
}

/* Taskbar */
.taskbar {
    height: 40px;
    background: linear-gradient(90deg, #0a0f1c 0%, #1a1f2e 50%, #0a0f1c 100%);
    border-top: 1px solid #00ffff;
    box-shadow: 0 -2px 10px rgba(0, 255, 255, 0.3);
    display: flex;
    align-items: center;
    padding: 0 10px;
    z-index: 10;
}

.start-button {
    background: linear-gradient(45deg, #00ffff 0%, #0099cc 50%, #00ffff 100%);
    color: #000;
    font-weight: bold;
    height: 100%;
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

.start-button:hover {
    background: linear-gradient(45deg, #ff00ff 0%, #00ffff 50%, #ff00ff 100%);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.8), 0 0 30px rgba(0, 255, 255, 0.6);
    transform: scale(1.05);
}

.start-button:active {
    transform: scale(0.95);
    box-shadow: 0 0 15px rgba(0, 255, 255, 1);
}

.start-button.clicked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: ripple 0.5s ease-out;
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    70% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

.taskbar-items {
    flex: 1;
    display: flex;
    margin-left: 10px;
    height: 100%;
    overflow-x: auto;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.taskbar-items::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari/Edge */
}

.taskbar-item {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 10px;
    color: white;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: background-color 0.2s;
    white-space: nowrap;
    min-width: 40px;
}

.taskbar-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.taskbar-item.active {
    border-bottom-color: #0078d7;
    background-color: rgba(255, 255, 255, 0.1);
}

.taskbar-right {
    display: flex;
    align-items: center;
    height: 100%;
}

.clock {
    color: white;
    padding: 0 10px;
    font-size: 12px;
}

/* Project Window */
.project-item {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 8px;
    background: linear-gradient(145deg, #0f1920 0%, #1a2530 50%, #0f1920 100%);
    border: 1px solid #00ffff;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.2), inset 0 1px 0 rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.project-item:hover {
    border-color: #ff00ff;
    box-shadow: 0 6px 20px rgba(255, 0, 255, 0.3), inset 0 1px 0 rgba(255, 0, 255, 0.1);
    transform: translateY(-2px);
}

.project-item h3 {
    margin-bottom: 15px;
    color: #00ffff;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
}

.project-links {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    padding: 10px 20px;
    background: linear-gradient(45deg, #00ffff 0%, #0099cc 50%, #00ffff 100%);
    color: #000;
    font-weight: bold;
    border: 1px solid #00ffff;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
}

.btn:hover {
    background: linear-gradient(45deg, #ff00ff 0%, #00ffff 50%, #ff00ff 100%);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.6), 0 0 30px rgba(0, 255, 255, 0.4);
    transform: translateY(-2px) scale(1.05);
    border-color: #ff00ff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .window {
        width: 90%;
        height: 80%;
        top: 10%;
        left: 5%;
    }
    
    .desktop-icons {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        grid-gap: 10px;
        padding: 10px;
    }
    
    .window-content {
        padding: 15px;
    }
    
    .project-links {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .desktop-icons {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        grid-gap: 5px;
    }
    
    .icon {
        width: 60px;
    }
    
    .icon-img {
        font-size: 24px;
    }
    
    .icon-text {
        font-size: 10px;
    }
    
    .window-title {
        font-size: 12px;
    }
    
    .window-content {
        padding: 10px;
    }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
    .icon:hover {
        background-color: transparent;
    }
    
    .icon.active {
        background-color: rgba(255, 255, 255, 0.2);
    }
}

/* Contact Window */
.contact-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-link {
    text-decoration: none;
    color: #0078d7;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

.social-link:hover {
    color: #1a8fe3;
}

/* Resume Window */
.resume-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.resume-actions .btn {
    padding: 8px 16px;
    border-radius: 4px;
    background-color: #0078d7;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s;
}

.resume-actions .btn:hover {
    background-color: #0056a3;
}

.resume-actions .btn i {
    margin-right: 8px;
}

.resume-section {
    margin-bottom: 20px;
}

.resume-section h3 {
    margin-bottom: 10px;
    color: #0078d7;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.resume-item {
    margin-bottom: 15px;
}

.resume-item h4 {
    margin-bottom: 5px;
}

.skills-list {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skills-list li {
    background-color: #f0f0f0;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
}

/* About Window */
.about-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.profile-picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #0078d7;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-details {
    flex: 1;
}

.about-details h2 {
    margin-bottom: 5px;
    color: #0078d7;
}

.about-details h3 {
    margin-bottom: 15px;
    color: #555;
    font-weight: 400;
}

.about-details p {
    margin-bottom: 10px;
    line-height: 1.5;
}

/* Trash Window */
.trash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
}

.trash-icon i {
    color: white;
    font-size: 32px;
}

.trash-icon-large {
    font-size: 64px;
    color: #777;
    margin-bottom: 20px;
    text-align: center;
}

.easter-egg {
    text-align: center;
    font-style: italic;
    color: #555;
}

/* Blockchain styling */
.blockchain-container {
    width: 100%;
    padding: 20px;
}

.blockchain {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
    align-items: stretch;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 20px;
    position: relative;
}

.block {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #3a3a3a, #1a1a1a);
    border-radius: 8px;
    color: white;
    padding: 15px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    animation: block-appear 0.5s ease-out;
    z-index: 2;
    overflow: hidden;
    box-sizing: border-box;
    flex: 0 0 280px;
}

.block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.block .block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.block .block-number {
    font-size: 14px;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.1);
    padding: 3px 8px;
    border-radius: 12px;
}

.block .timestamp {
    font-size: 12px;
    opacity: 0.7;
}

.block .block-content {
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
}

/* Custom scrollbar for blocks */
.block .block-content::-webkit-scrollbar {
    width: 6px;
}

.block .block-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.block .block-content::-webkit-scrollbar-thumb {
    background: rgba(0, 120, 215, 0.5);
    border-radius: 3px;
}

.block .block-hash {
    font-size: 10px;
    font-family: monospace;
    word-break: break-all;
    background: rgba(0, 0, 0, 0.2);
    padding: 5px;
    border-radius: 4px;
    margin-top: 10px;
    color: #00adef;
}

.block .project-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #00adef;
}

.block .project-description {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.4;
    max-height: 100px;
    overflow-y: auto;
}

.block .technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
}

.block .technology {
    background: rgba(0, 120, 215, 0.3);
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
}

.add-block-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 280px;
    height: 280px;
    background: rgba(0, 120, 215, 0.1);
    border: 2px dashed rgba(0, 120, 215, 0.3);
    border-radius: 8px;
    color: #0078d7;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    flex: 0 0 280px;
}

.add-block-btn:hover {
    background: rgba(0, 120, 215, 0.2);
    transform: scale(1.02);
}

.add-block-btn i {
    margin-right: 10px;
    font-size: 20px;
}

.chain-link {
    margin: 0 -15px;
    width: 30px;
    height: 2px;
    background-color: #0078d7;
    position: relative;
    align-self: center;
    z-index: 1;
}

.chain-link::after {
    content: '\f0c1';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    color: #0078d7;
    background-color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@keyframes block-appear {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive adjustments for blockchain */
@media (max-width: 768px) {
    .blockchain {
        justify-content: center;
    }
    
    .block, .add-block-btn {
        width: 250px;
    }
}

/* Taskbar Icons */
.taskbar-icon {
    width: 40px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s;
}

.taskbar-icon:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.taskbar-icon i {
    font-size: 16px;
}

/* Wallpaper Settings */
.wallpaper-popup {
    position: absolute;
    bottom: 50px;
    right: 10px;
    width: 350px;
    background-color: #f0f0f0;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: none;
    overflow: hidden;
    animation: popup-appear 0.2s ease-out;
}

@keyframes popup-appear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wallpaper-popup-header {
    background: linear-gradient(to right, #0078d7, #00adef);
    padding: 10px 15px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wallpaper-popup-header h3 {
    margin: 0;
    font-size: 16px;
}

.wallpaper-close {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

.wallpaper-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 15px;
}

.wallpaper-option {
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s;
    border: 2px solid transparent;
}

.wallpaper-option:hover {
    transform: scale(1.05);
}

.wallpaper-option.active {
    border-color: #0078d7;
}

.wallpaper-option span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 12px;
    padding: 3px 0;
    text-align: center;
}

.wallpaper-custom {
    padding: 15px;
    border-top: 1px solid #ddd;
}

.wallpaper-custom p {
    margin: 0 0 10px 0;
    font-size: 14px;
}

.file-upload-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.wallpaper-file-input {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.file-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-upload-btn:hover {
    background-color: #e0e0e0;
}

.file-upload-btn i {
    font-size: 16px;
}

#selected-file-name {
    font-size: 12px;
    color: #555;
    margin-top: 4px;
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.wallpaper-custom .btn {
    padding: 8px 15px;
    font-size: 14px;
    width: 100%;
}

.wallpaper-custom .btn:disabled {
    background-color: #aaa;
    cursor: not-allowed;
}

/* Responsive adjustments for wallpaper settings */
@media (max-width: 480px) {
    .wallpaper-popup {
        width: 90%;
        right: 5%;
    }
    
    .wallpaper-options {
        grid-template-columns: 1fr;
    }
}

.technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tech-tag {
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.1) 0%, rgba(255, 0, 255, 0.1) 100%);
    color: #00ffff;
    font-size: 12px;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 12px;
    border: 1px solid #00ffff;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: linear-gradient(45deg, rgba(255, 0, 255, 0.2) 0%, rgba(0, 255, 255, 0.2) 100%);
    border-color: #ff00ff;
    box-shadow: 0 0 12px rgba(255, 0, 255, 0.5);
    transform: scale(1.1);
}

.contact-info {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.contact-info p {
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.contact-info i {
    width: 20px;
    color: #0078d7;
}

.social-links {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Certification Window */
.certification-item {
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 8px;
    background: linear-gradient(145deg, #0f1920 0%, #1a2530 50%, #0f1920 100%);
    border: 1px solid #00ffff;
    border-left: 4px solid #ff00ff;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.2), inset 0 1px 0 rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.certification-item:hover {
    border-color: #ff00ff;
    box-shadow: 0 6px 20px rgba(255, 0, 255, 0.3), inset 0 1px 0 rgba(255, 0, 255, 0.1);
    transform: translateY(-2px);
}

.certification-item h3 {
    margin-bottom: 12px;
    color: #00ffff;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
}

.cert-issuer {
    font-weight: 600;
    color: #ff00ff;
    margin-bottom: 6px;
    text-shadow: 0 0 5px rgba(255, 0, 255, 0.5);
}

.cert-date {
    color: #00ffff;
    font-size: 14px;
    margin-bottom: 12px;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.cert-description {
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 15px;
}

.cert-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background: linear-gradient(45deg, rgba(255, 0, 255, 0.1) 0%, rgba(0, 255, 255, 0.1) 100%);
    color: #ff00ff;
    font-size: 12px;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 12px;
    border: 1px solid #ff00ff;
    box-shadow: 0 0 8px rgba(255, 0, 255, 0.3);
    text-shadow: 0 0 5px rgba(255, 0, 255, 0.5);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.2) 0%, rgba(255, 0, 255, 0.2) 100%);
    border-color: #00ffff;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.5);
    transform: scale(1.1);
}

/* Wallpaper personalization styles */
.wallpaper-personalization {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 40px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
    pointer-events: none;
}

.personal-info-centered {
    text-align: center;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
}

.wallpaper-profile-picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.wallpaper-profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.welcome-message {
    margin-top: 20px;
    font-size: 16px;
    opacity: 0.9;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .wallpaper-personalization {
        bottom: 80px;
    }
    
    .wallpaper-personalization h1 {
        font-size: 1.5rem;
    }
    
    .wallpaper-personalization h2 {
        font-size: 1.2rem;
    }
}

/* Centered Wallpaper Personalization */
.wallpaper-personalization.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none; /* Allow clicking through the overlay */
    z-index: 0; /* Lower z-index to place behind desktop icons */
}

.personal-info-centered {
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 25px 40px;
    border-radius: 15px;
    backdrop-filter: blur(2px);
}

.wallpaper-profile-picture {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.wallpaper-profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.personal-info-centered h1 {
    font-size: 2.2rem;
    margin: 0 0 5px 0;
    font-weight: 500;
}

.personal-info-centered h2 {
    font-size: 1.7rem;
    margin: 0;
    font-weight: 400;
    opacity: 0.9;
}

.welcome-message {
    font-size: 1.1rem;
    margin-top: 15px;
    font-weight: 300;
    opacity: 0.9;
    max-width: 400px;
    line-height: 1.4;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 10px 15px;
    border-radius: 8px;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .personal-info-centered {
        padding: 20px 30px;
    }
    
    .wallpaper-profile-picture {
        width: 90px;
        height: 90px;
    }
    
    .personal-info-centered h1 {
        font-size: 1.7rem;
    }
    
    .personal-info-centered h2 {
        font-size: 1.4rem;
    }
    
    .welcome-message {
        font-size: 0.9rem;
        margin-top: 12px;
        padding: 8px 12px;
        max-width: 300px;
    }
}

/* Resize handles */
.window:not(.fullscreen) .resize-handle {
    position: absolute;
    z-index: 3;
}

.window:not(.fullscreen) .resize-handle.top {
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    cursor: n-resize;
}

.window:not(.fullscreen) .resize-handle.right {
    top: 0;
    right: 0;
    bottom: 0;
    width: 5px;
    cursor: e-resize;
}

.window:not(.fullscreen) .resize-handle.bottom {
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    cursor: s-resize;
}

.window:not(.fullscreen) .resize-handle.left {
    top: 0;
    left: 0;
    bottom: 0;
    width: 5px;
    cursor: w-resize;
}

.window:not(.fullscreen) .resize-handle.top-left {
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    cursor: nw-resize;
}

.window:not(.fullscreen) .resize-handle.top-right {
    top: 0;
    right: 0;
    width: 10px;
    height: 10px;
    cursor: ne-resize;
}

.window:not(.fullscreen) .resize-handle.bottom-right {
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    cursor: se-resize;
}

.window:not(.fullscreen) .resize-handle.bottom-left {
    bottom: 0;
    left: 0;
    width: 10px;
    height: 10px;
    cursor: sw-resize;
}

.icon.active {
    z-index: 3;
}

.icon.dragging {
    opacity: 0.8;
    transform: scale(1.08);
    z-index: 3;
    transition: transform 0.1s, opacity 0.2s;
    animation: icon-pulse 1s infinite alternate ease-in-out;
}

@keyframes icon-pulse {
    from { transform: scale(1.08); }
    to { transform: scale(1.12); }
}

/* Context Menu Styles */
.context-menu {
    position: fixed;
    z-index: 10000;
    background-color: #f0f0f0;
    border: 1px solid #c0c0c0;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    padding: 4px 0;
    min-width: 150px;
    display: none;
    user-select: none;
}

.context-menu-item {
    padding: 8px 12px;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    font-size: 14px;
}

.context-menu-item:hover {
    background-color: #0078d7;
    color: white;
}

.context-menu-item i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

/* Styles for text editor window */
.notepad-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.notepad-textarea {
    flex: 1;
    resize: none;
    border: none;
    padding: 8px;
    font-family: 'Consolas', monospace;
    font-size: 14px;
    outline: none;
}

.folder-content {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    gap: 15px;
}

.folder-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
    cursor: pointer;
}

.folder-item i {
    font-size: 32px;
    margin-bottom: 5px;
    color: #0078d7;
}

.folder-item-name {
    text-align: center;
    font-size: 12px;
    word-break: break-word;
}

/* Selection Box */
.selection-box {
    position: fixed;
    border: 2px solid #0078d7;
    background-color: rgba(0, 120, 215, 0.1);
    pointer-events: none;
    z-index: 1000;
    display: none;
    box-shadow: 0 0 10px rgba(0, 120, 215, 0.3);
    transform: translate(0, 0);
    will-change: transform;
} 