:root {
    --color-50: #F7F2EE;
    --color-100: #E7D9CF;
    --color-200: #D8C1B0;
    --color-300: #C9A992;
    --color-400: #BA9173;
    --color-500: #AB7854;
    --color-600: #8C6345;
    --color-700: #6F4E37;
    --color-800: #4F3727;
    --color-900: #302218;
    --color-950: #110C08;
}

body {
    background-color: var(--color-50);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    font-family: monospace, monospace;
}

.main-content {
    flex: 1 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer {
    flex-shrink: 0;
    width: 100%;
    background: var(--color-100);
    border-top: 2px solid var(--color-900);
    text-align: center;
    padding: 20px 0 10px 0;
    font-family: monospace, monospace;
}

.return-link {
    margin-bottom: 10px;
}

.footer-info {
    font-size: 0.9em;
    color: var(--color-900);
}

.scene {
    position: relative;
    width: 800px;
    height: 600px;
    background-color: var(--color-100);
    border: 10px solid var(--color-900);
    overflow: hidden;
}

.window {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 300px;
    background-color: var(--color-200);
    border: 10px solid var(--color-800);
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.window::before, .window::after {
    content: '';
    position: absolute;
    background-color: var(--color-800);
    z-index: 2;
}

.window::before {
    width: 100%;
    height: 10px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.window::after {
    width: 10px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.sun {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 200px;
    height: 200px;
    background-color: #FFD700;
    border-radius: 50%;
    animation: sun-move 20s linear infinite;
}

@keyframes sun-move {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(120px, 50px);
    }
    100% {
        transform: translate(0, 0);
    }
}

.desk {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background-color: var(--color-700);
}

.laptop {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 180px;
}

.laptop-screen {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 170px;
    background-color: var(--color-950);
    border-radius: 10px 10px 0 0;
    border: 10px solid var(--color-800);
    box-sizing: border-box;
}

.laptop-screen::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-image: radial-gradient(circle, var(--color-400) 10px, transparent 11px);
    opacity: 0.5;
}

.laptop-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-50);
    font-family: monospace;
    font-size: 24px;
    text-align: center;
}

.laptop-base {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 10px;
    background-color: var(--color-800);
    border-radius: 0 0 5px 5px;
}

.coffee-cup {
    position: absolute;
    bottom: 50px;
    right: 150px;
    width: 80px;
    height: 100px;
    background-color: var(--color-50);
    border-radius: 5px 5px 30px 30px;
    border: 5px solid var(--color-800);
    box-sizing: border-box;
    transition: transform 0.2s;
}

.coffee-cup:hover {
    transform: scale(1.1);
}

.coffee {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 20px;
    background-color: var(--color-900);
    border-radius: 50%;
}

.coffee::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 20px;
    width: 2px;
    height: 20px;
    background-color: var(--color-100);
    opacity: 0.5;
    box-shadow: 5px -5px 0 0 var(--color-100), 10px 0px 0 0 var(--color-100);
    animation: steam 1.5s infinite;
}

@keyframes steam {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }
    100% {
        transform: translateY(-20px) scale(1.5);
        opacity: 0;
    }
}

.handle {
    position: absolute;
    top: 20px;
    right: -30px;
    width: 30px;
    height: 50px;
    border: 10px solid var(--color-800);
    border-left: none;
    border-radius: 0 25px 25px 0;
}

.handle {
    position: absolute;
    top: 20px;
    right: -30px;
    width: 30px;
    height: 50px;
    border: 10px solid var(--color-800);
    border-left: none;
    border-radius: 0 25px 25px 0;
}

.hidden {
    display: none;
}

.scene-2 {
    background-color: var(--color-200);
}

.figure-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    width: 100%;
    height: 100%;
}

.figure {
    position: relative;
}

.figure .face {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    position: relative;
}

.figure-1 .face {
    background-color: #FFD700;
}

.figure-2 .face {
    background-color: #4682B4;
}

.figure .face::before, .figure .face::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--color-900);
    border-radius: 50%;
    top: 120px;
}

.figure .face::before {
    left: 80px;
}

.figure .face::after {
    right: 80px;
}

.figure .mouth {
    position: absolute;
    width: 100px;
    height: 50px;
    border: 10px solid var(--color-900);
    border-top: none;
    border-radius: 0 0 50px 50px;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
}

.figure .arm {
    position: absolute;
    width: 15px;
    height: 120px;
    background-color: var(--color-900);
    top: 150px;
}

.figure .arm.left {
    left: 20px;
    transform: rotate(20deg);
}

.figure .arm.right {
    right: 20px;
    transform: rotate(-20deg);
}

.scene-2 .laptop-screen {
    background-color: var(--color-800);
}

.scene-2 .laptop-screen::before {
    display: none;
}

@keyframes typing {
    0% {
        transform: rotate(90deg);
    }
    50% {
        transform: rotate(80deg);
    }
    100% {
        transform: rotate(90deg);
    }
}

.figure .forearm {
    position: absolute;
    width: 15px;
    height: 100px;
    background-color: var(--color-900);
    bottom: -80px;
    left: -40px;
    transform: rotate(90deg);
    animation: typing 0.5s infinite;
}

.scene-2 .figure .laptop {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
}

.scene-2 .figure .coffee-cup {
    position: absolute;
    bottom: 0px;
    right: -100px;
    transform: scale(0.7);
}
