.work-info-image-secondary {
    position: fixed;
    top: 100px;
    left: calc(50px + 500px + 32px); /* 50px panel left + 500px panel width + gap */
    max-height: 80vh;
    max-width: 60vw;
    width: auto;
    height: auto;
    object-fit: contain;
    z-index: 100;
    box-shadow: 0 4px 32px rgba(0,0,0,0.4);
    border-radius: 0;
    background: #222;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.work-info-image {
    display: block;
    opacity: 1;
    margin-top: 50px;
    margin-bottom: 48px;
    max-width: 470px;
    max-height: 250px;
    width: auto;
    height: auto;
    object-fit: contain;
    text-align: left;
    border: none;
    box-shadow: none;
    pointer-events: auto;
    z-index: 10;
    transition: opacity 0.4s ease;
}
@font-face {
    font-family: '80-kb';
    src: url('80-kb-Soft.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --bg-color: #1a1a1a;
    --text-color: #00ff88;
    --accent-color: #ff0080;
}

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

body {
    background: var(--bg-color);
    color: var(--text-color);
    font-family: '80-kb', 'Courier New', monospace;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    padding: 0;
}

.main {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    cursor: default;
}

.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    text-align: center;
    pointer-events: none;
    animation: pulse 2s infinite;
}

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

.curves {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
}

.men-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.man {
    position: absolute;
    width: 26px;
    height: 26px;
    background: var(--text-color);
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 130 26"><circle cx="13" cy="13" r="10"/><circle cx="39" cy="13" r="10"/><circle cx="65" cy="13" r="10"/><circle cx="91" cy="13" r="10"/><circle cx="117" cy="13" r="10"/></svg>');
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 130 26"><circle cx="13" cy="13" r="10"/><circle cx="39" cy="13" r="10"/><circle cx="65" cy="13" r="10"/><circle cx="91" cy="13" r="10"/><circle cx="117" cy="13" r="10"/></svg>');
    mask-size: 130px 26px;
    -webkit-mask-size: 130px 26px;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    transform-origin: center;
    pointer-events: none;
}

.note {
    position: absolute;
    font-size: 1.5rem;
    transform-origin: center;
    animation: appear 0.3s ease-out;
    pointer-events: none;
    z-index: 2;
    text-align: center;
    user-select: none;
}

@keyframes appear {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.cursor {
    display: none;
}

.center-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    display: none;
    pointer-events: none;
    z-index: 10;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.center-content.active {
    display: flex;
}

.work-label {
    /* pointer-events: none !important; */
    user-select: none;
}

.face {
    position: absolute;
    background: radial-gradient(circle, var(--accent-color), transparent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.face::before {
    content: '�';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80%;
}

.falling-symbol {
    will-change: transform;
}

/* Responsive adjustments */
@media (max-width: 414px) {
    .center {
    font-size: 1.2rem;
    }
    
    .note {
    font-size: 1.2rem;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .main {
        cursor: default;
    }
}

/* Work information panel */
.work-panel {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 500px;
    padding: 0;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.4s ease;
    font-family: '80-kb', 'Courier New', monospace;
    color: rgba(0, 255, 136, 0.9);
}

.work-panel.active {
    opacity: 1;
    pointer-events: auto;
}

/* Year · Duration block */
.work-info-year-duration {
    text-wrap: pretty;
    orphans: 2;
    widows: 2;
    font-size: 18px;
    line-height: 1.6;
    margin-top: 48px; /* 48px below title */
    margin-bottom: 24px; /* 24px to next block */
    max-width: 470px;
    font-style: italic;
    letter-spacing: 0.02em;
}

/* Medium block */
.work-info-medium {
    text-wrap: pretty;
    orphans: 2;
    widows: 2;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 48px; /* 48px to next block */
    max-width: 470px;
    font-style: italic;
}

/* Short Description */
.work-info-description {
    text-wrap: pretty;
    orphans: 2;
    widows: 2;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 48px; /* 48px to next block */
    max-width: 470px;
    font-weight: normal;
    text-wrap: pretty; /* Prevent orphans */
    orphans: 2;
    widows: 2;
}

/* Performance Notes */
.work-info-performance {
    text-wrap: pretty;
    orphans: 2;
    widows: 2;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 48px; /* 48px to next block */
    max-width: 470px;
    font-weight: normal;
    text-wrap: pretty; /* Prevent orphans */
    orphans: 2;
    widows: 2;
}

.work-info-performance ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.work-info-performance li {
    margin-bottom: 12px;
    padding-left: 0;
}

.work-info-performance li::before {
    content: '·';
    margin-right: 8px;
}

/* Audio links under work info */
.work-audio-links {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.work-audio-link {
    font-size: 18px;
    line-height: 1.5;
    text-decoration: underline;
    color: var(--text-color);
    cursor: default;
    transition: color 0.2s ease;
}

.work-audio-link:hover {
    color: var(--accent-color);
}

/* About panel credit link – pink hover, opens in new tab */
.work-info-description .about-credit-link {
    color: var(--text-color);
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s ease;
}

.work-info-description .about-credit-link:hover {
    color: var(--accent-color);
}

.work-info-description p {
    margin-bottom: 1em;
}

.work-info-description p:last-child {
    margin-bottom: 0;
}

/* About panel: space between title and first paragraph */
.work-panel.about-mode .work-info-description {
    margin-top: 48px;
}

/* Image / Score placeholder */

/* Hide only truly empty text blocks, but always show image container */
.work-info-year-duration:empty,
.work-info-medium:empty,
.work-info-description:empty,
.work-info-performance:empty {
    display: none;
}
