@import url("https://fonts.googleapis.com/css2?family=Segoe+UI:wght@300;400;500;600;700&display=swap");

      :root {
        --accent-color: #0078d4;
        --dark-bg: #202020;
        --darker-bg: #171717;
        --taskbar-height: 48px;
        --window-border-radius: 8px;
      }

      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
        user-select: none;
      }

      body {
        background-color: #000;
        color: #fff;
        overflow: hidden;
        height: 100vh;
        background-image: url("https://4kwallpapers.com/images/wallpapers/windows-11-dark-mode-stock-official-3840x2400-5630.jpg");
        background-size: cover;
        background-position: center;
      }

      /* Window styling */
      .window {
        position: absolute;
        background-color: rgba(32, 32, 32, 0.85);
        backdrop-filter: blur(20px);
        border-radius: var(--window-border-radius);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.1);
        overflow: hidden;
        transition: all 0.2s ease;
        min-width: 300px;
        min-height: 200px;
        z-index: 10;
      }

      .window-header {
        height: 32px;
        background-color: rgba(32, 32, 32, 0.7);
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 10px;
        cursor: move;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      }

      .window-title {
        font-size: 12px;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.9);
      }

      .window-controls {
        display: flex;
        gap: 8px;
      }

      .window-btn {
        width: 16px;
        height: 16px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
      }

      .window-btn:hover {
        opacity: 0.8;
      }

      .window-btn.minimize {
        background-color: #f9f900;
      }

      .window-btn.maximize {
        background-color: #00cc45;
      }

      .window-btn.close {
        background-color: #ff5c5c;
      }

      .window-content {
        height: calc(100% - 32px);
        overflow: hidden;
      }

      /* Taskbar styling */
      .taskbar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: var(--taskbar-height);
        background-color: rgba(32, 32, 32, 0.8);
        backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 100;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
      }

      .taskbar-icons {
        display: flex;
        align-items: center;
        gap: 8px;
        height: 100%;
      }

      .taskbar-icon {
        width: 24px;
        height: 24px;
        padding: 12px;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
        position: relative;
      }

      .taskbar-icon:hover {
        background-color: rgba(255, 255, 255, 0.1);
      }

      .taskbar-icon.active {
        background-color: rgba(255, 255, 255, 0.2);
      }

      .taskbar-icon.active::after {
        content: "";
        position: absolute;
        bottom: 4px;
        left: 50%;
        transform: translateX(-50%);
        width: 16px;
        height: 3px;
        background-color: #fff;
        border-radius: 3px;
      }

      .start-menu {
        position: fixed;
        bottom: calc(var(--taskbar-height) + 10px);
        left: 50%;
        transform: translateX(-50%);
        width: 600px;
        height: 650px;
        background-color: rgba(32, 32, 32, 0.95);
        backdrop-filter: blur(30px);
        border-radius: var(--window-border-radius);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        border: 1px solid rgba(255, 255, 255, 0.1);
        display: none;
        overflow: hidden;
        z-index: 90;
      }

      .start-menu-header {
        padding: 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      }

      .search-box {
        background-color: rgba(255, 255, 255, 0.05);
        border-radius: 4px;
        padding: 8px 12px;
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
        max-width: 300px;
      }

      .search-box input {
        background: transparent;
        border: none;
        color: #fff;
        outline: none;
        width: 100%;
      }

      .start-menu-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        height: calc(100% - 70px);
      }

      .pinned-apps,
      .recommended {
        padding: 20px;
      }

      .section-title {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 15px;
        color: rgba(255, 255, 255, 0.7);
      }

      .apps-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
      }

      .app-icon {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 10px;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.2s ease;
      }

      .app-icon:hover {
        background-color: rgba(255, 255, 255, 0.1);
      }

      .app-icon img {
        width: 32px;
        height: 32px;
      }

      .app-name {
        font-size: 12px;
        text-align: center;
        color: rgba(255, 255, 255, 0.9);
      }

      .user-profile {
        position: absolute;
        bottom: 20px;
        left: 20px;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 5px 10px;
        border-radius: 4px;
        cursor: pointer;
        transition: all 0.2s ease;
      }

      .user-profile:hover {
        background-color: rgba(255, 255, 255, 0.1);
      }

      .user-avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background-color: #0078d4;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-weight: 600;
      }

      .user-name {
        font-size: 14px;
        font-weight: 500;
      }

      /* Desktop icons */
      .desktop-icons {
        position: absolute;
        top: 20px;
        left: 20px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        z-index: 1;
      }

      .desktop-icon {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        width: 80px;
        cursor: pointer;
      }

      .desktop-icon:hover .desktop-icon-name {
        background-color: rgba(0, 120, 212, 0.3);
      }

      .desktop-icon-img {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .desktop-icon-name {
        font-size: 12px;
        color: #fff;
        text-align: center;
        padding: 2px 8px;
        border-radius: 4px;
      }

      /* Context menu */
      .context-menu {
        position: absolute;
        background-color: rgba(32, 32, 32, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 6px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 5px 0;
        min-width: 200px;
        z-index: 200;
        display: none;
      }

      .context-menu-item {
        padding: 8px 15px;
        font-size: 13px;
        color: rgba(255, 255, 255, 0.9);
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 10px;
      }

      .context-menu-item:hover {
        background-color: rgba(0, 120, 212, 0.3);
      }

      .context-menu-separator {
        height: 1px;
        background-color: rgba(255, 255, 255, 0.1);
        margin: 5px 0;
      }

      /* File Explorer */
      .file-explorer {
        display: none;
      }

      .explorer-nav {
        display: flex;
        align-items: center;
        padding: 10px 20px;
        gap: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      }

      .explorer-nav-buttons {
        display: flex;
        align-items: center;
        gap: 5px;
      }

      .explorer-nav-button {
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 4px;
        cursor: pointer;
      }

      .explorer-nav-button:hover {
        background-color: rgba(255, 255, 255, 0.1);
      }

      .explorer-address-bar {
        flex: 1;
        background-color: rgba(255, 255, 255, 0.05);
        border-radius: 4px;
        padding: 5px 10px;
        font-size: 12px;
        display: flex;
        align-items: center;
        gap: 5px;
      }

      .explorer-content {
        display: grid;
        grid-template-columns: 200px 1fr;
        height: calc(100% - 51px);
      }

      .explorer-sidebar {
        background-color: rgba(32, 32, 32, 0.7);
        border-right: 1px solid rgba(255, 255, 255, 0.05);
        padding: 15px 0;
      }

      .explorer-sidebar-item {
        padding: 8px 20px;
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
      }

      .explorer-sidebar-item:hover {
        background-color: rgba(255, 255, 255, 0.1);
      }

      .explorer-sidebar-item.active {
        background-color: rgba(0, 120, 212, 0.3);
      }

      .explorer-main {
        padding: 20px;
        overflow-y: auto;
      }

      .explorer-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 20px;
      }

      .explorer-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 10px;
        border-radius: 6px;
        cursor: pointer;
      }

      .explorer-item:hover {
        background-color: rgba(255, 255, 255, 0.1);
      }

      .explorer-item-icon {
        width: 40px;
        height: 40px;
      }

      .explorer-item-name {
        font-size: 12px;
        text-align: center;
        word-break: break-word;
      }

      /* About Me Window */
      .about-me {
        display: none;
      }

      .about-content {
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 20px;
      }

      .about-header {
        display: flex;
        align-items: center;
        gap: 20px;
      }

      .about-avatar {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background-color: #0078d4;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 32px;
        font-weight: 600;
      }

      .about-info h2 {
        font-size: 24px;
        margin-bottom: 5px;
      }

      .about-info p {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.7);
      }

      .about-section {
        margin-top: 10px;
      }

      .about-section h3 {
        font-size: 16px;
        margin-bottom: 10px;
        color: var(--accent-color);
      }

      .about-section p {
        font-size: 14px;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.8);
      }

      .skills-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        margin-top: 10px;
      }

      .skill-item {
        background-color: rgba(255, 255, 255, 0.05);
        padding: 10px;
        border-radius: 4px;
        display: flex;
        align-items: center;
        gap: 10px;
      }

      .skill-icon {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      /* Projects Window */
      .projects {
        display: none;
      }

      .projects-content {
        padding: 20px;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
        overflow-y: auto;
        height: calc(100% - 32px);
      }

      .project-card {
        background-color: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        overflow: hidden;
        transition: all 0.3s ease;
      }

      .project-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
      }

      .project-image {
        height: 150px;
        background-color: rgba(0, 120, 212, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 40px;
        color: rgba(255, 255, 255, 0.3);
      }

      .project-details {
        padding: 15px;
      }

      .project-title {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 8px;
      }

      .project-description {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.7);
        margin-bottom: 15px;
        line-height: 1.5;
      }

      .project-tech {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 15px;
      }

      .tech-tag {
        background-color: rgba(0, 120, 212, 0.2);
        padding: 3px 8px;
        border-radius: 4px;
        font-size: 11px;
      }

      .project-links {
        display: flex;
        gap: 10px;
      }

      .project-link {
        background-color: rgba(0, 120, 212, 0.3);
        padding: 6px 12px;
        border-radius: 4px;
        font-size: 12px;
        display: flex;
        align-items: center;
        gap: 5px;
        cursor: pointer;
        transition: all 0.2s ease;
      }

      .project-link:hover {
        background-color: rgba(0, 120, 212, 0.5);
      }

      /* Contact Window */
      .contact {
        display: none;
      }

      .contact-content {
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        height: calc(100% - 32px);
      }

      .contact-form {
        display: flex;
        flex-direction: column;
        gap: 15px;
      }

      .form-group {
        display: flex;
        flex-direction: column;
        gap: 5px;
      }

      .form-group label {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.8);
      }

      .form-group input,
      .form-group textarea {
        background-color: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 4px;
        padding: 8px 12px;
        color: #fff;
        outline: none;
        transition: all 0.2s ease;
      }

      .form-group input:focus,
      .form-group textarea:focus {
        border-color: var(--accent-color);
      }

      .form-group textarea {
        resize: vertical;
        min-height: 100px;
      }

      .submit-btn {
        background-color: var(--accent-color);
        color: #fff;
        border: none;
        border-radius: 4px;
        padding: 10px;
        cursor: pointer;
        transition: all 0.2s ease;
        font-weight: 500;
      }

      .submit-btn:hover {
        background-color: #006cbe;
      }

      .contact-info {
        margin-top: 20px;
      }

      .contact-method {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 15px;
      }

      .contact-icon {
        width: 36px;
        height: 36px;
        background-color: rgba(0, 120, 212, 0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .contact-details h4 {
        font-size: 14px;
        margin-bottom: 3px;
      }

      .contact-details p {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.7);
      }

      /* Notification */
      .notification {
        position: fixed;
        bottom: calc(var(--taskbar-height) + 20px);
        right: 20px;
        background-color: rgba(32, 32, 32, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 6px;
        padding: 15px;
        max-width: 300px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.1);
        transform: translateY(100px);
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 1000;
      }

      .notification.show {
        transform: translateY(0);
        opacity: 1;
      }

      .notification-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 10px;
      }

      .notification-title {
        font-size: 14px;
        font-weight: 600;
      }

      .notification-close {
        cursor: pointer;
        opacity: 0.7;
      }

      .notification-close:hover {
        opacity: 1;
      }

      .notification-message {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.8);
      }

      /* Maximized window state */
      .window.maximized {
        width: 100% !important;
        height: calc(100% - var(--taskbar-height)) !important;
        top: 0 !important;
        left: 0 !important;
        border-radius: 0;
      }

      /* Focused window */
      .window.focused {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5),
          0 0 0 1px var(--accent-color);
        z-index: 20;
      }

      /* Dragging state */
      .window.dragging {
        opacity: 0.9;
      }

      /* Resizing state */
      .window.resizing {
        transition: none;
      }

      /* Resize handles */
      .resize-handle {
        position: absolute;
        background: transparent;
        z-index: 10;
      }

      .resize-handle-e {
        cursor: e-resize;
        width: 5px;
        right: 0;
        top: 0;
        bottom: 0;
      }

      .resize-handle-s {
        cursor: s-resize;
        height: 5px;
        bottom: 0;
        left: 0;
        right: 0;
      }

      .resize-handle-se {
        cursor: se-resize;
        width: 10px;
        height: 10px;
        right: 0;
        bottom: 0;
      }