/* ============================
   MeryemOS — Retro Desktop Portfolio
   ============================ */

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a0a1a;
    --bg-desktop: #1a1a2e;
    --bg-window: #16213e;
    --bg-titlebar: #0f3460;
    --border-main: #2a2a4a;
    --text-primary: #e8e8f0;
    --text-secondary: #a0a0c0;
    --accent-teal: #00d4aa;
    --accent-pink: #ff6b9d;
    --accent-yellow: #ffd93d;
    --accent-purple: #a855f7;
    --accent-blue: #3b82f6;
    --font-pixel: 'Press Start 2P', monospace;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --window-radius: 12px;
    --border-thick: 3px solid #2a2a4a;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    cursor: default;
    -webkit-font-smoothing: antialiased;
}

.hidden {
    display: none !important;
}

/* ============================
   BOOT SCREEN
   ============================ */
#boot-screen {
    position: fixed;
    inset: 0;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: bootFadeOut 0.5s ease 3.5s forwards;
}

.boot-content {
    text-align: center;
}

.pixel-computer {
    width: 80px;
    height: 70px;
    margin: 0 auto 20px;
    position: relative;
}

.pc-screen {
    width: 60px;
    height: 44px;
    background: #111;
    border: 4px solid #444;
    border-radius: 4px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    animation: screenFlicker 0.3s ease 1s forwards;
}

.pc-screen::after {
    content: '>_';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-pixel);
    font-size: 10px;
    color: var(--accent-teal);
    opacity: 0;
    animation: showCursor 0.3s ease 1.2s forwards;
}

.pc-scanline {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 212, 170, 0.03) 2px,
            rgba(0, 212, 170, 0.03) 4px);
}

.pc-base {
    width: 70px;
    height: 8px;
    background: #444;
    border-radius: 0 0 4px 4px;
    margin: 0 auto;
}

.boot-text {
    font-family: var(--font-pixel);
    color: var(--accent-teal);
    font-size: 14px;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeIn 0.3s ease 1.5s forwards;
}

.boot-progress {
    width: 240px;
    height: 12px;
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 2px;
    margin: 0 auto 16px;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 0.3s ease 1.8s forwards;
}

.boot-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-blue));
    animation: bootLoad 1.5s ease 2s forwards;
}

.boot-loading {
    font-family: var(--font-pixel);
    font-size: 8px;
    color: #666;
    opacity: 0;
    animation: fadeIn 0.3s ease 1.8s forwards;
}

@keyframes bootFadeOut {
    to {
        opacity: 0;
        pointer-events: none;
    }
}

@keyframes screenFlicker {
    0% {
        background: #111;
    }

    50% {
        background: #0a2a1a;
    }

    100% {
        background: #0a1a0a;
    }
}

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

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

@keyframes bootLoad {
    to {
        width: 100%;
    }
}

/* ============================
   DESKTOP
   ============================ */
#desktop {
    position: fixed;
    inset: 0;
    overflow: hidden;
    opacity: 0;
    animation: desktopShow 0.6s ease 4s forwards;
}

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

.wallpaper {
    position: absolute;
    inset: 0;
    background-color: #f5f4ef;
    background-image: url('meryem-bg.jpeg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.wallpaper::before {
    display: none;
}

/* CRT Scanline Effect */
.crt-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.03) 2px,
            rgba(0, 0, 0, 0.03) 4px);
}

/* ============================
   DESKTOP ICONS
   ============================ */
#desktop-icons {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}

#desktop-icons-right {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}

.desktop-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    padding: 10px 4px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    border: 2px solid transparent;
}

.desktop-icon:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.desktop-icon:active {
    transform: scale(0.95);
}

.desktop-icon.selected {
    background: rgba(0, 212, 170, 0.12);
    border-color: rgba(0, 212, 170, 0.3);
}

.icon-image {
    width: 52px;
    height: 52px;
    margin-bottom: 6px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.2s ease;
}

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

.pixel-icon {
    width: 100%;
    height: 100%;
}

.icon-label {
    font-family: var(--font-pixel);
    font-size: 7px;
    color: #1a1a2e;
    font-weight: bold;
    text-align: center;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.7), -1px -1px 0px rgba(255, 255, 255, 0.7), 1px -1px 0px rgba(255, 255, 255, 0.7), -1px 1px 0px rgba(255, 255, 255, 0.7);
    line-height: 1.3;
    word-break: break-word;
}

/* ============================
   WINDOWS
   ============================ */
.window {
    position: absolute;
    min-width: 380px;
    min-height: 300px;
    width: 560px;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 80px);
    background: var(--bg-window);
    border: 3px solid var(--border-main);
    border-radius: var(--window-radius);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 100;
    transition: box-shadow 0.2s ease;
}

.window.active {
    box-shadow:
        0 12px 48px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 0 30px rgba(0, 212, 170, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.window.opening {
    display: flex;
    animation: windowOpen 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.window.open {
    display: flex;
}

.window.closing {
    display: flex;
    animation: windowClose 0.25s ease forwards;
}

@keyframes windowOpen {
    0% {
        opacity: 0;
        transform: scale(0.7) translateY(30px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes windowClose {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
}

/* Title Bar */
.window-titlebar {
    display: flex;
    align-items: center;
    padding: 0 14px;
    height: 42px;
    min-height: 42px;
    background: var(--bg-titlebar);
    border-bottom: 2px solid var(--border-main);
    cursor: grab;
    user-select: none;
    position: relative;
}

.window-titlebar:active {
    cursor: grabbing;
}

.window-titlebar[data-color="pink"] {
    background: linear-gradient(135deg, #4a1942, #2a1a3e);
}

.window-titlebar[data-color="teal"] {
    background: linear-gradient(135deg, #0a3a32, #1a2a3e);
}

.window-titlebar[data-color="yellow"] {
    background: linear-gradient(135deg, #3a3210, #2e2a1a);
}

.window-titlebar[data-color="purple"] {
    background: linear-gradient(135deg, #2a1a4e, #1a1a3e);
}

.window-titlebar[data-color="blue"] {
    background: linear-gradient(135deg, #1a2a4e, #1a1a3e);
}

.titlebar-left {
    display: flex;
    gap: 7px;
    align-items: center;
}

.window-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    cursor: pointer;
    border: 1.5px solid rgba(0, 0, 0, 0.2);
    transition: all 0.15s ease;
}

.dot-close {
    background: #ff5f57;
}

.dot-close:hover {
    background: #ff3b30;
    transform: scale(1.2);
}

.dot-minimize {
    background: #febc2e;
}

.dot-minimize:hover {
    background: #f5a623;
    transform: scale(1.2);
}

.dot-maximize {
    background: #28c840;
}

.dot-maximize:hover {
    background: #1db954;
    transform: scale(1.2);
}

.window-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-pixel);
    font-size: 9px;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

/* Window Content */
.window-content {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-teal) var(--bg-dark);
}

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

.window-content::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

.window-content::-webkit-scrollbar-thumb {
    background: var(--accent-teal);
    border-radius: 4px;
}

/* ============================
   SECTION TITLES
   ============================ */
.section-title {
    font-family: var(--font-pixel);
    font-size: 12px;
    color: var(--accent-teal);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px dashed var(--border-main);
}

/* ============================
   ABOUT WINDOW
   ============================ */
.about-hero {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
}

.avatar-frame {
    width: 90px;
    height: 90px;
    border-radius: 16px;
    border: 3px solid var(--accent-pink);
    padding: 3px;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
    box-shadow: 0 0 20px rgba(255, 107, 157, 0.2);
    flex-shrink: 0;
    overflow: hidden;
}

.avatar-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: linear-gradient(135deg, #1a1a2e, #2a1a3e);
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-placeholder span {
    font-family: var(--font-pixel);
    font-size: 28px;
    color: var(--accent-pink);
    text-shadow: 0 0 10px rgba(255, 107, 157, 0.5);
}

.status-badge {
    font-family: var(--font-pixel);
    font-size: 7px;
    color: var(--accent-teal);
    text-align: center;
    margin-top: 6px;
}

.about-intro h1 {
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 4px;
}

.highlight-name {
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-title {
    font-family: var(--font-pixel);
    font-size: 9px;
    color: var(--accent-teal);
    margin-bottom: 10px;
}

.about-slogan {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 14px;
    border-left: 3px solid var(--accent-yellow);
    padding-left: 12px;
}

.about-divider {
    text-align: center;
    color: var(--accent-yellow);
    font-size: 10px;
    margin: 20px 0;
    letter-spacing: 8px;
}

/* Terminal Block */
.terminal-block {
    background: #0a0a12;
    border: 2px solid var(--border-main);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.7;
}

.terminal-header {
    margin-bottom: 10px;
}

.terminal-prompt {
    font-family: var(--font-pixel);
    font-size: 8px;
    color: var(--accent-teal);
}

.cursor-blink {
    font-family: var(--font-pixel);
    font-size: 10px;
    color: var(--accent-teal);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.terminal-block p {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.terminal-block strong {
    color: var(--accent-pink);
}

/* About Subtitle Tags */
.about-subtitle-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.subtitle-tag {
    font-family: var(--font-pixel);
    font-size: 6px;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1.5px solid var(--border-main);
}

.subtitle-tag[data-color="teal"] {
    border-color: rgba(0, 212, 170, 0.4);
    color: var(--accent-teal);
    background: rgba(0, 212, 170, 0.08);
}

.subtitle-tag[data-color="purple"] {
    border-color: rgba(168, 85, 247, 0.4);
    color: var(--accent-purple);
    background: rgba(168, 85, 247, 0.08);
}

/* Stat Cards */
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--border-main);
    border-radius: 10px;
    padding: 14px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-teal);
    background: rgba(0, 212, 170, 0.05);
}

.stat-card[data-color="teal"]:hover {
    border-color: var(--accent-teal);
}

.stat-card[data-color="purple"]:hover {
    border-color: var(--accent-purple);
}

.stat-card[data-color="pink"]:hover {
    border-color: var(--accent-pink);
}

.stat-card[data-color="yellow"]:hover {
    border-color: var(--accent-yellow);
}

.stat-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-family: var(--font-pixel);
    font-size: 6px;
    color: var(--text-secondary);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ============================
   SKILLS WINDOW
   ============================ */
.skills-category {
    margin-bottom: 24px;
}

.category-title {
    font-family: var(--font-pixel);
    font-size: 9px;
    color: var(--accent-yellow);
    margin-bottom: 14px;
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.skill-item {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 10px 14px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.skill-name {
    font-weight: 600;
    font-size: 14px;
}

.skill-level {
    font-family: var(--font-pixel);
    font-size: 7px;
    color: var(--text-secondary);
}

.skill-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-main);
}

.skill-fill {
    height: 100%;
    width: 0%;
    background: var(--bar-color, var(--accent-teal));
    border-radius: 6px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.skill-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Tool Tags */
.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tool-tag {
    font-family: var(--font-pixel);
    font-size: 7px;
    padding: 6px 12px;
    border-radius: 6px;
    border: 2px solid var(--border-main);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    transition: all 0.2s ease;
    cursor: default;
}

.tool-tag:hover {
    transform: translateY(-2px);
}

.tool-tag[data-color="teal"] {
    border-color: rgba(0, 212, 170, 0.4);
    color: var(--accent-teal);
}

.tool-tag[data-color="teal"]:hover {
    background: rgba(0, 212, 170, 0.1);
}

.tool-tag[data-color="pink"] {
    border-color: rgba(255, 107, 157, 0.4);
    color: var(--accent-pink);
}

.tool-tag[data-color="pink"]:hover {
    background: rgba(255, 107, 157, 0.1);
}

.tool-tag[data-color="yellow"] {
    border-color: rgba(255, 217, 61, 0.4);
    color: var(--accent-yellow);
}

.tool-tag[data-color="yellow"]:hover {
    background: rgba(255, 217, 61, 0.1);
}

.tool-tag[data-color="purple"] {
    border-color: rgba(168, 85, 247, 0.4);
    color: var(--accent-purple);
}

.tool-tag[data-color="purple"]:hover {
    background: rgba(168, 85, 247, 0.1);
}

.tool-tag[data-color="blue"] {
    border-color: rgba(59, 130, 246, 0.4);
    color: var(--accent-blue);
}

.tool-tag[data-color="blue"]:hover {
    background: rgba(59, 130, 246, 0.1);
}

/* ============================
   CAREER TIMELINE
   ============================ */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent-pink), var(--accent-teal), var(--accent-yellow));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 24px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -26px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid var(--bg-window);
    z-index: 1;
}

.timeline-marker[data-color="pink"] {
    background: var(--accent-pink);
    box-shadow: 0 0 10px rgba(255, 107, 157, 0.4);
}

.timeline-marker[data-color="teal"] {
    background: var(--accent-teal);
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.4);
}

.timeline-marker[data-color="yellow"] {
    background: var(--accent-yellow);
    box-shadow: 0 0 10px rgba(255, 217, 61, 0.4);
}

.timeline-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--border-main);
    border-radius: 10px;
    padding: 16px;
    transition: all 0.3s ease;
}

.timeline-card:hover {
    border-color: var(--accent-teal);
    background: rgba(0, 212, 170, 0.03);
    transform: translateX(4px);
}

.timeline-date {
    font-family: var(--font-pixel);
    font-size: 7px;
    color: var(--accent-teal);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.timeline-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.timeline-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 10px;
}

.timeline-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.timeline-tags span {
    font-family: var(--font-pixel);
    font-size: 6px;
    padding: 4px 8px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: 4px;
    color: var(--accent-teal);
}

/* ============================
   PROJECTS
   ============================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--border-main);
    border-radius: 10px;
    padding: 18px;
    transition: all 0.3s ease;
    cursor: default;
}

.project-card:hover {
    transform: translateY(-4px);
}

.project-card[data-color="teal"]:hover {
    border-color: var(--accent-teal);
    box-shadow: 0 8px 25px rgba(0, 212, 170, 0.1);
}

.project-card[data-color="pink"]:hover {
    border-color: var(--accent-pink);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.1);
}

.project-card[data-color="yellow"]:hover {
    border-color: var(--accent-yellow);
    box-shadow: 0 8px 25px rgba(255, 217, 61, 0.1);
}

.project-card[data-color="purple"]:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.1);
}

.project-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.project-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.project-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.project-tech {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.project-tech span {
    font-family: var(--font-pixel);
    font-size: 6px;
    padding: 3px 8px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 4px;
    color: var(--accent-purple);
}

/* ============================
   CONTACT / MAIL CLIENT
   ============================ */
.mail-client {
    border: 2px solid var(--border-main);
    border-radius: 10px;
    overflow: hidden;
}

.mail-toolbar {
    display: flex;
    gap: 2px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid var(--border-main);
}

.mail-btn {
    font-family: var(--font-pixel);
    font-size: 7px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-main);
    border-radius: 4px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mail-btn.active,
.mail-btn:hover {
    background: rgba(0, 212, 170, 0.1);
    border-color: var(--accent-teal);
    color: var(--accent-teal);
}

.mail-compose {
    padding: 16px;
}

.mail-field {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mail-field label {
    font-family: var(--font-pixel);
    font-size: 7px;
    color: var(--text-secondary);
    min-width: 60px;
}

.mail-field input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 13px;
    padding: 4px 0;
}

.mail-field input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.mail-readonly {
    color: var(--accent-teal) !important;
}

.mail-body-field {
    padding: 12px 0;
}

.mail-body-field label {
    display: block;
    font-family: var(--font-pixel);
    font-size: 7px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.mail-body-field textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid var(--border-main);
    border-radius: 6px;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 13px;
    padding: 10px;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.2s ease;
}

.mail-body-field textarea:focus {
    border-color: var(--accent-teal);
}

.mail-body-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.mail-actions {
    display: flex;
    gap: 10px;
    padding-top: 12px;
}

.btn-send {
    font-family: var(--font-pixel);
    font-size: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--accent-teal), #00b894);
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    color: #0a0a1a;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.4);
}

.btn-discard {
    font-family: var(--font-pixel);
    font-size: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 2px solid var(--border-main);
    border-radius: 6px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-discard:hover {
    border-color: #ff5f57;
    color: #ff5f57;
}

.mail-sent-message {
    text-align: center;
    padding: 30px;
}

.success-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.mail-sent-message p {
    font-family: var(--font-pixel);
    font-size: 10px;
    color: var(--accent-teal);
    margin-bottom: 8px;
}

.success-sub {
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    color: var(--text-secondary) !important;
}

/* Social Links */
.social-links {
    padding: 16px;
    border-top: 2px solid var(--border-main);
    margin-top: 16px;
}

.social-links h3 {
    font-family: var(--font-pixel);
    font-size: 8px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.social-grid {
    display: flex;
    gap: 10px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--border-main);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 12px;
    transition: all 0.2s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
}

.social-btn[data-color="blue"]:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.social-btn[data-color="dark"]:hover {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
}

.social-btn[data-color="pink"]:hover {
    border-color: var(--accent-pink);
    color: var(--accent-pink);
}

.social-icon {
    font-family: var(--font-pixel);
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
}

/* ============================
   CONTACT INFO GRID
   ============================ */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--border-main);
    border-radius: 10px;
    padding: 12px;
    transition: all 0.2s ease;
}

.contact-card:hover {
    border-color: var(--accent-teal);
    background: rgba(0, 212, 170, 0.04);
}

.contact-icon {
    font-size: 20px;
}

.contact-label {
    display: block;
    font-family: var(--font-pixel);
    font-size: 6px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.contact-value {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary);
}

.contact-link {
    text-decoration: none;
    color: var(--accent-teal);
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: var(--accent-pink);
}

/* ============================
   REFERENCES
   ============================ */
.references-section {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 2px solid var(--border-main);
}

.ref-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ref-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--border-main);
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.2s ease;
}

.ref-card:hover {
    border-color: var(--accent-purple);
}

.ref-name {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.ref-org {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.ref-email {
    font-family: var(--font-pixel);
    font-size: 7px;
    color: var(--accent-teal);
    text-decoration: none;
}

.ref-email:hover {
    color: var(--accent-pink);
}

/* ============================
   EDUCATION
   ============================ */
.education-section {
    margin-bottom: 8px;
}

.education-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--border-main);
    border-radius: 10px;
    padding: 18px;
    transition: all 0.3s ease;
}

.education-card:hover {
    border-color: var(--accent-purple);
    background: rgba(168, 85, 247, 0.04);
}

.edu-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.edu-info h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.edu-degree {
    font-size: 13px;
    color: var(--accent-purple);
    margin-bottom: 6px;
}

.edu-location {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.edu-date {
    font-family: var(--font-pixel);
    font-size: 7px;
    color: var(--accent-teal);
}

/* Training Cards */
.training-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.training-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--border-main);
    border-radius: 10px;
    padding: 18px;
    transition: all 0.3s ease;
}

.training-card:hover {
    transform: translateX(4px);
}

.training-card[data-color="teal"]:hover {
    border-color: var(--accent-teal);
}

.training-card[data-color="pink"]:hover {
    border-color: var(--accent-pink);
}

.training-badge {
    font-family: var(--font-pixel);
    font-size: 10px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.15), rgba(168, 85, 247, 0.15));
    border: 2px solid var(--border-main);
    color: var(--accent-teal);
    flex-shrink: 0;
}

.training-info h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.training-org {
    font-family: var(--font-pixel);
    font-size: 7px;
    color: var(--accent-pink);
    margin-bottom: 4px;
}

.training-date {
    font-family: var(--font-pixel);
    font-size: 7px;
    color: var(--accent-teal);
    margin-bottom: 8px;
}

.training-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================
   TIMELINE COMPANY
   ============================ */
.timeline-company {
    font-family: var(--font-pixel);
    font-size: 7px;
    color: var(--accent-pink);
    margin-bottom: 8px;
}

/* ============================
   VOLUNTEERING
   ============================ */
.volunteer-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--border-main);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.volunteer-card:hover {
    border-color: var(--accent-pink);
    background: rgba(255, 107, 157, 0.04);
}

.volunteer-header {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
}

.volunteer-icon {
    font-size: 36px;
}

.volunteer-header h3 {
    font-size: 16px;
    font-weight: 700;
}

.volunteer-org {
    font-family: var(--font-pixel);
    font-size: 7px;
    color: var(--accent-pink);
    display: block;
    margin-top: 2px;
}

.volunteer-date {
    font-family: var(--font-pixel);
    font-size: 7px;
    color: var(--accent-teal);
    display: block;
    margin-top: 2px;
}

.volunteer-body {
    margin-bottom: 14px;
}

.volunteer-body p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
}

.volunteer-body strong {
    color: var(--accent-pink);
}

.volunteer-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.volunteer-tags span {
    font-family: var(--font-pixel);
    font-size: 6px;
    padding: 4px 8px;
    background: rgba(255, 107, 157, 0.1);
    border: 1px solid rgba(255, 107, 157, 0.3);
    border-radius: 4px;
    color: var(--accent-pink);
}

/* ============================
   TASKBAR
   ============================ */
#taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 44px;
    background: linear-gradient(180deg, #1e1e3a 0%, #12122a 100%);
    border-top: 2px solid var(--border-main);
    display: flex;
    align-items: center;
    padding: 0 6px;
    z-index: 9000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

#start-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: linear-gradient(135deg, var(--accent-teal), #00b894);
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    color: #0a0a1a;
    font-family: var(--font-pixel);
    font-size: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 32px;
}

#start-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(0, 212, 170, 0.4);
}

#start-button:active {
    transform: scale(0.97);
}

.start-icon {
    font-size: 12px;
}

.taskbar-divider {
    width: 2px;
    height: 26px;
    background: var(--border-main);
    margin: 0 8px;
    border-radius: 1px;
}

#taskbar-items {
    display: flex;
    gap: 4px;
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}

#taskbar-items::-webkit-scrollbar {
    display: none;
}

.taskbar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid var(--border-main);
    border-radius: 5px;
    color: var(--text-secondary);
    font-family: var(--font-pixel);
    font-size: 7px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
    height: 28px;
    min-width: fit-content;
}

.taskbar-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.taskbar-item.active {
    background: rgba(0, 212, 170, 0.15);
    border-color: var(--accent-teal);
    color: var(--accent-teal);
}

.taskbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.system-tray {
    display: flex;
    gap: 6px;
    padding: 0 6px;
    font-size: 12px;
}

.tray-icon {
    cursor: default;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.tray-icon:hover {
    opacity: 1;
}

.taskbar-clock {
    font-family: var(--font-pixel);
    font-size: 8px;
    color: var(--text-secondary);
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-main);
    border-radius: 4px;
    min-width: 60px;
    text-align: center;
}

/* ============================
   START MENU
   ============================ */
#start-menu {
    position: fixed;
    bottom: 50px;
    left: 6px;
    width: 240px;
    background: linear-gradient(180deg, #1e1e3a 0%, #14142a 100%);
    border: 2px solid var(--border-main);
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    z-index: 9500;
    overflow: hidden;
    animation: startMenuOpen 0.2s ease;
}

@keyframes startMenuOpen {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.start-menu-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), rgba(168, 85, 247, 0.1));
    border-bottom: 1px solid var(--border-main);
}

.start-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-pixel);
    font-size: 14px;
    color: white;
}

.start-user-name {
    font-weight: 700;
    font-size: 14px;
    display: block;
}

.start-user-role {
    font-family: var(--font-pixel);
    font-size: 6px;
    color: var(--accent-teal);
    display: block;
}

.start-menu-divider {
    height: 1px;
    background: var(--border-main);
}

.start-menu-items {
    padding: 6px;
}

.start-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 13px;
}

.start-menu-item:hover {
    background: rgba(0, 212, 170, 0.1);
    color: var(--accent-teal);
}

.start-item-icon {
    font-size: 16px;
}

.start-menu-footer {
    padding: 10px 14px;
    text-align: center;
}

.start-menu-footer span {
    font-family: var(--font-pixel);
    font-size: 6px;
    color: rgba(255, 255, 255, 0.2);
}

/* ============================
   RESPONSIVE DESIGN
   ============================ */
@media (max-width: 768px) {
    #desktop-icons, #desktop-icons-right {
        position: relative;
        top: 10px;
        left: 0;
        right: 0;
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        z-index: 10;
    }

    #desktop-icons-right {
        top: 0;
        margin-top: -5px;
    }

    .desktop-icon {
        width: 70px;
        padding: 6px 4px;
    }

    .icon-image {
        width: 40px;
        height: 40px;
    }

    .icon-label {
        font-size: 6px;
    }

    .window {
        position: fixed !important;
        top: 80px !important;
        left: 5px !important;
        right: 5px !important;
        width: auto !important;
        min-width: unset !important;
        max-height: calc(100vh - 130px) !important;
        height: auto !important;
    }

    .about-hero {
        flex-direction: column;
        text-align: center;
    }

    .about-slogan {
        border-left: none;
        padding-left: 0;
        text-align: center;
        border-top: 3px solid var(--accent-yellow);
        padding-top: 10px;
    }

    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .training-card {
        flex-direction: column;
    }

    .social-grid {
        flex-direction: column;
    }

    .mail-field {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .mail-field input {
        width: 100%;
    }

    .start-text {
        display: none;
    }

    #start-button {
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .about-intro h1 {
        font-size: 18px;
    }

    .about-title {
        font-size: 8px;
    }

    .section-title {
        font-size: 10px;
    }

    .window-title {
        font-size: 7px;
    }

    .window-content {
        padding: 16px;
    }

    #taskbar {
        height: 40px;
    }

    .taskbar-clock {
        font-size: 7px;
    }
}

/* ============================
   UTILITY ANIMATIONS
   ============================ */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(0, 212, 170, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(0, 212, 170, 0.4);
    }
}

/* Selection */
::selection {
    background: var(--accent-teal);
    color: var(--bg-dark);
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid var(--accent-teal);
    outline-offset: 2px;
}

/* ============================
   GAMES WINDOW & GRID
   ============================ */
.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 10px;
}

.desktop-icon-game {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid transparent;
}

.desktop-icon-game:hover {
    background: rgba(0, 212, 170, 0.1);
    border-color: rgba(0, 212, 170, 0.3);
    transform: translateY(-4px);
}

.desktop-icon-game .icon-image {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
}

.desktop-icon-game .icon-label {
    font-size: 8px;
    color: var(--text-primary);
    text-shadow: none;
    font-family: var(--font-pixel);
    text-align: center;
}

/* ============================
   GAME INTERFACES
   ============================ */
.game-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #000 !important;
    padding: 20px !important;
    min-height: 500px;
}

.game-header {
    width: 100%;
    max-width: 400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-family: var(--font-pixel);
    font-size: 10px;
    color: var(--accent-teal);
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid var(--border-main);
}

.game-hint {
    font-size: 7px;
    color: var(--text-secondary);
}

.canvas-container {
    border: 4px solid var(--border-main);
    box-shadow: 0 0 30px rgba(0, 212, 170, 0.15);
    background: #111;
    line-height: 0;
}

#snake-canvas, #tetris-canvas {
    background: #111;
    display: block;
}

/* Sudoku Specific */
.sudoku-container {
    background: #fff;
    padding: 6px;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
}

.sudoku-grid {
    display: grid;
    grid-template-columns: repeat(9, 40px);
    grid-template-rows: repeat(9, 40px);
    gap: 1px;
    background: #333;
    border: 2px solid #333;
}

.sudoku-grid input {
    width: 40px;
    height: 40px;
    border-radius: 0;
    font-weight: 600;
}

/* mobile adjustments for games */
@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sudoku-grid {
        grid-template-columns: repeat(9, 30px);
        grid-template-rows: repeat(9, 30px);
    }
    
    .sudoku-grid input {
        width: 30px;
        height: 30px;
        font-size: 14px !important;
    }
    
    #snake-canvas {
        width: 300px;
        height: 300px;
    }
    
    #tetris-canvas {
        width: 180px;
        height: 300px;
    }
}