@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --background-image: url('https://images.unsplash.com/photo-1620121692029-d088224ddc74?q=80&w=3732&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    --glass-bg: rgba(20, 20, 20, 0.65);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: rgba(255, 255, 255, 0.9);
    --text-secondary: rgba(255, 255, 255, 0.6);
    --accent-color: #0091ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-image: var(--background-image);
    background-size: cover;
    background-position: center;
    height: 100vh;
    overflow: hidden;
    color: var(--text-primary);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Top Menu Bar */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 32px;
    background: rgba(40, 40, 40, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 1000;
    font-size: 13px;
    font-weight: 500;
}

.top-bar-left { display: flex; align-items: center; }
.logo { font-weight: 600; margin-right: 20px; }
.menu-items { display: flex; gap: 16px; }
.menu-item { color: var(--text-secondary); cursor: pointer; transition: color 0.2s; }
.menu-item:hover { color: var(--text-primary); }
.top-bar-right { display: flex; align-items: center; gap: 12px; font-size: 12px; }

.notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 24px;
    background: #000;
    border-radius: 0 0 12px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Main Desktop Area */
.desktop {
    position: fixed;
    top: 32px;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    padding: 0;
    gap: 20px;
}

/* Left Side - Personal Apps */
.left-panel {
    width: 380px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-shrink: 0;
    align-items: center;
}

/* Liquid Glass Spotify Display */
.spotify-glass-display {
    width: 360px;
    height: 180px;
    background: linear-gradient(135deg, rgba(30, 42, 93, 0.95), rgba(20, 28, 63, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    flex-shrink: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.spotify-header-glass {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 10px;
}

.spotify-icon {
    color: #1db954;
    font-size: 16px;
}

.currently-playing {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.song-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 8px 0;
}

.spotify-main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 12px 0;
}

.song-info-left {
    flex: 1;
    text-align: left;
}

.controls-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.song-title-glass {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
    line-height: 1.1;
    text-shadow: none;
}

.artist-glass {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.control-btn-glass {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(100, 100, 120, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.control-btn-glass:hover {
    background: rgba(120, 120, 140, 0.9);
    transform: scale(1.05);
}

.play-btn-glass {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #1e90ff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(30, 144, 255, 0.4);
}

.play-btn-glass:hover {
    background: #4169e1;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(30, 144, 255, 0.6);
}

.open-spotify-btn {
    background: transparent;
    border: 2px solid #1e90ff;
    border-radius: 25px;
    color: #1e90ff;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-self: center;
}

.open-spotify-btn:hover {
    background: rgba(30, 144, 255, 0.1);
    border-color: #4169e1;
    color: #4169e1;
    transform: translateY(-1px);
}

.spotify-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 12px;
}

.loading-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #1db954;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
}

.spotify-error {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.error-text {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    text-align: center;
}

.error-subtext {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    text-align: center;
}

/* Phone Container */
.phone-container { 
    flex: 1; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    margin-top: 0px;
    margin-left: 30px;
}

.phone {
    width: 320px;
    height: 640px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 40px;
    padding: 4px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 
               inset 0 1px 0 rgba(255,255,255,0.2),
               0 0 0 1px rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(255,255,255,0.15);
}

.phone-notch { 
    position: absolute; 
    top: 8px; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 120px; 
    height: 24px; 
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0 0 12px 12px; 
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.screen { 
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-grow: 1; 
    border-radius: 36px; 
    display: flex; 
    flex-direction: column; 
    overflow: hidden; 
    position: relative;
    border: 1px solid var(--glass-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.status-bar { 
    color: white; 
    font-size: 12px; 
    font-weight: 500; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 16px 18px 8px; 
    z-index: 1;
    background: rgba(40, 40, 40, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.status-bar-icons { display: flex; align-items: center; gap: 4px; }

/* Messages App Styles - Clean & Sleek */
.inbox-header { 
    padding: 20px 30px 16px 20px;
    background: rgba(40, 40, 40, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}
.inbox-header h1 { 
    font-size: 28px; 
    font-weight: 700; 
    margin: 0;
    color: var(--text-primary);
}
.contact-list { 
    flex-grow: 1; 
    overflow-y: auto;
    background: transparent;
    padding: 15px;
}

.contact { 
    display: flex; 
    align-items: center; 
    padding: 12px 16px; 
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1); 
    cursor: pointer; 
    transition: all 0.2s ease;
    margin-bottom: 6px;
    border-radius: 16px;
}
.contact:hover { 
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.contact-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), #00a8ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 14px;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 145, 255, 0.3);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.contact-details { flex-grow: 1; overflow: hidden; }
.contact-name { 
    font-weight: 600; 
    display: flex; 
    justify-content: space-between;
    color: var(--text-primary);
    font-size: 15px;
    margin-bottom: 2px;
}
.contact-name span:last-child { 
    font-weight: 400; 
    color: var(--text-secondary); 
    font-size: 12px; 
}
.contact-preview { 
    color: var(--text-secondary); 
    font-size: 13px; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis;
}

/* Chat View - Clean & Sleek */
.chat-view { 
    display: flex; 
    flex-direction: column; 
    height: 100%;
    background: transparent;
}
.chat-header { 
    display: flex; 
    align-items: center; 
    padding: 12px 16px; 
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}
.back-button { 
    color: var(--accent-color); 
    cursor: pointer; 
    font-size: 15px; 
    font-weight: 500;
    margin-right: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.2s ease;
}
.back-button:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
}
.chat-contact-name { 
    font-weight: 600; 
    text-align: center; 
    flex-grow: 1;
    color: var(--text-primary);
    font-size: 16px;
}
.message-area { 
    flex-grow: 1; 
    padding: 16px; 
    overflow-y: auto; 
    display: flex; 
    flex-direction: column;
    background: transparent;
}
.message { 
    padding: 10px 14px; 
    border-radius: 18px; 
    margin-bottom: 6px; 
    max-width: 75%; 
    line-height: 1.4; 
    font-size: 14px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}
.message.incoming { 
    background: rgba(255, 255, 255, 0.15);
    align-self: flex-start;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.message.outgoing { 
    background: var(--accent-color);
    align-self: flex-end;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Right Panel - Main Window */
.right-panel { flex: 1; display: flex; align-items: center; justify-content: center; padding: 2vh; }

.main-window {
    width: 100%;
    height: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    user-select: auto;
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
}

.window-title-bar { display: flex; align-items: center; padding: 0 12px; height: 40px; background: rgba(0, 0, 0, 0.2); border-bottom: 1px solid var(--glass-border); flex-shrink: 0; }
.window-controls { display: flex; gap: 8px; }
.window-dot { height: 12px; width: 12px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.window-dot span { color: #000; font-weight: bold; font-size: 10px; opacity: 0; transition: opacity 0.2s; }
.window-dot:hover span { opacity: 0.7; }
.window-dot.red { background: #ff5f56; }
.window-dot.yellow { background: #ffbd2e; }
.window-dot.green { background: #27c93f; }
.window-title { flex: 1; text-align: center; font-weight: 600; font-size: 14px; }

.tabs { display: flex; background: rgba(0, 0, 0, 0.1); padding: 8px 12px 0; border-bottom: 1px solid var(--glass-border); }
.tab { padding: 10px 18px; cursor: pointer; border-radius: 8px 8px 0 0; margin-right: 4px; background: transparent; font-weight: 500; color: var(--text-secondary); transition: all 0.2s ease; border-bottom: 2px solid transparent; }
.tab:hover { background: rgba(255, 255, 255, 0.05); color: var(--text-primary); }
.tab.active { background: rgba(0, 0, 0, 0.2); color: var(--text-primary); border-bottom: 2px solid var(--accent-color); }

.window-content { padding: 24px; overflow-y: auto; flex-grow: 1; }

/* Professional Section - Search Engine Theme */
.search-engine-header { text-align: center; padding: 1rem 0; }
.search-engine-title { font-size: 2.5rem; font-weight: 700; color: var(--text-primary); margin-bottom: 1rem; }
.search-bar { background: rgba(0,0,0,0.2); border: 1px solid var(--glass-border); border-radius: 8px; padding: 12px 16px; margin: 0 auto 2rem; width: 80%; max-width: 500px; font-size: 1rem; color: var(--text-primary); }
.search-bar::after { content: '|'; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.experience-sub-tabs { display: flex; justify-content: center; gap: 1rem; margin-bottom: 2rem; }
.experience-sub-tab { padding: 8px 16px; border-radius: 8px; cursor: pointer; font-weight: 500; color: var(--text-secondary); transition: all 0.2s; }
.experience-sub-tab.active { background: var(--accent-color); color: white; }

.experience-entry { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; border-bottom: 1px solid var(--glass-border); padding-bottom: 20px; opacity: 0; animation: fadeIn 0.5s forwards; }
.experience-entry:last-child { border-bottom: none; }
@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }

.experience-details { flex-grow: 1; }
.experience-title { font-size: 1.2rem; font-weight: 700; color: var(--accent-color); cursor: pointer; text-decoration: none; display: inline-block; margin: 0 0 4px; }
.experience-title:hover { text-decoration: underline; }
.experience-source { font-size: 0.95rem; color: var(--text-primary); margin: 0 0 8px 0; }
.experience-snippet { font-size: 0.9rem; color: var(--text-secondary); margin: 0; line-height: 1.5; }
.experience-logo { width: 50px; height: 50px; border-radius: 8px; object-fit: contain; background: transparent; flex-shrink: 0; }

/* Specific larger logos for UW and TAO */
.experience-entry img[src*="uw-logo"], 
.experience-entry img[src*="tao-logo"] { 
    width: 70px; 
    height: 70px; 
}

/* Modal */
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.7); display: flex; align-items: center; justify-content: center; z-index: 2000; animation: fadeIn 0.3s; }
.modal-window { 
    background: rgba(30, 30, 30, 0.8); 
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px); 
    border-radius: 12px; 
    width: 60%; 
    max-width: 700px; 
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); 
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    max-height: 80vh;
    animation: scaleUp 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.modal-window.fullscreen {
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    border-radius: 0;
    max-width: 100%;
    max-height: 100%;
    position: fixed;
}
@keyframes scaleUp { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-content { 
    padding: 24px; 
    overflow-y: auto; 
    transition: font-size 0.4s ease;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}
.modal-window.fullscreen .modal-content { font-size: 1.15rem; }
.modal-content h2 { margin-top: 0; color: var(--accent-color); }
.modal-content p { margin: 8px 0; }
.modal-content ul { padding-left: 20px; list-style-position: inside; }

/* Thoughts Section */
.thoughts-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.thought-post {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    cursor: pointer;
    height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.thought-post:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    background: rgba(255, 255, 255, 0.1);
}
.thought-post h3 {
    margin: 0 0 8px 0;
    color: var(--text-primary);
    font-size: 1.1rem;
}
.thought-post em {
    color: var(--text-secondary);
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 12px;
}
.thought-post p {
    color: var(--text-secondary);
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    font-size: 0.9rem;
}

/* Bottom Task Bar */
.taskbar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    height: 60px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    padding: 0 20px;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.taskbar-content { display: flex; align-items: center; gap: 24px; }
.taskbar-link { color: var(--text-secondary); text-decoration: none; font-weight: 500; font-size: 14px; transition: color 0.2s ease, transform 0.2s ease; display: inline-block; }
.taskbar-link:hover { color: var(--text-primary); transform: scale(1.05); }

/* Mobile Blocker */
.mobile-blocker {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    z-index: 9999;
}
.mobile-blocker h2 { margin-bottom: 1rem; }

/* Responsive Design */
@media (max-width: 1024px) {
    body > #root > div { display: none; }
    .mobile-blocker { display: flex; }
}
@media (min-width: 1025px) and (max-width: 1200px) {
    .desktop { flex-direction: column; }
    .left-panel { width: 100%; flex-direction: row; height: auto; }
    .apple-watch { flex: 1; }
    .phone-container { flex: none; }
    .right-panel { flex: 1; margin-top: 20px; padding: 0; }
}

/* Desktop Spotify Widget */
.desktop-spotify-widget {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    width: 370px;
    height: 210px;
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 
               inset 0 1px 0 rgba(255, 255, 255, 0.3),
               0 0 0 1px rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.desktop-spotify-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 
               inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.spotify-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.spotify-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.spotify-logo {
    font-size: 1.5rem;
    color: #1DB954;
}

.spotify-track {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.track-info {
    flex: 1;
}

.track-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.track-artist {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.spotify-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.play-btn {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.spotify-link {
    text-align: center;
}

.spotify-link a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid var(--accent-color);
    border-radius: 20px;
    background: rgba(0, 145, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.spotify-link a:hover {
    background: var(--accent-color);
    color: white;
    transform: scale(1.05);
}

/* Spotify-specific title bar overrides */
.desktop-spotify-widget {
    padding: 0;
    margin: 20px 20px 20px 50px;  /* Move it a bit to the right */
}

.desktop-spotify-widget .window-title-bar {
    border-radius: 20px 20px 0 0;
    margin: -1px -1px 0 -1px;
    border-bottom: 1px solid var(--glass-border);
}

/* Add padding back to content areas only with less top padding */
.desktop-spotify-widget .spotify-content {
    padding: 12px 20px 20px 20px;  /* Reduced top padding from 20px to 12px */
}

/* Fullscreen button styling */
.fullscreen-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 16px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    margin-right: 12px;
}

.fullscreen-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transform: scale(1.1);
}

/* Onboarding Tooltip Styles */
.onboarding-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
    pointer-events: none;
}

.overlay-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: all;
}

.highlighted-element {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(0, 145, 255, 0.2), 0 0 20px rgba(0, 145, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(0, 145, 255, 0.4), 0 0 30px rgba(0, 145, 255, 0.5);
    }
}

.onboarding-tooltip {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 
               inset 0 1px 0 rgba(255, 255, 255, 0.3);
    width: 200px;
    animation: tooltipSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.tooltip-arrow {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom: none;
    border-right: none;
    transform: translateX(-50%) rotate(45deg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

.tooltip-content {
    padding: 20px;
    position: relative;
    z-index: 1;
}

.tooltip-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--text-primary);
}

.tooltip-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0 0 16px 0;
    line-height: 1.4;
}

.tooltip-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.tooltip-btn {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.tooltip-btn.secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tooltip-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.tooltip-btn.primary {
    background: var(--accent-color);
    color: white;
    border: 1px solid var(--accent-color);
}

.tooltip-btn.primary:hover {
    background: rgba(0, 145, 255, 0.8);
    transform: translateY(-1px);
}

@keyframes tooltipSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

/* Force highlighted elements to top */
.onboarding-target-highlight {
    position: relative !important;
    z-index: 10003 !important;
}

/* Markdown content styling */
.modal-content h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 24px 0 16px 0;
    color: var(--accent-color);
}

.modal-content h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 20px 0 12px 0;
    color: var(--text-primary);
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 8px;
}

.modal-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 16px 0 8px 0;
    color: var(--text-primary);
}

.modal-content strong {
    font-weight: 600;
    color: var(--text-primary);
}

.modal-content code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
    color: var(--accent-color);
}

.modal-content ul {
    margin: 12px 0;
    padding-left: 20px;
}

.modal-content li {
    margin: 6px 0;
    line-height: 1.5;
}

.modal-content a {
    color: var(--accent-color);
    text-decoration: none;
}

.modal-content a:hover {
    text-decoration: underline;
}

/* Mobile/Tablet iOS Interface Styles */
.mobile-layout {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.mobile-status-bar {
    height: 44px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.mobile-status-icons {
    display: flex;
    gap: 8px;
}

.mobile-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 28px;
    background: #000;
    border-radius: 0 0 14px 14px;
    z-index: 11;
}

.mobile-content {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.mobile-app {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-app.active {
    opacity: 1;
    transform: translateY(0);
}

.mobile-app-header {
    height: 60px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--glass-border);
    flex-shrink: 0;
}

.mobile-back-btn {
    background: transparent;
    border: none;
    color: var(--accent-color);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 0;
    margin-right: 20px;
}

.mobile-app-header h1 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.mobile-app-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

/* Mobile app specific styling */
.mobile-app-content .main-window {
    border-radius: 0;
    border: none;
    height: 100%;
}

.mobile-app-content .phone {
    width: 100%;
    height: 100%;
    border-radius: 0;
    margin: 0;
    box-shadow: none;
    border: none;
}

.mobile-app-content .phone .screen {
    border-radius: 0;
}

.mobile-app-content .phone-notch {
    display: none;
}

.mobile-dock {
    height: 90px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.dock-app {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.dock-app-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.dock-app.active {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.dock-app:active {
    transform: scale(0.95);
}

/* Mobile Spotify Fullscreen */
.spotify-fullscreen {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.spotify-fullscreen .spotify-glass-display {
    width: 100%;
    max-width: 400px;
    height: auto;
    min-height: 300px;
    padding: 20px;
}

/* Small Desktop Layout */
.small-desktop-layout {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 20px;
    gap: 40px;
}

.browser-section {
    width: 100%;
    height: 80vh;
    min-height: 600px;
}

.spotify-section {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.phone-section {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.small-desktop-layout .taskbar {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 20px;
}

/* Updated Responsive Breakpoints */
@media (max-width: 768px) {
    .desktop,
    .small-desktop-layout,
    .mobile-blocker {
        display: none !important;
    }
    
    .mobile-layout {
        display: flex !important;
    }
    
    .dock-app {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
    
    .mobile-dock {
        gap: 30px;
        height: 80px;
    }
    
    .mobile-notch {
        width: 120px;
        height: 24px;
    }
    
    .spotify-track-info {
        width: calc(100% - 30px);
        max-width: 450px;
        padding: 25px;
        bottom: 15px;
    }
    
    .spotify-progress-container {
        gap: 12px;
        margin-bottom: 25px;
    }
    
    .spotify-controls-row {
        gap: 20px;
    }
    
    .spotify-control-btn {
        width: 48px;
        height: 48px;
    }
    
    .spotify-play-btn-large {
        width: 60px;
        height: 60px;
    }
    
    .control-icon {
        width: 22px;
        height: 22px;
    }
    
    .play-icon {
        width: 28px;
        height: 28px;
    }
    
    .clean-frame {
        width: 250px;
        height: 250px;
    }
    
    body {
        overflow: visible;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .desktop,
    .small-desktop-layout,
    .mobile-blocker {
        display: none !important;
    }
    
    .mobile-layout {
        display: flex !important;
    }
    
    .dock-app {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .mobile-dock {
        gap: 50px;
        height: 100px;
    }
    
    .mobile-notch {
        width: 160px;
        height: 32px;
    }
    
    body {
        overflow: visible;
    }
}

@media (min-width: 1025px) and (max-width: 1200px) {
    .desktop,
    .mobile-layout,
    .mobile-blocker {
        display: none !important;
    }
    
    .small-desktop-layout {
        display: flex !important;
    }
}

@media (min-width: 1201px) {
    .mobile-layout,
    .small-desktop-layout,
    .mobile-blocker {
        display: none !important;
    }
    
    .desktop {
        display: flex !important;
    }
}

/* Safari Mobile App Styles - Liquid Glass */
.safari-app {
    background: #1a1a1a;
    display: flex;
    flex-direction: column;
}

.safari-content-area {
    flex: 1;
    overflow-y: auto;
    background: #1a1a1a;
    position: relative;
}

.safari-bottom-ui {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(40, 40, 45, 0.9);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    padding: 12px;
    z-index: 100;
    min-width: 280px;
}

.safari-tab-bar {
    display: flex;
    padding: 8px;
    gap: 8px;
    margin-bottom: 8px;
}

.safari-tab {
    flex: 1;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.safari-tab.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.safari-floating-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.safari-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 22px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    /* Perfect centering */
    position: relative;
}

.safari-nav-btn svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.safari-nav-btn:hover:not(.disabled) {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.safari-nav-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.safari-nav-btn.disabled:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: none;
}

.safari-address-bar {
    flex: 1;
    max-width: 200px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 22px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.address-bar-content {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.address-icon {
    font-size: 12px;
    opacity: 0.8;
    color: #fff;
}

.address-text {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    opacity: 0.9;
}

/* Mobile Status Bar Icons */
.mobile-status-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.signal-bars {
    display: flex;
    align-items: end;
    gap: 2px;
    height: 12px;
}

.signal-bars .bar {
    width: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1px;
}

.signal-bars .bar:nth-child(1) { height: 3px; }
.signal-bars .bar:nth-child(2) { height: 6px; }
.signal-bars .bar:nth-child(3) { height: 9px; }
.signal-bars .bar:nth-child(4) { height: 12px; }

.signal-bars .bar.active {
    background: white;
}

.wifi-icon {
    color: white;
    opacity: 0.8;
}

.battery-icon {
    display: flex;
    align-items: center;
    gap: 2px;
    color: white;
    font-size: 12px;
    font-weight: 600;
}

.battery-percent {
    font-size: 12px;
}

/* Dark mode content for Safari - Liquid Glass */
.mobile-professional,
.mobile-thoughts {
    background: #1a1a1a;
    color: #fff;
    padding: 20px;
}

.mobile-header h1 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 8px;
}

.mobile-header p {
    color: #a0a0a0;
    font-size: 16px;
}

.mobile-experience-card,
.mobile-blog-card {
    background: rgba(40, 40, 45, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    margin-bottom: 16px;
}

.mobile-exp-title,
.mobile-blog-title {
    color: #fff;
}

.mobile-exp-company {
    color: #64b5f6;
}

.mobile-exp-snippet,
.mobile-blog-preview {
    color: #b0b0b0;
}

.mobile-exp-dates,
.mobile-blog-date {
    color: #888;
}

.mobile-category-tab {
    background: rgba(40, 40, 45, 0.8);
    backdrop-filter: blur(15px);
    overflow-x: auto;           
    padding: 0 4px; 
    -webkit-backdrop-filter: blur(15px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.mobile-category-tab.active {
    background: rgba(100, 181, 246, 0.3);
    border-color: rgba(100, 181, 246, 0.5);
    color: white;
    box-shadow: 0 6px 20px rgba(100, 181, 246, 0.4);
}

.mobile-blog-arrow {
    color: #888;
}

/* Mobile Professional Styles - Updated for Dark Mode */
.mobile-professional {
    background: #1a1a1a;
    color: #fff;
    padding: 20px;
}

.mobile-header {
    text-align: center;
    margin-bottom: 8px;
    padding: 20px 0 10px 0;
}

.mobile-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
}

.mobile-header p {
    font-size: 16px;
    color: #a0a0a0;
    margin: 0;
}

.mobile-category-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    max-width: 100vw;
}

.mobile-category-tabs::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.mobile-category-tab {
    padding: 8px 16px;
    background: rgba(40, 40, 45, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.mobile-category-tab.active {
    background: rgba(100, 181, 246, 0.3);
    border-color: rgba(100, 181, 246, 0.5);
    color: white;
    box-shadow: 0 6px 20px rgba(100, 181, 246, 0.4);
}

.mobile-experience-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 0;
}

.mobile-experience-card {
    background: rgba(40, 40, 45, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 16px;
}

.mobile-experience-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.mobile-exp-content {
    flex: 1;
}

.mobile-exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 12px;
}

.mobile-exp-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.mobile-exp-dates {
    font-size: 12px;
    color: #888;
    font-weight: 500;
    flex-shrink: 0;
}

.mobile-exp-company {
    font-size: 16px;
    color: #64b5f6;
    margin: 0 0 8px 0;
    font-weight: 500;
}

.mobile-exp-snippet {
    font-size: 14px;
    color: #b0b0b0;
    margin: 0;
    line-height: 1.4;
}

.mobile-exp-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Mobile Thoughts Styles - Updated for Dark Mode */
.mobile-thoughts {
    background: #1a1a1a;
    color: #fff;
    padding: 20px;
}

.mobile-blog-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 0;
}

.mobile-blog-card {
    background: rgba(40, 40, 45, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.mobile-blog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.mobile-blog-content {
    flex: 1;
}

.mobile-blog-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.mobile-blog-date {
    font-size: 12px;
    color: #888;
    margin: 0 0 12px 0;
    font-weight: 500;
}

.mobile-blog-preview {
    font-size: 14px;
    color: #b0b0b0;
    margin: 0;
    line-height: 1.4;
}

.mobile-blog-arrow {
    font-size: 20px;
    color: #888;
    margin-left: 16px;
}

/* Mobile Modal Styles - Liquid Glass */
.mobile-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mobile-modal {
    background: rgba(40, 40, 45, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
}

.mobile-modal-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
}

.mobile-modal-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    flex: 1;
    margin-right: 16px;
}

.mobile-modal-header button {
    width: 32px;
    height: 32px;
    border-radius: 16px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mobile-modal-header button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-modal-content {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
    color: #fff;
}

.mobile-modal-content p {
    margin: 0 0 16px 0;
    line-height: 1.5;
    color: #b0b0b0;
}

.mobile-modal-content ul {
    margin: 16px 0;
    padding-left: 20px;
}

.mobile-modal-content li {
    margin: 8px 0;
    line-height: 1.5;
    color: #b0b0b0;
}

.mobile-modal-content strong {
    color: #fff;
}

.mobile-modal-content em {
    color: #888;
}

/* Mobile Blog Post Full Page View */
.mobile-blog-post {
    background: #1a1a1a;
    color: #fff;
    padding: 20px;
    min-height: 100vh;
    overflow-y: auto;
}

.mobile-blog-post-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-blog-post-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.blog-post-date {
    font-size: 14px;
    color: #888;
    margin: 0;
    font-weight: 500;
}

.mobile-blog-post-content {
    max-width: 100%;
    line-height: 1.7;
    font-size: 16px;
    color: #b0b0b0;
}

.mobile-blog-post-content h1 {
    color: #fff;
    font-size: 22px;
    margin: 32px 0 16px 0;
}

.mobile-blog-post-content h2 {
    color: #fff;
    font-size: 20px;
    margin: 28px 0 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.mobile-blog-post-content h3 {
    color: #fff;
    font-size: 18px;
    margin: 24px 0 12px 0;
}

.mobile-blog-post-content p {
    margin: 16px 0;
    line-height: 1.7;
}

.mobile-blog-post-content strong {
    color: #fff;
    font-weight: 600;
}

.mobile-blog-post-content code {
    background: rgba(255, 255, 255, 0.1);
    color: #64b5f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
}

.mobile-blog-post-content a {
    color: #64b5f6;
    text-decoration: none;
}

.mobile-blog-post-content a:hover {
    text-decoration: underline;
}

.mobile-blog-post-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: #1a1a1a;
    color: #fff;
    gap: 20px;
}

.mobile-blog-post-loading .loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #64b5f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.mobile-blog-post-loading p {
    font-size: 16px;
    color: #b0b0b0;
    margin: 0;
}

/* Mobile tab navigation styling */
.mobile-tab-navigation {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    margin-bottom: 20px;
    justify-content: center;
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

/* When on About Me page, move tabs to top */
.mobile-tab-navigation.top-position {
    margin-top: 20px;
    margin-bottom: 0px;
    padding-top: 10px;
    animation: moveToTop 0.4s ease-out;
}

@keyframes moveToTop {
    from {
        transform: translateY(80px);
        opacity: 0.7;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.mobile-nav-tab {
    padding: 10px 20px;
    background: rgba(40, 40, 45, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.mobile-nav-tab.active {
    background: rgba(100, 181, 246, 0.3);
    border-color: rgba(100, 181, 246, 0.5);
    color: white;
    box-shadow: 0 6px 20px rgba(100, 181, 246, 0.4);
}

/* Fix dock icon centering */
.dock-app {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    /* Fix icon vertical centering */
    padding: 0;
    margin: 0;
}

.dock-app-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    /* Center the icon properly */
    display: block;
    margin: auto;
}

/* Spotify Fullscreen Player */
.spotify-fullscreen-player {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2d1b42 0%, #1a1a2e 100%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    color: white;
    overflow: hidden;
}

.spotify-fullscreen-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 20px 20px 20px;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
}

.spotify-source {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    flex: 1;
}

.spotify-menu-btn {
    position: absolute;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.spotify-menu-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.clean-frame {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}



.spotify-album-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 20px 200px 20px;
}



.spotify-album-art {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.spotify-track-info {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 60px);
    max-width: 600px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    text-align: center;
    z-index: 100;
}

.spotify-track-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.spotify-track-artist {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 10px 0;
    font-weight: 400;
}

.spotify-progress-container {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding: 0 0px;
}

.spotify-time-current,
.spotify-time-total {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    min-width: 45px;
}

.spotify-progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 200px;
}

.spotify-progress-fill {
    height: 100%;
    background: white;
    border-radius: 3px;
    transition: width 0.3s ease;
    position: relative;
}

.spotify-progress-handle {
    position: absolute;
    right: -7px;
    top: 50%;
    transform: translateY(-50%);
    width: 0px;
    height: 14px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.spotify-controls-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.spotify-control-btn {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.spotify-control-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.control-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.spotify-play-btn-large {
    width: 50px;
    height: 50px;
    border-radius: 35px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.spotify-play-btn-large:hover {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.play-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.spotify-open-link {
    background: transparent;
    border: 2px solid #1db954;
    border-radius: 25px;
    color: #1db954;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin: 20px;
    align-self: center;
}

.spotify-open-link:hover {
    background: rgba(29, 185, 84, 0.1);
    border-color: #1ed760;
    color: #1ed760;
    transform: translateY(-1px);
}

/* Tablet optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .clean-frame {
        width: 320px;
        height: 320px;
    }
    
    .spotify-track-title {
        font-size: 28px;
    }
    
    .spotify-track-artist {
        font-size: 20px;
    }
    
    .spotify-play-btn-large {
        width: 72px;
        height: 72px;
        border-radius: 36px;
    }
    
    .spotify-control-btn {
        width: 60px;
        height: 60px;
    }
    
    .control-icon {
        width: 28px;
        height: 28px;
    }
    
    .play-icon {
        width: 36px;
        height: 36px;
    }
    
    .spotify-track-info {
        width: calc(100% - 60px);
        max-width: 700px;
        padding: 40px;
    }
    
    .spotify-progress-container {
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .spotify-controls-row {
        gap: 35px;
    }
    
    .spotify-time-current,
    .spotify-time-total {
        font-size: 16px;
        min-width: 50px;
    }
}
    .mobile-header h1 {
        font-size: 32px;
    }
    
    .mobile-header p {
        font-size: 18px;
    }
    
    .safari-nav-btn {
        width: 48px;
        height: 48px;
        border-radius: 24px;
    }
    
    .safari-address-bar {
        height: 48px;
        border-radius: 24px;
        max-width: 250px;
    }
    
    .safari-bottom-ui {
        min-width: 320px;
        padding: 16px;
    }
    
    .dock-app {
        width: 52px;
        height: 52px;
    }
    
.dock-app-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
}