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

:root {
    --powder-blue: #B8D4E8;
    --powder-blue-light: #D4E6F1;
    --burgundy: #6B2D3C;
    --burgundy-light: #8B3D4C;
    --cream: #FAF8F5;
    --cream-dark: #F0EDE8;
    --text: #1A1A1A;
    --text-light: #6B6B6B;
    --font-display: 'Syne', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
    --window-radius: 12px;
    --shadow: 0 25px 50px -12px rgba(107, 45, 60, 0.25);
    --desktop-bg: linear-gradient(135deg, #B8D4E8 0%, #C5DCF0 25%, #B8D4E8 50%, #A8C8E0 75%, #B8D4E8 100%);
}

/* Dark Mode */
.dark-mode {
    --powder-blue: #2A3F50;
    --powder-blue-light: #3A5060;
    --burgundy: #D4848E;
    --burgundy-light: #E4949E;
    --cream: #1E1E22;
    --cream-dark: #28282C;
    --text: #E8E8E8;
    --text-light: #B0B0B0;
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --desktop-bg: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #1a1a2e 50%, #0f0f1a 75%, #1a1a2e 100%);
}

/* Dark mode specific overrides */
.dark-mode .role-list li {
    color: var(--text);
}

.dark-mode .role-list strong {
    color: var(--burgundy);
}

.dark-mode .role-tags span {
    background: var(--cream-dark);
    color: var(--text-light);
}

.dark-mode .edu-honors span {
    color: var(--text-light);
}

.dark-mode .edu-details p {
    color: var(--text);
}

.dark-mode .edu-college {
    color: var(--text-light);
}

.dark-mode .widget {
    background: rgba(30, 30, 34, 0.85);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .widget-sticky {
    background: linear-gradient(135deg, #2A2A2E 0%, #323236 100%);
}

.dark-mode .sticky-title {
    color: var(--burgundy);
}

.dark-mode .sticky-content {
    color: var(--text-light);
}

.dark-mode .calendar-day {
    color: var(--text);
}

.dark-mode .dock-icon {
    background: var(--cream);
    color: var(--burgundy);
}

.dark-mode .notification {
    background: rgba(30, 30, 34, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .notification-close {
    background: rgba(255, 255, 255, 0.1);
}

.dark-mode .notification-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.dark-mode .contact-value {
    color: var(--text);
}

.dark-mode .contact-row:hover .contact-value {
    color: var(--burgundy);
}

.dark-mode .contact-row {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .icon-label {
    color: var(--burgundy);
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.dark-mode .detail-value {
    color: var(--text);
}

.dark-mode .about-bio {
    color: var(--text-light);
}

.dark-mode .role-title,
.dark-mode .role-subtitle,
.dark-mode .role-date {
    color: var(--text-light);
}

.dark-mode .window-title {
    color: var(--text-light);
}

/* Smooth theme transition for all elements */
.mac-screen *:not(.confetti):not(.boot-letter):not(.screensaver-bouncer) {
    transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: var(--font-mono);
    font-size: 13px;
    background: linear-gradient(145deg, #2D2A26 0%, #1A1816 100%);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    min-height: 100vh;
    min-height: 100dvh;
}

/* Mac Frame */
.mac-frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1400px;
    width: 100%;
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
}

.mac-monitor {
    background: linear-gradient(180deg, #3a3a3a 0%, #1a1a1a 50%, #0a0a0a 100%);
    border-radius: 18px;
    padding: 10px 10px 14px 10px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.08),
        inset 0 1px 0 rgba(255,255,255,0.1),
        0 30px 60px -10px rgba(0, 0, 0, 0.5),
        0 50px 100px -20px rgba(0, 0, 0, 0.4);
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.mac-monitor::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
    border-radius: 18px 18px 0 0;
    pointer-events: none;
}

.mac-bezel {
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 12px 12px 0 0;
    padding: 8px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

.mac-camera {
    width: 8px;
    height: 8px;
    background: radial-gradient(circle at 30% 30%, #2a2a2a 0%, #0a0a0a 100%);
    border-radius: 50%;
    box-shadow:
        inset 0 1px 2px rgba(0,0,0,0.8),
        0 0 0 1px rgba(255,255,255,0.05);
}

.mac-screen {
    background: var(--desktop-bg);
    background-size: 400% 400%;
    animation: livingGradient 15s ease infinite;
    transition: background 0.8s ease;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    position: relative;
    box-shadow:
        inset 0 0 0 1px rgba(0,0,0,0.3),
        inset 0 2px 4px rgba(0,0,0,0.2);
    min-height: 0;
    flex-shrink: 1;
}

@keyframes livingGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Boot Screen - Clean Mac Style */
.boot-screen {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #FAF8F5 0%, #F0EDE8 100%);
    z-index: 10000;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s ease;
}

.boot-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.boot-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.boot-logo {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--burgundy);
    letter-spacing: -0.03em;
    opacity: 0;
    transform: scale(0.8);
    animation: logoFadeIn 1s 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.boot-progress {
    width: 180px;
    height: 4px;
    background: rgba(107, 45, 60, 0.15);
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    animation: progressFadeIn 0.5s 0.8s ease forwards;
}

@keyframes progressFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.boot-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--burgundy);
    border-radius: 2px;
    animation: progressFill 2s 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes progressFill {
    0% { width: 0%; }
    20% { width: 25%; }
    50% { width: 60%; }
    80% { width: 85%; }
    100% { width: 100%; }
}

/* Custom Cursor - Native CSS (no lag) */
.mac-screen {
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%236B2D3C" d="M12 0L14.5 9.5L24 12L14.5 14.5L12 24L9.5 14.5L0 12L9.5 9.5L12 0Z"/></svg>') 12 12, auto;
}

.mac-screen button,
.mac-screen a,
.mac-screen .window-titlebar,
.mac-screen .dock-item,
.mac-screen .desktop-icon,
.mac-screen .menu-logo {
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24"><path fill="%238B3D4C" d="M12 0L14.5 9.5L24 12L14.5 14.5L12 24L9.5 14.5L0 12L9.5 9.5L12 0Z"/></svg>') 14 14, pointer;
}

/* Dark mode cursors */
.dark-mode.mac-screen {
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%23C4707A" d="M12 0L14.5 9.5L24 12L14.5 14.5L12 24L9.5 14.5L0 12L9.5 9.5L12 0Z"/></svg>') 12 12, auto;
}

.dark-mode.mac-screen button,
.dark-mode.mac-screen a,
.dark-mode.mac-screen .window-titlebar,
.dark-mode.mac-screen .dock-item,
.dark-mode.mac-screen .desktop-icon,
.dark-mode.mac-screen .menu-logo {
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24"><path fill="%23D4808A" d="M12 0L14.5 9.5L24 12L14.5 14.5L12 24L9.5 14.5L0 12L9.5 9.5L12 0Z"/></svg>') 14 14, pointer;
}

/* Screen Glare */
.screen-glare {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 30%,
        transparent 50%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 9999;
}

.mac-stand {
    width: 80px;
    height: 70px;
    background: linear-gradient(180deg, #3a3a3a 0%, #2a2a2a 50%, #1a1a1a 100%);
    clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
    margin-top: -2px;
    position: relative;
    box-shadow:
        inset 1px 0 0 rgba(255,255,255,0.05),
        inset -1px 0 0 rgba(0,0,0,0.2);
}

.mac-stand-neck {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.03) 50%, transparent 100%);
}

.mac-base {
    width: 180px;
    height: 8px;
    background: linear-gradient(180deg, #4a4a4a 0%, #2a2a2a 50%, #1a1a1a 100%);
    border-radius: 0 0 4px 4px;
    margin-top: -1px;
    box-shadow:
        0 4px 8px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

/* Menu Bar */
.menu-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 28px;
    background: var(--burgundy);
    color: var(--cream);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    z-index: 9999;
    font-size: 11px;
}

.menu-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-logo {
    font-size: 14px;
}

.menu-name {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.menu-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-item {
    opacity: 0.7;
    font-size: 11px;
    letter-spacing: 0.05em;
}

.menu-clock {
    font-variant-numeric: tabular-nums;
    opacity: 0.9;
}

.menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px 4px;
    border-radius: 4px;
    cursor: default;
    opacity: 0.9;
    transition: background 0.2s ease;
}

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

/* Theme toggle animation */
.theme-toggle {
    cursor: pointer !important;
    transition: transform 0.3s ease;
}

.theme-toggle:hover {
    transform: rotate(15deg);
}

.theme-toggle:active {
    transform: scale(0.9) rotate(-15deg);
}

.menu-icon svg {
    fill: currentColor;
}

/* Desktop */
.desktop {
    position: absolute;
    top: 28px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

/* Widgets */
.widgets {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10;
}

.widget {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Clock Widget */
.widget-clock {
    min-width: 160px;
    padding-top: 20px;
}

.widget-time {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--burgundy);
    line-height: 1.1;
    margin-bottom: 6px;
}

.widget-date {
    font-size: 11px;
    color: var(--text-light);
    margin-bottom: 2px;
}

.widget-location {
    font-size: 10px;
    color: var(--text-light);
    opacity: 0.7;
}

/* Sticky Note Widget */
.widget-sticky {
    max-width: 180px;
    background: linear-gradient(135deg, #F5E6EA 0%, #FAF0F2 100%);
    border: none;
    box-shadow: 0 4px 20px rgba(107, 45, 60, 0.1);
}

.sticky-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(107, 45, 60, 0.1);
}

.sticky-dot {
    width: 8px;
    height: 8px;
    background: var(--burgundy);
    border-radius: 50%;
}

.sticky-title {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--burgundy);
}

.sticky-content {
    font-size: 11px;
    line-height: 1.5;
    color: #5C3D45;
}

/* Calendar Widget */
.widget-calendar {
    min-width: 170px;
}

.calendar-month {
    font-size: 11px;
    font-weight: 600;
    color: var(--burgundy);
    margin-bottom: 10px;
    text-align: center;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
}

.calendar-day-header {
    font-size: 8px;
    font-weight: 600;
    color: var(--text-light);
    padding: 4px 0;
}

.calendar-day {
    font-size: 9px;
    padding: 4px 2px;
    color: var(--text);
    border-radius: 4px;
}

.calendar-day.today {
    background: var(--burgundy);
    color: white;
    font-weight: 600;
}

/* Notification */
.notification {
    position: absolute;
    top: 40px;
    right: 16px;
    width: 320px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.8);
    z-index: 9000;
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.notification.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}

.notification-icon {
    width: 36px;
    height: 36px;
    background: var(--burgundy);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-app {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 2px;
}

.notification-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.notification-body {
    font-size: 11px;
    line-height: 1.4;
    color: var(--text-light);
}

.notification-close {
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0.08);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-light);
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.15);
    color: var(--text);
}

/* Desktop Icons */
.desktop-icons {
    position: absolute;
    top: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1;
}

.desktop-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    width: 90px;
}

.desktop-icon:hover {
    background: rgba(107, 45, 60, 0.1);
}

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

.icon-graphic {
    width: 52px;
    height: 52px;
    background: var(--cream);
    border: 2px solid var(--burgundy);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--burgundy);
    transition: all 0.2s ease;
}

.icon-graphic.icon-svg {
    padding: 8px;
}

.icon-graphic.icon-svg svg {
    width: 100%;
    height: 100%;
}

.desktop-icon:hover .icon-graphic {
    background: var(--burgundy);
    color: var(--cream);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(107, 45, 60, 0.3);
}

.icon-label {
    font-size: 10px;
    color: var(--burgundy);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

/* Windows Container */
.windows-container {
    position: absolute;
    inset: 0;
}

/* Window */
.window {
    position: absolute;
    background: var(--cream);
    border-radius: var(--window-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    min-width: 300px;
}

.window:hover {
    box-shadow: 0 30px 60px -15px rgba(107, 45, 60, 0.35);
    transform: translateY(-2px);
}

.window {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.window.dragging {
    box-shadow: 0 40px 80px -20px rgba(107, 45, 60, 0.4);
    cursor: grabbing;
}

/* Focused window glow */
.window.focused {
    box-shadow:
        0 30px 60px -15px rgba(107, 45, 60, 0.35),
        0 0 0 1px rgba(107, 45, 60, 0.1);
}

.window.minimized {
    transform: scale(0.5);
    opacity: 0;
    pointer-events: none;
}

/* Window open animation */
.window.opening {
    animation: windowOpen 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes windowOpen {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.03);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Window Titlebar */
.window-titlebar {
    height: 38px;
    background: linear-gradient(to bottom, var(--cream), var(--cream-dark));
    border-bottom: 1px solid rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    padding: 0 14px;
    cursor: grab;
    user-select: none;
}

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

.window-controls {
    display: flex;
    gap: 7px;
}

.control {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
}

.control.close {
    background: var(--burgundy);
}

.control.minimize {
    background: var(--powder-blue);
    border: 1px solid rgba(107, 45, 60, 0.2);
}

.control.maximize {
    background: var(--powder-blue-light);
    border: 1px solid rgba(107, 45, 60, 0.15);
}

.control:hover {
    transform: scale(1.15);
}

.control.close:hover {
    background: #ff5f57;
}

.window-title {
    flex: 1;
    text-align: center;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.03em;
}

/* Window Content */
.window-content {
    padding: 24px;
    max-height: 450px;
    overflow-y: auto;
}

/* About Window Styles */
.about-content h1 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--burgundy);
}

.about-bio {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 24px;
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--cream-dark);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
}

.detail-value {
    font-weight: 500;
}

/* Role Window Styles */
.role-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.role-date {
    font-size: 11px;
    color: var(--text-light);
}

.role-type {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    background: var(--powder-blue);
    color: var(--burgundy);
    border-radius: 100px;
    font-weight: 500;
}

.role-company {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--burgundy);
    margin-bottom: 4px;
}

.role-title {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.role-subtitle {
    font-size: 11px;
    color: var(--text-light);
    opacity: 0.7;
    margin-bottom: 16px;
}

.role-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.role-list li {
    font-size: 12px;
    line-height: 1.6;
    padding-left: 16px;
    position: relative;
}

.role-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--burgundy);
}

.role-list strong {
    color: var(--burgundy);
    font-weight: 600;
}

.role-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 16px;
    border-top: 1px solid var(--cream-dark);
}

.role-tags span {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 10px;
    background: var(--cream-dark);
    border-radius: 4px;
    color: var(--text-light);
}

/* Education Window Styles */
.edu-badge {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    padding: 8px 16px;
    background: var(--burgundy);
    color: var(--cream);
    border-radius: 6px;
    margin-bottom: 20px;
}

.edu-school {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--burgundy);
    margin-bottom: 4px;
}

.edu-college {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.edu-details {
    margin-bottom: 20px;
}

.edu-details p {
    font-size: 12px;
    line-height: 1.6;
}

.edu-details strong {
    font-weight: 600;
}

.edu-honors {
    display: flex;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--cream-dark);
}

.edu-honors span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
}

/* Contact Window Styles */
.contact-list {
    display: flex;
    flex-direction: column;
}

.contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--cream-dark);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.contact-row:last-child {
    border-bottom: none;
}

.contact-row:hover {
    padding-left: 8px;
}

.contact-row:hover .contact-value {
    color: var(--burgundy);
}

.contact-type {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
}

.contact-value {
    font-weight: 500;
    transition: color 0.2s ease;
}

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

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

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

.window-content::-webkit-scrollbar-thumb:hover {
    background: var(--burgundy-light);
}

/* Dock */
.dock {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9998;
}

.dock-container {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.dock-item {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}

.dock-item:hover {
    transform: translateY(-8px) scale(1.2);
    z-index: 10;
}

.dock-item:hover .dock-icon {
    box-shadow: 0 10px 20px rgba(107, 45, 60, 0.3);
}

.dock-item::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 6px 12px;
    background: var(--burgundy);
    color: var(--cream);
    font-size: 10px;
    font-family: var(--font-mono);
    white-space: nowrap;
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 100;
}

.dock-item:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-16px);
}

.dock-icon {
    width: 44px;
    height: 44px;
    background: var(--cream);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--burgundy);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

/* Dock icon shine effect */
.dock-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        120deg,
        transparent 30%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 70%
    );
    transform: translateX(-100%);
    transition: none;
}

.dock-item:hover .dock-icon::after {
    animation: dockShine 0.6s ease-out;
}

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

.dock-icon.dock-svg {
    padding: 8px;
}

.dock-icon.dock-svg svg {
    width: 100%;
    height: 100%;
}

.dock-divider {
    width: 1px;
    height: 36px;
    background: rgba(107, 45, 60, 0.2);
    margin: 0 4px;
}

.dock-indicator {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--burgundy);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.dock-indicator.active {
    opacity: 1;
}

/* Available status indicator */
.detail-value.available {
    color: #16a34a;
    position: relative;
}

.detail-value.available::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #16a34a;
    border-radius: 50%;
    margin-right: 6px;
    animation: pulse 2s infinite;
}

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

/* Confetti */
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -10px;
    border-radius: 2px;
    animation: confettiFall 3s ease-out forwards;
    z-index: 99999;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Screensaver - DVD Bouncing Logo */
.screensaver {
    position: absolute;
    inset: 0;
    background: #000;
    z-index: 99990;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    overflow: hidden;
}

.screensaver.active {
    opacity: 1;
    visibility: visible;
}

.screensaver-bouncer {
    position: absolute;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--burgundy);
    text-shadow: 0 0 30px currentColor;
    transition: color 0.2s ease;
}

/* Konami Easter Egg Modal */
.konami-modal {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.konami-modal.show {
    opacity: 1;
    visibility: visible;
}

.konami-content {
    background: var(--cream);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.konami-modal.show .konami-content {
    transform: scale(1);
}

.konami-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.konami-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--burgundy);
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.konami-close {
    background: var(--burgundy);
    color: var(--cream);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.konami-close:hover {
    transform: scale(1.05);
    background: var(--burgundy-light);
}

/* Window Shake Animation */
.window.shaking {
    animation: windowShake 0.5s ease-in-out;
}

@keyframes windowShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Genie Minimize Effect */
.window.minimizing {
    animation: genieEffect 0.4s ease-in forwards;
    transform-origin: bottom center;
}

@keyframes genieEffect {
    0% {
        transform: scale(1) translateY(0) perspective(500px) rotateX(0deg);
        opacity: 1;
    }
    100% {
        transform: scale(0.15) translateY(350px) perspective(500px) rotateX(10deg);
        opacity: 0;
    }
}

/* Dock item transition override for magnification */
.dock-item {
    transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* Menu logo clickable */
.menu-logo {
    transition: transform 0.2s ease;
}

.menu-logo:hover {
    transform: scale(1.2);
}

.menu-logo:active {
    transform: scale(0.9);
}

/* Responsive */
@media (max-width: 1200px) {
    .mac-frame {
        max-width: 100%;
        height: 100%;
    }

    .mac-monitor {
        width: 100%;
        height: 100%;
        border-radius: 12px;
        padding: 6px;
        display: flex;
        flex-direction: column;
    }

    .mac-stand, .mac-base {
        display: none;
    }

    .mac-bezel {
        border-radius: 8px 8px 0 0;
        padding: 6px 0;
        flex-shrink: 0;
    }

    .mac-screen {
        border-radius: 0 0 6px 6px;
        aspect-ratio: auto;
        height: 100%;
        flex-grow: 1;
    }
}

@media (max-width: 900px) {
    .desktop-icons {
        display: none;
    }

    .widgets {
        position: relative;
        top: auto;
        left: auto;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px;
        justify-content: center;
        z-index: 1;
    }

    .widget {
        padding: 12px;
    }

    .widget-sticky {
        display: none;
    }

    .widget-calendar {
        display: none;
    }

    .window {
        width: calc(100% - 32px) !important;
        left: 16px !important;
        position: relative !important;
        top: auto !important;
        margin-bottom: 16px;
        transform: none !important;
        opacity: 1 !important;
        z-index: 1 !important;
    }

    .window.minimized {
        display: none;
    }

    .window.minimizing {
        animation: none;
    }

    .desktop {
        overflow-y: auto;
        padding: 0 0 100px 0;
    }

    .windows-container {
        position: relative;
        display: flex;
        flex-direction: column;
        padding: 16px;
        padding-bottom: 100px;
    }

    .dock {
        position: fixed;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10000;
    }

    .dock-icon {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .dock-icon.dock-svg {
        padding: 6px;
    }

    .notification {
        width: calc(100% - 32px);
        right: 16px;
        left: 16px;
        top: 50px;
        z-index: 10001;
    }

    .screensaver-text {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .menu-item {
        display: none;
    }

    .menu-right {
        gap: 12px;
    }

    .about-content h1 {
        font-size: 24px;
    }

    .role-company {
        font-size: 22px;
    }

    body {
        padding: 10px;
    }

    .widget-clock {
        padding: 12px;
        min-width: auto;
    }

    .widget-time {
        font-size: 28px;
    }

    .dock-container {
        padding: 4px 8px;
        gap: 4px;
    }

    .dock-icon {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .dock-icon.dock-svg {
        padding: 5px;
    }

    .konami-content {
        padding: 2rem;
        margin: 1rem;
    }

    .konami-text {
        font-size: 1.25rem;
    }
}
