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

body {
    font-family: 'Arial Black', 'Arial', sans-serif;
    background: linear-gradient(180deg, #e8e8e8 0%, #d0d0d0 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-x: hidden;
}

.office-scene {
    max-width: 700px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wall {
    width: 100%;
    background: linear-gradient(180deg, #f5f5f5 0%, #e0e0e0 100%);
    padding: 40px 20px 20px;
    position: relative;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.1);
}

/* Cartel de madera */
.wooden-sign {
    background: linear-gradient(180deg, #deb887 0%, #d2a679 50%, #c8965f 100%);
    border: 8px solid #8b6f47;
    border-radius: 8px;
    padding: 30px 40px;
    position: relative;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.3),
        inset 0 2px 0 rgba(255,255,255,0.3);
    transform: rotate(-0.5deg);
    animation: swing 3s ease-in-out infinite;
}

/* Textura de madera */
.wooden-sign::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 3px,
            rgba(139, 111, 71, 0.1) 3px,
            rgba(139, 111, 71, 0.1) 6px
        );
    pointer-events: none;
    border-radius: 4px;
}

/* Caritas estresadas */
.face {
    position: absolute;
    font-size: 36px;
    filter: grayscale(0.3);
    animation: stress 2s ease-in-out infinite;
}

.face-top-left { top: 10px; left: 10px; }
.face-top-right { top: 10px; right: 10px; }
.face-bottom-left { bottom: 10px; left: 10px; }
.face-bottom-right { bottom: 10px; right: 10px; }

/* Texto del cartel */
.sign-text {
    text-align: center;
    margin-bottom: 20px;
}

.main-title {
    font-size: 28px;
    font-weight: 900;
    color: #2c2416;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 1px;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.3);
}

/* Caja del contador */
.counter-box {
    background: linear-gradient(180deg, #f4e8d0 0%, #e8d4b0 100%);
    border: 4px solid #2c2416;
    border-radius: 4px;
    padding: 15px 40px;
    margin: 20px auto;
    max-width: 200px;
    box-shadow: 
        inset 0 2px 4px rgba(0,0,0,0.2),
        0 2px 4px rgba(0,0,0,0.3);
}

.counter {
    font-size: 72px;
    font-weight: 900;
    color: #2c2416;
    text-align: center;
    font-family: 'Courier New', monospace;
    letter-spacing: 10px;
}

/* Detalles de madera (líneas horizontales) */
.wood-detail {
    position: absolute;
    height: 3px;
    background: rgba(139, 111, 71, 0.3);
    width: 100%;
}

.wood-left { top: 30%; left: 0; }
.wood-right { top: 70%; left: 0; }

/* Tornillos */
.screw {
    position: absolute;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #6b5744 0%, #4a3c2e 100%);
    border-radius: 50%;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.5);
}

.screw::before {
    content: '—';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(0,0,0,0.3);
    font-size: 10px;
}

.screw-tl { top: 15px; left: 15px; }
.screw-tr { top: 15px; right: 15px; }
.screw-bl { bottom: 15px; left: 15px; }
.screw-br { bottom: 15px; right: 15px; }

/* Flecha */
.arrow {
    font-size: 48px;
    text-align: center;
    margin: 10px 0;
    color: #2c2416;
    animation: bounce 1.5s ease-in-out infinite;
}

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

/* Escritorio */
.desk {
    width: 100%;
    height: 150px;
    background: linear-gradient(180deg, #8b7355 0%, #6b5744 100%);
    border-radius: 0 0 10px 10px;
    position: relative;
    box-shadow: 
        0 5px 20px rgba(0,0,0,0.3),
        inset 0 2px 0 rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 20px;
}

/* Masa de cables */
.cable-mess {
    width: 120px;
    height: 80px;
    background: radial-gradient(circle, #333 0%, #1a1a1a 100%);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.cable-mess::before,
.cable-mess::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
}

.cable-mess::before {
    top: -10px;
    left: 20px;
}

.cable-mess::after {
    bottom: -5px;
    right: 15px;
}

/* Nube llorando */
.cloud {
    width: 80px;
    height: 50px;
    background: #b0c4de;
    border-radius: 50px;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: #b0c4de;
    border-radius: 50%;
}

.cloud::before {
    width: 35px;
    height: 35px;
    top: -15px;
    left: 10px;
}

.cloud::after {
    width: 45px;
    height: 45px;
    top: -20px;
    right: 10px;
}

.rain {
    position: absolute;
    top: 45px;
    font-size: 16px;
    animation: fall 1.5s linear infinite;
}

.rain:nth-child(1) { left: 20px; animation-delay: 0s; }
.rain:nth-child(2) { left: 35px; animation-delay: 0.3s; }
.rain:nth-child(3) { left: 50px; animation-delay: 0.6s; }

/* @keyframes fall {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(40px); opacity: 0; }
} */

.keyboard,
.coffee,
.papers {
    font-size: 32px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

/* Botón de reset estilo madera */
.reset-button {
    margin-top: 30px;
    padding: 20px 40px;
    font-size: 18px;
    font-weight: 900;
    background: linear-gradient(180deg, #deb887 0%, #d2a679 50%, #c8965f 100%);
    color: #2c2416;
    border: 6px solid #8b6f47;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    font-family: 'Arial Black', 'Arial', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}

/* Textura de madera en el botón */
.reset-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 3px,
            rgba(139, 111, 71, 0.1) 3px,
            rgba(139, 111, 71, 0.1) 6px
        );
    pointer-events: none;
    border-radius: 4px;
}

.reset-button:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 12px 25px rgba(0, 0, 0, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.reset-button:active {
    transform: translateY(-1px);
    box-shadow: 
        0 4px 10px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 600px) {
    .wooden-sign {
        padding: 20px 25px;
    }
    
    .main-title {
        font-size: 20px;
    }
    
    .counter {
        font-size: 56px;
    }
    
    .face {
        font-size: 28px;
    }
    
    .desk {
        height: 120px;
    }
    
    .cable-mess {
        width: 80px;
        height: 60px;
    }
    
    .keyboard,
    .coffee,
    .papers {
        font-size: 24px;
    }
}
