/* ═══════════════════════════════════════════════════════════════
   NOLLATC ARCHIVE v2 (Floating UI + Full Screen Overlay)
   ═══════════════════════════════════════════════════════════════ */

/* GLOBAL PHYSICS CONSTANT */
/* Inherits --ease-aerospace from nollatc-dock-clean.css */



/* 3. NOTABLE WORKS WIDGET (Floating - Above Rec Pill) */
.notable-works-widget {
    position: fixed;
    top: 180px;
    /* Moved up under Visualizers (150px) + Gap */
    bottom: auto;
    /* Unset bottom */
    right: 30px;
    z-index: 990;
    width: 360px;

    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);

    /* Intro Animation */
    opacity: 0;
    animation: softFadeUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 1.0s;
}

.notable-works-widget iframe {
    opacity: 0;
    animation: softFadeIn 0.8s ease forwards;
    animation-delay: 1.4s;
    /* Reduced from 2.2s for snappier load */
}

@keyframes softFadeIn {
    to {
        opacity: 1;
    }
}

.widget-header {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    margin-bottom: 6px;
    padding-left: 4px;
}




/* ═══════════════════════════════════════════════════════════════
   QUAD VISUALIZER (Top Right Cluster)
   ═══════════════════════════════════════════════════════════════ */
/* [VISUALIZER REMOVED] */



@keyframes softFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* [LIBRARY REMOVED] */

@keyframes slideInRow {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════════════════════════
   SATELLITE LIBRARY (Morphing Window)
   ═══════════════════════════════════════════════════════════════ */
#satellite-wrapper {
    position: fixed;
    top: 48px;
    right: 48px;
    z-index: 2000;

    /* Wrapper has no size, just an anchor */
    width: 0;
    height: 0;
}

/* ══════════ STATE 1: THE PILL (Trigger) ══════════ */
#sat-pill {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: 48px;
    /* Slightly taller */

    background: rgba(15, 15, 17, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    border-radius: 99px;

    display: flex;
    align-items: center;
    padding: 0 6px 0 24px;
    cursor: pointer;
    white-space: nowrap;

    /* Animation: Exit */
    transform-origin: top right;
    transition:
        transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
        opacity 0.3s ease;
}

#satellite-wrapper.open #sat-pill {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.5);
    /* Shrink away */
}

/* ══════════ STATE 2: THE WINDOW (Content) ══════════ */
/* Uses position:fixed for BOTH states to enable seamless MORPH animation */
#sat-window {
    position: fixed;
    /* Normal state: docked top-right */
    top: 96px;
    right: 48px;
    width: 360px;
    height: 60vh;
    max-height: 600px;
    min-height: 400px;

    /* Initially Hidden */
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
    transform-origin: top right;

    /* Premium "Morph" transition - animates ALL layout properties */
    transition:
        transform 0.5s cubic-bezier(0.19, 1, 0.22, 1),
        opacity 0.4s ease,
        width 0.6s cubic-bezier(0.19, 1, 0.22, 1),
        height 0.6s cubic-bezier(0.19, 1, 0.22, 1),
        top 0.6s cubic-bezier(0.19, 1, 0.22, 1),
        right 0.6s cubic-bezier(0.19, 1, 0.22, 1),
        left 0.6s cubic-bezier(0.19, 1, 0.22, 1),
        max-height 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: transform, opacity, width, height, top, right, left;
}

#satellite-wrapper.open #sat-window {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1) translateY(0);
}

.sat-window-glass {
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(32px);
    /* Deep blur */
    -webkit-backdrop-filter: blur(32px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(0, 0, 0, 0.5);
    /* Deep Shadow */
    border-radius: 24px;

    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ══════════ INNER CONTENT STYLES ══════════ */
/* Keep previous styles for contents */
.sat-label-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 12px;
    text-align: right;
}

.sat-super {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.1em;
}

.sat-main {
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: #fff;
    letter-spacing: 0.05em;
    line-height: 1;
}

.sat-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#sat-pill:hover .sat-icon-box {
    background: #fff;
    color: #000;
    transform: scale(1.05);
}

.sat-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* SEARCH & LIST (Recycled with Tweaks) */
.sat-search-box {
    height: 72px;
    /* Taller Header */
    min-height: 72px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sat-search-box .search-icon {
    position: relative;
    width: 20px;
    height: 20px;
    fill: rgba(255, 255, 255, 0.4);
    margin-right: 24px;
}

#sat-search-input {
    background: transparent;
    border: none;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    flex: 1;
    min-width: 0;
    /* Allow shrinking below content size if needed */
    outline: none;
}

#sat-search-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.sat-close-btn {
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 8px;
    /* Add some spacing from input */
    background: none;
    border: none;
    padding: 0;
}

.sat-close-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.sat-close-btn:hover {
    color: #fff;
    transform: rotate(90deg);
}

/* LIST */
.sat-scroll-area {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
    /* Custom scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.sat-scroll-area::-webkit-scrollbar {
    width: 4px;
}

.sat-scroll-area::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

/* ROWS */
.sat-row {
    padding: 12px 24px;
    /* More breathing room */
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s ease;
    border-left: 2px solid transparent;
}

.sat-row:hover {
    background: rgba(255, 255, 255, 0.04);
}

.sat-row.active {
    background: rgba(255, 255, 255, 0.08);
    border-left-color: #aecb9e;
}

.sat-track-art {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background-size: cover;
    margin-right: 16px;
    opacity: 0.9;
}

.sat-track-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sat-t-title {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sat-t-artist {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.sat-t-dur {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
}

.sat-footer-stat {
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* ══════════ INNER CONTENT STYLES ══════════ */
/* Keep previous styles for contents */
.sat-label-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 12px;
    text-align: right;
}

.sat-super {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.1em;
}

.sat-main {
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: #fff;
    letter-spacing: 0.05em;
    line-height: 1;
}

.sat-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#sat-pill:hover .sat-icon-box {
    background: #fff;
    color: #000;
    transform: scale(1.05);
}

.sat-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* SEARCH & LIST (Recycled with Tweaks) */
.sat-search-box {
    height: 72px;
    /* Taller Header */
    min-height: 72px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sat-search-box .search-icon {
    position: relative;
    width: 20px;
    height: 20px;
    fill: rgba(255, 255, 255, 0.4);
    margin-right: 24px;
}

#sat-search-input {
    background: transparent;
    border: none;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1rem;
    flex: 1;
    min-width: 0;
    /* Allow shrinking below content size if needed */
    outline: none;
}

#sat-search-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.sat-close-btn {
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 8px;
    /* Add some spacing from input */
    background: none;
    border: none;
    padding: 0;
}

.sat-close-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.sat-close-btn:hover {
    color: #fff;
    transform: rotate(90deg);
}

/* LIST */
.sat-scroll-area {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
    /* Custom scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.sat-scroll-area::-webkit-scrollbar {
    width: 4px;
}

.sat-scroll-area::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

/* ROWS */
.sat-row {
    padding: 12px 24px;
    /* More breathing room */
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s ease;
    border-left: 2px solid transparent;
}

.sat-row:hover {
    background: rgba(255, 255, 255, 0.04);
}

.sat-row.active {
    background: rgba(255, 255, 255, 0.08);
    border-left-color: #aecb9e;
}

.sat-track-art {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background-size: cover;
    margin-right: 16px;
    opacity: 0.9;
}

.sat-track-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sat-t-title {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sat-t-artist {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.sat-t-dur {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
}

.sat-footer-stat {
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
}

/* Fullscreen Mode - Glides into center via layout transitions */
#sat-window.fullscreen {
    /* Center on screen */
    top: 5vh;
    right: 5vw;
    left: auto;
    width: 90vw;
    height: 90vh;
    max-height: none;
    transform: scale(1);
    transform-origin: center center;
}

/* Fullscreen Button */
.sat-max-btn {
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    margin-left: 8px;
}

.sat-max-btn:hover {
    color: #fff;
}

.sat-max-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Pill Styling in Library */
.sat-pill-container {
    display: flex;
    gap: 4px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.sat-context-pill {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sat-context-pill.spotify {
    color: #1ed760;
    border-color: rgba(30, 215, 96, 0.2);
    background: rgba(30, 215, 96, 0.05);
}

/* ═══════════════════════════════════════════════════════════════
   TAB BAR & ABOUT TAB STYLES
   ═══════════════════════════════════════════════════════════════ */

.sat-tab-bar {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sat-tab {
    flex: 1;
    padding: 10px 16px;
    border: none;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sat-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
}

.sat-tab.active {
    background: rgba(174, 203, 158, 0.15);
    color: #aecb9e;
    border: 1px solid rgba(174, 203, 158, 0.2);
}

.sat-tab-content {
    display: flex;
    flex-direction: column;
    height: calc(100% - 60px);
}

.sat-tab-content.hidden {
    display: none;
}

/* About Tab Specific */
.about-scroll-area {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.about-scroll-area::-webkit-scrollbar {
    width: 4px;
}

.about-scroll-area::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

/* Hero Section */
.about-hero {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.about-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.4);
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    margin-bottom: 16px;
}

.about-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.1em;
    margin: 0;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Sections */
.about-section {
    margin-bottom: 28px;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: #aecb9e;
    margin: 0 0 12px 0;
}

.about-text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.about-text strong {
    color: #fff;
    font-weight: 600;
}

.about-text .highlight {
    color: #aecb9e;
    font-weight: 500;
}

.focus-text {
    font-style: italic;
    color: rgba(255, 255, 255, 0.5);
}

/* Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.timeline-item {
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 3px solid #aecb9e;
}

.timeline-year {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #aecb9e;
    letter-spacing: 0.1em;
}

.timeline-era {
    display: block;
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
    margin: 4px 0 8px 0;
}

.timeline-desc {
    font-family: var(--font-body);
    font-size: 0.8rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.skill-card {
    padding: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.skill-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(174, 203, 158, 0.2);
}

.skill-name {
    display: block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 6px;
}

.skill-desc {
    display: block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.4);
}

/* Footer */
.about-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 0;
    margin-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-badge {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.1em;
}

.footer-divider {
    color: rgba(255, 255, 255, 0.1);
}

.footer-text {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.05em;
}