/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Poppins:400,600&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

/* Custom Fonts */
@font-face {
    font-family: 'departure-mono';
    src: url('../../assets/fonts/DepartureMono-Regular.woff') format('woff');
}

@font-face {
    font-family: 'genshin impact';
    src: url('../../assets/fonts/Genshin\ Impact\ DRIP\ FONT.ttf') format('woff');
}

/* Root Variables */
:root {
    --inner-color: #ffffff;
    --outer-color: #c5ceff;
}

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

::selection {
    color: white;
    background-color: #7b9eff;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: hidden;
}

body::selection {
    background: #91ceff;
}

/* Background Video */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Container */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    display: none;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.container.active {
    opacity: 1;
    transform: scale(1);
}

/* Terminal Window */
.terminal-window {
    width: 90vw;
    max-width: 1000px;
    height: 94vh;
    min-height: 600px;
    background: rgba(50, 50, 50, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(255, 255, 255, 0.3);
    overflow: hidden;
    font-family: 'SF Mono', 'Monaco', 'Cascadia Code', monospace;
    position: relative;
    animation: terminalAppear 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes terminalAppear {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Terminal Header */
.terminal-header {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.8;
}

.terminal-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.close { background: linear-gradient(135deg, #ff6bab, #ff6bab); }
.minimize { background: linear-gradient(135deg, #8bc5ff, #8bc5ff); }
.maximize { background: linear-gradient(135deg, #d2a0ff, #d2a0ff); }

.terminal-title {
    flex: 1;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 500;
}

/* Terminal Body */
.terminal-body {
    height: calc(100% - 40px);
    padding: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.073), rgba(39, 39, 39, 0.02));
    overflow-y: auto;
    color: #e8e8e8;
    font-size: 14px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

.terminal-body::-webkit-scrollbar {
    width: 6px;
}

.terminal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.terminal-body::-webkit-scrollbar-thumb {
    background: rgba(23, 0, 100, 0.384);
    border-radius: 3px;
}

.terminal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(23, 0, 100, 0.384);
}

/* ASCII Art */
.ascii-container {
    margin-bottom: 20px;
    align-self: center;
}

#art {
    font-family: monospace;
    font-size: 8px;
    line-height: 1;
    text-align: center;
}

.frame-line {
    white-space: pre-wrap;
    color: var(--inner-color);
}

.c {
    color: var(--outer-color);
}

/* Terminal Content */
#terminal-content {
    flex: 1;
}

.terminal-line {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.prompt {
    color: #b0dbff;
    font-weight: 900;
    margin-right: 8px;
    text-shadow: 0 0 10px rgba(100, 181, 246, 0.3);
    min-width: 50px;
}

.command {
    color: #ffc5d4;
    font-weight: 500;
}

.output {
    color: #e8e8e8;
    margin-left: 58px;
    white-space: pre-wrap;
    width: 100%;
}

/* Terminal Message Types */
.personality-response {
    color: #ff69b4;
    font-style: italic;
    margin: 8px 0;
    margin-left: 58px;
}

.success {
    color: #caffcd;
    margin-left: 58px;
}

.error {
    color: #ff5e96;
    margin-left: 58px;
}

.info {
    color: #92ceff;
    margin-left: 58px;
}

.warning {
    color: #ffe7a0;
    margin-left: 58px;
}

.special {
    color: #00aaff;
    font-style: italic;
    margin-left: 58px;
}

.mood-change {
    color: #ff9900;
    font-weight: bold;
    animation: glow 1s ease-in-out 2;
    margin-left: 58px;
}

.easter-egg {
    color: #ff00ff;
    font-weight: bold;
    animation: rainbow 2s ease-in-out infinite;
    margin-left: 58px;
}

@keyframes glow {
    0%, 100% { text-shadow: none; }
    50% { text-shadow: 0 0 10px currentColor; }
}

@keyframes rainbow {
    0% { color: #ff00ff; }
    16% { color: #ff0080; }
    33% { color: #ff8000; }
    50% { color: #ffff00; }
    66% { color: #80ff00; }
    83% { color: #00ff80; }
    100% { color: #ff00ff; }
}

/* Terminal Input */
.input-line {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

#terminal-input {
    background: transparent;
    border: none;
    color: #e8e8e8;
    font-family: inherit;
    font-size: inherit;
    outline: none;
    flex: 1;
    padding: 2px 0;
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: #64b5f6;
    margin-left: 2px;
    animation: blink 1s infinite;
    box-shadow: 0 0 10px rgba(100, 181, 246, 0.5);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Body Animation Modes */
body.happy-mode {
    animation: happy-bounce 0.5s ease-in-out 3;
}

body.caffeine-mode {
    animation: caffeine-shake 0.1s ease-in-out infinite;
}

@keyframes happy-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes caffeine-shake {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-1px, 1px); }
    50% { transform: translate(1px, -1px); }
    75% { transform: translate(-1px, -1px); }
}

/* Robot and Dialog */
.robot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    display: flex;
    align-items: flex-end;
}

.robot-video {
    width: 480px;
    height: auto;
    z-index: 101;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.robot-video:hover {
    transform: scale(1.05);
}

.robot-container.talking::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 2px solid rgba(107, 203, 255, 0.5);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

.dialog-container {
    position: relative;
    bottom: 60px;
    right: -200px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 104;
}

.dialog-box {
    position: relative;
    width: 300px;
    height: 80px;
}

.dialog-background {
    width: 100%;
    height: 100%;
}

.dialog-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    white-space: nowrap;
    overflow: hidden;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    text-align: center;
}

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

.scrolling-text {
    display: inline-block;
    animation: scrollText 10s linear infinite;
}

/* Music Player */
.music-player {
    display: none;
}

/* Desktop Elements */
.desktop-setup {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    pointer-events: none;
}

.desk-table {
    position: absolute;
    bottom: -50px;
    width: 1900px;
    height: auto;
    z-index: 1;
}

.desk-chair {
    position: absolute;
    bottom: 30px;
    left: calc(50% - 850px);
    width: 550px;
    height: auto;
    z-index: -1;
}

.desk-headset {
    position: absolute;
    bottom: 40px;
    right: 100px;
    width: 300px;
    height: auto;
    z-index: 3;
}

/* Moving Decoration */
.moving-decor {
    position: absolute;
    top: -10%;
    right: -30%;
    width: 2900px;
    height: auto;
    opacity: 0.7;
    z-index: -2;
}

/* Interaction Dialog System */
.interaction-dialog-container {
    position: absolute;
    top: -280px;
    right: -1px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 105;
    pointer-events: none;
}

.interaction-dialog-container[style*="opacity: 1"] {
    pointer-events: auto;
}

.interaction-dialog-box {
    width: 350px;
    background: rgba(43, 41, 87, 0.107);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(179, 178, 227, 0.6);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(43, 41, 87, 0.4);
    font-family: 'Poppins', sans-serif;
}

.interaction-dialog-header {
    background: rgba(43, 41, 87, 0.9);
    color: #b3b2e3;
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 2px solid rgba(179, 178, 227, 0.3);
    backdrop-filter: blur(10px);
}

.dialog-id {
    background: rgba(90, 88, 142, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    backdrop-filter: blur(5px);
}

.dialog-time {
    color: rgba(179, 178, 227, 0.9);
}

.interaction-dialog-content {
    padding: 20px;
    background: rgba(179, 178, 227, 0.15);
    backdrop-filter: blur(15px);
}

.interaction-dialog-text {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 16px;
    min-height: 50px;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(43, 41, 87, 0.5);
}

.interaction-dialog-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.interaction-button {
    background: rgba(179, 178, 227, 0.3);
    color: #ffffff;
    border: 2px solid rgba(43, 41, 87, 0.6);
    border-radius: 8px;
    padding: 12px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 4px rgba(43, 41, 87, 0.3);
}

.interaction-button:hover {
    background: rgba(179, 178, 227, 0.5);
    border-color: rgba(179, 178, 227, 0.8);
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(179, 178, 227, 0.3);
}

.interaction-button:active {
    transform: translateX(5px) scale(0.98);
}

/* Desktop Icons Panel */
.desktop-icons-panel {
    position: fixed;
    top: 70px;
    left: 120px;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 25px;
    z-index: 100;
}

.desktop-icon {
    width: 120px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
    position: relative;
    padding: 10px;
    border-radius: 12px;
    animation: iconFadeIn 0.6s ease-out forwards;
}

.desktop-icon:nth-child(1) { animation-delay: 0.1s; opacity: 0; }
.desktop-icon:nth-child(2) { animation-delay: 0.2s; opacity: 0; }
.desktop-icon:nth-child(3) { animation-delay: 0.3s; opacity: 0; }
.desktop-icon:nth-child(4) { animation-delay: 0.4s; opacity: 0; }
.desktop-icon:nth-child(5) { animation-delay: 0.5s; opacity: 0; }

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

.desktop-icon:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.6));
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

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

.desktop-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 12px;
    transition: transform 0.2s ease;
}

.desktop-icon:hover img {
    transform: scale(1.05);
}

.desktop-icon-label {
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 12px;
    border-radius: 10px;
    max-width: 110px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.desktop-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 12px;
}

.desktop-icon:hover::after {
    opacity: 1;
}

/* Terminal Toggle Button */
.terminal-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(50, 50, 80, 0.8);
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: background 0.3s ease, transform 0.2s ease;
    z-index: 150;
}

.terminal-toggle:hover {
    background: rgba(70, 70, 120, 0.8);
    transform: translateY(-2px);
}

.terminal-toggle:active {
    transform: translateY(0) scale(0.95);
}

/* Modal/Pop-up Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                visibility 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-window {
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    background: rgba(30, 30, 50, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    transform-origin: center center;
}

.modal-window:not([style*="left"]) {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

.modal-window.opening {
    animation: modalOpenSmooth 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.modal-window.closing {
    animation: modalCloseSmooth 0.3s cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards;
}

@keyframes modalOpenSmooth {
    0% {
        opacity: 0;
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        filter: blur(0px);
    }
}

@keyframes modalCloseSmooth {
    0% {
        opacity: 1;
        filter: blur(0px);
    }
    100% {
        opacity: 0;
        filter: blur(5px);
    }
}

.modal-header {
    background: rgba(50, 50, 80, 0.8);
    color: #b3b2e3;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.modal-header:active {
    cursor: grabbing;
}

.modal-title {
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    pointer-events: auto;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.modal-close:active {
    transform: scale(0.95);
}

.modal-body {
    padding: 20px;
    color: #e8e8e8;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    overflow-y: auto;
    max-height: calc(80vh - 65px);
    background: rgba(179, 178, 227, 0.15);
    backdrop-filter: blur(15px);
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.modal-body::-webkit-scrollbar-thumb {
    background: rgba(100, 100, 200, 0.5);
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 100, 200, 0.7);
}

/* Enhanced Modal Elements */
.modal-feature-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.modal-tag {
    background: rgba(179, 178, 227, 0.2);
    color: #b3b2e3;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    backdrop-filter: blur(5px);
}

.modal-highlight {
    background: rgba(179, 178, 227, 0.15);
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 3px solid #b3b2e3;
}

.tool-item {
    display: flex;
    align-items: center;
    margin: 10px 0;
    gap: 10px;
}

.tool-icon {
    width: 24px;
    height: 24px;
    background: rgba(179, 178, 227, 0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 15px 0;
}

.spec-item {
    background: rgba(179, 178, 227, 0.1);
    padding: 12px;
    border-radius: 8px;
}

.workstation-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 15px 0;
}

.workstation-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.workstation-gallery img:hover {
    transform: scale(1.05);
}

.favorite-games {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.game-pill {
    background: rgba(107, 203, 255, 0.2);
    color: #6bcbff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.art-showcase {
    display: flex;
    gap: 15px;
    margin: 15px 0;
    overflow-x: auto;
    padding: 5px;
}

.art-piece {
    min-width: 120px;
    height: 120px;
    background: rgba(179, 178, 227, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .terminal-window {
        width: 95vw;
        height: 85vh;
    }
    
    #art {
        font-size: 6px;
    }
    
    .robot-container {
        right: -50px;
    }
    
    .robot-video {
        width: 280px;
    }
    
    .interaction-dialog-container {
        right: -250px;
        top: -150px;
    }
    
    .interaction-dialog-box {
        width: 320px;
    }
    
    .interaction-dialog-text {
        font-size: 14px;
    }
    
    .interaction-button {
        font-size: 13px;
        padding: 10px 14px;
    }
    
    .desktop-icons-panel {
        top: 60px;
        left: 60px;
        gap: 20px;
    }
    
    .desktop-icon {
        width: 100px;
        height: 120px;
    }
    
    .desktop-icon img {
        width: 70px;
        height: 70px;
    }
    
    .desktop-icon-label {
        font-size: 13px;
        max-width: 95px;
    }
    
    .modal-window {
        width: 95%;
        max-height: 90vh;
    }
    
    .modal-header {
        cursor: default;
        padding: 12px 16px;
    }
    
    .modal-header:active {
        cursor: default;
    }
    
    .modal-title {
        font-size: 16px;
    }
    
    .modal-body {
        font-size: 13px;
        padding: 16px;
    }
    
    .terminal-toggle {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .desk-table {
        width: 1000px;
        bottom: -30px;
    }
    
    .desk-chair {
        width: 250px;
        left: calc(50% - 500px);
    }
    
    .desk-headset {
        width: 150px;
        bottom: 30px;
        right: 350px;
    }
    
    .specs-grid,
    .workstation-gallery {
        grid-template-columns: 1fr;
    }
    
    .art-showcase {
        flex-direction: column;
    }
    
    .art-piece {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .desktop-icons-panel {
        top: 40px;
        left: 45px;
        gap: 15px;
    }
    
    .desktop-icon {
        width: 90px;
        height: 110px;
    }
    
    .desktop-icon img {
        width: 60px;
        height: 60px;
    }
    
    .desktop-icon-label {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .modal-window {
        width: 98%;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 10px 12px;
    }
    
    .modal-title {
        font-size: 14px;
    }
    
    .modal-close {
        width: 25px;
        height: 25px;
        font-size: 20px;
    }
    
    .modal-body {
        padding: 12px;
    }
    
    .terminal-toggle {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .desk-table {
        width: 800px;
        bottom: -20px;
    }
    
    .desk-chair {
        width: 200px;
        left: calc(50% - 400px);
    }
    
    .desk-headset {
        width: 120px;
        bottom: 25px;
        right: 280px;
    }
}