.sim-viewport {
    position: relative;
    width: 100%;
    height: 700px; 
    background: #fff;
    border-radius: 25px;
    border: 2px solid var(--light-green);
    overflow: hidden;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.05);
    margin-top: 10px;
}

#img-fundo { width: 100%; height: 100%; object-fit: contain; position: absolute; z-index: 1; }

.card-sim {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-family: 'Courier New', Courier, monospace;
    opacity: 0;
    z-index: 10;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    border: 2px solid rgba(255,255,255,0.2);
    transition: opacity 0.3s ease;
}

.mp-block { 
    width: 250px; 
    height: 55px; 
    border-radius: 12px; 
    font-size: 1.1rem; 
    z-index: 20; 
}

.cache-block { 
    width: 190px; 
    height: 40px; 
    border-radius: 6px; 
    font-size: 0.95rem; 
    color: white; 
    z-index: 30; 
}

.ghost-block { 
    width: 190px; 
    height: 40px; 
    background: #4a5568; 
    color: #eee; 
    border-radius: 6px; 
    font-size: 0.85rem; 
    z-index: 5; 
    opacity: 0.6;
}

.nav.btn-step, .nav.btn-restart {
    border: none;
    border-radius: 50px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 45px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-step { background-color: var(--warning-orange) !important; color: white !important; }
.btn-step:hover:not(:disabled) { background-color: #d35400 !important; transform: translateY(-3px); }

.btn-restart { background-color: var(--light-green) !important; color: var(--primary-green) !important; }
.btn-restart:hover { background-color: #b7e4c7 !important; transform: translateY(-3px); }

.status-box {
    background: #f8f9fa;
    padding: 18px;
    border-radius: 15px;
    text-align: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary-green);
    border: 2px solid #eee;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}